修改资料中心
This commit is contained in:
@@ -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 => {
|
||||
|
||||
Reference in New Issue
Block a user