1.修复三月滚动计划管理导入失败的问题

master
董哲奇 1 year ago
parent f61407662e
commit 05e355ca80

@ -80,8 +80,8 @@ export default {
data() {
return {
queryParam: {
beginTime:new Date(),
endTime:XEUtils.getWhatMonth(new Date(), 3),
beginTime:'',
endTime:'',
gdZt:''
},
gdZtOptions:[
@ -337,10 +337,11 @@ export default {
window.addEventListener('resize', this.getHeight)
this.getHeight()
this.initBase()
this.queryParam.beginTime=XEUtils.toDateString(new Date(),'yyyy/MM/dd')
},
watch: {
'queryParam.beginTime'(newValue, Value){
this.queryParam.endTime= XEUtils.getWhatMonth(newValue, 3)
this.queryParam.endTime= XEUtils.toDateString(XEUtils.getWhatMonth(newValue, 3),'yyyy/MM/dd')
},
},
methods: {

@ -88,8 +88,8 @@ export default {
data() {
return {
queryParam: {
beginTime:new Date(),
endTime:XEUtils.getWhatMonth(new Date(), 3),
beginTime:'',
endTime:'',
gdZt:'1'
},
gdZtOptions:[
@ -350,10 +350,11 @@ export default {
window.addEventListener('resize', this.getHeight)
this.getHeight()
this.initBase()
this.queryParam.beginTime=XEUtils.toDateString(new Date(),'yyyy/MM/dd')
},
watch: {
'queryParam.beginTime'(newValue, Value){
this.queryParam.endTime= XEUtils.getWhatMonth(newValue, 3)
this.queryParam.endTime= XEUtils.toDateString(XEUtils.getWhatMonth(newValue, 3),'yyyy/MM/dd')
},
'$route'(){
this.getParams();

@ -105,8 +105,8 @@ export default {
data() {
return {
queryParam: {
beginTime:new Date(),
endTime:XEUtils.getWhatMonth(new Date(), 3),
beginTime:'',
endTime:'',
gdZt:'0'
},
gdZtOptions:[
@ -357,10 +357,11 @@ export default {
window.addEventListener('resize', this.getHeight)
this.getHeight()
this.initBase()
this.queryParam.beginTime=XEUtils.toDateString(new Date(),'yyyy/MM/dd')
},
watch: {
'queryParam.beginTime'(newValue, Value){
this.queryParam.endTime= XEUtils.getWhatMonth(newValue, 3)
this.queryParam.endTime= XEUtils.toDateString(XEUtils.getWhatMonth(newValue, 3),'yyyy/MM/dd')
},
'$route'(){
this.getParams();

Loading…
Cancel
Save