Commit 88788000 authored by Tyh's avatar Tyh

授权管理添加

parent dc1bb9fb
......@@ -123,11 +123,25 @@
</div>
</div>
<p style="margin-top:10px;text-align:center;">正面</p>
<button
<!-- <button
class="next_step"
style="width:120px;height:30px;border-radius:15px;background-color:#09bb07;color:#FFFFFF;margin:100px 0 0 -60px;position:relative;left:50%;"
@click="logout()"
>注销</button>
>注销</button> -->
<div class="button_all">
<div v-if="isManagerFlag=='Y'"
class="next_step"
@click="goAutohrized()"
>授权管理</div>
<div
class="next_step"
@click="logout()"
>注销</div>
</div>
</div>
<!-- 组织其他员工 -->
......@@ -296,7 +310,10 @@ export default {
attachmentId: "",
orgAttachmentId: "",
attachmentId1: "",
orgAttachmentId1: ""
orgAttachmentId1: "",
isManagerFlag:"",
managerAuthFlag:"",
// agentType: ""
};
},
......@@ -415,6 +432,15 @@ export default {
});
}
},
// 进入授权管理
goAutohrized(){
this.$router.push({
name: 'AuthorizedAgent',
params: {
id: vm.socialCode
},
})
},
created() {
this.wxConfig();
var data = this.$route.params.userInfo;
......@@ -429,6 +455,13 @@ export default {
this.legalPhoneNumber = data.mobile;
this.attachmentId = data.attachmentId;
this.orgAttachmentId = data.orgAttachmentId;
window.localStorage.setItem('isManagerFlag', data.isManagerFlag)
window.localStorage.setItem('managerAuthFlag', data.managerAuthFlag)
vm.isManagerFlag = data.isManagerFlag
vm.managerAuthFlag = data.managerAuthFlag
this.cardUp =
process.env.rootPath +
"/app/fileViewSvc?attachment_id=" +
......
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