课程简介引用
This commit is contained in:
parent
2a754a3937
commit
e3e6e1c4ca
|
@ -70,7 +70,7 @@
|
|||
<studentPjjgTeaList :queryParam="{ pageSize: 3, ...tkzjParam,kcbh:'' }" style="max-height: 106px;"/>
|
||||
</a-card>
|
||||
<ZyCjwtModal ref="ZyCjwtModalPage" @success="handleCjwtOk" />
|
||||
<ZyJxdgListModal ref="ZyJxdgListModalPage" />
|
||||
<ZyJxdgListModal ref="ZyJxdgListModalPage" @success="getKcjsJxdg" />
|
||||
</div>
|
||||
</template>
|
||||
|
||||
|
@ -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;
|
||||
}
|
||||
|
|
|
@ -38,13 +38,12 @@
|
|||
import ZyJxdgModal from './components/ZyJxdgModal.vue'
|
||||
import { defHttp } from '/@/utils/http/axios';
|
||||
import { useRouter } from 'vue-router';
|
||||
|
||||
const queryParam = ref<any>({});
|
||||
const toggleSearchStatus = ref<boolean>(false);
|
||||
const registerModal = ref();
|
||||
const { currentRoute } = useRouter();
|
||||
const { query } = unref(currentRoute);
|
||||
const { rwbh,xqxn } = query;//获取传递参数
|
||||
const queryParam = ref<any>({ rwbh,xqxn });
|
||||
//注册table数据
|
||||
const { prefixCls, tableContext, onExportXls, onImportXls } = useListPage({
|
||||
tableProps: {
|
||||
|
|
|
@ -40,7 +40,7 @@ ZyJxdgList<template>
|
|||
*/
|
||||
function submitCallback() {
|
||||
handleCancel();
|
||||
emit('success');
|
||||
// emit('success');
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -48,6 +48,7 @@ ZyJxdgList<template>
|
|||
*/
|
||||
function handleCancel() {
|
||||
visible.value = false;
|
||||
emit('success');
|
||||
}
|
||||
|
||||
defineExpose({
|
||||
|
|
Loading…
Reference in New Issue