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 @@