养护新增

master
lion 3 years ago
parent baa8dd12b1
commit b9e5de2df9

@ -1,7 +1,7 @@
<template>
<div>
<!-- 疏通1 疏挖2 专项处理6 维修7 出水口5 汛期助排 3 -->
<dialogShow :title="title" :is-show.sync="isShow" :width="width">
<dialogShow :title="title" :is-show.sync="isShow" :width="width" @resetform="resetForm('form')">
<template v-slot:content>
<el-form :model="form" :rules="rules" ref="form" label-position="right" :label-width="labelwidth">
<el-row>
@ -236,13 +236,13 @@
infoId(val) {
this.infoId = val
},
rainType(val) {
rainType(newval) {
var that = this
if (val) {
that.rainType = val
that.form.type = val
if (newval) {
that.rainType = newval
that.form.type = newval
for (var m of that.yhtypeList) {
if (m.id == val) {
if (m.id == newval) {
that.title = m.name
}
}
@ -251,7 +251,6 @@
that.form.type = 1
that.title = "雨水管道疏挖"
}
},
mapform(newVal, oldVal) {
this.form.longitude = newVal[0];
@ -284,7 +283,7 @@
},
getInfo(id) {
var that = this;
this.resetForm()
// this.resetForm()
// that.mainList = that.maintaninList['maintainContent_' + this.rainType]
if (id) {
that.form = {}
@ -460,7 +459,8 @@
that.filesList = [];
that.dealFilesList = [];
that.titleArr = []
that.roadName = ""
that.roadName = ""
that.rainType = ""
that.roaddisabled = false
that.mapform = ['', '', ''];
this.form = {

@ -1,7 +1,7 @@
<template>
<div>
<!--污泥外运 4 -->
<dialogShow :title="title" :is-show.sync="isShow" :width="width">
<dialogShow :title="title" :is-show.sync="isShow" :width="width" @resetform="resetForm('form')">
<template v-slot:content>
<el-form :model="form" :rules="rules" ref="form" label-position="right" :label-width="labelwidth">
<el-row>
@ -146,7 +146,7 @@
initload() {},
getInfo(id) {
var that = this;
this.resetForm()
// this.resetForm()
// that.mainList = that.maintaninList['maintainContent_' + this.rainType]
if (id) {
that.form = {}
@ -225,7 +225,8 @@
resetForm(formName) {
var that = this;
that.filesList = [];
that.roadName = ""
that.roadName = ""
that.rainType = ""
that.roaddisabled = false
this.form = {
type: 4

@ -610,7 +610,8 @@
this.$refs.editMire.infoId = ""
this.$refs.editMire.getInfo()
this.$refs.editMire.isShow = true
}
}
that.rainType = 1
},
edit(obj) {
var that = this;

Loading…
Cancel
Save