|
@@ -67,20 +67,19 @@ export default {
|
|
|
Tableformbrs,
|
|
|
},
|
|
|
mounted() {
|
|
|
- this.dataContent = [
|
|
|
- '日',
|
|
|
- Format('yyyy-MM-dd', new Date()),
|
|
|
- Format('yyyy-MM-dd', new Date()),
|
|
|
- ]
|
|
|
+ this.dataContent = {
|
|
|
+ agentNumber:'',
|
|
|
+ fd1:Format('yyyy-MM-dd', new Date()),
|
|
|
+ fd2:Format('yyyy-MM-dd', new Date()),
|
|
|
+ }
|
|
|
},
|
|
|
methods: {
|
|
|
getFormData(data) {
|
|
|
- this.dataContent = []
|
|
|
- this.dataContent.push(
|
|
|
- data.agentNumber,
|
|
|
- data.dateTime[0] ? data.dateTime[0] : '',
|
|
|
- data.dateTime[1] ? data.dateTime[1] : ''
|
|
|
- )
|
|
|
+ this.dataContent = {
|
|
|
+ agentNumber:data.agentNumber,
|
|
|
+ fd1: data.dateTime[0] ? data.dateTime[0] : '',
|
|
|
+ fd2: data.dateTime[1] ? data.dateTime[1] : ''
|
|
|
+ }
|
|
|
},
|
|
|
exportup() {
|
|
|
this.isloadings = this.isloadings += 1
|