|
|
@@ -46,7 +46,7 @@ |
|
|
|
|
|
|
|
</van-cell-group> |
|
|
|
<van-cell-group class="listBox"> |
|
|
|
<van-cell is-link :to="{name:loginType ? 'programme':''}" > |
|
|
|
<van-cell is-link :to="{name:loginType ? 'programme':''}" v-if="tabShow" > |
|
|
|
<template #title> |
|
|
|
<van-icon name="../../../static/images/lawEnforcement/icon/icon_fagl.png" size="20"></van-icon> |
|
|
|
<span class="custom-title">方案管理</span> |
|
|
@@ -101,6 +101,7 @@ export default { |
|
|
|
}, |
|
|
|
loginType:false, |
|
|
|
loginButton:false, |
|
|
|
tabShow: false, |
|
|
|
// 查询参数 |
|
|
|
queryParamsTask: { |
|
|
|
pageNum: 1, |
|
|
@@ -156,6 +157,17 @@ export default { |
|
|
|
this.user = response.data; |
|
|
|
this.roleGroup = response.roleGroup; |
|
|
|
this.postGroup = response.postGroup; |
|
|
|
if (response.data.roles.length < 1){ |
|
|
|
this.tabShow = false; |
|
|
|
}else{ |
|
|
|
response.data.roles.forEach(res=>{ |
|
|
|
if (res.roleKey == 'personal_user' || res.roleKey == 'company_user'){ |
|
|
|
this.tabShow = false; |
|
|
|
}else{ |
|
|
|
this.tabShow = true; |
|
|
|
} |
|
|
|
}) |
|
|
|
} |
|
|
|
this.getTaskList(); |
|
|
|
}); |
|
|
|
}, |
|
|
|