|
|
|
|
@ -1,8 +1,8 @@
|
|
|
|
|
<template>
|
|
|
|
|
<view class="content">
|
|
|
|
|
<view>
|
|
|
|
|
<!-- <view>
|
|
|
|
|
所属道路:{{roadName}}
|
|
|
|
|
</view>
|
|
|
|
|
</view> -->
|
|
|
|
|
<u-form :model="form" ref="uForm">
|
|
|
|
|
<u-form-item label="问题类型" label-position="top" prop="typeName" required>
|
|
|
|
|
<u-input v-model="form.typeName" type="select" :border="true" @click="typeshow = true" />
|
|
|
|
|
@ -46,7 +46,7 @@
|
|
|
|
|
otherData: {
|
|
|
|
|
token: ""
|
|
|
|
|
},
|
|
|
|
|
roadName:"",
|
|
|
|
|
// roadName:"",
|
|
|
|
|
unitshow: false,
|
|
|
|
|
typeshow: false,
|
|
|
|
|
contentshow: false,
|
|
|
|
|
@ -100,10 +100,10 @@
|
|
|
|
|
this.infoId = options.id;
|
|
|
|
|
this.showInfo(this.infoId);
|
|
|
|
|
}
|
|
|
|
|
if(options.roadid){
|
|
|
|
|
this.form.road_id = options.roadid
|
|
|
|
|
this.roadName = options.roadname
|
|
|
|
|
}
|
|
|
|
|
// if(options.roadid){
|
|
|
|
|
// this.form.road_id = options.roadid
|
|
|
|
|
// this.roadName = options.roadname
|
|
|
|
|
// }
|
|
|
|
|
this.action = this.util.HOST + "/api/mobile/upload-file";
|
|
|
|
|
this.otherData.token = uni.getStorageSync("userInfo_token").access_token;
|
|
|
|
|
this.loadUnit();
|
|
|
|
|
@ -223,7 +223,7 @@
|
|
|
|
|
that.form.typeName = result.ask_type_detail.value;
|
|
|
|
|
that.form.contentName = result.ask_content_detail.value;
|
|
|
|
|
that.form.unitName = result.feedback_department.name
|
|
|
|
|
that.roadName = result.road?result.road.name:""
|
|
|
|
|
// that.roadName = result.road?result.road.name:""
|
|
|
|
|
let _files = [];
|
|
|
|
|
for (var mod of result.common_inspection_files) {
|
|
|
|
|
let m = Object.assign({}, mod);
|
|
|
|
|
|