From 4c25eb3b75bda1ecb8bf934ecba49a95f9b75de9 Mon Sep 17 00:00:00 2001 From: Yuanjianghong Date: Mon, 13 Sep 2021 16:30:02 +0800 Subject: [PATCH] =?UTF-8?q?=E9=A1=B9=E7=9B=AE=E7=AE=A1=E7=90=86=E6=96=B0?= =?UTF-8?q?=E5=A2=9E?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/project/terminalTrain.js | 30 +++++++ src/views/person/PersonList.vue | 2 + src/views/project/ProjectStepForm.vue | 3 +- src/views/project/classAdd/ClassList.vue | 13 +-- src/views/project/form/ProjectCourseList.vue | 8 +- .../project/form/ProjectCourseSelect.vue | 2 +- .../terminalTrain/TerminalTrainList.vue | 89 ++++++++++--------- 7 files changed, 92 insertions(+), 55 deletions(-) create mode 100644 src/api/project/terminalTrain.js diff --git a/src/api/project/terminalTrain.js b/src/api/project/terminalTrain.js new file mode 100644 index 0000000..df316f2 --- /dev/null +++ b/src/api/project/terminalTrain.js @@ -0,0 +1,30 @@ +import request from '@/utils/request' + +const terminalTrainApi = { + edit: '/project/terminal/addOrUpdate', + del: '/project/terminal/del', + list: '/project/terminal/pageList' +} + +export function terminalTrainEdit(params) { + return request({ + url: terminalTrainApi.add, + method: 'post', + data: params + }) +} +export function terminalTrainDel (params) { + return request({ + url: terminalTrainApi.del, + method: 'delete', + params: params + }) +} +export function terminalTrainList(params) { + console.log("terminalTrainList------------{}", params) + return request({ + url: terminalTrainApi.list, + method: 'get', + params: params + }) +} diff --git a/src/views/person/PersonList.vue b/src/views/person/PersonList.vue index 26aedeb..3a31e6c 100644 --- a/src/views/person/PersonList.vue +++ b/src/views/person/PersonList.vue @@ -178,6 +178,8 @@ created () { /** * 获取到机构树,展开顶级下树节点,考虑到后期数据量变大,不建议全部展开 + 完犊子,你的决策支撑写完了?可以的呢 + 我反正用不上,这两天发展党员还可以凑凑 */ orgList().then(res => { this.treeLoading = false diff --git a/src/views/project/ProjectStepForm.vue b/src/views/project/ProjectStepForm.vue index a673210..9a64d7a 100644 --- a/src/views/project/ProjectStepForm.vue +++ b/src/views/project/ProjectStepForm.vue @@ -4,7 +4,8 @@ - + + diff --git a/src/views/project/classAdd/ClassList.vue b/src/views/project/classAdd/ClassList.vue index 2062c3f..1e5930c 100644 --- a/src/views/project/classAdd/ClassList.vue +++ b/src/views/project/classAdd/ClassList.vue @@ -1,7 +1,9 @@