mirror of
http://112.124.100.131/GFRS/ebiz-h5.git
synced 2025-12-21 20:36:43 +08:00
[new] 完成 人发系统 - 人才库 - 新增、修改、列表
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
<van-cell :title="talentPoolInfo.name" title-class="ml10" is-link value-class="text-left">
|
||||
<van-icon slot="icon" :name="talentPoolInfo.avatarUrl || defaultAcatarUrl" style="line-height: inherit;" size="24" />
|
||||
<span>{{ talentPoolInfo.sameCompany }}</span>
|
||||
<van-icon slot="right-icon" name="edit" style="line-height: inherit;" color="#1989fa" size="24" />
|
||||
<van-icon slot="right-icon" name="edit" style="line-height: inherit;" color="#1989fa" size="24" @click="edit(talentPoolInfo.personnelCode)" />
|
||||
</van-cell>
|
||||
</div>
|
||||
</template>
|
||||
@@ -32,6 +32,22 @@ export default {
|
||||
return {
|
||||
defaultAcatarUrl: 'https://b.yzcdn.cn/vant/icon-demo-1126.png'
|
||||
}
|
||||
},
|
||||
methods: {
|
||||
edit(personnelCode) {
|
||||
if (personnelCode) {
|
||||
localStorage.setItem('personnelCode', personnelCode)
|
||||
this.$jump({
|
||||
flag: 'h5',
|
||||
extra: {
|
||||
url: location.origin + '/#/manpower/talentPool/Edit'
|
||||
},
|
||||
routerInfo: {
|
||||
path: '/manpower/talentPool/Edit'
|
||||
}
|
||||
})
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
Reference in New Issue
Block a user