diff --git a/src/views/modules/workRecord/familygrouprelation-add-or-update.vue b/src/views/modules/workRecord/familygrouprelation-add-or-update.vue index 14960e0b..7f2e62c5 100644 --- a/src/views/modules/workRecord/familygrouprelation-add-or-update.vue +++ b/src/views/modules/workRecord/familygrouprelation-add-or-update.vue @@ -94,7 +94,7 @@ export default { }, // 获取信息 getInfo () { - this.$http.get(`/news/familygrouprelation/${this.dataForm.id}`).then(({ data: res }) => { + this.$http.get(`/workrecord/familygrouprelation/${this.dataForm.id}`).then(({ data: res }) => { if (res.code !== 0) { return this.$message.error(res.msg) } @@ -110,7 +110,7 @@ export default { if (!valid) { return false } - this.$http[!this.dataForm.id ? 'post' : 'put']('/news/familygrouprelation/', this.dataForm).then(({ data: res }) => { + this.$http[!this.dataForm.id ? 'post' : 'put']('/workrecord/familygrouprelation/', this.dataForm).then(({ data: res }) => { if (res.code !== 0) { return this.$message.error(res.msg) } diff --git a/src/views/modules/workRecord/familygrouprelation.vue b/src/views/modules/workRecord/familygrouprelation.vue index a680cd85..f1c438c8 100644 --- a/src/views/modules/workRecord/familygrouprelation.vue +++ b/src/views/modules/workRecord/familygrouprelation.vue @@ -1,6 +1,6 @@