修改资料中心
This commit is contained in:
@@ -81,9 +81,9 @@
|
|||||||
<el-date-picker
|
<el-date-picker
|
||||||
v-model="dataCenterSearch.dataUploadTime"
|
v-model="dataCenterSearch.dataUploadTime"
|
||||||
clearable
|
clearable
|
||||||
value-format="yyyy-MM-dd HH:mm:ss"
|
value-format="yyyy-MM-dd"
|
||||||
size="small"
|
size="small"
|
||||||
type="datetimerange"
|
type="daterange"
|
||||||
range-separator="至"
|
range-separator="至"
|
||||||
start-placeholder="开始日期"
|
start-placeholder="开始日期"
|
||||||
end-placeholder="结束日期">
|
end-placeholder="结束日期">
|
||||||
@@ -666,8 +666,13 @@ export default {
|
|||||||
},
|
},
|
||||||
searchInfo() {
|
searchInfo() {
|
||||||
this.loading = true
|
this.loading = true
|
||||||
this.dataCenterSearch.startDataUploadTime = this.dataCenterSearch.dataUploadTime[0]
|
if(this.dataCenterSearch.dataUploadTime && this.dataCenterSearch.dataUploadTime.length !== 0){
|
||||||
this.dataCenterSearch.endDataUploadTime = this.dataCenterSearch.dataUploadTime[1]
|
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.$http.get('fileMaterialCenter/file-material', this.dataCenterSearch, {
|
||||||
_this: this
|
_this: this
|
||||||
}, res => {
|
}, res => {
|
||||||
|
|||||||
Reference in New Issue
Block a user