Compare commits

..

No commits in common. "ad35c2cf4c2ec9618e0c9e9a2adcb4f5996ac976" and "8e764eecbb18e1c8703ae7ff8ea9ee64564cdfce" have entirely different histories.

2 changed files with 3 additions and 33 deletions

View File

@ -1,24 +1,6 @@
<template> <template>
<layout-card> <layout-card>
<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-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-divider content-position="left">基本信息</el-divider>
<el-descriptions :column="2" border> <el-descriptions :column="2" border>
<el-descriptions-item label="姓名"> <el-descriptions-item label="姓名">
@ -190,13 +172,12 @@ const data = reactive({
info: {}, info: {},
certificateList: [], certificateList: [],
statusInfo: {}, statusInfo: {},
dispose: ""
}); });
const fnGetData = async () => { const fnGetData = async () => {
if (!USER_ID) return; if (!USER_ID) return;
const resData = await getPractitionerInfo({ USER_ID }); const resData = await getPractitionerInfo({ USER_ID });
data.info = resData.pd; data.info = resData.pd;
data.statusInfo = resData.statusInfo; data.statusInfo = resData.statusInfo
resData.certificateList.forEach((item) => { resData.certificateList.forEach((item) => {
item.ID_PHOTO_FRONT = FILE_URL + item.ID_PHOTO_FRONT; item.ID_PHOTO_FRONT = FILE_URL + item.ID_PHOTO_FRONT;
if (item.ID_PHOTO_BACK) { if (item.ID_PHOTO_BACK) {
@ -216,12 +197,7 @@ const fnGetData = async () => {
if(!item.ALLOW_QUALIFICATION || item.ALLOW_QUALIFICATION.includes("null")) { if(!item.ALLOW_QUALIFICATION || item.ALLOW_QUALIFICATION.includes("null")) {
item.ALLOW_QUALIFICATION = null; item.ALLOW_QUALIFICATION = null;
} }
}); })
if (data.statusInfo.APPLY_TYPE === "1" || data.statusInfo.APPLY_TYPE === '3') {
data.dispose = '审核时间';
}else{
data.dispose = '确认时间';
}
}; };
fnGetData(); fnGetData();
</script> </script>

View File

@ -1011,12 +1011,6 @@ const fnGetData = async () => {
} }
}); });
data.form = { ...data.form, ...form }; 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(); fnGetData();
const fnGetUserRole = async () => { const fnGetUserRole = async () => {