Commit 3cb1be2a authored by youjie's avatar youjie

组长奖励

parent 55178cf9
...@@ -203,6 +203,7 @@ ...@@ -203,6 +203,7 @@
<th>欧洲线奖励</th> <th>欧洲线奖励</th>
<th>其他线人数</th> <th>其他线人数</th>
<th>其他线奖励</th> <th>其他线奖励</th>
<th v-if="userInfo.RB_Group_id=2&&userInfo.RB_Branch_id==0">组长奖励</th>
<th>总提成</th> <th>总提成</th>
<th>出团公司提成</th> <th>出团公司提成</th>
<th>期数</th> <th>期数</th>
...@@ -218,6 +219,10 @@ ...@@ -218,6 +219,10 @@
<td>{{item.EuropeMoney?item.EuropeMoney:'-'}}</td> <td>{{item.EuropeMoney?item.EuropeMoney:'-'}}</td>
<td>{{item.OtherPNum?item.OtherPNum:'-'}}</td> <td>{{item.OtherPNum?item.OtherPNum:'-'}}</td>
<td>{{item.OtherMoney?item.OtherMoney:'-'}}</td> <td>{{item.OtherMoney?item.OtherMoney:'-'}}</td>
<td v-if="userInfo.RB_Group_id=2&&userInfo.RB_Branch_id==0"
:style="{'color': item.BonusMoney?'#409EFF':''}"
:class="[item.BonusMoney?'cursor-p':'']"
@click="objNew=item,objNew.PeriodsId=msg.PeriodId,isGroupLeaderReward=true">{{item.BonusMoney?item.BonusMoney:'-'}}</td>
<td>{{item.TotalCMoney?item.TotalCMoney:'-'}} <td>{{item.TotalCMoney?item.TotalCMoney:'-'}}
<span v-if="item.TotalExtraReward"> <span v-if="item.TotalExtraReward">
(额外奖励:{{item.TotalExtraReward}}) (额外奖励:{{item.TotalExtraReward}})
...@@ -281,17 +286,20 @@ ...@@ -281,17 +286,20 @@
<button class="hollowFixedBtn" @click="outerVisible = false">取消</button> &nbsp; <button class="hollowFixedBtn" @click="outerVisible = false">取消</button> &nbsp;
</div> </div>
</el-dialog> </el-dialog>
<GroupLeaderReward v-if="isGroupLeaderReward" :obj="objNew" @close="isGroupLeaderReward=false"></GroupLeaderReward>
</div> </div>
</template> </template>
<script> <script>
import moment from "moment" import moment from "moment"
import GroupLeaderReward from "./components/GroupLeaderReward";
export default { export default {
components:{ components:{
GroupLeaderReward
}, },
data() { data() {
return { return {
isGroupLeaderReward: false,
objNew:{}, objNew:{},
outerVisible:false,//提成比例弹窗 outerVisible:false,//提成比例弹窗
Month: moment().format("YYYY-MM"), Month: moment().format("YYYY-MM"),
...@@ -325,19 +333,21 @@ ...@@ -325,19 +333,21 @@
Status:'0', Status:'0',
}, },
departmentMsg: { departmentMsg: {
RB_Group_Id: '0', RB_Group_Id: '0',
RB_Branch_Id:'0', RB_Branch_Id:'0',
Status:'0', Status:'0',
ParentId:'-1', ParentId:'-1',
Tier:'0', Tier:'0',
}, },
disabled:true, disabled:true,
rateDataList: [], rateDataList: [],
DigName:'' DigName:'',
userInfo: {}
} }
}, },
created(){ created(){
let userInfo = this.getLocalStorage(); let userInfo = this.getLocalStorage();
this.userInfo = userInfo
this.getCompanyMsg.RB_Group_Id=userInfo.RB_Group_id; //集团ID this.getCompanyMsg.RB_Group_Id=userInfo.RB_Group_id; //集团ID
this.departmentMsg.RB_Group_Id = userInfo.RB_Group_id; //集团 this.departmentMsg.RB_Group_Id = userInfo.RB_Group_id; //集团
this.departmentMsg.RB_Branch_Id = userInfo.RB_Branch_Id; this.departmentMsg.RB_Branch_Id = userInfo.RB_Branch_Id;
......
...@@ -121,8 +121,10 @@ export default { ...@@ -121,8 +121,10 @@ export default {
let locationName = window.location.hostname; let locationName = window.location.hostname;
let isOnline = 0; //0-本地测试,1-线上 let isOnline = 0; //0-本地测试,1-线上
let ocrUrl = "http://192.168.5.46:8888"; let ocrUrl = "http://192.168.5.46:8888";
domainUrl = "http://192.168.5.214"; domainUrl = "http://192.168.5.214";
//domainUrl = "http://192.168.5.46"; // domainUrl = "http://192.168.5.46";
domainUrl = "http://192.168.5.25:8083";
// domainUrl = "http://reborn.oytour.com";
let crmLocalFileStreamDownLoadUrl = ""; let crmLocalFileStreamDownLoadUrl = "";
crmLocalFileStreamDownLoadUrl = locationName.indexOf('oytour') !== -1 ? "http://crm.oytour.com" : "http://testcrm.oytour.com"; crmLocalFileStreamDownLoadUrl = locationName.indexOf('oytour') !== -1 ? "http://crm.oytour.com" : "http://testcrm.oytour.com";
let javaUrldo = ""; let javaUrldo = "";
...@@ -147,7 +149,7 @@ export default { ...@@ -147,7 +149,7 @@ export default {
crmUrl = "http://crm.oytour.com"; crmUrl = "http://crm.oytour.com";
ocrUrl = "http://ocr.oytour.com"; ocrUrl = "http://ocr.oytour.com";
isOnline = 1; isOnline = 1;
} }
else if (locationName.indexOf('oytour') !== -1) { else if (locationName.indexOf('oytour') !== -1) {
domainUrl = "http://reborn.oytour.com"; domainUrl = "http://reborn.oytour.com";
mallUrl = "https://mallapi.oytour.com"; mallUrl = "https://mallapi.oytour.com";
......
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