From 4d5d871dd1cdc90cd1d913a0c696b7662b9d17e0 Mon Sep 17 00:00:00 2001
From: houshuai <17802598606@163.com>
Date: 星期一, 30 六月 2025 17:12:36 +0800
Subject: [PATCH] 线边库基本页面搭建

---
 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