diff --git a/src/views/kc/wjxCswj/WjxCywjV2List.vue b/src/views/kc/wjxCswj/WjxCywjV2List.vue index fe309b7..9ca8f56 100644 --- a/src/views/kc/wjxCswj/WjxCywjV2List.vue +++ b/src/views/kc/wjxCswj/WjxCywjV2List.vue @@ -81,7 +81,7 @@
- 引用作业 + 引用测验
编辑测验 - 布置测验:设置第{{ zyInfo.sort }}次测验内容及要求 diff --git a/src/views/kc/wjxWjxx/components/WjxWjxxTmlbAllDjjgsList.vue b/src/views/kc/wjxWjxx/components/WjxWjxxTmlbAllDjjgsList.vue index 73d3790..d501baf 100644 --- a/src/views/kc/wjxWjxx/components/WjxWjxxTmlbAllDjjgsList.vue +++ b/src/views/kc/wjxWjxx/components/WjxWjxxTmlbAllDjjgsList.vue @@ -122,6 +122,13 @@ function handleZgtpf() { ZgtpfModalPage.value.edit({vid:sjxxInfo.value.vid}, false); } +function handleHqjg(record){ + console.log(record); + defHttp.post({url:'/wjxDjxx/updateDjjg',params:record}).then(res=>{ + console.log('-->',res) + }) +} + /** * 操作栏 */ @@ -132,6 +139,10 @@ function getTableAction(record) { label: '答卷结果', onClick: handlePeizhiDjjg.bind(null, record), }, + // { + // label: '获取结果', + // onClick: handleHqjg.bind(null, record), + // }, { label: '主观题评分', onClick: handleZgypf.bind(null, record), diff --git a/src/views/zy/sysZy/kczygl/Kczygl.api.ts b/src/views/zy/sysZy/kczygl/Kczygl.api.ts index 725a7e5..f29499c 100644 --- a/src/views/zy/sysZy/kczygl/Kczygl.api.ts +++ b/src/views/zy/sysZy/kczygl/Kczygl.api.ts @@ -5,6 +5,7 @@ const { createConfirm } = useMessage(); enum Api { list = '/zyInfo/zyInfo/sysList', + list2 = '/zyInfo/zyInfo/sysStaticList', save='/zyInfo/zyInfo/sysUpdateJxnr', edit='/zyInfo/zyInfo/sysUpdateJxnr', deleteOne = '/zyInfo/zyInfo/delete', @@ -29,6 +30,7 @@ export const getImportUrl = Api.importExcel; * @param params */ export const list = (params) => defHttp.get({ url: Api.list, params }); +export const list2 = (params) => defHttp.get({ url: Api.list2, params }); /** * 删除单个 diff --git a/src/views/zy/sysZy/kczygl/Kczygl.data.ts b/src/views/zy/sysZy/kczygl/Kczygl.data.ts index 15a6eff..bbcc122 100644 --- a/src/views/zy/sysZy/kczygl/Kczygl.data.ts +++ b/src/views/zy/sysZy/kczygl/Kczygl.data.ts @@ -10,34 +10,30 @@ export const columns: BasicColumn[] = [ dataIndex: 'xqxn', }, { - title: '开课单位', + title: '学院', align: 'center', dataIndex: 'kkdw', }, - { - title: '课程编号', - align: 'center', - dataIndex: 'kcbh', - }, { title: '课程名称', align: 'center', dataIndex: 'kcmc', }, { - title: '开课任务编号', + title: '课程性质', align: 'center', - dataIndex: 'rwbh', + dataIndex: 'kcxz', + customRender: function ({ text }) { + return "通识教育必修课"; + }, }, { - title: '上课时间', + title: '选课学生', align: 'center', - dataIndex: 'sksj', - }, - { - title: '上课地点', - align: 'center', - dataIndex: 'skdd', + dataIndex: 'xkrs', + customRender: function ({ text }) { + return "25"; + }, }, { title: '授课教师', @@ -45,15 +41,99 @@ export const columns: BasicColumn[] = [ dataIndex: 'skjs', }, { - title: '选课学生', + title: '职称', align: 'center', - dataIndex: 'xkrs', + dataIndex: 'zc', + customRender: function ({ text }) { + return "讲师"; + }, + }, + + { + title: '发布作业次数', + align: 'center', + dataIndex: 'fbzycs', + customRender: function ({ text }) { + return "3"; + }, }, { - title: '作业数量', - align: "center", - dataIndex: 'num', + title: '作业完成次数', + align: 'center', + dataIndex: 'zywccs', + customRender: function ({ text }) { + return "2"; + }, }, + { + title: '查重次数', + align: 'center', + dataIndex: 'cccs', + customRender: function ({ text }) { + return "2"; + }, + }, + { + title: '互评次数', + align: 'center', + dataIndex: 'hpcs', + customRender: function ({ text }) { + return "1"; + }, + }, + { + title: '超时未完成次数', + align: 'center', + dataIndex: 'cswwc', + customRender: function ({ text }) { + return "1"; + }, + }, + + + + // { + // title: '作业名称', + // align: 'center', + // dataIndex: 'zymc', + // }, + // { + // title: '是否完成', + // align: 'center', + // dataIndex: 'sfwc', + // }, + // { + // title: '是否发布', + // align: 'center', + // dataIndex: 'sffb', + // }, + // { + // title: '是否互评', + // align: 'center', + // dataIndex: 'sfhp', + // }, + + + // { + // title: '开课任务编号', + // align: 'center', + // dataIndex: 'rwbh', + // }, + // { + // title: '上课时间', + // align: 'center', + // dataIndex: 'sksj', + // }, + // { + // title: '上课地点', + // align: 'center', + // dataIndex: 'skdd', + // }, + // { + // title: '作业数量', + // align: "center", + // dataIndex: 'num', + // }, // { // title: '课程简介', // align: 'center', @@ -68,6 +148,80 @@ export const columns: BasicColumn[] = [ // }, ]; +export const columns2: BasicColumn[] = [ + { + title: '学期学年', + align: 'center', + dataIndex: 'xqxn', + }, + { + title: '学院', + align: 'center', + dataIndex: 'kkdw', + }, + { + title: '课程名称', + align: 'center', + dataIndex: 'kcmc', + }, + { + title: '课程性质', + align: 'center', + dataIndex: 'kcxz', + customRender: function ({ text }) { + return "通识教育必修课"; + }, + }, + { + title: '选课学生', + align: 'center', + dataIndex: 'xkrs', + customRender: function ({ text }) { + return "25"; + }, + }, + { + title: '授课教师', + align: 'center', + dataIndex: 'skjs', + }, + { + title: '职称', + align: 'center', + dataIndex: 'zc', + customRender: function ({ text }) { + return "讲师"; + }, + }, + + { + title: '发布测验次数', + align: 'center', + dataIndex: 'fbzycs', + customRender: function ({ text }) { + return "3"; + }, + }, + { + title: '测验完成次数', + align: 'center', + dataIndex: 'zywccs', + customRender: function ({ text }) { + return "2"; + }, + }, + { + title: '超时未完成次数', + align: 'center', + dataIndex: 'cswwc', + customRender: function ({ text }) { + return "1"; + }, + }, + + +]; + //查询数据 export const searchFormSchema: FormSchema[] = [ ]; diff --git a/src/views/zy/sysZy/kczygl/KczyglStaticList.vue b/src/views/zy/sysZy/kczygl/KczyglStaticList.vue new file mode 100644 index 0000000..dcffdfe --- /dev/null +++ b/src/views/zy/sysZy/kczygl/KczyglStaticList.vue @@ -0,0 +1,219 @@ + + + + + diff --git a/src/views/zy/sysZy/kczygl/ZyKctjList.vue b/src/views/zy/sysZy/kczygl/ZyKctjList.vue new file mode 100644 index 0000000..f849cfb --- /dev/null +++ b/src/views/zy/sysZy/kczygl/ZyKctjList.vue @@ -0,0 +1,242 @@ + + + + + diff --git a/src/views/zy/sysZy/kczygl/components/KczyglForm.vue b/src/views/zy/sysZy/kczygl/components/KczyglForm.vue index 54bdf5e..1996c85 100644 --- a/src/views/zy/sysZy/kczygl/components/KczyglForm.vue +++ b/src/views/zy/sysZy/kczygl/components/KczyglForm.vue @@ -22,9 +22,50 @@ - -
- + + + + +
+ {{ item.title }} + {{ item.xkxs }}人选课 +
+ +
+
{{ item.wtjnum }}人待提交
+ +
{{ item.dpynum }}人待评阅
+
{{ item.ypynum }}人已评阅
+
+
+
+
作业发布时间:{{ item.startTime ? dayjs(item.startTime).format('YYYY.MM.DD HH:mm') : '未设置' }}
+
作业截止时间:{{ dayjs(item.endTime).format('YYYY.MM.DD HH:mm') }}
+
+
+ 作业详情 + + 查看作业 +
+
+
+ + +
@@ -245,4 +286,41 @@ function handlePageChange(record){ text-align: center; font-size: 11px; } + +.card-label { + background: #81cbbc; + border-radius: 4px; + color: #fff; + padding: 2px 6px; +} +.card-label2 { + background: #84c4fa; + border-radius: 4px; + color: #fff; + padding: 2px 6px; +} +.card-label3 { + background: #fabe84; + border-radius: 4px; + color: #fff; + padding: 2px 6px; +} +.data-suggest { + display: flex; + flex-direction: column; + text-align: center; + width: 25%; + margin-right: 5px; + padding: 8px 3px; + border-radius: 5px; + background: #f7f7f7; + margin-top: 10px; +} +.data-suggest span:nth-child(1) { + font-size: 16px; + font-weight: bold; +} +.data-suggest span:nth-child(2) { + font-size: 12px; +} diff --git a/src/views/zy/sysZy/statics/SysStaticList copy.vue b/src/views/zy/sysZy/statics/SysStaticList copy.vue new file mode 100644 index 0000000..cf0e986 --- /dev/null +++ b/src/views/zy/sysZy/statics/SysStaticList copy.vue @@ -0,0 +1,267 @@ + + + + + diff --git a/src/views/zy/sysZy/statics/SysStaticList.vue b/src/views/zy/sysZy/statics/SysStaticList.vue new file mode 100644 index 0000000..0bd5821 --- /dev/null +++ b/src/views/zy/sysZy/statics/SysStaticList.vue @@ -0,0 +1,108 @@ + + + + + diff --git a/src/views/zy/zyInfoStudent/ZyInfoStudentList.vue b/src/views/zy/zyInfoStudent/ZyInfoStudentList.vue index 2cd2bfb..6421018 100644 --- a/src/views/zy/zyInfoStudent/ZyInfoStudentList.vue +++ b/src/views/zy/zyInfoStudent/ZyInfoStudentList.vue @@ -28,14 +28,14 @@
-