From 7dba789262cf43b769e9bbcd61ceec7266c9d92e Mon Sep 17 00:00:00 2001 From: lideqin <694785430@qq.com> Date: Thu, 21 Sep 2023 10:03:22 +0800 Subject: [PATCH] =?UTF-8?q?[update]=20=E4=BF=AE=E6=94=B9=E4=BC=81=E6=A0=87?= =?UTF-8?q?=E7=BA=A7=E5=88=AB=E6=98=A0=E5=B0=84=E5=92=8C=E5=8F=8B=E6=83=85?= =?UTF-8?q?=E9=93=BE=E6=8E=A5=E7=AE=A1=E7=90=86=E8=87=AA=E6=B5=8Bbug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../enterpriseLevelMapManage/EnterpriseLevelMapList.vue | 4 ++-- .../system/firendshipLinkManage/FriendshipLinkList.vue | 8 ++++++-- .../firendshipLinkManage/modules/FriendshipLinkModal.vue | 2 +- 3 files changed, 9 insertions(+), 5 deletions(-) diff --git a/src/views/system/enterpriseLevelMapManage/EnterpriseLevelMapList.vue b/src/views/system/enterpriseLevelMapManage/EnterpriseLevelMapList.vue index bf72b4d1..e3867815 100644 --- a/src/views/system/enterpriseLevelMapManage/EnterpriseLevelMapList.vue +++ b/src/views/system/enterpriseLevelMapManage/EnterpriseLevelMapList.vue @@ -16,7 +16,7 @@
@@ -70,7 +70,7 @@ export default { scopedSlots: { customRender: 'action' }, align: 'center', fixed: 'right', - width: 100 + width: 200 } ], url: { diff --git a/src/views/system/firendshipLinkManage/FriendshipLinkList.vue b/src/views/system/firendshipLinkManage/FriendshipLinkList.vue index 13691c68..22407c2e 100644 --- a/src/views/system/firendshipLinkManage/FriendshipLinkList.vue +++ b/src/views/system/firendshipLinkManage/FriendshipLinkList.vue @@ -165,10 +165,14 @@ export default { this.$message.warning(this.$t('system.friendshipLink.shelfWarn')) return } - record.grounding = record.grounding === true ? '1' : '0' - postAction(this.url.edit, record).then(res => { + console.log(record) + const param = Object.assign({}, record) + param.grounding = record.grounding === true ? '1' : '0' + postAction(this.url.edit, param).then(res => { if (res.success) { this.loadData() + } else { + this.$message.warning(res.message) } }) } diff --git a/src/views/system/firendshipLinkManage/modules/FriendshipLinkModal.vue b/src/views/system/firendshipLinkManage/modules/FriendshipLinkModal.vue index 0e3a9fe6..615dbd19 100644 --- a/src/views/system/firendshipLinkManage/modules/FriendshipLinkModal.vue +++ b/src/views/system/firendshipLinkManage/modules/FriendshipLinkModal.vue @@ -115,7 +115,7 @@ export default { this.confirmLoading = true const param = Object.assign({}, values) param.id = this.model.id - param.grounding = this.model.grounding ? '1' : '0' + param.grounding = param.grounding ? '1' : '0' const url = this.url.edit postAction(url, param).then(res => { if (res.success) {