From ac8975365566e7a39cc2949fa65c25885a1d02c8 Mon Sep 17 00:00:00 2001 From: Yuanjianghong Date: Wed, 1 Sep 2021 11:12:32 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/project/project.js | 2 +- .../project/form/ProjectCourseSelect.vue | 140 ++++++++++++++---- src/views/project/form/ProjectStepForm.vue | 4 +- 3 files changed, 118 insertions(+), 28 deletions(-) diff --git a/src/api/project/project.js b/src/api/project/project.js index 5dcef94..3409795 100644 --- a/src/api/project/project.js +++ b/src/api/project/project.js @@ -2,7 +2,7 @@ import request from '@/utils/request' const projectApi = { add: 'project/add', - getDict:'projecct/getDict', + getDict:'project/dict/get', // get: 'sys/menu/get', // update: 'sys/menu/update', // del: 'sys/menu/delete', diff --git a/src/views/project/form/ProjectCourseSelect.vue b/src/views/project/form/ProjectCourseSelect.vue index f542728..8d6824f 100644 --- a/src/views/project/form/ProjectCourseSelect.vue +++ b/src/views/project/form/ProjectCourseSelect.vue @@ -1,38 +1,126 @@ \ No newline at end of file diff --git a/src/views/project/form/ProjectStepForm.vue b/src/views/project/form/ProjectStepForm.vue index 80df7b0..745058b 100644 --- a/src/views/project/form/ProjectStepForm.vue +++ b/src/views/project/form/ProjectStepForm.vue @@ -45,11 +45,13 @@ export default { methods: { // handler + //下一步 nextStep () { - if (this.currentTab < 2) { + if (this.currentTab < 5) { this.currentTab += 1 } }, + //上一步 prevStep () { if (this.currentTab > 0) { this.currentTab -= 1