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 @@ - \ 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 @@
- + - - + + - + - + - - + :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) {