<template> <view class="content p-10"> <view class="card"> <view class="mt-10"> <u-cell-group :border="false"> <u-cell> <view slot="title" class="title">姓名:</view> <view slot="value">{{ form.INFOR_NAME }}</view> </u-cell> <u-cell> <view slot="title" class="title">性别:</view> <view slot="value">{{ form.INFORSEX == '0' ? '男' : '女' }}</view> </u-cell> <u-cell> <view slot="title" class="title">职务:</view> <view slot="value">{{ form.INFORPOSTNAME }}</view> </u-cell> <u-cell> <view slot="title" class="title">职称:</view> <view slot="value">{{ form.INFORTITLENAME }}</view> </u-cell> <u-cell> <view slot="title" class="title">工作:</view> <view slot="value">{{ form.INFORWORKNAME }}</view> </u-cell> <u-cell> <view slot="title" class="title">资格证书名称:</view> <view slot="value">{{ form.CERTIFICATENAME }}</view> </u-cell> <u-cell> <view slot="title" class="title">证书编号:</view> <view slot="value">{{ form.CERTIFICATENO }}</view> </u-cell> <u-cell> <view slot="title" class="title">有效期:</view> <view slot="value">{{ form.TERMOFVALIDITY }}</view> </u-cell> </u-cell-group> </view> </view> </view> </template> <script> import {getCorpInfoLicenseListGoEdit} from "../../../api"; export default { data() { return { form: {}, INFOR_ID: '' } }, onLoad(event) { this.INFOR_ID = event.INFOR_ID this.fnGetCorpInfoLicenseListGoEdit() }, methods: { async fnGetCorpInfoLicenseListGoEdit() { let resData = await getCorpInfoLicenseListGoEdit({INFOR_ID: this.INFOR_ID}) this.form = resData.userinfo } }, } </script> <style scoped> </style>