diff --git a/src/views/YB_APP/hitTheHeadlines.vue b/src/views/YB_APP/hitTheHeadlines.vue
index f9feb1ca8..b7b0b2eb0 100644
--- a/src/views/YB_APP/hitTheHeadlines.vue
+++ b/src/views/YB_APP/hitTheHeadlines.vue
@@ -69,7 +69,7 @@
-
+
-
+
@@ -189,14 +189,16 @@
}
},
mounted(){
+
+ let yearNum = new Date().getFullYear()
+ let monthNum = new Date().getMonth()+1
+ this.calendarValue = yearNum+'-'+monthNum
+
if(this.dataType == 1){
this.getPersonPremYB()
}else{
this.getDeptPremYB()
}
- let yearNum = new Date().getFullYear()
- let monthNum = new Date().getMonth()+1
- this.calendarValue = yearNum+'-'+monthNum
},
methods:{
clickCalendar(){
@@ -368,7 +370,7 @@
background:#f2f2f2;font-weight: bold;padding: 8px 15px;border-radius: 15px;font-size: 12px;
}
.mainContainer_content{
- padding-top:100px;margin-left: 10px;height:48vw;
+ padding-top:100px;margin-left: 10px;
}
.dataType1Active{
background:#fff;color: #3949ac;font-weight: bold;font-size: 12px;padding: 10px 15px;border-top-left-radius: 5px;border-bottom-left-radius: 5px;border-right: none;letter-spacing: 1px;
diff --git a/src/views/YB_APP/performanceQuery.vue b/src/views/YB_APP/performanceQuery.vue
index 668cb01cd..933ec2bae 100644
--- a/src/views/YB_APP/performanceQuery.vue
+++ b/src/views/YB_APP/performanceQuery.vue
@@ -322,7 +322,6 @@
methods:{
getPremByAgentCode(){
let params = {
- "agentCode": "Y0000111",
currentMonth: this.calendarValue
}
getPremByAgentCode(params).then(res=>{
@@ -366,7 +365,6 @@
},
getIndexByAgentCode(){
let params = {
- "agentCode": "Y0000111",
currentMonth: this.calendarValue
}
getIndexByAgentCode(params).then(res=>{
@@ -384,7 +382,6 @@
},
getBankNetDataYB(){
let params = {
- agentCode:"Y0000066",
currentMonth:this.calendarValue
}
getBankNetDataYB(params).then(res=>{
@@ -398,7 +395,6 @@
},
getChannelPerformanceYB(){
let params = {
- agentCode:"Y0000064",
currentMonth:this.calendarValue,
}
if(this.sortType == 2){
@@ -419,7 +415,6 @@
},
getBankNetPerformanceYB(){
let params = {
- agentCode:"Y0000064",
currentMonth:this.calendarValue
}
if(this.sortType == 2){