From 5d49c377895a2d2d88e794d6aae4bb309cbab0f3 Mon Sep 17 00:00:00 2001 From: zhangherong <571457620@qq.com> Date: 星期一, 30 六月 2025 11:17:09 +0800 Subject: [PATCH] art:删除MDC相关代码 --- src/views/system/modules/UserModal.vue | 26 +++++++++++++------------- 1 files changed, 13 insertions(+), 13 deletions(-) diff --git a/src/views/system/modules/UserModal.vue b/src/views/system/modules/UserModal.vue index a497293..8f3883f 100644 --- a/src/views/system/modules/UserModal.vue +++ b/src/views/system/modules/UserModal.vue @@ -334,11 +334,11 @@ </a-button> </div> - <select-device-modal - ref="selectDeviceModal" - @selectFinished="selectOK" - :title="'閫夋嫨璁惧'" - /> +<!-- <select-device-modal--> +<!-- ref="selectDeviceModal"--> +<!-- @selectFinished="selectOK"--> +<!-- :title="'閫夋嫨璁惧'"--> +<!-- />--> </a-drawer> </template> @@ -353,12 +353,12 @@ import JSelectProduction from '../../../components/jeecgbiz/JSelectProduction' import { mapActions } from 'vuex' import { ajaxGetDictItems, getDictItemsFromCache } from '@/api/api' - import SelectDeviceModal from './SelectDeviceModal' + // import SelectDeviceModal from './SelectDeviceModal' export default { name: 'UserModal', components: { - SelectDeviceModal, + // SelectDeviceModal, JSelectProduction }, data() { @@ -435,10 +435,10 @@ }, 'model.selectedProduction': { handler(newVal, oldVal) { - if (newVal && this.$refs.selectDeviceModal) { + if (newVal) { // 濡傛灉杞﹂棿閫夋嫨鍓嶅悗涓嶄竴鑷村垯閲嶇疆閫夋嫨璁惧 if ((oldVal && newVal !== oldVal)) this.model.equipmentIds = '' - this.$refs.selectDeviceModal.queryTreeData(newVal) + //this.$refs.selectDeviceModal.queryTreeData(newVal) } // 濡傛灉娓呯┖杞﹂棿鍊煎垯閲嶇疆閫夋嫨璁惧 if (newVal === '') this.model.equipmentIds = '' @@ -792,10 +792,10 @@ }, deviceSearch() { - this.$refs.selectDeviceModal.visible = true - this.$refs.selectDeviceModal.selectedRowKeys = [] - this.$refs.selectDeviceModal.selectedRows = [] - this.$refs.selectDeviceModal.checkedKeys = this.model.equipmentIds ? this.model.equipmentIds.split(',') : [] + //this.$refs.selectDeviceModal.visible = true + //this.$refs.selectDeviceModal.selectedRowKeys = [] + //this.$refs.selectDeviceModal.selectedRows = [] + //this.$refs.selectDeviceModal.checkedKeys = this.model.equipmentIds ? this.model.equipmentIds.split(',') : [] }, /** -- Gitblit v1.9.3