diff --git a/public/downPath/stdrmb.xls b/public/downPath/stdrmb.xls index 4b95877..450676c 100644 Binary files a/public/downPath/stdrmb.xls and b/public/downPath/stdrmb.xls differ diff --git a/src/router/routes/modules/zy/zy.ts b/src/router/routes/modules/zy/zy.ts index 64c5994..cbbea53 100644 --- a/src/router/routes/modules/zy/zy.ts +++ b/src/router/routes/modules/zy/zy.ts @@ -143,6 +143,14 @@ const zuoye: AppRouteModule = { title: '教学大纲', }, }, + { + path: 'dqkcKhcl', + name: 'dqkcKhcl', + component: () => import('/@/views/zy/zyInfo/ZyInfoKhclList.vue'), + meta: { + title: '考核材料', + }, + }, ] } diff --git a/src/views/kc/wjxCswj/WjxCywjV2List.vue b/src/views/kc/wjxCswj/WjxCywjV2List.vue index 481e025..ce147a8 100644 --- a/src/views/kc/wjxCswj/WjxCywjV2List.vue +++ b/src/views/kc/wjxCswj/WjxCywjV2List.vue @@ -461,7 +461,7 @@ -
+
@@ -55,12 +55,20 @@
评分 - + /> --> + + {{item}} +
-
+
注:选中即为正确答案 @@ -181,8 +171,9 @@ (正确答案)
@@ -206,6 +199,7 @@
注:选中即为正确答案 @@ -268,7 +251,8 @@ placeholder="请填写选项" v-model:value="tmxx.itemTitle" :bordered="false" - :style="{ width: handinpwei(tmxx.itemTitle) }" + :style="{ width: '30rem' }" + :disabled="editDisabled" /> (正确答案) @@ -289,7 +275,7 @@
-
+
- + @@ -378,20 +350,9 @@ v-if="item.wjSfqh == '0'" :disabled="editDisabled" > + {{item}} -
-
-
是否加入题库: - -
+ +
是否加入题库: + +
+ +
+ + + + 注:选中即为正确答案 + + +
+ + + (正确答案) + + + +
+
+
+
+ +
+ + + +
+
无对应类型
@@ -603,16 +687,13 @@ function handleDelTigan(record, index) { //添加单选题 function addTigan(type) { - console.log('😸', type); var list = tiganData.value; - console.log('👩‍🦱', list); + //单选题 if (type == 3) { - console.log('11111111111111111111'); var chk = ''; if (isShow.value) { chk = '1'; } - console.log('2222222222222222222'); let params = { wjType: parseInt(type), wjIndex: list.length + 1, @@ -632,6 +713,7 @@ function addTigan(type) { list.push(params); console.log('👩‍🔬', list); tiganData.value = [...list]; + //多选题 } else if (type == 4) { let chk = ''; if (isShow.value) { @@ -654,9 +736,11 @@ function addTigan(type) { }; list.push(params); tiganData.value = [...list]; + //填空题 } else if (type == 5) { let params = { wjType: parseInt(type), + wjSubtype: null, wjIndex: list.length + 1, mainId: mainId, wjTitle: null, @@ -668,6 +752,7 @@ function addTigan(type) { }; list.push(params); tiganData.value = [...list]; + //文件题 } else if (type == 8) { var chk = ''; if (isShow.value) { @@ -685,7 +770,47 @@ function addTigan(type) { }; list.push(params); tiganData.value = [...list]; - } + //判断题 + }else if (type == 305) { + var chk = ''; + if (isShow.value) { + chk = '1'; + } + let params = { + wjType: 3, + wjSubtype: 305, + wjIndex: list.length + 1, + mainId: mainId, + wjTitle: null, + wjScore: null, + wjLeixing, + itemSelected: chk, + wjSfqh: '0', + sftjtk: '1', + wjxWjxxTmxxList: [ + { itemTitle: '对', itemIndex: '1' }, + { itemTitle: '错', itemIndex: '2' }, + ], + }; + list.push(params); + tiganData.value = [...list]; + } else if (type == 502) { + let params = { + wjType: 5, + wjSubtype: 5, + wjIndex: list.length + 1, + mainId: mainId, + wjTitle: null, + wjScore: null, + wjLeixing, + wjAnswer: null, + wjSfqh: '0', + sftjtk: '1', + }; + list.push(params); + tiganData.value = [...list]; + //文件题 + } } /** * 导入xls diff --git a/src/views/kc/wjxWjxxTmlb/components/WjxWjxxTmlbForm.vue b/src/views/kc/wjxWjxxTmlb/components/WjxWjxxTmlbForm.vue index eacbe77..95bc641 100644 --- a/src/views/kc/wjxWjxxTmlb/components/WjxWjxxTmlbForm.vue +++ b/src/views/kc/wjxWjxxTmlb/components/WjxWjxxTmlbForm.vue @@ -5,280 +5,344 @@ diff --git a/src/views/site/renKeJiaoCheng/checkKecheng/dqxqkcMenu.vue b/src/views/site/renKeJiaoCheng/checkKecheng/dqxqkcMenu.vue index ccc9289..38be83a 100644 --- a/src/views/site/renKeJiaoCheng/checkKecheng/dqxqkcMenu.vue +++ b/src/views/site/renKeJiaoCheng/checkKecheng/dqxqkcMenu.vue @@ -9,17 +9,17 @@ mode="inline" :inline-collapsed="collapsed" > - + - 通知公告 + 通知公告 - + - 课程简介 + 课程简介 - + - 课程作业 + 课程作业 - + - 期末考试 + 期末考试 - + - 课堂测验 + 课堂测验 + + + + 课程资源 + + + + 上传考核材料 - - - 课程资源 - - - 通知公告 + + 通知公告 - - 课程简介 + + 课程简介 - - 课程作业 + + 课程作业 - - 期末考试 + + 期末考试 - - 课堂测验 + + 课堂测验 - - 课程资源 + + 课程资源 + @@ -189,6 +196,8 @@ function getGzt(zytype) { href = '/zy/dqkcJxdg'; }else if (zytype == 'kczy') { href = '/zy/dqkcKczy'; + }else if (zytype == 'khcl') { + href = '/zy/dqkcKhcl'; } router.push({ path: href, query: { rwbh, xqxn, type, teano } }); diff --git a/src/views/site/studentWdkc/studentMenu.vue b/src/views/site/studentWdkc/studentMenu.vue index 5b78f05..210c6ae 100644 --- a/src/views/site/studentWdkc/studentMenu.vue +++ b/src/views/site/studentWdkc/studentMenu.vue @@ -9,17 +9,17 @@ mode="inline" :inline-collapsed="collapsed" > - + - 通知公告 + 通知公告 - + - 课程简介 + 课程简介 - + - 课程作业 + 课程作业 - + - 期末考试 + 期末考试 - + - 课程测验 + 课程测验 - + - 课程资源 + 课程资源
@@ -63,26 +63,26 @@ - - 通知公告 + + 通知公告 - - 课程简介 + + 课程简介 - - 课程作业 + + 课程作业 - - 期末考试 + + 期末考试 - - 课程测验 + + 课程测验 - - 课程资源 + + 课程资源