Commit 08d1bb27 authored by Mac's avatar Mac

修改样式

parent 85cc5129
...@@ -233,7 +233,7 @@ ...@@ -233,7 +233,7 @@
优惠价格 优惠价格
</div> </div>
</div> </div>
<div class="row audit_List" :key="index"> <div class="row audit_List" >
<div class="col-4"> <div class="col-4">
<div class="border-bottom">首次报名优惠</div> <div class="border-bottom">首次报名优惠</div>
<div class="border-bottom">续费报名优惠</div> <div class="border-bottom">续费报名优惠</div>
...@@ -262,28 +262,32 @@ ...@@ -262,28 +262,32 @@
<span class="stidyRoleLine"></span> <span class="stidyRoleLine"></span>
<span>返佣</span> <span>返佣</span>
</div> </div>
<div v-if="this.saveObj.CommissionReType==1">返佣类型:比例返佣</div> <div style="margin-top: 10px;" v-if="saveObj.CommissionReType==1">返佣类型:比例返佣</div>
<div v-if="this.saveObj.CommissionReType==2">返佣类型:固定金额返佣</div> <div style="margin-top: 10px;" v-if="saveObj.CommissionReType==2">返佣类型:固定金额返佣</div>
<table class="payTable"> <table class="payTable">
<tr> <tr>
<th>同行</th> <th>同行</th>
<th>首报名返佣比例</th> <th>{{saveObj.CommissionReType==1?'首报返佣比例':'首报固定金额'}}</th>
<th>首报返佣值</th> <th v-if="saveObj.CommissionReType==1">首报返佣值</th>
<th>返佣设置</th> <th>{{saveObj.CommissionReType==1?'续费比例':'续费固定金额'}}</th>
<th v-if="saveObj.CommissionReType==1">续费返佣值</th>
</tr> </tr>
<tr > <tr v-for="(item,index) in saveObj.scalelist" :key="index">
<td> <td>
<span>同行返佣</span> <span>{{item.Name}}</span>
</td> </td>
<td> <td>
<span>{{this.saveObj.B2BRebateRatio}}{{this.saveObj.CommissionReType==1?'%':''}}</span> <span>{{item.scale}}{{saveObj.CommissionReType==1?'%':''}}</span>
</td> </td>
<td> <td v-if="saveObj.CommissionReType==1">
<span>{{getShouBAO(3)}}</span> <span>{{item.scalevalue}}</span>
</td> </td>
<td> <td>
<span>{{this.saveObj.B2BRebateRatio}}{{this.saveObj.CommissionReType==1?'%':''}}</span> <span>{{item.continue}}{{saveObj.CommissionReType==1?'%':''}}</span>
</td>
<td v-if="saveObj.CommissionReType==1">
<span>{{item.continuevalue}}</span>
</td> </td>
</tr> </tr>
...@@ -297,7 +301,7 @@ ...@@ -297,7 +301,7 @@
</span> </span>
</div> </div>
</div> </div>
<div class="row" style="margin-bottom:10px;"> <div class="row" style="margin-bottom:100px;">
<div class="col-6"> <div class="col-6">
<span class="auditName">{{saveObj.DirectorName}}</span> <span class="auditName">{{saveObj.DirectorName}}</span>
<span class="studyPass" v-if="saveObj.DirectorStatus==0" style="background-color:#1273bc;">待审核</span> <span class="studyPass" v-if="saveObj.DirectorStatus==0" style="background-color:#1273bc;">待审核</span>
...@@ -358,10 +362,7 @@ ...@@ -358,10 +362,7 @@
queryStudyAbroadInfo, queryStudyAbroadInfo,
} from "../../api/studyabroad/index"; } from "../../api/studyabroad/index";
import {
GetCourseRebateSetList
} from "../../api/course/index";
import { import {
mapState mapState
} from "vuex"; } from "vuex";
...@@ -383,7 +384,6 @@ ...@@ -383,7 +384,6 @@
Id: 0, Id: 0,
IsGetPrice: 1 IsGetPrice: 1
}, },
CourseRebateList:[]
} }
}, },
computed: mapState({ computed: mapState({
...@@ -416,7 +416,6 @@ ...@@ -416,7 +416,6 @@
}), }),
mounted() { mounted() {
this.getFanyong()
this.msg.Id = this.Id; this.msg.Id = this.Id;
this.initObj(); this.initObj();
}, },
...@@ -427,19 +426,17 @@ ...@@ -427,19 +426,17 @@
queryStudyAbroadInfo(this.msg).then(res => { queryStudyAbroadInfo(this.msg).then(res => {
this.saveObj = res.Data; this.saveObj = res.Data;
let scalelist= [ let scalelist= [
{Name:'同行返佣',scale:this.saveObj.B2BRebateRatio,scalevalue:this.getShouBAO(3),}, {Name:'同行返佣',scale:this.saveObj.B2BRebateRatio,scalevalue:this.getShouBAO(3),continue:this.saveObj.B2BReNewRatio,continuevalue:this.getShouBAO(4)},
{Name:'校代返佣',scale:this.saveObj.SchoolRebateRatio,scalevalue:this.getShouBAO(5),continue:this.saveObj.SchoolReNewRatio,continuevalue:this.getShouBAO(6)},
{Name:'学员转介返佣',scale:this.saveObj.TransIntroductceRatio,scalevalue:this.getShouBAO(7),continue:this.saveObj.TransIntroductceReNewRatio,continuevalue:this.getShouBAO(8)},
{Name:'内推返佣',scale:this.saveObj.InnerRecommendRatio,scalevalue:this.getShouBAO(9),continue:this.saveObj.InnerRecommendReNewRatio,continuevalue:this.getShouBAO(10)},
{Name:'直客返佣',scale:this.saveObj.B2CRbRatio,scalevalue:this.getShouBAO(11),continue:this.saveObj.B2CRNRatio,continuevalue:this.getShouBAO(12)},
] ]
this.saveObj.scalelist = scalelist this.saveObj.scalelist = scalelist
}) })
.catch(() => {}); .catch(() => {});
}, },
getFanyong() {
GetCourseRebateSetList().then(res => {
if (res.Code == 1) {
this.CourseRebateList = res.Data;
}
});
},
closeperForm() { closeperForm() {
this.$emit("close"); this.$emit("close");
this.persistent = false; this.persistent = false;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment