diff --git a/src/components/drawers/SelectTest.vue b/src/components/drawers/SelectTest.vue index fcdeffe6..b12a379e 100644 --- a/src/components/drawers/SelectTest.vue +++ b/src/components/drawers/SelectTest.vue @@ -162,43 +162,47 @@ export default { const tableDataFunc = () => { { const columns = [ - { - title: "序号", - dataIndex: "paperId", - key: "paperId", - width: 90, - align: "center", - className: "h head", - }, + // { + // title: "序号", + // dataIndex: "paperId", + // key: "paperId", + // width: 90, + // align: "center", + // className: "h head", + // }, { title: "试卷名称", dataIndex: "testName", key: "testName", - width: 110, + width: "40%", align: "center", className: "h head", + ellipsis: true, }, { title: "随机模式", dataIndex: "paperMode", key: "paperMode", - width: 110, + width: "20%", align: "center", className: "h", + ellipsis: true, }, { title: "创建人", dataIndex: "sysCreateBy", key: "sysCreateBy", - width: 90, + width: "20%", align: "center", className: "h", + ellipsis: true, }, { title: "最近更新时间", dataIndex: "sysUpdateTime", key: "sysUpdateTime", - width: 150, + ellipsis: true, + width: "20%", align: "center", className: "h", }, @@ -248,7 +252,7 @@ export default { published: true, }; api - .queryExaminationList(obj) + .queryExaminationPaperList(obj) .then((data) => { // getTableDate(res.data.data); //** 表格repaint */ @@ -257,10 +261,10 @@ export default { let obj = { key: index + 1, sysCreateBy: value.sysCreateBy, - paperId: index + 1, + paperId:value.id, testName: value.testName, - paperMode: value.randomMode ? "是" : "否", - sysUpdateTime: value.sysUpdateTime, + paperMode: value.paperMode==1?"固定试卷":"随机", + sysUpdateTime:value.sysUpdateTime, id:value.id, }; array.push(obj); diff --git a/src/components/project/NameInput.vue b/src/components/project/NameInput.vue index 6f92741c..d898b85a 100644 --- a/src/components/project/NameInput.vue +++ b/src/components/project/NameInput.vue @@ -73,7 +73,7 @@ function validateProName() { display: inline-block; width: 99%; min-width: 0; - padding: 0px 17px; + padding: 0px 8px; color: rgba(0, 0, 0, 0.85); font-size: 14px; line-height: 1.5715; diff --git a/src/views/courselibrary/CoursewareManage.vue b/src/views/courselibrary/CoursewareManage.vue index 930dc096..6a1db8f9 100644 --- a/src/views/courselibrary/CoursewareManage.vue +++ b/src/views/courselibrary/CoursewareManage.vue @@ -1967,6 +1967,7 @@ +
-->
+