bug列表页
This commit is contained in:
parent
49f5af4751
commit
e96a907a35
@ -466,7 +466,7 @@
|
|||||||
});
|
});
|
||||||
|
|
||||||
const file = ref();
|
const file = ref();
|
||||||
const oldFrontImg='',OldBackFrontImg='',oldSignImg='';
|
const oldFrontImg=ref(''),oldBackImg=ref(''),oldSignImg=ref('');
|
||||||
const { proxy } = getCurrentInstance();
|
const { proxy } = getCurrentInstance();
|
||||||
const currentPage = ref(1);
|
const currentPage = ref(1);
|
||||||
// Pager
|
// Pager
|
||||||
@ -831,9 +831,9 @@
|
|||||||
id_card_front_list.value = transArr(id_card_front);
|
id_card_front_list.value = transArr(id_card_front);
|
||||||
id_card_back_list.value = transArr(id_card_back);
|
id_card_back_list.value = transArr(id_card_back);
|
||||||
sign_image_list.value = transArr(sign_image);
|
sign_image_list.value = transArr(sign_image);
|
||||||
oldFrontImg=id_card_front;
|
oldFrontImg.value=id_card_front;
|
||||||
OldBackFrontImg=id_card_back;
|
oldBackImg.value=id_card_back;
|
||||||
oldSignImg=sign_image;
|
oldSignImg.value=sign_image;
|
||||||
if (data.doctor_expertise && data.doctor_expertise.length > 0) {
|
if (data.doctor_expertise && data.doctor_expertise.length > 0) {
|
||||||
let arr = [];
|
let arr = [];
|
||||||
data.doctor_expertise.forEach((item) => {
|
data.doctor_expertise.forEach((item) => {
|
||||||
@ -911,15 +911,15 @@
|
|||||||
proxy.$notification.error(message);
|
proxy.$notification.error(message);
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
if(oldFrontImg && !modalForm.id_card_front){
|
if(oldFrontImg.value && !modalForm.id_card_front){
|
||||||
proxy.$notification.error("请上传医师身份证正面照片");
|
proxy.$notification.error("请上传医师身份证正面照片");
|
||||||
return false
|
return false
|
||||||
};
|
};
|
||||||
if(oldBackImg && !modalForm.id_card_back){
|
if(oldBackImg.value && !modalForm.id_card_back){
|
||||||
proxy.$notification.error("请上传医师身份证反面照片");
|
proxy.$notification.error("请上传医师身份证反面照片");
|
||||||
return false
|
return false
|
||||||
};
|
};
|
||||||
if(oldSignImg && !modalForm.sign_image){
|
if(oldSignImg.value && !modalForm.sign_image){
|
||||||
proxy.$notification.error("请上传医师手写签名照片");
|
proxy.$notification.error("请上传医师手写签名照片");
|
||||||
return false
|
return false
|
||||||
};
|
};
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user