-
- ({{ questionDetail.questionType }}){{questionDetail.questionName}}
- 编辑
-
+
+
+
新增题目
+
+ 批量导入
+
+
+ 模板下载
+
+
课程题目库预览
+
+
+
+ ({{ questionDetail.questionTypeName }}){{ questionDetail.questionName }}
+ 编辑
+
+ 删除
+
+
+
+
+
A. {{ questionDetail.answerA }}
B. {{ questionDetail.answerB }}
C. {{ questionDetail.answerC }}
D. {{ questionDetail.answerD }}
-
-
解析
-
- {{questionDetail.asnwerParse}}
-
-
-
+
+
+
+
正确答案: {{ questionDetail.rightAnswers }}
+
+
+
+
+
正确答案{{ ind+1 }}: {{ item }}
+
+
+
+
解析
+
+ {{ questionDetail.asnwerParse }}
+
+
+
-
-
+
+
+
+
+
+
diff --git a/src/views/project/ProjectStepForm.vue b/src/views/project/ProjectStepForm.vue
index 9a64d7a..2627017 100644
--- a/src/views/project/ProjectStepForm.vue
+++ b/src/views/project/ProjectStepForm.vue
@@ -1,7 +1,7 @@
-
+
diff --git a/src/views/project/form/ProjectCourseList.vue b/src/views/project/form/ProjectCourseList.vue
index fae88a5..be0a795 100644
--- a/src/views/project/form/ProjectCourseList.vue
+++ b/src/views/project/form/ProjectCourseList.vue
@@ -9,7 +9,7 @@
添加课程
-
+
{{ index + 1 }}
@@ -49,34 +49,24 @@ export default {
data() {
//这里存放数据
return {
- form: this.$form.createForm(this, { name: 'project' }),
+ labelCol: {},
+ wrapperCol: {},
+ vertical: 'vertical',
+ data1: {},
totalHours: 0, //总课时
totalLearnHours: 0, //总学时
totalTopicNum: 0, //题目数量
- //查询数据
- queryParam: {},
- // 表头
+ queryParam: {},//查询数据
columns: [
{ title: '序号', key: 'id', dataIndex: 'id', width: 60, scopedSlots: { customRender: 'serial' } },
{ title: '课程编号', dataIndex: 'courseNo', key: 'courseNo' },
{ title: '课程名称', dataIndex: 'courseName', key: 'courseName' },
{ title: '课时', dataIndex: 'courseHours', key: 'courseHours', customRender: (text) => text + '分' },
{ title: '学时要求', dataIndex: 'learnHours', key: 'learnHours', customRender: (text) => text + '分' },
- { title: '题量', dataIndex: 'topicNumber', key: 'projectName' },
+ { title: '题量', dataIndex: 'topicNumber', key: 'topicNumber' },
{ title: '项目名称', dataIndex: 'projectName', key: 'projectName' },
- {
- title: '操作',
- width: 200,
- align: 'center',
- scopedSlots: { customRender: 'action' },
- },
- ],
- // 加载数据方法 必须为 Promise 对象
- loadData: (parameter) => {
- return getProjectList(Object.assign(parameter, this.queryParam)).then((res) => {
- return res
- })
- },
+ { title: '操作', width: 200, align: 'center', scopedSlots: { customRender: 'action' }, },
+ ], // 表头
}
},
//计算属性 类似于data概念
diff --git a/src/views/project/form/ProjectCourseSelect.vue b/src/views/project/form/ProjectCourseSelect.vue
index 1b882dd..5688663 100644
--- a/src/views/project/form/ProjectCourseSelect.vue
+++ b/src/views/project/form/ProjectCourseSelect.vue
@@ -12,8 +12,8 @@
- 系统课程
- 自制课程
+ 系统课程
+ 自制课程
- 补考次数:
+
diff --git a/src/views/project/terminalTrain/TerminalTrainDetail.vue b/src/views/project/terminalTrain/TerminalTrainDetail.vue
index b0c9562..b1836a4 100644
--- a/src/views/project/terminalTrain/TerminalTrainDetail.vue
+++ b/src/views/project/terminalTrain/TerminalTrainDetail.vue
@@ -16,8 +16,8 @@
-
修 改 信 息
-
会议签到信息
+
修 改 信 息
+
会议签到信息
@@ -54,6 +54,23 @@ export default {
},
})
},
+ editInfo(){ //修改信息按钮
+ this.$router.push({
+ path: '/project/terminalTrain/form',
+ query: {
+ id: this.detailData.id,
+ }
+ })
+ },
+
+ signInfo(){ //跳转签到信息页面
+ this.$router.push({
+ path: '/project/terminalTrain/signList',
+ query: {
+ id: this.detailData.id,
+ }
+ })
+ }
},
}
diff --git a/src/views/project/terminalTrain/TerminalTrainForm.vue b/src/views/project/terminalTrain/TerminalTrainForm.vue
index 105ea96..a7564cf 100644
--- a/src/views/project/terminalTrain/TerminalTrainForm.vue
+++ b/src/views/project/terminalTrain/TerminalTrainForm.vue
@@ -1,6 +1,6 @@
-
+
@@ -31,8 +31,10 @@
- 保存
- { this.form.status = 2 }"> 保存并发布
+
+ { this.form.status = 1}" style="border-left: 200px;"> 保存
+ { this.form.status = 2}"> 保存并发布
+
@@ -66,7 +68,8 @@ export default {
remark: '',
status: 1,
},
- titleName: '新增终端培训',
+ titleName: '终端培训表单',
+ layout: 'horizontal'
}
},
//计算属性 类似于data概念
diff --git a/src/views/project/terminalTrain/TerminalTrainList.vue b/src/views/project/terminalTrain/TerminalTrainList.vue
index 4e68445..cd24188 100644
--- a/src/views/project/terminalTrain/TerminalTrainList.vue
+++ b/src/views/project/terminalTrain/TerminalTrainList.vue
@@ -78,40 +78,20 @@ export default {
endDate: this.$route.query.terminalTrainEndDate || null,
},
columns: [
- {
- title: '序号',
- width: 'auto',
- align: 'center',
- dataIndex: 'id',
- key: 'id',
- scopedSlots: { customRender: 'serial' },
- },
+ { title: '序号', width: 'auto', align: 'center', dataIndex: 'id', key: 'id', scopedSlots: { customRender: 'serial' }, },
{ title: '项目名称', width: 'auto', align: 'center', dataIndex: 'projectName', key: 'projectName' },
- {
- title: '时间',
- dataIndex: 'date',
- key: 'date',
+ { title: '时间', dataIndex: 'date', key: 'date',
customRender: (text, record, index) => {
return record.startDate + ' - ' + record.endDate
},
},
- {
- title: '人数',
- width: 'auto',
- align: 'center',
- dataIndex: 'num',
- key: 'num',
+ { title: '人数', width: 'auto', align: 'center', dataIndex: 'num', key: 'num',
customRender: (text, record, index) => {
return record.signNum + ' / ' + record.personNum
},
},
{ title: '培训类型', width: 'auto', align: 'center', dataIndex: 'projectType', key: 'projectType' },
- {
- title: '项目状态',
- width: 'auto',
- align: 'center',
- dataIndex: 'status',
- key: 'status',
+ { title: '项目状态', width: 'auto', align: 'center', dataIndex: 'status', key: 'status',
customRender: (text, record, index) => {
if (text == '1') return '未发布'
else if (text == '2') return '未开始'
diff --git a/src/views/project/terminalTrain/TerminalTrainSignList.vue b/src/views/project/terminalTrain/TerminalTrainSignList.vue
new file mode 100644
index 0000000..b714af6
--- /dev/null
+++ b/src/views/project/terminalTrain/TerminalTrainSignList.vue
@@ -0,0 +1,163 @@
+
+
+
+ 返回
+
+
+
+
+
+
+ {{ item.name }}
+
+
+
+
+
+
签到时间
+
{{ item.signTime }}
+
+
+
+
+
+
+
+
+
+ {{ item.name }}
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/src/views/sys/dictionary/DictionaryList.vue b/src/views/sys/dictionary/DictionaryList.vue
index 02c2509..2c97272 100644
--- a/src/views/sys/dictionary/DictionaryList.vue
+++ b/src/views/sys/dictionary/DictionaryList.vue
@@ -7,6 +7,8 @@
@search="handleRefresh"
@reset="() => {queryParam = {}, handleRefresh()}" >
+
+
新增