|
|
@@ -104,7 +104,7 @@
|
|
|
</el-link>
|
|
|
</router-link>
|
|
|
</el-dropdown-item>
|
|
|
- <el-dropdown-item v-if="user.authStatus.text == '审核通过' && user.roleList.indexOf('generalUser')===-1 && user.roleList.indexOf('evaluationAgency')===-1">
|
|
|
+ <el-dropdown-item v-if="user.authStatus.text == '审核通过' && !this.user.personalAuthVO && this.user.agencyVO">
|
|
|
<router-link :to="{ name: 'Agency',params:{userId:user.userVO.id}}">
|
|
|
<el-link icon="el-icon-edit" :underline="false">
|
|
|
修改机构信息
|
|
|
@@ -475,22 +475,18 @@ export default {
|
|
|
//this.getAuthInfo()
|
|
|
},
|
|
|
handleClickAuthPass () {
|
|
|
- const generalUser = 'generalUser'
|
|
|
- const evaluationAgency = 'evaluationAgency'
|
|
|
- const enterpriseUser = 'enterpriseUser'
|
|
|
- const roleList = this.user.roleList;
|
|
|
- if (roleList.indexOf(generalUser) !== -1) {
|
|
|
+ if (this.user.personalAuthVO) {
|
|
|
this.$router.push({
|
|
|
name: 'IndividualAuthentication',
|
|
|
params: {userId: this.user.userVO.id}
|
|
|
})
|
|
|
- }else if (roleList.indexOf(evaluationAgency) !== -1) {
|
|
|
+ }else if (this.user.agencyVO) {
|
|
|
this.$router.push({
|
|
|
name: 'AgencyAuthentication',
|
|
|
params: {userId: this.user.userVO.id}
|
|
|
})
|
|
|
}
|
|
|
- else if (roleList.indexOf(enterpriseUser) !== -1) {
|
|
|
+ else if (this.user.enterpriseAuthVO) {
|
|
|
this.$router.push({
|
|
|
name: 'EnterpriseAuthentication',
|
|
|
params: {userId: this.user.userVO.id}
|