sk 1 rok pred
rodič
commit
20ee439edd

+ 4 - 2
app/src/views/FireCondition/components/hzfxCont.vue

@@ -17,6 +17,7 @@
 		mixins: [punishmentMixin],
 		data() {
 			return {
+				options9:[],
 				options: [],
 				options1: [],
 				options2: [],
@@ -128,7 +129,8 @@
 				pageNum: 1,
 				pageSize: 100,
 			}).then((res) => {
-				this.options = res.data.rows;
+				console.log(res,'获取区域');
+				this.options9 = res.data.rows;
 			});
 		},
 	};
@@ -146,7 +148,7 @@
 			<div class="maintenance-supervision_header">
 				<div class="select-item">
 					<el-select v-model="value" placeholder="请选择">
-						<el-option :value="item.qx" :label="item.qx" v-for="(item, index) in options"
+						<el-option :value="item.areaTitle" :label="item.areaTitle" v-for="(item, index) in options9"
 							:key="index">
 						</el-option>
 					</el-select>

+ 2 - 2
app/src/views/PoliceSituation/components/MobilizeStrength.vue

@@ -70,7 +70,7 @@ white-space: nowrap;">{{ item.yjddsj || '-'}}</span>
 </template>
 <script>
 	import VueSeamlessScroll from "vue-seamless-scroll";
-
+	import moment from "moment";
 	export default {
 		name: 'MaintenanceSupervision',
 		data() {
@@ -116,7 +116,7 @@ white-space: nowrap;">{{ item.yjddsj || '-'}}</span>
 					"否": "#df575b"
 				} [text]
 			}
-		}
+		},
 	}
 </script>
 

+ 9 - 0
app/src/views/PoliceSituation/index.vue

@@ -27,6 +27,7 @@
 	import UnitInformation from "./components/UnitInformation.vue";
 	import UnitInfo from "./components/UnitInfo.vue";
 	import Map from "@/components/Map.vue";
+	import moment from "moment";
 	import {
 		getBjxx,
 		geTzl,
@@ -49,6 +50,7 @@
 		},
 		data() {
 			return {
+				gxsj1:null,
 				pId: null,
 				params: {
 					pageSize: 100,
@@ -128,6 +130,13 @@
 						return index
 					})
 					this.hcws = i2;
+					// console.log(this.hcws);
+					// this.hcws.gxsj  = this.hcws.forEach(i =>{
+					// 	this.gxsj1 = i.gxsj
+					// 	this.gxsj1 = moment(this.gxsj1).format("yyyy-MM-DD");
+					// 	console.log(this.gxsj1,111111);
+					// });
+					this.hcws1.gxsj = moment(this.hcws1.gxsj).format("yyyy-MM-DD");
 				});
 				// 事故单位信息-案件信息列表
 				getAjxx(this.params).then((res) => {