【银保app】业绩查询页面接口入参修改

This commit is contained in:
liu.xiaofeng@ebiz-digits.com
2022-11-21 15:07:27 +08:00
parent f72b2d4402
commit 974a2bd583
2 changed files with 8 additions and 11 deletions

View File

@@ -69,7 +69,7 @@
</div> </div>
</div> </div>
</div> </div>
<div style="height:48vw;" v-if="dataType == 1 && top3Data.length == 0"></div>
<div v-if="dataType == 2 && top3Data.length != 0" class="imgContainer2"> <div v-if="dataType == 2 && top3Data.length != 0" class="imgContainer2">
<div class="imgContainer2_main"> <div class="imgContainer2_main">
<div class="imgContainer2_main_second"> <div class="imgContainer2_main_second">
@@ -95,7 +95,7 @@
</div> </div>
</div> </div>
</div> </div>
<div style="height:48vw;" v-if="dataType == 2 && top3Data.length == 0"></div>
<div v-if="dataType == 1" class="tableContent"> <div v-if="dataType == 1" class="tableContent">
<div class="tableContent_main" > <div class="tableContent_main" >
<table class="issueTable"> <table class="issueTable">
@@ -189,14 +189,16 @@
} }
}, },
mounted(){ mounted(){
let yearNum = new Date().getFullYear()
let monthNum = new Date().getMonth()+1
this.calendarValue = yearNum+'-'+monthNum
if(this.dataType == 1){ if(this.dataType == 1){
this.getPersonPremYB() this.getPersonPremYB()
}else{ }else{
this.getDeptPremYB() this.getDeptPremYB()
} }
let yearNum = new Date().getFullYear()
let monthNum = new Date().getMonth()+1
this.calendarValue = yearNum+'-'+monthNum
}, },
methods:{ methods:{
clickCalendar(){ clickCalendar(){
@@ -368,7 +370,7 @@
background:#f2f2f2;font-weight: bold;padding: 8px 15px;border-radius: 15px;font-size: 12px; background:#f2f2f2;font-weight: bold;padding: 8px 15px;border-radius: 15px;font-size: 12px;
} }
.mainContainer_content{ .mainContainer_content{
padding-top:100px;margin-left: 10px;height:48vw; padding-top:100px;margin-left: 10px;
} }
.dataType1Active{ .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; 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;

View File

@@ -322,7 +322,6 @@
methods:{ methods:{
getPremByAgentCode(){ getPremByAgentCode(){
let params = { let params = {
"agentCode": "Y0000111",
currentMonth: this.calendarValue currentMonth: this.calendarValue
} }
getPremByAgentCode(params).then(res=>{ getPremByAgentCode(params).then(res=>{
@@ -366,7 +365,6 @@
}, },
getIndexByAgentCode(){ getIndexByAgentCode(){
let params = { let params = {
"agentCode": "Y0000111",
currentMonth: this.calendarValue currentMonth: this.calendarValue
} }
getIndexByAgentCode(params).then(res=>{ getIndexByAgentCode(params).then(res=>{
@@ -384,7 +382,6 @@
}, },
getBankNetDataYB(){ getBankNetDataYB(){
let params = { let params = {
agentCode:"Y0000066",
currentMonth:this.calendarValue currentMonth:this.calendarValue
} }
getBankNetDataYB(params).then(res=>{ getBankNetDataYB(params).then(res=>{
@@ -398,7 +395,6 @@
}, },
getChannelPerformanceYB(){ getChannelPerformanceYB(){
let params = { let params = {
agentCode:"Y0000064",
currentMonth:this.calendarValue, currentMonth:this.calendarValue,
} }
if(this.sortType == 2){ if(this.sortType == 2){
@@ -419,7 +415,6 @@
}, },
getBankNetPerformanceYB(){ getBankNetPerformanceYB(){
let params = { let params = {
agentCode:"Y0000064",
currentMonth:this.calendarValue currentMonth:this.calendarValue
} }
if(this.sortType == 2){ if(this.sortType == 2){