修改bug
This commit is contained in:
parent
97ec314cb6
commit
742f5bbdc3
|
@ -20,16 +20,16 @@ VITE_GLOB_API_URL=/jeecg-boot
|
|||
|
||||
#后台接口全路径地址(必填)
|
||||
# VITE_GLOB_DOMAIN_URL=https://zxkccx.webvpn.nenu.edu.cn/jeecg-boot
|
||||
# VITE_GLOB_DOMAIN_URL=https://smartedu.nenu.edu.cn/jeecg-boot
|
||||
VITE_GLOB_DOMAIN_URL=https://xxhbtest2.nenu.edu.cn/jeecg-boot
|
||||
VITE_GLOB_DOMAIN_URL=https://smartedu.nenu.edu.cn/jeecg-boot
|
||||
# VITE_GLOB_DOMAIN_URL=https://xxhbtest2.nenu.edu.cn/jeecg-boot
|
||||
#VITE_GLOB_DOMAIN_URL=http://210.47.29.177
|
||||
# VITE_GLOB_DOMAIN_URL=https://kczxcs.nenu.edu.cn/jeecg-boot
|
||||
# VITE_GLOB_DOMAIN_URL=http://210.47.29.100/jeecg-boot
|
||||
|
||||
#RTC服务器地址
|
||||
# VITE_GLOB_RTC_SERVER = https://zxkccx.webvpn.nenu.edu.cn:8081
|
||||
# VITE_GLOB_RTC_SERVER = https://smartedu.nenu.edu.cn:8081
|
||||
VITE_GLOB_RTC_SERVER = https://xxhbtest2.nenu.edu.cn:8081
|
||||
VITE_GLOB_RTC_SERVER = https://smartedu.nenu.edu.cn:8081
|
||||
# VITE_GLOB_RTC_SERVER = https://xxhbtest2.nenu.edu.cn:8081
|
||||
|
||||
# 接口父路径前缀
|
||||
VITE_GLOB_API_URL_PREFIX=
|
||||
|
|
|
@ -11,6 +11,7 @@ enum Api {
|
|||
deleteBatch = '/detection/kcDetectionMain/deleteBatch',
|
||||
importExcel = '/detection/kcDetectionMain/importExcel',
|
||||
exportXls = '/detection/kcDetectionMain/exportXls',
|
||||
syslist = '/detection/kcDetectionMain/syslist',
|
||||
}
|
||||
/**
|
||||
* 导出api
|
||||
|
@ -25,8 +26,8 @@ export const getImportUrl = Api.importExcel;
|
|||
* 列表接口
|
||||
* @param params
|
||||
*/
|
||||
export const list = (params) =>
|
||||
defHttp.get({ url: Api.list, params });
|
||||
export const list = (params) => defHttp.get({ url: Api.list, params });
|
||||
export const syslist = (params) => defHttp.get({ url: Api.syslist, params });
|
||||
|
||||
/**
|
||||
* 删除单个
|
||||
|
|
|
@ -67,7 +67,7 @@ import { useModal } from '/@/components/Modal';
|
|||
import { useListPage } from '/@/hooks/system/useListPage'
|
||||
import KcDetectionMainModal from './components/KcDetectionMainModal.vue'
|
||||
import { columns, searchFormSchema } from './KcDetectionMain.data';
|
||||
import { list, deleteOne, batchDelete, getImportUrl, getExportUrl } from './KcDetectionMain.api';
|
||||
import { syslist, deleteOne, batchDelete, getImportUrl, getExportUrl } from './KcDetectionMain.api';
|
||||
import { downloadFile } from '/@/utils/common/renderUtils';
|
||||
import { JInput, JDictSelectTag } from '/@/components/Form';
|
||||
const checkedKeys = ref<Array<string | number>>([]);
|
||||
|
@ -77,7 +77,7 @@ const [registerModal, { openModal }] = useModal();
|
|||
//注册table数据
|
||||
const { prefixCls, tableContext, onExportXls, onImportXls } = useListPage({
|
||||
tableProps: {
|
||||
api: list,
|
||||
api: syslist,
|
||||
columns,
|
||||
canResize: false,
|
||||
useSearchForm: false,
|
||||
|
|
|
@ -37,10 +37,10 @@
|
|||
:numberStyle="{ backgroundColor: '#f00', width: '10px', height: '10px' }"
|
||||
:title="'您有' + item.dbtxType + '条提醒信息'"
|
||||
> -->
|
||||
<span style="font-size: 20px">{{ item.kcmc }}</span>
|
||||
<span style="font-size: 20px">{{ item.kcmc }} </span>
|
||||
<!-- </a-badge> -->
|
||||
</div>
|
||||
<div class="skddDiv">{{ item.skdd }}</div>
|
||||
<div class="skddDiv">{{item.xqxn}} - {{ item.skdd }}</div>
|
||||
<!-- <div class="skddDiv">教课周次:{{ item.jkzc }}</div> -->
|
||||
<div class="xkrsDiv skdd-Left-section">
|
||||
<div style="width:70%; display: flex; justify-content: flex-start; ">
|
||||
|
@ -111,7 +111,7 @@ function openKechengDetail(item) {
|
|||
//未改版前跳转组件地址
|
||||
// window.open('/history/hismain?rwbh='+item.rwbh+'&xqxn='+getSysConfig().flag1+"&type=0","_blank");
|
||||
//改版后组件跳转地址
|
||||
window.open('/zyhis/tuGonggaohis?rwbh=' + item.rwbh + '&xqxn=' + getSysConfig().flag1 + '&type=1' + '&teano=' + item.jgh, '_blank');
|
||||
window.open('/zyhis/tuGonggaohis?rwbh=' + item.rwbh + '&xqxn=' + item.xqxn + '&type=1' + '&teano=' + item.jgh, '_blank');
|
||||
}
|
||||
|
||||
//获取选课人数
|
||||
|
|
|
@ -9,66 +9,56 @@
|
|||
mode="inline"
|
||||
:inline-collapsed="collapsed"
|
||||
>
|
||||
<a-menu-item key="sub0" @click="getGzt('gonggao')">
|
||||
<a-menu-item key="m1" @click="getGzt('gonggao')">
|
||||
<template #icon>
|
||||
<PieChartOutlined />
|
||||
</template>
|
||||
<span >通知公告</span>
|
||||
</a-menu-item>
|
||||
<a-menu-item key="sub1" @click="getGzt('kcjs')">
|
||||
|
||||
<a-sub-menu key="m2">
|
||||
<template #icon>
|
||||
<BarChartOutlined />
|
||||
</template>
|
||||
<span >课程简介</span>
|
||||
</a-menu-item >
|
||||
<a-menu-item key="sub3" @click="getGzt('dqzy')">
|
||||
<template #title>课程信息</template>
|
||||
<a-menu-item key="a1" @click="getGzt('kcjs')">课程简介</a-menu-item>
|
||||
<a-menu-item key="a2" @click="gotoPageByName('jiaoXueDanYuanNeiRong')">教学单元</a-menu-item>
|
||||
<a-menu-item key="a3" @click="getGzt('kczy')">课程资源</a-menu-item>
|
||||
</a-sub-menu>
|
||||
<a-sub-menu key="m3">
|
||||
<template #icon>
|
||||
<SnippetsOutlined />
|
||||
</template>
|
||||
<span>课程作业</span>
|
||||
</a-menu-item>
|
||||
<a-menu-item key="sub4" @click="getGzt('qmzy')">
|
||||
<template #icon>
|
||||
<AppstoreOutlined />
|
||||
</template>
|
||||
<span>期末考试</span>
|
||||
</a-menu-item>
|
||||
<a-menu-item key="sub5" @click="getGzt('kcjc')">
|
||||
<template #icon>
|
||||
<AppstoreAddOutlined />
|
||||
</template>
|
||||
<span>课堂测验</span>
|
||||
</a-menu-item>
|
||||
<a-menu-item key="sub6" @click="getGzt('kczy')">
|
||||
<BlockOutlined />
|
||||
<span>课程资源</span>
|
||||
</a-menu-item>
|
||||
<a-menu-item key="sub7" @click="getGzt('khcl')">
|
||||
<Icon icon="ant-design:import-outlined" />
|
||||
<span>上传考核材料</span>
|
||||
</a-menu-item>
|
||||
<a-menu-item key="sub8" @click="gotoPageByName('jiaoXueDanYuanNeiRong')">
|
||||
<Icon icon="ant-design:fund-projection-screen-outlined" />
|
||||
<span >教学单元</span>
|
||||
</a-menu-item>
|
||||
<a-menu-item key="sub9" @click="getGzt('tlq')">
|
||||
<template #title>课程考核</template>
|
||||
<a-menu-item key="b1" @click="getGzt('dqzy')">课程作业</a-menu-item>
|
||||
<a-menu-item key="b2" @click="getGzt('qmzy')">期末考试</a-menu-item>
|
||||
<a-menu-item key="b3" @click="getGzt('kcjc')">课堂测验</a-menu-item>
|
||||
<a-menu-item key="b4" @click="getGzt('khcl')">上传考核材料</a-menu-item>
|
||||
</a-sub-menu>
|
||||
|
||||
<a-menu-item key="m4" @click="getGzt('tlq')">
|
||||
<Icon icon="ant-design:aliwangwang-outlined" />
|
||||
<span >讨论区</span>
|
||||
</a-menu-item>
|
||||
<a-sub-menu key="m5">
|
||||
<template #icon>
|
||||
<SnippetsOutlined />
|
||||
</template>
|
||||
<template #title>课程管理</template>
|
||||
<a-menu-item key="c1" @click="getGzt('kczj')">课程助教</a-menu-item>
|
||||
</a-sub-menu>
|
||||
|
||||
|
||||
<!--
|
||||
|
||||
<a-menu-item key="sub10" @click="getGzt('jxdg')">
|
||||
<Icon icon="ant-design:setting-outlined" />
|
||||
<span>教学大纲</span>
|
||||
</a-menu-item >
|
||||
<a-menu-item key="sub11" @click="getGzt('kczj')">
|
||||
<Icon icon="ant-design:team-outlined" />
|
||||
<span>课程助教</span>
|
||||
</a-menu-item >
|
||||
<a-menu-item key="sub12" @click="getGzt('dcwj')">
|
||||
<Icon icon="ant-design:contacts-outlined" />
|
||||
<span >问卷调查</span>
|
||||
</a-menu-item>
|
||||
<!--
|
||||
|
||||
<a-menu-item key="sub10">
|
||||
<BlockOutlined />
|
||||
<span @click="getGzt('yiykzyk')">教学资源库</span>
|
||||
|
|
|
@ -47,7 +47,11 @@
|
|||
</a-menu-item>
|
||||
<a-menu-item key="sub6" @click="getGzt('kczy')">
|
||||
<BlockOutlined />
|
||||
<span>课程资源2</span>
|
||||
<span>课程资源</span>
|
||||
</a-menu-item>
|
||||
<a-menu-item key="sub7" @click="getGzt('khcl')">
|
||||
<PieChartOutlined />
|
||||
<span>上传考核材料</span>
|
||||
</a-menu-item>
|
||||
<!-- <a-menu-item key="sub7" @click="getGzt('khcl')">
|
||||
<BlockOutlined />
|
||||
|
@ -198,7 +202,7 @@ function getGzt(zytype) {
|
|||
}else if (zytype == 'kczy') {
|
||||
href = '/zyhis/dqkcKczyhis';
|
||||
}else if (zytype == 'khcl') {
|
||||
href = '/zyhis/dqkcKhclhis';
|
||||
href = '/zy/dqkcKhcl';
|
||||
}
|
||||
|
||||
router.push({ path: href, query: { rwbh, xqxn, type, teano } });
|
||||
|
|
|
@ -4,13 +4,13 @@
|
|||
<!-- <MyTemplate></MyTemplate> -->
|
||||
</div>
|
||||
|
||||
<div>
|
||||
<!-- <div>
|
||||
<a-button @click="startConverting" v-if="yysbBoolean">开始转写</a-button>
|
||||
<a-button @click="endConverting" v-else>结束转写</a-button>
|
||||
<div v-if="resultText">
|
||||
{{ resultText }}
|
||||
</div>
|
||||
</div>
|
||||
</div> -->
|
||||
|
||||
|
||||
<a-alert :message="`当前时间: ${tday}`" />
|
||||
|
|
|
@ -334,6 +334,7 @@ async function handleShangchuan(record) {
|
|||
if(record.xzxstjzy == 'Y'){
|
||||
stuZyIds = await defHttp.post({ url: '/zyInfoStudent/zyInfoStudent/getZyStuId', data: { zyinfoId: record.id, xh: record.stuId } })
|
||||
const own = stuZyIds.filter(stu => stu.id == record.stuId)
|
||||
console.log('own--->',own);
|
||||
if(own[0].sfzz == 'N'){
|
||||
createMessage.error('您不是组长,无法提交作业!')
|
||||
return
|
||||
|
|
|
@ -294,6 +294,10 @@ function submitZy(model, ids, isUpdate) {
|
|||
if (res.success) {
|
||||
//异步提交维普
|
||||
stuWpKsjc(model, isUpdate).then((res) => { })
|
||||
createMessage.success("操作成功");
|
||||
emit('ok');
|
||||
confirmLoading.value = false;
|
||||
emit('closeLoading');
|
||||
} else {
|
||||
msg = res.message
|
||||
createMessage.warning(res.message);
|
||||
|
|
Loading…
Reference in New Issue