[银保app] 上头条,续期,业绩查询三个页面的时间1月改为01月

This commit is contained in:
DESKTOP-AFPHKHF\PC
2023-01-01 16:39:36 +08:00
committed by liu.xiaofeng@ebiz-digits.com
parent 624c53643a
commit a084a2e6ed
4 changed files with 22 additions and 4 deletions

View File

@@ -192,6 +192,9 @@
let yearNum = new Date().getFullYear() let yearNum = new Date().getFullYear()
let monthNum = new Date().getMonth()+1 let monthNum = new Date().getMonth()+1
if(monthNum < 10){
monthNum = '0' + monthNum
}
this.calendarValue = yearNum+'-'+monthNum this.calendarValue = yearNum+'-'+monthNum
if(this.dataType == 1){ if(this.dataType == 1){

View File

@@ -263,10 +263,18 @@ export default {
this.currentTime = this.getNowDate() this.currentTime = this.getNowDate()
let monthNum = new Date().getMonth()+1 let monthNum = new Date().getMonth()+1
let daysNum = new Date().getDate() let daysNum = new Date().getDate()
// if(monthNum < 10){
// monthNum = '0' + monthNum
// }
// if(daysNum < 10){
// daysNum = '0' + daysNum
// }
this.calendarValue = monthNum +'月'+daysNum+'日' this.calendarValue = monthNum +'月'+daysNum+'日'
this.getHomeConfigYB() this.getHomeConfigYB()
this.getPremRankList() this.getPremRankList()
this.getTimelyContYB() this.getTimelyContYB()
console.log(monthNum,'我是monthNum');
console.log(daysNum,'daysNum');
this.setMarginTop() this.setMarginTop()
if(this.thisValue >= 10){ if(this.thisValue >= 10){

View File

@@ -317,7 +317,11 @@
let yearNum = new Date().getFullYear() let yearNum = new Date().getFullYear()
let monthNum = new Date().getMonth()+1 let monthNum = new Date().getMonth()+1
if(monthNum < 10){
monthNum = '0' + monthNum
}
this.calendarValue = yearNum+'-'+monthNum this.calendarValue = yearNum+'-'+monthNum
this.getPremByAgentCode() this.getPremByAgentCode()
this.getIndexByAgentCode() this.getIndexByAgentCode()
}, },

View File

@@ -149,11 +149,14 @@ export default {
let aaa = new Date().getMonth() + 1 let aaa = new Date().getMonth() + 1
let bbb = aaa - 3 let bbb = aaa - 3
let ccc = aaa + 1 let ccc = aaa + 1
this.minDate = new Date(2022, bbb, 0) this.minDate = new Date(2023, bbb, 0)
this.maxDate = new Date(2022, ccc, 0) this.maxDate = new Date(2023, ccc, 0)
console.log(this.minDate, 1111) console.log(this.minDate, 1111)
let yearNum = new Date().getFullYear() let yearNum = new Date().getFullYear()
let monthNum = new Date().getMonth() + 1 let monthNum = new Date().getMonth() + 1
if(monthNum < 10){
monthNum = '0' + monthNum
}
this.calendarValue = yearNum + '-' + monthNum this.calendarValue = yearNum + '-' + monthNum
this.getYBRenewalsList() this.getYBRenewalsList()
this.getAgentInfo() this.getAgentInfo()