fix 79929
This commit is contained in:
@@ -233,7 +233,6 @@ export default {
|
||||
this.$refs.modalForm.edit(this.selectedNodeId)
|
||||
},
|
||||
handleDetail () {
|
||||
console.log(this.selectedNodeId)
|
||||
// 需要先选中一个节点
|
||||
if (!this.selectedNodeId) {
|
||||
this.$message.warning(this.$t('businessSupport.standardizationActivity.pleaseSelectNode'))
|
||||
|
||||
+4
-1
@@ -103,7 +103,8 @@
|
||||
</div>
|
||||
|
||||
<div class="custom-drawer-style-bottom-btn">
|
||||
<a-button type="primary" class="footer-btn-save" @click="handleOk">{{ $t('preservation') }}</a-button>
|
||||
<a-button type="primary" @click="handleOk" v-if="!disabled">{{ $t('preservation') }}</a-button>
|
||||
<a-button type="primary" @click="handleCancel" v-else>{{ $t('determine') }}</a-button>
|
||||
<a-button @click="handleCancel">{{ $t('cancel') }}</a-button>
|
||||
</div>
|
||||
|
||||
@@ -225,11 +226,13 @@ export default {
|
||||
})
|
||||
},
|
||||
edit (id) {
|
||||
this.title = this.$t('edit')
|
||||
this.visible = true
|
||||
this.disabled = false
|
||||
this.getDetailData(id)
|
||||
},
|
||||
view (id) {
|
||||
this.title = this.$t('view')
|
||||
this.visible = true
|
||||
this.disabled = true
|
||||
this.getDetailData(id)
|
||||
|
||||
Reference in New Issue
Block a user