|
|
@@ -101,6 +101,7 @@ |
|
|
|
<el-button type="text" v-if="cus_crd_del" size="small" @click="toinifodelete(scope)">删除</el-button> |
|
|
|
<!-- <el-button type="text" size="small" @click="editOpera(scope.row,0)">管理系统运营</el-button> |
|
|
|
<el-button type="text" size="small" @click="editOpera(scope.row,1)">管理代理商运营</el-button> --> |
|
|
|
<el-button type="text" size="small" v-if="cus_com_sys" @click="editOpera(scope.row,0)">系统运营</el-button> |
|
|
|
<el-button type="text" v-if="cus_crd_bindAgent" size="small" @click="bindAgent(scope.row)">绑定代理商</el-button> |
|
|
|
<el-button type="text" v-if="cus_crd_open" size="small" @click="toDisable(scope.row)">{{scope.row.lockFlag==0?'禁用':'启用'}}</el-button> |
|
|
|
</template> |
|
|
@@ -502,6 +503,8 @@ export default { |
|
|
|
this.cus_crd_del = this.permissions["cus_crd_del"]; |
|
|
|
this.cus_crd_bindAgent = this.permissions["cus_crd_bindAgent"]; |
|
|
|
this.cus_crd_open = this.permissions["cus_crd_open"]; |
|
|
|
this.cus_com_sys = this.permissions["cus_com_sys"]; |
|
|
|
this.cus_com_sys1 = this.permissions["cus_com_sys1"]; |
|
|
|
}, |
|
|
|
mounted() { |
|
|
|
this.orgType=localStorage.getItem('orgType') |
|
|
@@ -563,8 +566,9 @@ export default { |
|
|
|
// console.log(idx,orgId); |
|
|
|
// return |
|
|
|
this.$api.api.zkoperationrecordFindByOrg({ |
|
|
|
orgType:idx==0?'1':'2', |
|
|
|
orgId |
|
|
|
orgType:2, |
|
|
|
orgId, |
|
|
|
operationType:this.idx==0?'1':'2' |
|
|
|
}) |
|
|
|
.then(res=>{ |
|
|
|
// console.log(res); |
|
|
@@ -736,11 +740,12 @@ export default { |
|
|
|
this.passFlag=false |
|
|
|
}, |
|
|
|
//获取运营人员 |
|
|
|
getAllOperationsStaff(idx){ |
|
|
|
//获取运营人员 |
|
|
|
getAllOperationsStaff(idx,row){ |
|
|
|
this.optionsoperationStaff=[]; |
|
|
|
if(idx==1){ |
|
|
|
this.$api.http.getAllOperationsStaffByAgent({ |
|
|
|
agentId:localStorage.getItem('agentId') |
|
|
|
orgCode:row.orgCode |
|
|
|
}).then((res) => { |
|
|
|
this.optionsoperationStaff= res.data |
|
|
|
this.operaVisible=true |
|
|
|