ming преди 3 години
родител
ревизия
dc25868eee
променени са 3 файла, в които са добавени 18 реда и са изтрити 3 реда
  1. 7 1
      src/views/deviceManage/powerEquip/deviceDetails.vue
  2. 9 0
      src/views/deviceManage/powerEquip/index.vue
  3. 2 2
      src/views/stationManage/index.vue

+ 7 - 1
src/views/deviceManage/powerEquip/deviceDetails.vue

@@ -190,7 +190,7 @@ export default defineComponent({
   components: {
     listDialog,
   },
-  emits: ['updateRow', 'closeNo'],
+  emits: ['updateRow', 'closeNo','func'],
   props: {
     filter_Text: String,
     Height: String,
@@ -206,6 +206,11 @@ export default defineComponent({
     const listDialogBool = ref(false)
     const DialogArray = ref([])
 
+     const goBack = () => {
+       emit('func')
+    
+    }
+
     //变量列表
     const variableList = (row) => {
       DialogArray.value = row
@@ -300,6 +305,7 @@ export default defineComponent({
       handleSizeChange,
       handleCurrentChange,
       listSelect,
+      goBack,
 
       store
     }

+ 9 - 0
src/views/deviceManage/powerEquip/index.vue

@@ -129,6 +129,7 @@
               :Height="Height"
               :refresh="refresh"
               @updateRow="update"
+               @func="getMsgFormSon"
             ></deviceDetails>
           </div>
 
@@ -281,6 +282,13 @@ export default defineComponent({
       monitorDeviceList()
     }
 
+
+    const getMsgFormSon = () => {
+      deviceNumData.value = ''
+    }
+
+
+
     // 表头样式设置
     const headClass = () => {
       return 'background:#FAFAFA !important;color: black;'
@@ -315,6 +323,7 @@ export default defineComponent({
       total,
       pageSize,
       currentPage,
+      getMsgFormSon,
       handleSizeChange,
       handleCurrentChange,
     }

+ 2 - 2
src/views/stationManage/index.vue

@@ -5,12 +5,12 @@
       <div class="mb-20">所有台区</div>
       <div class="filter-container mb-10">
         <div>
-          <div class="filter-item">
+          <div class="filter-item" style="margin-right:0">
             台区:
             <el-input
               v-model="platformAreaName"
               placeholder="请输入台区名称"
-              style="width: 240px"
+              style="width: 200px"
             ></el-input>
           </div>