提交ca
This commit is contained in:
parent
a7cac7201d
commit
68eb6569db
@ -1252,7 +1252,7 @@ const showCheckedAll=ref(true);
|
|||||||
// 异步关闭Modal需要调用 done()
|
// 异步关闭Modal需要调用 done()
|
||||||
|
|
||||||
const saveBefore=()=>{
|
const saveBefore=()=>{
|
||||||
if(oldTitle.value!=modalForm.doctor_title || isChange_license.value || isChange_qualification.value){
|
if((oldTitle.value!=modalForm.doctor_title || isChange_license.value || isChange_qualification.value) && modalForm.doctor_id){
|
||||||
okStatus.value=7
|
okStatus.value=7
|
||||||
}else{
|
}else{
|
||||||
okStatus.value=1
|
okStatus.value=1
|
||||||
@ -1261,7 +1261,7 @@ const showCheckedAll=ref(true);
|
|||||||
|
|
||||||
}
|
}
|
||||||
const handleSubmit = (done) => {
|
const handleSubmit = (done) => {
|
||||||
if(okStatus.value==1 || okStatus==7){
|
if(okStatus.value==1 || okStatus.value==7){
|
||||||
proxy.$refs.modalFormRef.validate(async (valid) => {
|
proxy.$refs.modalFormRef.validate(async (valid) => {
|
||||||
if (!valid) {
|
if (!valid) {
|
||||||
let res;
|
let res;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user