From 7bcbe67c861f487b151b28c668300cca78fa5591 Mon Sep 17 00:00:00 2001 From: 13176889840 <13176889840@163.com> Date: Tue, 21 Jun 2022 10:48:18 +0800 Subject: [PATCH] =?UTF-8?q?=E7=A7=AF=E5=88=86=E5=AE=A1=E6=A0=B8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../modules/communityParty/members/points.vue | 67 +++++++++++++++--- .../communityService/measure/points.vue | 68 ++++++++++++++++--- 2 files changed, 114 insertions(+), 21 deletions(-) diff --git a/src/views/modules/communityParty/members/points.vue b/src/views/modules/communityParty/members/points.vue index 78281bed..9d08c548 100644 --- a/src/views/modules/communityParty/members/points.vue +++ b/src/views/modules/communityParty/members/points.vue @@ -56,10 +56,10 @@ -
+ - - + + +
- + + {{ detailInfo.ruleName }} + + + {{ detailInfo.pointValue }} + - + - +
@@ -263,10 +285,11 @@ export default { data() { return { dialogVisible: false, - dialogFormVisible: false, + dialogFormVisible: true, tableLoading: false, disabled: false, pageLoading: false, + isBatch: false, currentPage: 1, pageSize: 20, total: null, @@ -426,11 +449,15 @@ export default { }, async handleLook(row) { this.disabled = true + this.isBatch = false await this.getDetail(row.id) + this.dialogFormVisible = true }, async handleEdit(row, addType) { this.form.ids = [row.id] - // await this.getDetail(row.id) + this.isBatch = false + // this.detailInfo = { ...row } + await this.getDetail(row.id) this.dialogFormVisible = true }, @@ -486,7 +513,10 @@ export default { return this.$message.error(res.msg) } else { this.detailInfo = { ...res.data } - this.dialogVisible = true + if (this.disabled) { + this.form.status = res.data.status + this.form.remark = res.data.remark + } } }) .catch((err) => { @@ -610,6 +640,21 @@ export default { text-overflow: ellipsis; white-space: nowrap; } + +.d-title { + text-align: center; + font-size: 18px; +} +.d-desc { + margin: 10px 0; + // font-size: ; + text-indent: 2em; + line-height: 16px; +} +.d-tips { + color: #999; + margin-top: 10px; +}