Commit 0b55d1f6 authored by 黄媛媛's avatar 黄媛媛

修改麦子助手下载地址,OP提成详情设置提成去权限

parent f5957fd4
...@@ -27,7 +27,7 @@ ...@@ -27,7 +27,7 @@
></v-table> ></v-table>
<div style="height:20px;"> </div> <div style="height:20px;"> </div>
<el-dialog <el-dialog
title="设置" :title="`设置:${setform.CreateByStr}`"
:visible.sync="setopVisible" :visible.sync="setopVisible"
width="30%"> width="30%">
<div> <div>
...@@ -117,13 +117,17 @@ export default { ...@@ -117,13 +117,17 @@ export default {
dataListTwo: [], dataListTwo: [],
stringPerons:'', stringPerons:'',
setopVisible:false, setopVisible:false,
setform:{}, setform:{
CreateByStr:'',
},
opdatails:false, opdatails:false,
detailsMsg:{ detailsMsg:{
detailList:[], detailList:[],
}, },
btnShow:true,
}; };
}, },
methods: { methods: {
SetOPOK(){ SetOPOK(){
if(!this.setform.Type){ if(!this.setform.Type){
...@@ -217,6 +221,7 @@ export default { ...@@ -217,6 +221,7 @@ export default {
this.setopVisible=true; this.setopVisible=true;
this.setform.PeriodsId=this.msg.PeriodsId; this.setform.PeriodsId=this.msg.PeriodsId;
this.setform.EmployeeId=params.data.EmployeeId; this.setform.EmployeeId=params.data.EmployeeId;
this.setform.CreateByStr=params.data.CreateByStr;
} }
else{ else{
this.opdatails=true; this.opdatails=true;
...@@ -491,6 +496,7 @@ export default { ...@@ -491,6 +496,7 @@ export default {
this.total = res.data.data.count; this.total = res.data.data.count;
this.dataList.forEach(x=>{ this.dataList.forEach(x=>{
x.sumMoney=x.CommissionMoney x.sumMoney=x.CommissionMoney
x.btnShow=this.btnShow;
}) })
this.dataListTwo = JSON.parse(JSON.stringify(this.dataList)) this.dataListTwo = JSON.parse(JSON.stringify(this.dataList))
} else { } else {
...@@ -535,6 +541,7 @@ export default { ...@@ -535,6 +541,7 @@ export default {
} }
}, },
mounted() { mounted() {
this.msg.pageSize = 10000; //不分页 this.msg.pageSize = 10000; //不分页
this.msg.PeriodsId = this.$route.query.PeriodsId?this.$route.query.PeriodsId:0; this.msg.PeriodsId = this.$route.query.PeriodsId?this.$route.query.PeriodsId:0;
let dt=new Date() let dt=new Date()
...@@ -544,13 +551,19 @@ export default { ...@@ -544,13 +551,19 @@ export default {
this.getCompanyList(); this.getCompanyList();
}, },
created(){ created(){
let userInfo = this.getLocalStorage();
let ActionMenuCode=userInfo.ActionMenuCode;
if(ActionMenuCode.indexOf('P_OPCommissionSend')!=-1){
this.btnShow=true;
}
Vue.component('commission-table-operation',{ Vue.component('commission-table-operation',{
template:`<div style='width:80px;height:40px;background:#fff;text-align:center;position: relative;left:-5px;padding-top: 6px;padding-top:6px;'> template:`<div style='width:80px;height:40px;background:#fff;text-align:center;position: relative;left:-5px;padding-top: 6px;padding-top:6px;'>
<el-button type="primary" size='mini' icon="el-icon-view" circle @click="see(rowData,index)"></el-button> <el-button type="primary" size='mini' icon="el-icon-view" circle @click="see(rowData,index)"></el-button>
<el-button type="danger" size='mini' style="font-size:10px" class="iconfont icon-nav-xitongguanli" circle @click="SetOP(rowData,index)"></el-button> <el-button v-show="rowData.btnShow" type="danger" size='mini' style="font-size:10px" class="iconfont icon-nav-xitongguanli" circle @click="SetOP(rowData,index)"></el-button>
<el-button type="danger" size='mini' style="font-size:10px" class="iconfont icon-nav-hangzheng" circle @click="SeeDetails(rowData,index)"></el-button> <el-button type="danger" size='mini' style="font-size:10px" class="iconfont icon-nav-hangzheng" circle @click="SeeDetails(rowData,index)"></el-button>
</div>`, </div>`,
props:{ props:{
rowData:{ rowData:{
type:Object type:Object
}, },
......
...@@ -668,7 +668,7 @@ ...@@ -668,7 +668,7 @@
</div> </div>
</div> </div>
<div style="text-align:center;margin-top:20px"> <div style="text-align:center;margin-top:20px">
<span class="khd"><a href="http://im.oytour.com/麦子助手.exe">IM客户端下载</a></span> <span class="khd"><a href="https://url.cn/5tmuvIW">IM客户端下载</a></span>
</div> </div>
<div class="im_bottom"></div> <div class="im_bottom"></div>
</div> </div>
......
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