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>
|
<template>
|
||||||
<layout-card>
|
<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-divider content-position="left">基本信息</el-divider>
|
||||||
<el-descriptions :column="2" border>
|
<el-descriptions :column="2" border>
|
||||||
<el-descriptions-item label="姓名">
|
<el-descriptions-item label="姓名">
|
||||||
|
@ -172,12 +190,13 @@ 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) {
|
||||||
|
@ -197,7 +216,12 @@ 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>
|
||||||
|
|
|
@ -1011,6 +1011,12 @@ 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 () => {
|
||||||
|
|
Loading…
Reference in New Issue