From ff915a54f2ab4f33d70ce07a3ae1fb5a93d2128c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=AE=8B=E4=BC=9F=E4=BD=B3?= <2797716443@qq.com> Date: Fri, 11 Mar 2022 10:39:02 +0800 Subject: [PATCH 1/3] =?UTF-8?q?=E6=9C=BA=E6=9E=84=E7=AE=A1=E7=90=86-?= =?UTF-8?q?=E6=8A=80=E6=9C=AF=E5=A7=94=E5=91=98=E4=BC=9A=E5=BC=80=E5=8F=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../config/pages/mechanismManage/index.vue | 5 + .../pages/mechanismManage/pages/committee.vue | 401 ++++++++++++++++++ 2 files changed, 406 insertions(+) create mode 100644 src/pages/config/pages/mechanismManage/pages/committee.vue diff --git a/src/pages/config/pages/mechanismManage/index.vue b/src/pages/config/pages/mechanismManage/index.vue index e062b815e..b5d8d4287 100644 --- a/src/pages/config/pages/mechanismManage/index.vue +++ b/src/pages/config/pages/mechanismManage/index.vue @@ -9,6 +9,9 @@ + + + @@ -16,11 +19,13 @@ + + From 2d26ed101fdc6b2876978de2c2afc14a001109f9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=AE=8B=E4=BC=9F=E4=BD=B3?= <2797716443@qq.com> Date: Fri, 11 Mar 2022 14:02:50 +0800 Subject: [PATCH 2/3] =?UTF-8?q?=E6=8A=80=E6=9C=AF=E5=A7=94=E5=91=98?= =?UTF-8?q?=E4=BC=9A=E5=8A=9F=E8=83=BD=E5=AE=8C=E5=96=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../config/pages/mechanismManage/pages/committee.vue | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/src/pages/config/pages/mechanismManage/pages/committee.vue b/src/pages/config/pages/mechanismManage/pages/committee.vue index 338213066..d2f7278cd 100644 --- a/src/pages/config/pages/mechanismManage/pages/committee.vue +++ b/src/pages/config/pages/mechanismManage/pages/committee.vue @@ -238,6 +238,7 @@ export default { this.dialogTitle = "编辑"; this.addModel = true; this.addForm.id = this.committeeChangeList[0].id; + this.addForm.committeer = this.committeeChangeList[0].committeer; this.addForm.committeeName = this.committeeChangeList[0].committeeName; this.addForm.committor = this.committeeChangeList[0].committor; this.addForm.committeeIds = this.committeeChangeList[0].committorId; @@ -307,15 +308,20 @@ export default { }, { _this: this }, res => { - this.getCommittee(); - this.addModel = false; + if(res.ok){ + this.getCommittee(); + this.addModel = false; + } }); } else { this.$http.put("wgCommittee/wg-committee/update", { ...this.addForm }, { _this: this }, res => { - console.log(res); + if(res.ok){ + this.getCommittee(); + this.addModel = false; + } }); } From a2c0aea60c8a95b175531c2674159af2c8c6ab8d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=AE=8B=E4=BC=9F=E4=BD=B3?= <2797716443@qq.com> Date: Fri, 11 Mar 2022 15:06:33 +0800 Subject: [PATCH 3/3] =?UTF-8?q?=E6=93=8D=E4=BD=9C=E6=97=A5=E5=BF=97?= =?UTF-8?q?=E5=B1=95=E7=A4=BA=E8=B4=A6=E5=8F=B7=E5=8F=8A=E5=90=8D=E7=A7=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/config/pages/operationLog/index.vue | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/pages/config/pages/operationLog/index.vue b/src/pages/config/pages/operationLog/index.vue index 88a0a3959..f8a6f1c2f 100644 --- a/src/pages/config/pages/operationLog/index.vue +++ b/src/pages/config/pages/operationLog/index.vue @@ -167,8 +167,11 @@ loading: 'dataLoading' }, res => { if (res.ok) { - this.total = res.data.total - this.data = res.data.records + this.total = res.data.total; + res.data.records.forEach(item => { + item.account = "(" + item.account + ")" + item.accountName; + }); + this.data = res.data.records; } }) },