|
@@ -99,6 +99,29 @@
|
|
|
</van-picker-group>
|
|
|
</van-popup>
|
|
|
</van-cell-group>
|
|
|
+
|
|
|
+ <van-cell-group>
|
|
|
+
|
|
|
+ <van-field
|
|
|
+ v-model="siteInspection.assessment"
|
|
|
+ center
|
|
|
+ readonly
|
|
|
+ required
|
|
|
+ label="排查结果:"
|
|
|
+ placeholder="请选择"
|
|
|
+ input-align="right"
|
|
|
+ right-icon="arrow-down"
|
|
|
+ @click="showLx = true"
|
|
|
+ />
|
|
|
+ <van-popup v-model:show="showLx" round position="bottom">
|
|
|
+ <van-picker
|
|
|
+ title="排查结果"
|
|
|
+ :columns="facilityTypes"
|
|
|
+ @cancel="showLx = false"
|
|
|
+ @confirm="getfacilityType"
|
|
|
+ />
|
|
|
+ </van-popup>
|
|
|
+ </van-cell-group>
|
|
|
|
|
|
<van-cell-group>
|
|
|
<van-field name="uploader" label="附件:">
|
|
@@ -264,6 +287,20 @@ export default {
|
|
|
.join("/");
|
|
|
}
|
|
|
};
|
|
|
+
|
|
|
+ //选择排查结果
|
|
|
+ let showLx = ref(false);
|
|
|
+ const facilityTypes = [{text:"正常",value:"1"},{text:"异常",value:"2"}];
|
|
|
+ const getfacilityType= ({ selectedOptions }) => {
|
|
|
+ if(selectedOptions[0]!=undefined&&selectedOptions[0]!=null){
|
|
|
+ siteInspection.value.assessment = selectedOptions[0].value;
|
|
|
+ //siteInspection.value.facilityTypename = selectedOptions[0].text;
|
|
|
+ // getVideoAudioList();
|
|
|
+ // getFireStationList();
|
|
|
+ showLx.value = false;
|
|
|
+ }
|
|
|
+ };
|
|
|
+
|
|
|
// 文件上传
|
|
|
let fileList = ref([]);
|
|
|
let fileupList = ref([]);
|
|
@@ -385,6 +422,11 @@ export default {
|
|
|
onFinish,
|
|
|
cascaderValue,
|
|
|
|
|
|
+ //排查结果选择
|
|
|
+ showLx,
|
|
|
+ facilityTypes,
|
|
|
+ getfacilityType,
|
|
|
+
|
|
|
getLocation,
|
|
|
// 文件上传
|
|
|
chooseImg,
|