|
|
|
|
@ -29,6 +29,17 @@
|
|
|
|
|
<u-button shape="square" slot='right' size="mini" @click="chooseLocation" type="info">重新获取
|
|
|
|
|
</u-button>
|
|
|
|
|
</u-form-item>
|
|
|
|
|
</block>
|
|
|
|
|
<u-form-item v-if="numShow" labelWidth="180" label="出水口编号" label-position="left">
|
|
|
|
|
<u-input v-model="form.number" type='text' placeholder="请填写出水口编号"/>
|
|
|
|
|
</u-form-item>
|
|
|
|
|
<block v-if="!aboutShow">
|
|
|
|
|
<u-form-item labelWidth="180" label="覆盖范围(米)" label-position="left">
|
|
|
|
|
<u-input v-model="form.scope" type='text' placeholder="请填写覆盖范围"/>
|
|
|
|
|
</u-form-item>
|
|
|
|
|
<u-form-item labelWidth="180" label="点位名称" label-position="left">
|
|
|
|
|
<u-input v-model="form.point_name" type='text' placeholder="请填写点位名称"/>
|
|
|
|
|
</u-form-item>
|
|
|
|
|
</block>
|
|
|
|
|
<block v-if="!formshow">
|
|
|
|
|
<u-form-item label="外运时间" label-position="top" prop="type">
|
|
|
|
|
@ -95,12 +106,16 @@
|
|
|
|
|
otherData: {
|
|
|
|
|
token: ""
|
|
|
|
|
},
|
|
|
|
|
roadName: "",
|
|
|
|
|
roadName: "",
|
|
|
|
|
aboutShow:false,
|
|
|
|
|
typeShow: false,
|
|
|
|
|
dateShow: false,
|
|
|
|
|
formshow: true,
|
|
|
|
|
lawshow: true,
|
|
|
|
|
showInfoId: false,
|
|
|
|
|
showInfoId: false,
|
|
|
|
|
askName:"",
|
|
|
|
|
askShow:false,
|
|
|
|
|
numShow:false,
|
|
|
|
|
typeName: "雨水管道疏挖",
|
|
|
|
|
dateparams: {
|
|
|
|
|
year: true,
|
|
|
|
|
@ -110,7 +125,8 @@
|
|
|
|
|
minute: true,
|
|
|
|
|
second: true,
|
|
|
|
|
},
|
|
|
|
|
rainArr: {
|
|
|
|
|
rainArr: {
|
|
|
|
|
askContentList:[],
|
|
|
|
|
rainTypes: [{
|
|
|
|
|
id: 1,
|
|
|
|
|
name: "雨水管道疏挖"
|
|
|
|
|
@ -167,7 +183,10 @@
|
|
|
|
|
files_list: [],
|
|
|
|
|
files_deal_list: [],
|
|
|
|
|
date: "",
|
|
|
|
|
address: "",
|
|
|
|
|
address: "",
|
|
|
|
|
scope:"",
|
|
|
|
|
point_name:"",
|
|
|
|
|
title_id:""
|
|
|
|
|
},
|
|
|
|
|
rules: {
|
|
|
|
|
content: [{
|
|
|
|
|
@ -183,14 +202,16 @@
|
|
|
|
|
"/api/mobile/rain-maintains/circulation-store",
|
|
|
|
|
"/api/mobile/rain-maintains/circulation-store",
|
|
|
|
|
"/api/mobile/rain-maintains/help-discharge-store",
|
|
|
|
|
"/api/mobile/rain-maintains/mire-store"
|
|
|
|
|
"/api/mobile/rain-maintains/mire-store",
|
|
|
|
|
"/api/mobile/rain-maintains/out-water-store"
|
|
|
|
|
],
|
|
|
|
|
save: [
|
|
|
|
|
"",
|
|
|
|
|
"/api/mobile/rain-maintains/circulation-save",
|
|
|
|
|
"/api/mobile/rain-maintains/circulation-save",
|
|
|
|
|
"/api/mobile/rain-maintains/help-discharge-save",
|
|
|
|
|
"/api/mobile/rain-maintains/mire-save"
|
|
|
|
|
"/api/mobile/rain-maintains/mire-save",
|
|
|
|
|
"/api/mobile/rain-maintains/out-water-save"
|
|
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
@ -205,7 +226,8 @@
|
|
|
|
|
if (options.roadid) {
|
|
|
|
|
this.form.road_id = options.roadid
|
|
|
|
|
this.roadName = options.roadname
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
that.loadAskContent();
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
this.action = this.util.HOST + "/api/mobile/upload-file";
|
|
|
|
|
@ -257,10 +279,14 @@
|
|
|
|
|
that.typeName = val[0].label
|
|
|
|
|
that.form.type = val[0].value
|
|
|
|
|
that.formshow = true
|
|
|
|
|
that.lawshow = true
|
|
|
|
|
that.lawshow = true
|
|
|
|
|
that.aboutShow = false
|
|
|
|
|
that.numShow = false
|
|
|
|
|
that.filesList = [];
|
|
|
|
|
this.$refs.uUpload.clear();
|
|
|
|
|
that.dealFilesList = [];
|
|
|
|
|
that.dealFilesList = [];
|
|
|
|
|
that.form.scope = ""
|
|
|
|
|
that.form.point_name = ""
|
|
|
|
|
if (that.form.is_solve == 1) {
|
|
|
|
|
this.$refs.uUploaddeal.clear();
|
|
|
|
|
}
|
|
|
|
|
@ -273,9 +299,35 @@
|
|
|
|
|
that.form.longitude = ""
|
|
|
|
|
}
|
|
|
|
|
if (val[0].value == 3 || val[0].value == 4) {
|
|
|
|
|
that.lawshow = false
|
|
|
|
|
that.lawshow = false
|
|
|
|
|
that.aboutShow = true
|
|
|
|
|
}
|
|
|
|
|
if (val[0].value == 5) {
|
|
|
|
|
that.aboutShow = true
|
|
|
|
|
that.numShow = true
|
|
|
|
|
}
|
|
|
|
|
console.log("res", that.form)
|
|
|
|
|
},
|
|
|
|
|
confirmAskType(e){
|
|
|
|
|
console.log(e)
|
|
|
|
|
this.askName = e[0].label
|
|
|
|
|
this.form.title_id = e[0].value
|
|
|
|
|
},
|
|
|
|
|
loadAskContent() {
|
|
|
|
|
var that = this;
|
|
|
|
|
that.util.request({
|
|
|
|
|
api: '/api/admin/parameter/show',
|
|
|
|
|
method: "get",
|
|
|
|
|
data: {
|
|
|
|
|
number: "maintainContent"
|
|
|
|
|
},
|
|
|
|
|
utilSuccess: function(result) {
|
|
|
|
|
that.rainArr.askContentList = result.detail
|
|
|
|
|
},
|
|
|
|
|
utilFail: function(res) {
|
|
|
|
|
that.util.alert(res);
|
|
|
|
|
}
|
|
|
|
|
});
|
|
|
|
|
},
|
|
|
|
|
chooseLocation(e) { //打开地图选择位置
|
|
|
|
|
var that = this;
|
|
|
|
|
@ -468,7 +520,7 @@
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
this.$refs.uForm.validate(valid => {
|
|
|
|
|
// console.log(api)
|
|
|
|
|
console.log("form",that.form)
|
|
|
|
|
// return;
|
|
|
|
|
if (valid) {
|
|
|
|
|
console.log('验证通过');
|
|
|
|
|
|