forked from integrated_whb/integrated_whb_vue
Compare commits
2 Commits
8e764eecbb
...
ad35c2cf4c
Author | SHA1 | Date |
---|---|---|
xiepeng | ad35c2cf4c | |
xiepeng | 49038e5d1e |
|
@ -1,6 +1,24 @@
|
|||
<template>
|
||||
<layout-card>
|
||||
<el-divider content-position="left"> {{data.statusInfo.REVIEW_RESULT === "-1" ? "打回" : "通过"}}详情 </el-divider>
|
||||
<div v-if="data.statusInfo.APPLY_TYPE !== '0' && data.statusInfo.APPLY_STATUS !== '0'">
|
||||
<el-divider content-position="left">
|
||||
{{data.statusInfo.REVIEW_RESULT === "-1" ? "打回" : "通过"}}详情
|
||||
</el-divider>
|
||||
<el-descriptions :column="3" border>
|
||||
<el-descriptions-item label="申请类别">
|
||||
<template v-if="data.statusInfo.APPLY_TYPE === '1'">入职申请</template>
|
||||
<template v-else-if="data.statusInfo.APPLY_TYPE === '2'">企业入职</template>
|
||||
<template v-else-if="data.statusInfo.APPLY_TYPE === '3'">离职申请</template>
|
||||
<template v-else-if="data.statusInfo.APPLY_TYPE === '4'">企业解聘</template>
|
||||
</el-descriptions-item>
|
||||
<el-descriptions-item label="备注">
|
||||
{{ data.statusInfo.REVIEW_COMMENTS }}
|
||||
</el-descriptions-item>
|
||||
<el-descriptions-item :label="data.dispose">
|
||||
{{ data.statusInfo.AUDIT_DATE }}
|
||||
</el-descriptions-item>
|
||||
</el-descriptions>
|
||||
</div>
|
||||
<el-divider content-position="left">基本信息</el-divider>
|
||||
<el-descriptions :column="2" border>
|
||||
<el-descriptions-item label="姓名">
|
||||
|
@ -172,12 +190,13 @@ const data = reactive({
|
|||
info: {},
|
||||
certificateList: [],
|
||||
statusInfo: {},
|
||||
dispose: ""
|
||||
});
|
||||
const fnGetData = async () => {
|
||||
if (!USER_ID) return;
|
||||
const resData = await getPractitionerInfo({ USER_ID });
|
||||
data.info = resData.pd;
|
||||
data.statusInfo = resData.statusInfo
|
||||
data.statusInfo = resData.statusInfo;
|
||||
resData.certificateList.forEach((item) => {
|
||||
item.ID_PHOTO_FRONT = FILE_URL + item.ID_PHOTO_FRONT;
|
||||
if (item.ID_PHOTO_BACK) {
|
||||
|
@ -197,7 +216,12 @@ const fnGetData = async () => {
|
|||
if(!item.ALLOW_QUALIFICATION || item.ALLOW_QUALIFICATION.includes("null")) {
|
||||
item.ALLOW_QUALIFICATION = null;
|
||||
}
|
||||
})
|
||||
});
|
||||
if (data.statusInfo.APPLY_TYPE === "1" || data.statusInfo.APPLY_TYPE === '3') {
|
||||
data.dispose = '审核时间';
|
||||
}else{
|
||||
data.dispose = '确认时间';
|
||||
}
|
||||
};
|
||||
fnGetData();
|
||||
</script>
|
||||
|
|
|
@ -1011,6 +1011,12 @@ const fnGetData = async () => {
|
|||
}
|
||||
});
|
||||
data.form = { ...data.form, ...form };
|
||||
if (!data.form.DUTIES_NAME || !data.form.DUTIES_NAME === "") {
|
||||
data.form.DUTIES = "";
|
||||
}
|
||||
if (!data.form.TITLE_NAME || !data.form.TITLE_NAME === "") {
|
||||
data.form.TITLE = "";
|
||||
}
|
||||
};
|
||||
fnGetData();
|
||||
const fnGetUserRole = async () => {
|
||||
|
|
Loading…
Reference in New Issue