diff --git a/src/views/TrainHome.vue b/src/views/TrainHome.vue
index e78c537..553ec59 100644
--- a/src/views/TrainHome.vue
+++ b/src/views/TrainHome.vue
@@ -7,18 +7,18 @@
diff --git a/src/views/train/case-detail.vue b/src/views/train/case-detail.vue
index ea32ca1..ed454cb 100644
--- a/src/views/train/case-detail.vue
+++ b/src/views/train/case-detail.vue
@@ -1,13 +1,542 @@
- 案例新增查看修改
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 基本信息
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 案例描述
+
+
+
+
+
+
+
+
+
+
+
+ 案例数据
+
+
+
+
+
+
+
+
+
+
+ {{file.name}}
+
+
+
+
+
+
+ 暂无数据
+
+
+
+
+ 判分设置
+ 合计:{{dataForm.totalScore}} 分
+
+
+
+ 流程判分指标
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
\ No newline at end of file
diff --git a/src/views/train/case-list.vue b/src/views/train/case-list.vue
index 9446cd4..36ae3b9 100644
--- a/src/views/train/case-list.vue
+++ b/src/views/train/case-list.vue
@@ -32,25 +32,23 @@
-
+
-
-
+
+
{{ scope.row.type === 1 ? '练习': '' }}
{{ scope.row.type === 2 ? '考核': '' }}
- {{ scope.row.type === 3 ? '竞赛': '' }}
-
+
- {{ scope.row.isAdmin === 0 ? '教师': '' }}
- {{ scope.row.isAdmin === 1 ? '系统': '' }}
+ {{ scope.row.isAdmin === 1 ? '管理员': '' }}
+ {{ scope.row.isAdmin === 2 ? '教师': '' }}
-
+
-
查看
@@ -61,11 +59,10 @@
删除
-
+
-
+ :total="totalCount" style="float: right">
@@ -254,11 +251,10 @@
this.currentPage = 1;
},
toInputForm(row, isEdit) {
- let toPath = '/backstage/project/inputForm';
if (row) {
- this.$router.push({path: toPath, query: {id: row.id, isEdit: isEdit}});// 编辑或查看
+ this.$router.push({name: 'CaseDetail', query: {id: row.id, isEdit: isEdit}});// 编辑或查看
} else {
- this.$router.push({path: toPath});// 新增
+ this.$router.push({name: 'CaseDetail'});// 新增
}
},
handleSizeChange(size) {