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