修改资料中心

This commit is contained in:
hanshaozhuang
2022-07-13 09:26:51 +08:00
parent 0bb2cf25c2
commit b827ea1617
@@ -81,9 +81,9 @@
<el-date-picker
v-model="dataCenterSearch.dataUploadTime"
clearable
value-format="yyyy-MM-dd HH:mm:ss"
value-format="yyyy-MM-dd"
size="small"
type="datetimerange"
type="daterange"
range-separator=""
start-placeholder="开始日期"
end-placeholder="结束日期">
@@ -666,8 +666,13 @@ export default {
},
searchInfo() {
this.loading = true
this.dataCenterSearch.startDataUploadTime = this.dataCenterSearch.dataUploadTime[0]
this.dataCenterSearch.endDataUploadTime = this.dataCenterSearch.dataUploadTime[1]
if(this.dataCenterSearch.dataUploadTime && this.dataCenterSearch.dataUploadTime.length !== 0){
this.dataCenterSearch.startDataUploadTime = this.dataCenterSearch.dataUploadTime[0]
this.dataCenterSearch.endDataUploadTime = this.dataCenterSearch.dataUploadTime[1]
}else{
this.dataCenterSearch.startDataUploadTime =''
this.dataCenterSearch.endDataUploadTime = ''
}
this.$http.get('fileMaterialCenter/file-material', this.dataCenterSearch, {
_this: this
}, res => {