diff --git a/src/views/assess/daily.vue b/src/views/assess/daily.vue index d989b3d..77e1746 100644 --- a/src/views/assess/daily.vue +++ b/src/views/assess/daily.vue @@ -6,7 +6,14 @@
- + + + + + + +
@@ -180,8 +187,8 @@ import AvueMap from 'avue-plugin-map' formLabelWidth: "120px", tableData: [], tableHeight: 0, + acceptTime:"", searchFields: { - KeyWord: "" }, paginations: { @@ -212,6 +219,21 @@ import AvueMap from 'avue-plugin-map' uploadOther:{ token:"" }, + selects:{ + statusList:[{ + id:"", + value:"所有" + },{ + id:1, + value:"无异常" + },{ + id:2, + value:"已处理" + },{ + id:3, + value:"未处理" + }] + }, statusoption:[{ id:2, @@ -278,7 +300,17 @@ import AvueMap from 'avue-plugin-map' this.form.deal_longitude = newVal[0]; this.form.deal_latitude = newVal[1]; this.form.address = newVal[2]; - } + }, + acceptTime(newVal, oldVal) { + if (newVal) { + this.searchFields.start_date = newVal[0] + this.searchFields.end_date = newVal[1] + } else { + this.searchFields.start_date = "" + this.searchFields.end_date = "" + } + }, + }, methods: { @@ -299,7 +331,7 @@ import AvueMap from 'avue-plugin-map' listdaily({ page: this.paginations.page, page_size: this.paginations.page_size, - keyword: this.searchFields.KeyWord + ...this.searchFields }).then(response => { this.tableData = response.data; this.paginations.total = response.total; @@ -524,7 +556,7 @@ import AvueMap from 'avue-plugin-map' type: 'success' }); }, - + handleError(err,file,fileList){ this.$message.error('上传失败,重新上传'); }, @@ -541,5 +573,25 @@ import AvueMap from 'avue-plugin-map' } .width100{ width:100%; + } + .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/assess/wade.vue b/src/views/assess/wade.vue index 649acc7..2090324 100644 --- a/src/views/assess/wade.vue +++ b/src/views/assess/wade.vue @@ -6,8 +6,23 @@
- - + + + + + + + + + + + + + + + +
@@ -18,22 +33,30 @@ - +