|
|
|
@ -1,5 +1,8 @@
|
|
|
|
<template>
|
|
|
|
<template>
|
|
|
|
<view class="content">
|
|
|
|
<view class="content">
|
|
|
|
|
|
|
|
<view>
|
|
|
|
|
|
|
|
所属道路:{{roadName}}
|
|
|
|
|
|
|
|
</view>
|
|
|
|
<u-form :model="form" ref="uForm">
|
|
|
|
<u-form :model="form" ref="uForm">
|
|
|
|
<u-form-item v-if='!showInfoId' label="养护类型" label-position="top" prop="type" required>
|
|
|
|
<u-form-item v-if='!showInfoId' label="养护类型" label-position="top" prop="type" required>
|
|
|
|
<u-input placeholder="请选择养护类型" v-model="typeName" type="select" :border="true" @click="typeShow = true" />
|
|
|
|
<u-input placeholder="请选择养护类型" v-model="typeName" type="select" :border="true" @click="typeShow = true" />
|
|
|
|
@ -88,6 +91,7 @@
|
|
|
|
otherData: {
|
|
|
|
otherData: {
|
|
|
|
token: ""
|
|
|
|
token: ""
|
|
|
|
},
|
|
|
|
},
|
|
|
|
|
|
|
|
roadName:"",
|
|
|
|
typeShow:false,
|
|
|
|
typeShow:false,
|
|
|
|
dateShow:false,
|
|
|
|
dateShow:false,
|
|
|
|
formshow:true,
|
|
|
|
formshow:true,
|
|
|
|
@ -145,6 +149,7 @@
|
|
|
|
filesList:[],
|
|
|
|
filesList:[],
|
|
|
|
dealFilesList:[],
|
|
|
|
dealFilesList:[],
|
|
|
|
form:{
|
|
|
|
form:{
|
|
|
|
|
|
|
|
road_id:"",
|
|
|
|
type:1,
|
|
|
|
type:1,
|
|
|
|
content:"",
|
|
|
|
content:"",
|
|
|
|
is_solve:0,
|
|
|
|
is_solve:0,
|
|
|
|
@ -192,6 +197,11 @@
|
|
|
|
this.showInfoId = true
|
|
|
|
this.showInfoId = true
|
|
|
|
this.showInfo(this.infoId);
|
|
|
|
this.showInfo(this.infoId);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
if(options.roadid){
|
|
|
|
|
|
|
|
this.form.road_id = options.roadid
|
|
|
|
|
|
|
|
this.roadName = options.roadname
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
this.action = this.util.HOST + "/api/mobile/upload-file";
|
|
|
|
this.action = this.util.HOST + "/api/mobile/upload-file";
|
|
|
|
this.otherData.token = uni.getStorageSync("userInfo_token").access_token;
|
|
|
|
this.otherData.token = uni.getStorageSync("userInfo_token").access_token;
|
|
|
|
@ -328,6 +338,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
that.form = result.circulation_info;
|
|
|
|
that.form = result.circulation_info;
|
|
|
|
that.form.circulation_id = result.circulation_id;
|
|
|
|
that.form.circulation_id = result.circulation_id;
|
|
|
|
|
|
|
|
that.roadName = result.circulation_info.road.name
|
|
|
|
let _files = [];
|
|
|
|
let _files = [];
|
|
|
|
for (var mod of result.circulation_info.circulation_files) {
|
|
|
|
for (var mod of result.circulation_info.circulation_files) {
|
|
|
|
let m = Object.assign({}, mod);
|
|
|
|
let m = Object.assign({}, mod);
|
|
|
|
@ -355,6 +366,7 @@
|
|
|
|
that.lawshow = false
|
|
|
|
that.lawshow = false
|
|
|
|
that.form = result.help_discharge_info;
|
|
|
|
that.form = result.help_discharge_info;
|
|
|
|
that.form.help_discharge_id = result.help_discharge_id;
|
|
|
|
that.form.help_discharge_id = result.help_discharge_id;
|
|
|
|
|
|
|
|
that.roadName = result.help_discharge_info.road.name
|
|
|
|
let discharge_files = [];
|
|
|
|
let discharge_files = [];
|
|
|
|
for (var mod of result.help_discharge_info.help_discharge_files) {
|
|
|
|
for (var mod of result.help_discharge_info.help_discharge_files) {
|
|
|
|
let m = Object.assign({}, mod);
|
|
|
|
let m = Object.assign({}, mod);
|
|
|
|
@ -381,6 +393,7 @@
|
|
|
|
that.formshow = false
|
|
|
|
that.formshow = false
|
|
|
|
that.form = result.mire_info;
|
|
|
|
that.form = result.mire_info;
|
|
|
|
that.form.mire_id = result.mire_id;
|
|
|
|
that.form.mire_id = result.mire_id;
|
|
|
|
|
|
|
|
that.roadName = result.mire_info.road.name
|
|
|
|
let mire_files = [];
|
|
|
|
let mire_files = [];
|
|
|
|
for (var mod of result.mire_info.mire_files) {
|
|
|
|
for (var mod of result.mire_info.mire_files) {
|
|
|
|
let m = Object.assign({}, mod);
|
|
|
|
let m = Object.assign({}, mod);
|
|
|
|
|