|
|
@ -75,7 +75,37 @@ |
|
|
|
</div> |
|
|
|
</template> |
|
|
|
|
|
|
|
<template v-if="type === 4 || type === 5 || type === 1"> |
|
|
|
<template v-if="type === 4"> |
|
|
|
<div class="items"> |
|
|
|
<div class="label">姓名:</div> |
|
|
|
<div class="value">{{ detail.name }}</div> |
|
|
|
</div> |
|
|
|
|
|
|
|
<div class="items"> |
|
|
|
<div class="label">联系电话:</div> |
|
|
|
<div class="value">{{ detail.mobile }}</div> |
|
|
|
<CallPhone icon="el-icon-phone"/> |
|
|
|
</div> |
|
|
|
|
|
|
|
<div class="items"> |
|
|
|
<div class="label">证件号:</div> |
|
|
|
<div class="value">{{ detail.idCard }}</div> |
|
|
|
</div> |
|
|
|
<div class="items"> |
|
|
|
<div class="label">组织/部门:</div> |
|
|
|
<div class="value">{{ detail.orgName }}</div> |
|
|
|
</div> |
|
|
|
<div class="items"> |
|
|
|
<div class="label">职位:</div> |
|
|
|
<div class="value"> |
|
|
|
<span v-for="(role, index) in detail.szsqRoles" :key="index"> |
|
|
|
{{ role }}<span v-if="index < detail.szsqRoles.length - 1">、</span> |
|
|
|
</span> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</template> |
|
|
|
|
|
|
|
<template v-if="type === 5 || type === 1"> |
|
|
|
|
|
|
|
<div class="items"> |
|
|
|
<div class="label">姓名:</div> |
|
|
@ -233,15 +263,9 @@ export default { |
|
|
|
}) |
|
|
|
}, |
|
|
|
getGridOperator() { |
|
|
|
this.$http.post('/actual/base/residentBaseInfo/detail/' + this.id).then(({data: {data}}) => { |
|
|
|
this.$http.post('/data/aggregator/org/staffdetailv2',{staffId: this.id}).then(({data: {data}}) => { |
|
|
|
this.detail = data || {}; |
|
|
|
}) |
|
|
|
this.$http.get('/actual/base/residentEduInfo/detail/' + this.id).then(({data: {data}}) => { |
|
|
|
this.education = data || {}; |
|
|
|
}) |
|
|
|
this.$http.get('/actual/base/residentHobbyInfo/detail/' + this.id).then(({data: {data}}) => { |
|
|
|
this.hobby = data || {}; |
|
|
|
}) |
|
|
|
}, |
|
|
|
} |
|
|
|
} |
|
|
|