+
- {{data.statusInfo.REVIEW_RESULT === "-1" ? "打回" : "通过"}}详情
+ {{ data.statusInfo.REVIEW_RESULT === "-1" ? "打回" : "通过" }}详情
- 入职申请
- 企业入职
- 离职申请
- 企业解聘
+ 入职申请
+ 企业入职
+ 离职申请
+ 企业解聘
{{ data.statusInfo.REVIEW_COMMENTS }}
@@ -190,7 +203,7 @@ const data = reactive({
info: {},
certificateList: [],
statusInfo: {},
- dispose: ""
+ dispose: "",
});
const fnGetData = async () => {
if (!USER_ID) return;
@@ -213,14 +226,20 @@ const fnGetData = async () => {
}
});
data.certificateList.forEach((item) => {
- if(!item.ALLOW_QUALIFICATION || item.ALLOW_QUALIFICATION.includes("null")) {
+ 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 = '确认时间';
+ if (
+ data.statusInfo.APPLY_TYPE === "1" ||
+ data.statusInfo.APPLY_TYPE === "3"
+ ) {
+ data.dispose = "审核时间";
+ } else {
+ data.dispose = "确认时间";
}
};
fnGetData();
diff --git a/src/views/enterprise_management/user_practitioner/edit.vue b/src/views/enterprise_management/user_practitioner/edit.vue
index b93a064..ff68b23 100644
--- a/src/views/enterprise_management/user_practitioner/edit.vue
+++ b/src/views/enterprise_management/user_practitioner/edit.vue
@@ -743,14 +743,14 @@ const fnHasEmail = async (rule, value, callback) => {
if (value) {
const result = await getVerifyDuplicateEmail({
EMAIL: value,
- PHONE: data.form.PHONE
+ PHONE: data.form.PHONE,
});
- if(USER_ID) {
- if(result.pd) {
- if(result.pd.EMAIL === value && result.pd.PHONE === data.form.PHONE) {
+ if (USER_ID) {
+ if (result.pd) {
+ if (result.pd.EMAIL === value && result.pd.PHONE === data.form.PHONE) {
callback();
- }else callback(new Error("邮箱重复"))
- }else callback();
+ } else callback(new Error("邮箱重复"));
+ } else callback();
}
} else {
callback();