From e3e6e1c4cabd81dc784810012629026c24ee5827 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E6=9B=B9=E7=A3=8A?= <45566618@qq.com>
Date: Thu, 23 May 2024 22:20:33 +0800
Subject: [PATCH] =?UTF-8?q?=E8=AF=BE=E7=A8=8B=E7=AE=80=E4=BB=8B=E5=BC=95?=
=?UTF-8?q?=E7=94=A8?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../checkKecheng/dqxqkcDetail.vue | 4 ++--
src/views/zy/zyGonggao/StudentGonggaoList.vue | 2 +-
src/views/zy/zyJxdg/ZyJxdgList.vue | 23 +++++++++----------
src/views/zy/zyJxdg/ZyJxdgListModal.vue | 9 ++++----
4 files changed, 19 insertions(+), 19 deletions(-)
diff --git a/src/views/site/renKeJiaoCheng/checkKecheng/dqxqkcDetail.vue b/src/views/site/renKeJiaoCheng/checkKecheng/dqxqkcDetail.vue
index f4ab795..6055a0f 100644
--- a/src/views/site/renKeJiaoCheng/checkKecheng/dqxqkcDetail.vue
+++ b/src/views/site/renKeJiaoCheng/checkKecheng/dqxqkcDetail.vue
@@ -70,7 +70,7 @@
-
+
@@ -188,7 +188,7 @@ const baseApiUrl = globSetting.domainUrl;
}
//获取课程简介和教学大纲内容
function getKcjsJxdg(){
- defHttp.get({ url: '/zyJxdg/zyJxdg/getKcjsJxdg', params: { rwbh:rwbh} }).then((res) => {
+ defHttp.get({ url: '/zyJxdg/zyJxdg/getKcjsJxdg', params: { rwbh:rwbh,xqxn:xqxn } }).then((res) => {
if(res){
jxdgInfo.value = res;
}
diff --git a/src/views/zy/zyGonggao/StudentGonggaoList.vue b/src/views/zy/zyGonggao/StudentGonggaoList.vue
index 8aff5ea..414c549 100644
--- a/src/views/zy/zyGonggao/StudentGonggaoList.vue
+++ b/src/views/zy/zyGonggao/StudentGonggaoList.vue
@@ -62,7 +62,7 @@
const { currentRoute } = useRouter();
const { query } = unref(currentRoute);
const { rwbh,xqxn } = query;//获取传递参数
- const queryParam = ref({rwbh, xqxn ,ggStatus:'1'});
+ const queryParam = ref({ rwbh,xqxn ,ggStatus:'1'});
const current = ref(0);
const total = ref(0);
const pageNo = ref(0);
diff --git a/src/views/zy/zyJxdg/ZyJxdgList.vue b/src/views/zy/zyJxdg/ZyJxdgList.vue
index ee5c893..2fc9308 100644
--- a/src/views/zy/zyJxdg/ZyJxdgList.vue
+++ b/src/views/zy/zyJxdg/ZyJxdgList.vue
@@ -38,13 +38,12 @@
import ZyJxdgModal from './components/ZyJxdgModal.vue'
import { defHttp } from '/@/utils/http/axios';
import { useRouter } from 'vue-router';
-
- const queryParam = ref({});
const toggleSearchStatus = ref(false);
const registerModal = ref();
const { currentRoute } = useRouter();
const { query } = unref(currentRoute);
const { rwbh,xqxn } = query;//获取传递参数
+ const queryParam = ref({ rwbh,xqxn });
//注册table数据
const { prefixCls, tableContext, onExportXls, onImportXls } = useListPage({
tableProps: {
@@ -88,7 +87,7 @@
registerModal.value.disableSubmit = false;
registerModal.value.add();
}
-
+
/**
* 编辑事件
*/
@@ -97,10 +96,10 @@
// registerModal.value.edit(record);
defHttp.post({url: '/zyJxdg/zyJxdg/editJxdgyy', params: {kcjs:record.kcjs,rwbh,xqxn }}).then(res => {
console.log(`🚀 ~ defHttp.post ~ res:`, res)
-
+
});
}
-
+
/**
* 详情
*/
@@ -108,28 +107,28 @@
registerModal.value.disableSubmit = true;
registerModal.value.edit(record);
}
-
+
/**
* 删除事件
*/
async function handleDelete(record) {
await deleteOne({ id: record.id }, handleSuccess);
}
-
+
/**
* 批量删除事件
*/
async function batchHandleDelete() {
await batchDelete({ ids: selectedRowKeys.value }, handleSuccess);
}
-
+
/**
* 成功回调
*/
function handleSuccess() {
(selectedRowKeys.value = []) && reload();
}
-
+
/**
* 操作栏
*/
@@ -141,7 +140,7 @@
},
];
}
-
+
/**
* 下拉操作栏
*/
@@ -166,7 +165,7 @@
function searchQuery() {
reload();
}
-
+
/**
* 重置
*/
@@ -180,7 +179,7 @@
console.log(`🚀 ~ init ~ record:`, record)
reload();
}
-
+
defineExpose({
init,
diff --git a/src/views/zy/zyJxdg/ZyJxdgListModal.vue b/src/views/zy/zyJxdg/ZyJxdgListModal.vue
index b2462ed..ea41c3b 100644
--- a/src/views/zy/zyJxdg/ZyJxdgListModal.vue
+++ b/src/views/zy/zyJxdg/ZyJxdgListModal.vue
@@ -7,7 +7,7 @@ ZyJxdgList