From 80704876f05128690cc3862cb81639e32994f6e9 Mon Sep 17 00:00:00 2001 From: aixianling Date: Fri, 26 Aug 2022 15:13:18 +0800 Subject: [PATCH] =?UTF-8?q?=E7=BD=91=E6=A0=BC=E5=91=98=E7=A7=AF=E5=88=86?= =?UTF-8?q?=E5=BA=94=E7=94=A8=E5=90=8D=E7=A7=B0=E5=8F=AF=E9=9A=8F=E8=8F=9C?= =?UTF-8?q?=E5=8D=95=E5=8F=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../AppGridMemberScore/AppGridMemberScore.vue | 8 +- .../AppGridMemberScore/components/gmScore.vue | 19 ++--- .../components/gridScoreDetail.vue | 76 +++++++++++-------- .../components/gridScoreManage.vue | 23 +++--- 4 files changed, 69 insertions(+), 57 deletions(-) diff --git a/packages/conv/creditScore/AppGridMemberScore/AppGridMemberScore.vue b/packages/conv/creditScore/AppGridMemberScore/AppGridMemberScore.vue index 7dfc5d80..48db606a 100644 --- a/packages/conv/creditScore/AppGridMemberScore/AppGridMemberScore.vue +++ b/packages/conv/creditScore/AppGridMemberScore/AppGridMemberScore.vue @@ -19,14 +19,14 @@ export default { instance: Function, dict: Object, permissions: Function, + menuName: {default: "网格员积分"} }, - computed: { currentPage() { let {hash} = this.$route return hash == "#gridScoreDetail" ? gridScoreDetail : - hash == "#gridScoreRules" ? gridScoreRules : - hash == "#gridScoreStatistics" ? gridScoreStatistics : + hash == "#gridScoreRules" ? gridScoreRules : + hash == "#gridScoreStatistics" ? gridScoreStatistics : hash == "#gridScoreManage" ? gridScoreManage : gmScore } }, @@ -41,7 +41,7 @@ export default { methods: { onChange(data) { let {type, params: query} = data, - hash = ["gridScoreManage", "gridScoreRules","gridScoreStatistics"].includes(type) ? "" : "#" + type + hash = ["gridScoreManage", "gridScoreRules", "gridScoreStatistics"].includes(type) ? "" : "#" + type this.$router.push({hash, query}) } } diff --git a/packages/conv/creditScore/AppGridMemberScore/components/gmScore.vue b/packages/conv/creditScore/AppGridMemberScore/components/gmScore.vue index c60cdf61..6af78adf 100644 --- a/packages/conv/creditScore/AppGridMemberScore/components/gmScore.vue +++ b/packages/conv/creditScore/AppGridMemberScore/components/gmScore.vue @@ -1,7 +1,7 @@