-
-
-
-
-
- {{form.roadName}}
-
-
-
-
- {{form.ask_content_detail?form.ask_content_detail:""}}
-
-
-
-
- {{form.address}}
-
-
-
-
- {{form.longitude}}
-
-
-
-
- {{form.latitude}}
-
-
-
-
-
-
-
![]()
-
-
-
-
-
-
-
-
-
-
-
-
- 否
- 是
-
-
-
-
-
- {{form.start_address?form.start_address:""}}
-
-
-
-
- {{form.end_address?form.end_address:""}}
-
-
-
-
- {{form.unusual_type_detail?form.unusual_type_detail.value:""}}
-
-
-
-
- {{form.tip}}
-
-
-
-
- 否
- 是
-
-
-
-
- {{form.result}}
-
-
-
-
-
-
-
![]()
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 无
- 养护转办
- 违法转办
-
-
-
-
-
-
-
-
-
- {{form.end_time}}
-
-
-
-
- {{form.remark}}
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+ {{form.roadName}}
+
+
+
+
+ {{form.ask_content_detail?form.ask_content_detail:""}}
+
+
+
+
+ {{form.address}}
+
+
+
+
+ {{form.longitude}}
+
+
+
+
+ {{form.latitude}}
+
+
+
+
+
+
+
![]()
+
+
+
+
+
+
+
+
+
+
+
+
+ 否
+ 是
+
+
+
+
+
+ {{form.start_address?form.start_address:""}}
+
+
+
+
+ {{form.end_address?form.end_address:""}}
+
+
+
+
+ {{form.unusual_type_detail?form.unusual_type_detail.value:""}}
+
+
+
+
+ {{form.tip}}
+
+
+
+
+ 否
+ 是
+
+
+
+
+ {{form.result}}
+
+
+
+
+
+
+
![]()
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 无
+ 养护转办
+ 违法转办
+
+
+
+
+
+
+
+
+
+ {{form.end_time}}
+
+
+
+
+ {{form.remark}}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 无
+ 养护转办
+ 违法转办
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 审核
+
+ 办结
+
+ 保存
+
+ 退回
+
-
-
-
-
-
- 无
- 养护转办
- 违法转办
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 审核
-
- 办结
-
- 保存
-
- 退回
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/rain/inspection/law.vue b/src/views/rain/inspection/law.vue
index 379b969..5c28453 100644
--- a/src/views/rain/inspection/law.vue
+++ b/src/views/rain/inspection/law.vue
@@ -17,16 +17,25 @@
-
+
-
+
+
+
+
+
+
+
+
+
+
-
+
@@ -39,20 +48,21 @@
-
+
-
-
-
-
-
+
+
+
+
+
日常雨水设施
在建工地巡查
@@ -67,6 +77,14 @@
已办结
已退回
+
+ 待复核
+ 已复核
+
+
+
+ 无
+
{{scope.row[column.field]?scope.row[column.field].name:""}}
-
+
+
-
-
-
-
-
-
- {{roadName}}
-
-
-
-
-
-
-
-
-
- {{form.scope}}米
-
-
-
-
- {{form.point_name}}
-
-
-
-
- {{form.address}}
-
-
-
-
- {{form.longitude}}
-
-
-
-
- {{form.latitude}}
-
-
-
-
- {{form.content}}
-
-
-
-
-
-
-
![]()
-
-
-
-
-
-
-
-
-
-
-
-
- 否
- 丢失
- 破损
-
-
-
-
- {{form.tip}}
-
-
-
-
- 否
- 丢失
-
-
-
-
- {{form.result}}
-
-
-
-
-
-
-
![]()
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 无
- 养护转办
- 违法转办
-
-
-
-
-
- 无
- 养护转办
- 违法转办
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+ 日常雨水设施
+ 在建工地
+
-
+
+
-
-
-
+
+
+
+
+
+
+
+
+
+
-
-
+
-
- {{roadName}}
-
-
-
-
- {{form.name}}
-
-
-
-
- {{form.address}}
-
-
-
-
- {{form.longitude}}
-
-
-
-
- {{form.latitude}}
+
+
+
+
+
-
- {{form.number}}
-
-
-
-
-
-
-
-
-
-
- {{item.value}}
-
-
-
-
-
-
- {{form.remark}}
-
-
-
-
- {{form.content}}
-
-
-
-
-
-
-
![]()
-
-
-
-
-
-
-
-
-
-
-
- 否
- 是
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 无
- 养护转办
- 违法转办
-
-
-
-
-
-
-
-
-
-
-
-
+
+
-
-
- 无
- 养护转办
- 违法转办
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
@@ -419,23 +156,11 @@
-
-
-
-
-
-
-
-
@@ -443,13 +168,9 @@
@@ -957,24 +574,28 @@
display: none;
}
- .vm10{
- margin-right:10px;
- margin-bottom:10px;
- height: 32px;
- vertical-align: bottom;
- }
- .vm10 input {
- height: 32px;
- vertical-align: middle;
- }
-
- .vm10 .el-select__caret.el-input__icon.el-icon-arrow-up {
- line-height: 30px;
- }
- .vm10 .el-input__icon.el-range__icon.el-icon-date,.vm10 .el-range-separator{
- line-height: 25px;
- }
- .selerchcontent button{
- vertical-align: top;
+ .vm10 {
+ margin-right: 10px;
+ margin-bottom: 10px;
+ height: 32px;
+ vertical-align: bottom;
+ }
+
+ .vm10 input {
+ height: 32px;
+ vertical-align: middle;
+ }
+
+ .vm10 .el-select__caret.el-input__icon.el-icon-arrow-up {
+ line-height: 30px;
+ }
+
+ .vm10 .el-input__icon.el-range__icon.el-icon-date,
+ .vm10 .el-range-separator {
+ line-height: 25px;
+ }
+
+ .selerchcontent button {
+ vertical-align: top;
}
diff --git a/src/views/rain/maintain/maintain.vue b/src/views/rain/maintain/maintain.vue
index dde28a3..e950d95 100644
--- a/src/views/rain/maintain/maintain.vue
+++ b/src/views/rain/maintain/maintain.vue
@@ -6,41 +6,41 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
+
@@ -77,8 +77,8 @@
雨水管道疏通
汛期助排
污泥外运
- 出水口排查
- 专项处理
+ 出水口排查
+ 专项处理
维修
@@ -124,8 +124,8 @@
雨水管道疏通
汛期助排
污泥外运
- 出水口排查
- 专项处理
+ 出水口排查
+ 专项处理
维修
@@ -140,8 +140,8 @@
-
+
@@ -149,7 +149,7 @@
-
+
{{form.title_detail}}
-
+
+ :disabled="roaddisabled" clearable @focus="remoteRoad" reserve-keyword placeholder="请输入关键词查找道路信息"
+ :remote-method="remoteMethod" :loading="roadloading">
@@ -736,8 +736,8 @@
+ :disabled="roaddisabled" reserve-keyword clearable @focus="remoteRoad" placeholder="请输入关键词查找道路信息"
+ :remote-method="remoteMethod" :loading="roadloading">
@@ -840,8 +840,8 @@
+ :disabled="roaddisabled" clearable @focus="remoteRoad" reserve-keyword placeholder="请输入关键词查找道路信息"
+ :remote-method="remoteMethod" :loading="roadloading">
@@ -968,8 +968,10 @@
getparameteritem
} from '../../../api/system/dictionary.js'
import LxHeader from "@/components/LxHeader/index.vue";
- import AvueMap from 'avue-plugin-map'
- import { ElMapExportTable } from "table-excel";
+ import AvueMap from 'avue-plugin-map'
+ import {
+ ElMapExportTable
+ } from "table-excel";
export default {
components: {
@@ -1006,89 +1008,89 @@
zoom: 11,
},
mapform: [],
- tableHeight: 0,
- datesearch:"",
- baseurl:"",
- searchFields: {
- is_export:0
- },
- yhtypeList: [{
- id: 1,
- name: "雨水管道疏挖"
- }, {
- id: 2,
- name: "雨水管道疏通"
- },{
- id: 3,
- name: "汛期助排"
- },{
- id: 4,
- name: "污泥外运"
- },{
- id: 5,
- name: "出水口排查"
- },{
- id: 6,
- name: "专项处理"
- },{
- id: 7,
- name: "维修"
+ tableHeight: 0,
+ datesearch: "",
+ baseurl: "",
+ searchFields: {
+ is_export: 0
+ },
+ yhtypeList: [{
+ id: 1,
+ name: "雨水管道疏挖"
+ }, {
+ id: 2,
+ name: "雨水管道疏通"
+ }, {
+ id: 3,
+ name: "汛期助排"
+ }, {
+ id: 4,
+ name: "污泥外运"
+ }, {
+ id: 5,
+ name: "出水口排查"
+ }, {
+ id: 6,
+ name: "专项处理"
+ }, {
+ id: 7,
+ name: "维修"
}],
selects: {
- areasList: [{
- id: "",
- name: "所有"
- }],
- typeList: [{
- id: "",
- name: "所有"
- }, {
- id: 1,
- name: "雨水管道疏挖"
- }, {
- id: 2,
- name: "雨水管道疏通"
- },{
- id: 3,
- name: "汛期助排"
- },{
- id: 4,
- name: "污泥外运"
- },{
- id: 5,
- name: "出水口排查"
- },{
- id: 6,
- name: "专项处理"
- },{
- id: 7,
- name: "维修"
- }],
- statusList: [{
- id: "",
- name: "所有"
- }, {
- id: 0,
- name: "未审核"
- }, {
- id: 1,
- name: "已审核"
- }, {
- id: 2,
- name: "已办结"
- }, {
- id: 3,
- name: "已退回"
- }],
- endTypeList: [{
- id: 0,
- name: "所有"
- }, {
- id: 1,
- name: "养护转办"
- }, {
- id: 2,
- name: "违法转办"
+ areasList: [{
+ id: "",
+ name: "所有"
+ }],
+ typeList: [{
+ id: "",
+ name: "所有"
+ }, {
+ id: 1,
+ name: "雨水管道疏挖"
+ }, {
+ id: 2,
+ name: "雨水管道疏通"
+ }, {
+ id: 3,
+ name: "汛期助排"
+ }, {
+ id: 4,
+ name: "污泥外运"
+ }, {
+ id: 5,
+ name: "出水口排查"
+ }, {
+ id: 6,
+ name: "专项处理"
+ }, {
+ id: 7,
+ name: "维修"
+ }],
+ statusList: [{
+ id: "",
+ name: "所有"
+ }, {
+ id: 0,
+ name: "未审核"
+ }, {
+ id: 1,
+ name: "已审核"
+ }, {
+ id: 2,
+ name: "已办结"
+ }, {
+ id: 3,
+ name: "已退回"
+ }],
+ endTypeList: [{
+ id: 0,
+ name: "所有"
+ }, {
+ id: 1,
+ name: "养护转办"
+ }, {
+ id: 2,
+ name: "违法转办"
}]
},
paginations: {
@@ -1124,10 +1126,10 @@
date: "",
address: "",
road_id: ""
- },
- allmaintaninList:[{
- id:"",
- value:"所有"
+ },
+ allmaintaninList: [{
+ id: "",
+ value: "所有"
}],
roadsList: [],
roadName: "",
@@ -1136,23 +1138,23 @@
formdetail: {
status: 0,
end_type: 0,
- content: "",
- end_time:"",
- remark:"",
- type:0
+ content: "",
+ end_time: "",
+ remark: "",
+ type: 0
},
wf_type: 0,
-titleArr:[],
- rules: {
- // scope: [{
- // required: true,
- // message: '请填写覆盖范围',
- // trigger: 'blur',
- // }],
- // point_name: [{
- // required: true,
- // message: '请填写点位名称',
- // trigger: 'blur',
+ titleArr: [],
+ rules: {
+ // scope: [{
+ // required: true,
+ // message: '请填写覆盖范围',
+ // trigger: 'blur',
+ // }],
+ // point_name: [{
+ // required: true,
+ // message: '请填写点位名称',
+ // trigger: 'blur',
// }],
// content: [{
// required: true,
@@ -1251,31 +1253,31 @@ titleArr:[],
},
rainType() {
this.roadsList = []
- },
- datesearch(newVal, oldVal) {
- console.log(newVal)
- if (newVal) {
- this.searchFields.start_date = newVal[0]
- this.searchFields.end_date = newVal[1]
- } else {
- this.searchFields.start_date = ""
- this.searchFields.end_date = ""
- }
-
- },
- 'searchFields.type':function(val){
- if(val==1||val==2||val==5||val==6||val==7){
- getparameteritem('maintainContent_'+val).then(res => {
- for(var m of res.detail){
- this.allmaintaninList.push(m)
- }
- })
- }else{
- this.allmaintaninList=[{
- id:"",
- value:"所有"
- }]
- }
+ },
+ datesearch(newVal, oldVal) {
+ console.log(newVal)
+ if (newVal) {
+ this.searchFields.start_date = newVal[0]
+ this.searchFields.end_date = newVal[1]
+ } else {
+ this.searchFields.start_date = ""
+ this.searchFields.end_date = ""
+ }
+
+ },
+ 'searchFields.type': function(val) {
+ if (val == 1 || val == 2 || val == 5 || val == 6 || val == 7) {
+ getparameteritem('maintainContent_' + val).then(res => {
+ for (var m of res.detail) {
+ this.allmaintaninList.push(m)
+ }
+ })
+ } else {
+ this.allmaintaninList = [{
+ id: "",
+ value: "所有"
+ }]
+ }
}
},
methods: {
@@ -1288,11 +1290,11 @@ titleArr:[],
return "未知";
}
- },
- exportExcel(){
- var that = this
- that.searchFields.is_export = 1
- that.load(true)
+ },
+ exportExcel() {
+ var that = this
+ that.searchFields.is_export = 1
+ that.load(true)
},
handleSelectionChange(val) {
console.log(val)
@@ -1334,9 +1336,9 @@ titleArr:[],
},
chooseRoad(val) {
this.form.road_id = val
- },
- remoteRoad() {
- this.roadsList = []
+ },
+ remoteRoad() {
+ this.roadsList = []
},
remoteMethod(query) {
if (query != '') {
@@ -1385,18 +1387,18 @@ titleArr:[],
page: this.paginations.page,
page_size: this.paginations.page_size,
...this.searchFields
- }).then(response => {
- let tokens = getToken();
- if (is_export) {
- var url = "/api/admin/rain-maintains/index?token=" + tokens
- for (var m in this.searchFields) {
- url += "&" + m + "=" + this.searchFields[m]
- }
- url = this.baseurl + url
- console.log(url)
- window.open("http://" + url, '_blank')
- this.searchFields.is_export = 0
- return;
+ }).then(response => {
+ let tokens = getToken();
+ if (is_export) {
+ var url = "/api/admin/rain-maintains/index?token=" + tokens
+ for (var m in this.searchFields) {
+ url += "&" + m + "=" + this.searchFields[m]
+ }
+ url = this.baseurl + url
+ console.log(url)
+ window.open("http://" + url, '_blank')
+ this.searchFields.is_export = 0
+ return;
}
this.tableData = response.data;
this.paginations.total = response.total;
@@ -1413,7 +1415,7 @@ titleArr:[],
that.rainType = result.type;
that.nowstatus = result.status;
that.formdetail.id = result.id
- that.formdetail.end_type = result.end_type
+ that.formdetail.end_type = result.end_type
// that.formdetail.type = parseInt(result.type)
that.wf_type = result.end_type
if (result.rain_maintain_logs) {
@@ -1433,17 +1435,17 @@ titleArr:[],
that.rainTitle = "污泥外运"
} else if (that.rainType == 5) {
that.rainTitle = "出水口排查"
- }else if (that.rainType == 6) {
+ } else if (that.rainType == 6) {
that.rainTitle = "专项处理"
- }else if (that.rainType == 7) {
+ } else if (that.rainType == 7) {
that.rainTitle = "维修"
} else {
that.rainTitle = "雨管养护"
}
switch (result.old_type) {
case 1:
- case 2:
- case 6:
+ case 2:
+ case 6:
case 7:
that.form = result.circulation_info;
that.form.circulation_id = result.circulation_id;
@@ -1452,10 +1454,10 @@ titleArr:[],
that.idname = "circulation_id"
that.mapform = [result.circulation_info.longitude, result.circulation_info.latitude, result
.circulation_info.address
- ]
- let cir_arrs = result.circulation_info.title_id ? result.circulation_info.title_id.split(","):[]
- for(var m of cir_arrs){
- that.titleArr.push(parseInt(m))
+ ]
+ let cir_arrs = result.circulation_info.title_id ? result.circulation_info.title_id.split(",") : []
+ for (var m of cir_arrs) {
+ that.titleArr.push(parseInt(m))
}
let _files = [];
for (var mod of result.circulation_info.circulation_files) {
@@ -1531,10 +1533,10 @@ titleArr:[],
that.roadName = result.out_water_info.road ? result.out_water_info.road.name : ""
that.mapform = [result.out_water_info.longitude, result.out_water_info.latitude, result.out_water_info
.address
- ]
- let water_arrs = result.circulation_info.title_id ? result.circulation_info.title_id.split(","):[]
- for(var m of water_arrs){
- that.titleArr.push(parseInt(m))
+ ]
+ let water_arrs = result.circulation_info.title_id ? result.circulation_info.title_id.split(",") : []
+ for (var m of water_arrs) {
+ that.titleArr.push(parseInt(m))
}
let water_files = [];
for (var mod of result.out_water_info.out_water_files) {
@@ -1573,9 +1575,9 @@ titleArr:[],
this.form = this.$options.data().form
that.filesList = [];
that.dealFilesList = [];
- that.mapform = ['', '', ''];
- that.roadName = ""
- that.titleArr = []
+ that.mapform = ['', '', ''];
+ that.roadName = ""
+ that.titleArr = []
that.roaddisabled = false
if (obj) {
that.info(obj);
@@ -1606,16 +1608,16 @@ titleArr:[],
});
}
},
- returnTitleId(arr){
- if(arr.length==0){
- return
- }
- let getArr = ""
- for(var m of arr){
- getArr+= m+","
- }
- getArr = getArr.substring(0,getArr.length-1)
- return getArr
+ returnTitleId(arr) {
+ if (arr.length == 0) {
+ return
+ }
+ let getArr = ""
+ for (var m of arr) {
+ getArr += m + ","
+ }
+ getArr = getArr.substring(0, getArr.length - 1)
+ return getArr
},
submitForm(formName) {
var that = this;
@@ -1642,9 +1644,9 @@ titleArr:[],
listUrlafter.push({
"upload_id": m.upload_id
});
- }
+ }
- this.form.files_deal_list = listUrlafter
+ this.form.files_deal_list = listUrlafter
that.form.title_id = this.returnTitleId(that.titleArr)
this.$refs[formName].validate((valid) => {
if (valid) {
@@ -1659,7 +1661,7 @@ titleArr:[],
submitFormDetail(formName, status) {
var that = this;
- that.formdetail.status = status
+ that.formdetail.status = status
console.log(that.formdetail)
// return
@@ -1689,8 +1691,8 @@ titleArr:[],
that.mapform = ['', '', ''];
that.form = {};
that.rainMaintainLogs = []
- that.end_types = 0;
- that.formdetail.type=""
+ that.end_types = 0;
+ that.formdetail.type = ""
this.$refs[formName].resetFields();
that.dialogFormVisible = false;
that.dialogFormDetailVisible = false;
@@ -1740,32 +1742,33 @@ titleArr:[],
submitRainType() {
var that = this
this.rainTypeVisible = false
- if (that.rainType == 1||that.rainType == 2||that.rainType == 5||that.rainType == 6||that.rainType == 7) {
- if (that.rainType == 1) {
- that.rainTitle = "雨水管道疏挖"
- } else if (that.rainType == 2) {
- that.rainTitle = "雨水管道疏通"
- } else if (that.rainType == 5) {
- that.rainTitle = "出水口排查"
- }else if (that.rainType == 6) {
- that.rainTitle = "专项处理"
- }else if (that.rainType == 7) {
- that.rainTitle = "维修"
- } else {
- that.rainTitle = "雨管养护"
- }
- getparameteritem('maintainContent_'+that.rainType).then(res => {
- that.maintaninList = res.detail
+ if (that.rainType == 1 || that.rainType == 2 || that.rainType == 5 || that.rainType == 6 || that.rainType ==
+ 7) {
+ if (that.rainType == 1) {
+ that.rainTitle = "雨水管道疏挖"
+ } else if (that.rainType == 2) {
+ that.rainTitle = "雨水管道疏通"
+ } else if (that.rainType == 5) {
+ that.rainTitle = "出水口排查"
+ } else if (that.rainType == 6) {
+ that.rainTitle = "专项处理"
+ } else if (that.rainType == 7) {
+ that.rainTitle = "维修"
+ } else {
+ that.rainTitle = "雨管养护"
+ }
+ getparameteritem('maintainContent_' + that.rainType).then(res => {
+ that.maintaninList = res.detail
})
- } else if (that.rainType == 3) {
- that.rainTitle = "汛期助排"
+ } else if (that.rainType == 3) {
+ that.rainTitle = "汛期助排"
that.maintaninList = []
} else if (that.rainType == 4) {
- that.rainTitle = "污泥外运"
+ that.rainTitle = "污泥外运"
that.maintaninList = []
- }else {
+ } else {
that.rainTitle = "雨水管道疏挖"
- }
+ }
this.dialogFormVisible = true;
},
@@ -1779,8 +1782,8 @@ titleArr:[],
console.log(that.form.type)
switch (parseInt(type)) {
case 1:
- case 2:
- case 6:
+ case 2:
+ case 6:
case 7:
if (id) {
savecirculation(that.form).then(response => {
@@ -1883,12 +1886,14 @@ titleArr:[],
.files_check .el-upload.el-upload--picture-card {
display: none;
}
- .vm10{
- margin-right:10px;
- margin-bottom:10px;
- height: 32px;
- vertical-align: bottom;
+
+ .vm10 {
+ margin-right: 10px;
+ margin-bottom: 10px;
+ height: 32px;
+ vertical-align: bottom;
}
+
.vm10 input {
height: 32px;
vertical-align: middle;
@@ -1896,11 +1901,14 @@ titleArr:[],
.vm10 .el-select__caret.el-input__icon.el-icon-arrow-up {
line-height: 30px;
- }
- .vm10 .el-input__icon.el-range__icon.el-icon-date,.vm10 .el-range-separator{
- line-height: 25px;
- }
- .selerchcontent button{
- vertical-align: top;
+ }
+
+ .vm10 .el-input__icon.el-range__icon.el-icon-date,
+ .vm10 .el-range-separator {
+ line-height: 25px;
+ }
+
+ .selerchcontent button {
+ vertical-align: top;
}