From 5bb749fad94dda8653f9cc39f991bf7419d2811a Mon Sep 17 00:00:00 2001 From: zhangyongzhangyong <2012005003@qq.coom> Date: Tue, 17 Dec 2019 19:01:11 +0800 Subject: [PATCH] =?UTF-8?q?kpi=E6=8E=A5=E5=8F=A3=E8=B7=AF=E5=BE=84?= =?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/views/modules/kpi/kpimanualscore.vue | 2 +- src/views/modules/kpi/manual-score-add-or-update.vue | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/views/modules/kpi/kpimanualscore.vue b/src/views/modules/kpi/kpimanualscore.vue index 74127ece..b4d14fc3 100644 --- a/src/views/modules/kpi/kpimanualscore.vue +++ b/src/views/modules/kpi/kpimanualscore.vue @@ -132,7 +132,7 @@ export default { // 已绑定手动打分的考核规则 methods: { getKpiManualRule () { - this.$http.get(`/kpi/kpirule/getKpiManualRule/`).then(({ data: res }) => { + this.$http.get(`/kpi/rule/getKpiManualRule/`).then(({ data: res }) => { if (res.code !== 0) { return this.$message.error(res.msg) } diff --git a/src/views/modules/kpi/manual-score-add-or-update.vue b/src/views/modules/kpi/manual-score-add-or-update.vue index 1cc8bf4d..793b9b39 100644 --- a/src/views/modules/kpi/manual-score-add-or-update.vue +++ b/src/views/modules/kpi/manual-score-add-or-update.vue @@ -111,7 +111,7 @@ export default { // 获取信息 getInfo () { this.$http - .get(`/kpi/kpirule/${this.dataForm.id}`) + .get(`/kpi/rule/${this.dataForm.id}`) .then(({ data: res }) => { if (res.code !== 0) { return this.$message.error(res.msg) @@ -131,7 +131,7 @@ export default { return false } this.$http[!this.dataForm.id ? 'post' : 'put']( - '/kpi/kpirule/saveOrUpdate/', + '/kpi/rule/saveOrUpdate/', this.dataForm ) .then(({ data: res }) => {