Commit 04997986 authored by zhengke's avatar zhengke

增加合同权限

parent 3b42b5f7
...@@ -186,7 +186,7 @@ ...@@ -186,7 +186,7 @@
常用付款对象 常用付款对象
<i class="iconfont icon-right1"></i> <i class="iconfont icon-right1"></i>
</el-dropdown-item> </el-dropdown-item>
<el-dropdown-item class="clearfix _dropdown_other" @click.native="goUrlContract()"> <el-dropdown-item class="clearfix _dropdown_other" @click.native="goUrlContract()" v-if="qjGroupId==userInfo.RB_Group_id||F_ContractManagement">
<i class="iconfont icon-hetong" style="color:#f39c12"></i> <i class="iconfont icon-hetong" style="color:#f39c12"></i>
合同管理 合同管理
<i class="iconfont icon-right1"></i> <i class="iconfont icon-right1"></i>
...@@ -1401,6 +1401,8 @@ export default { ...@@ -1401,6 +1401,8 @@ export default {
seeVotingBox: false, seeVotingBox: false,
//是否显示更多 //是否显示更多
isShowMore:true, isShowMore:true,
qjGroupId:-1,
F_ContractManagement:false, //合同权限
}; };
}, },
filters: { filters: {
...@@ -1717,7 +1719,7 @@ export default { ...@@ -1717,7 +1719,7 @@ export default {
this.getMyDynamic(); this.getMyDynamic();
this.getAboutMeDynamic(); this.getAboutMeDynamic();
this.getWebAllPart(); this.getWebAllPart();
this.getNoticeList() this.getNoticeList();
document document
.getElementById("allDynamic") .getElementById("allDynamic")
.addEventListener("scroll", function() { .addEventListener("scroll", function() {
...@@ -1767,7 +1769,9 @@ export default { ...@@ -1767,7 +1769,9 @@ export default {
this.app_user_workflow_MyAuditCount(); this.app_user_workflow_MyAuditCount();
this.refreshSysNoteDate(); this.refreshSysNoteDate();
this.GetUserIsRead(); this.GetUserIsRead();
this.getNewSaleRnkInfo() this.getNewSaleRnkInfo();
this.GetSupperOrderEditAuth();
}, },
created() { created() {
if(!localStorage.getItem("tsNumber")||localStorage.getItem("tsNumber")!=this.tsNumber){ if(!localStorage.getItem("tsNumber")||localStorage.getItem("tsNumber")!=this.tsNumber){
...@@ -1795,6 +1799,15 @@ export default { ...@@ -1795,6 +1799,15 @@ export default {
} }
}, },
methods: { methods: {
GetSupperOrderEditAuth() {
var actiionContract = this.$AuthCode.F_ContractManagement;
// 合同
this.CheckUserAuth(actiionContract, res => {
if (res.data.resultCode == 1 && res.data.data == 1) {
this.F_ContractManagement = true;
}
});
},
CloseTs(){ CloseTs(){
localStorage.setItem("tsNumber",this.tsNumber); localStorage.setItem("tsNumber",this.tsNumber);
this.tsState=false; this.tsState=false;
......
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