Commit 10e6ab16 authored by 黄媛媛's avatar 黄媛媛

修改权限

parent 6bab36c5
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
</span> </span>
<el-select filterable class='multiple_input' v-model='msg.CouponId' :placeholder="$t('pub.pleaseSel')"> <el-select filterable class='multiple_input' v-model='msg.CouponId' :placeholder="$t('pub.pleaseSel')">
<el-option :label="$t('pub.unlimitedSel')" value="0"></el-option> <el-option :label="$t('pub.unlimitedSel')" value="0"></el-option>
<el-option v-for="(item,index) in Actitylist" :key="index" :label="item.CouponsName" :value="item.Id"></el-option> <el-option v-for="(item,index) in Actitylist" :key="index" :label="item.Remark" :value="item.Id"></el-option>
</el-select> </el-select>
</li> </li>
<li> <li>
......
...@@ -589,6 +589,7 @@ export default { ...@@ -589,6 +589,7 @@ export default {
}, },
employeeList1: [], employeeList1: [],
HightUnitPrice:'2', HightUnitPrice:'2',
departState:false,
}; };
}, },
methods: { methods: {
...@@ -1011,9 +1012,14 @@ export default { ...@@ -1011,9 +1012,14 @@ export default {
); );
}, },
getDepartment() { getDepartment() {
let msg={};
if(this.departState){
msg={allDepartment:1};
}
console.log("msgfdwaetg",msg)
this.apipost( this.apipost(
"Advertising_get_GetNowDepartmentAndSubordinate", "Advertising_get_GetNowDepartmentAndSubordinate",
{}, {msg},
res => { res => {
if (res.data.resultCode == 1) { if (res.data.resultCode == 1) {
this.departmentList = res.data.data; this.departmentList = res.data.data;
...@@ -1162,9 +1168,13 @@ export default { ...@@ -1162,9 +1168,13 @@ export default {
// ); // );
} }
}, },
mounted() { mounted() {
let userInfo = this.getLocalStorage(); let userInfo = this.getLocalStorage();
let ActionMenuCode=userInfo.ActionMenuCode;
if(ActionMenuCode.indexOf('Select_AllCustomer')!=-1){
this.departState=true;
}
this.bossID = userInfo.EmployeeId; this.bossID = userInfo.EmployeeId;
this.departmentMsg.RB_Group_Id = userInfo.RB_Group_id; //集团 this.departmentMsg.RB_Group_Id = userInfo.RB_Group_id; //集团
this.getDepartment(); this.getDepartment();
......
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