|
|
@@ -45,11 +45,12 @@ export default {
|
|
|
size: 10,
|
|
|
current: 1
|
|
|
},
|
|
|
+ total: 0,
|
|
|
searchValues: {
|
|
|
- versionDate: dateFormat('YYYY-mm-dd HH:MM:SS', new Date()),
|
|
|
+ versionDate: null,
|
|
|
employeeName: null
|
|
|
},
|
|
|
- exportTime: dateFormat('YYYY-mm-dd HH:MM:SS', new Date()),
|
|
|
+ exportTime: null,
|
|
|
exportLoading: false
|
|
|
}
|
|
|
},
|
|
|
@@ -100,6 +101,9 @@ export default {
|
|
|
async open (headers) {
|
|
|
this.headers = headers
|
|
|
this.show = true
|
|
|
+ const time = dateFormat('YYYY-mm-dd HH:MM:SS', new Date())
|
|
|
+ this.searchValues.versionDate = time
|
|
|
+ this.exportTime = time
|
|
|
await this.init()
|
|
|
},
|
|
|
async init () {
|