From 418d8dce3dfce7257bc64465f19f49af4310b11e Mon Sep 17 00:00:00 2001 From: Yuanjianghong Date: Mon, 1 Nov 2021 20:51:15 +0800 Subject: [PATCH] =?UTF-8?q?=E7=BB=88=E7=AB=AF=E5=9F=B9=E8=AE=AD=E6=9B=B4?= =?UTF-8?q?=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/project/terminalTrain.js | 4 +- .../terminalTrain/TerminalTrainForm.vue | 132 ++++++++++-------- .../terminalTrain/TerminalTrainList.vue | 4 +- 3 files changed, 79 insertions(+), 61 deletions(-) diff --git a/src/api/project/terminalTrain.js b/src/api/project/terminalTrain.js index cd1fc31..1057f5f 100644 --- a/src/api/project/terminalTrain.js +++ b/src/api/project/terminalTrain.js @@ -38,6 +38,8 @@ export function terminalTrainGet(params) { return request({ url: terminalTrainApi.get, method: 'get', - params: params + params: { + id:params, + } }) } diff --git a/src/views/project/terminalTrain/TerminalTrainForm.vue b/src/views/project/terminalTrain/TerminalTrainForm.vue index 2d1379c..3229310 100644 --- a/src/views/project/terminalTrain/TerminalTrainForm.vue +++ b/src/views/project/terminalTrain/TerminalTrainForm.vue @@ -1,59 +1,37 @@ @@ -61,15 +39,31 @@