课程简介引用
This commit is contained in:
parent
2a754a3937
commit
e3e6e1c4ca
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
|
@ -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: {
|
||||||
|
|
|
@ -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({
|
||||||
|
|
Loading…
Reference in New Issue