|
@@ -159,7 +159,13 @@ export default {
|
|
|
"agentinfo":'',
|
|
|
"remarks":'',
|
|
|
"createby":'',
|
|
|
- "tobeclosebyhand":''
|
|
|
+ "tobeclosebyhand":'',
|
|
|
+ "begindate":'',
|
|
|
+ "enddate":'',
|
|
|
+ "begindate1":'',
|
|
|
+ "enddate1":'',
|
|
|
+ "begindate2":'',
|
|
|
+ "enddate2":''
|
|
|
},
|
|
|
dateSelect:[],
|
|
|
more:false,
|
|
@@ -171,6 +177,7 @@ export default {
|
|
|
// console.log(data);
|
|
|
},
|
|
|
change () {
|
|
|
+ console.log(this.where,'where')
|
|
|
this.$refs.basicLayout.param.content.pageNumber = 1
|
|
|
this.$refs.basicLayout.param.content.where = this.where
|
|
|
this.$refs.basicLayout.listData()
|
|
@@ -197,34 +204,39 @@ export default {
|
|
|
},
|
|
|
selectChange(){
|
|
|
if (this.dateSelect !== '' && this.dateSelect !== null){
|
|
|
- this.$refs.basicLayout.param.content.pageNumber = 1
|
|
|
if (this.optionDate === '1'){
|
|
|
- this.$refs.basicLayout.param.content.where.begindate = this.dateSelect[0]
|
|
|
- this.$refs.basicLayout.param.content.where.enddate = this.dateSelect[1]
|
|
|
- this.$refs.basicLayout.param.content.where.begindate1 = ''
|
|
|
- this.$refs.basicLayout.param.content.where.enddate1 = ''
|
|
|
- this.$refs.basicLayout.param.content.where.begindate2 = ''
|
|
|
- this.$refs.basicLayout.param.content.where.enddate2 = ''
|
|
|
+ this.where.begindate = this.dateSelect[0]
|
|
|
+ this.where.enddate = this.dateSelect[1]
|
|
|
+ this.where.begindate1 = ''
|
|
|
+ this.where.enddate1 = ''
|
|
|
+ this.where.begindate2 = ''
|
|
|
+ this.where.enddate2 = ''
|
|
|
} else if (this.optionDate === '2'){
|
|
|
- this.$refs.basicLayout.param.content.where.begindate1 = this.dateSelect[0]
|
|
|
- this.$refs.basicLayout.param.content.where.enddate1 = this.dateSelect[1]
|
|
|
- this.$refs.basicLayout.param.content.where.begindate2 = ''
|
|
|
- this.$refs.basicLayout.param.content.where.enddate2 = ''
|
|
|
- this.$refs.basicLayout.param.content.where.begindate = ''
|
|
|
- this.$refs.basicLayout.param.content.where.enddate = ''
|
|
|
+ this.where.begindate1 = this.dateSelect[0]
|
|
|
+ this.where.enddate1 = this.dateSelect[1]
|
|
|
+ this.where.begindate2 = ''
|
|
|
+ this.where.enddate2 = ''
|
|
|
+ this.where.begindate = ''
|
|
|
+ this.where.enddate = ''
|
|
|
}else if (this.optionDate === '3'){
|
|
|
- this.$refs.basicLayout.param.content.where.begindate2 = this.dateSelect[0]
|
|
|
- this.$refs.basicLayout.param.content.where.enddate2 = this.dateSelect[1]
|
|
|
- this.$refs.basicLayout.param.content.where.begindate1 = ''
|
|
|
- this.$refs.basicLayout.param.content.where.enddate1 = ''
|
|
|
- this.$refs.basicLayout.param.content.where.begindate = ''
|
|
|
- this.$refs.basicLayout.param.content.where.enddate = ''
|
|
|
+ this.where.begindate2 = this.dateSelect[0]
|
|
|
+ this.where.enddate2 = this.dateSelect[1]
|
|
|
+ this.where.begindate1 = ''
|
|
|
+ this.where.enddate1 = ''
|
|
|
+ this.where.begindate = ''
|
|
|
+ this.where.enddate = ''
|
|
|
}
|
|
|
|
|
|
}else {
|
|
|
- this.$refs.basicLayout.param.content.where.begindate = ''
|
|
|
- this.$refs.basicLayout.param.content.where.enddate = ''
|
|
|
+ this.where.begindate = ''
|
|
|
+ this.where.enddate = ''
|
|
|
+ this.where.begindate1 = ''
|
|
|
+ this.where.enddate1 = ''
|
|
|
+ this.where.begindate2 = ''
|
|
|
+ this.where.enddate2 = ''
|
|
|
}
|
|
|
+ this.$refs.basicLayout.param.content.pageNumber = 1
|
|
|
+ this.$refs.basicLayout.param.content.where = this.where
|
|
|
this.$refs.basicLayout.listData()
|
|
|
},
|
|
|
listData(){
|