From d2bcb53e5a39e5652d6da5f5827e354dca38d527 Mon Sep 17 00:00:00 2001 From: Jackwang Date: Tue, 8 Dec 2020 10:31:20 +0800 Subject: [PATCH] =?UTF-8?q?=E3=80=90=E7=BD=91=E6=A0=BC=E5=AE=9E=E4=BD=93?= =?UTF-8?q?=E5=8C=96=E8=BF=90=E4=BD=9C=E3=80=91-=E3=80=90=E9=98=B5?= =?UTF-8?q?=E5=9C=B0=E5=BB=BA=E8=AE=BE=E5=88=97=E8=A1=A8=E3=80=91-?= =?UTF-8?q?=EF=BC=88=E7=8E=8B=E7=AB=A5=EF=BC=89-2020/12/8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../subpositioncheckinfo-add-or-update.vue | 4 +- .../modules/kpi/subpositioncheckinfo.vue | 119 ++++++++++++++---- 2 files changed, 96 insertions(+), 27 deletions(-) diff --git a/src/views/modules/kpi/subpositioncheckinfo-add-or-update.vue b/src/views/modules/kpi/subpositioncheckinfo-add-or-update.vue index e9142cfa..926f2b1e 100644 --- a/src/views/modules/kpi/subpositioncheckinfo-add-or-update.vue +++ b/src/views/modules/kpi/subpositioncheckinfo-add-or-update.vue @@ -143,7 +143,7 @@ export default { }, // 获取信息 getInfo () { - this.$http.get(`/news/subpositioncheckinfo/${this.dataForm.id}`).then(({ data: res }) => { + this.$http.get(`/kpi/subpositioncheckinfo/${this.dataForm.id}`).then(({ data: res }) => { if (res.code !== 0) { return this.$message.error(res.msg) } @@ -159,7 +159,7 @@ export default { if (!valid) { return false } - this.$http[!this.dataForm.id ? 'post' : 'put']('/news/subpositioncheckinfo/', this.dataForm).then(({ data: res }) => { + this.$http[!this.dataForm.id ? 'post' : 'put']('/kpi/subpositioncheckinfo/', this.dataForm).then(({ data: res }) => { if (res.code !== 0) { return this.$message.error(res.msg) } diff --git a/src/views/modules/kpi/subpositioncheckinfo.vue b/src/views/modules/kpi/subpositioncheckinfo.vue index af21d363..15fe73be 100644 --- a/src/views/modules/kpi/subpositioncheckinfo.vue +++ b/src/views/modules/kpi/subpositioncheckinfo.vue @@ -1,42 +1,70 @@