Browse Source

fix: 消防管理管理单位数据不一致

TwoKe945 1 year ago
parent
commit
8fd0ac86e9

+ 2 - 2
app/src/views/Fire/components/Construction.vue

@@ -65,7 +65,7 @@
 			<higthList :flag="flag" :qx="qx" />
 		</basic-modal>
 		<basic-modal top="120px" ref="HistoryModal" name="管理单位查询">
-			<GldwModalContent :flag="flag" :qx="qx" :static="static" :qy="qx" />
+			<GldwModalContent :flag="flag" rzxs="管理单位" :qx="qx" :static="static" :qy="qx" />
 		</basic-modal>
 	</div>
 </template>
@@ -192,4 +192,4 @@
 		// 	width: 180px !important;
 		// }
 	}
-</style>
+</style>

+ 10 - 0
app/src/views/Fire/components/GldwModalContent.vue

@@ -28,8 +28,18 @@ export default {
     default: Object,
     unitName: String,
     static: String,
+    rzxs: String
   },
   watch: {
+    rzxs: {
+      handler(val) {
+        if (val) {
+          this.params.rzxs = val;
+          this.funRzdwList();
+        }
+      },
+      immediate: true
+    },
     default: {
       handler() {
         const params = JSON.parse(JSON.stringify(this.params));