ming 3 years ago
parent
commit
dc25868eee

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

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

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

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

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

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