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 @@
{{ $t('edit') }} - {{ global.emptyLine }} +
{{ global.emptyLine }}
@@ -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) {