课程简介引用

This commit is contained in:
曹磊 2024-05-23 22:20:33 +08:00
parent 2a754a3937
commit e3e6e1c4ca
4 changed files with 19 additions and 19 deletions

View File

@ -70,7 +70,7 @@
<studentPjjgTeaList :queryParam="{ pageSize: 3, ...tkzjParam,kcbh:'' }" style="max-height: 106px;"/> <studentPjjgTeaList :queryParam="{ pageSize: 3, ...tkzjParam,kcbh:'' }" style="max-height: 106px;"/>
</a-card> </a-card>
<ZyCjwtModal ref="ZyCjwtModalPage" @success="handleCjwtOk" /> <ZyCjwtModal ref="ZyCjwtModalPage" @success="handleCjwtOk" />
<ZyJxdgListModal ref="ZyJxdgListModalPage" /> <ZyJxdgListModal ref="ZyJxdgListModalPage" @success="getKcjsJxdg" />
</div> </div>
</template> </template>
@ -188,7 +188,7 @@ const baseApiUrl = globSetting.domainUrl;
} }
// //
function getKcjsJxdg(){ 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){ if(res){
jxdgInfo.value = res; jxdgInfo.value = res;
} }

View File

@ -38,13 +38,12 @@
import ZyJxdgModal from './components/ZyJxdgModal.vue' import ZyJxdgModal from './components/ZyJxdgModal.vue'
import { defHttp } from '/@/utils/http/axios'; import { defHttp } from '/@/utils/http/axios';
import { useRouter } from 'vue-router'; import { useRouter } from 'vue-router';
const queryParam = ref<any>({});
const toggleSearchStatus = ref<boolean>(false); const toggleSearchStatus = ref<boolean>(false);
const registerModal = ref(); const registerModal = ref();
const { currentRoute } = useRouter(); const { currentRoute } = useRouter();
const { query } = unref(currentRoute); const { query } = unref(currentRoute);
const { rwbh,xqxn } = query;// const { rwbh,xqxn } = query;//
const queryParam = ref<any>({ rwbh,xqxn });
//table //table
const { prefixCls, tableContext, onExportXls, onImportXls } = useListPage({ const { prefixCls, tableContext, onExportXls, onImportXls } = useListPage({
tableProps: { tableProps: {

View File

@ -40,7 +40,7 @@ ZyJxdgList<template>
*/ */
function submitCallback() { function submitCallback() {
handleCancel(); handleCancel();
emit('success'); // emit('success');
} }
/** /**
@ -48,6 +48,7 @@ ZyJxdgList<template>
*/ */
function handleCancel() { function handleCancel() {
visible.value = false; visible.value = false;
emit('success');
} }
defineExpose({ defineExpose({