fix: BUG修改

This commit is contained in:
kun 2023-06-07 20:18:33 +08:00
parent 8ec68e112e
commit 5bbc60367d
6 changed files with 18 additions and 5 deletions

View File

@ -364,6 +364,8 @@ watch(
visible1.value = n;
if (n) {
getInfo();
} else {
emits("confirm");
}
}
);

View File

@ -365,6 +365,8 @@ watch(
visible1.value = n;
if (n) {
getInfo();
} else {
emits("confirm");
}
}
);

View File

@ -277,14 +277,12 @@ const singleAudit = item => {
const backAll = async () => {
const res = await allOptionAudit({ id: basicData.value.id, state: 5, type: 2 });
closeMain();
emits("confirm");
ElMessage.success("操作成功");
};
//
const allSubmit = async () => {
const res = await allOptionAudit({ id: basicData.value.id, state: 4, type: 2 });
closeMain();
emits("confirm");
ElMessage.success("操作成功");
};
//
@ -342,6 +340,8 @@ watch(
visible1.value = n;
if (n) {
getInfo();
} else {
emits("confirm");
}
}
);

View File

@ -267,6 +267,12 @@ const singleAuditSubmit = async index => {
ElMessage.success("操作成功");
}
transformDialog.value = false;
auditVisible.value = false;
dialogStyle.value = {
"min-width": "824px",
transform: "translateX(0px)"
};
getInfo();
};
//
const singleAudit = item => {
@ -278,14 +284,12 @@ const singleAudit = item => {
const backAll = async () => {
const res = await allOptionAudit({ id: basicData.value.id, state: 5, type: 1 });
closeMain();
emits("confirm");
ElMessage.success("操作成功");
};
//
const allSubmit = async () => {
const res = await allOptionAudit({ id: basicData.value.id, state: 4, type: 1 });
closeMain();
emits("confirm");
ElMessage.success("操作成功");
};
//
@ -343,6 +347,8 @@ watch(
visible1.value = n;
if (n) {
getInfo();
} else {
emits("confirm");
}
}
);

View File

@ -274,7 +274,6 @@ const reformInfo = ref({
const allSubmit = async () => {
const res = await submitAll({ id: basicData.value.id });
closeMain();
emits("confirm");
ElMessage.success("提交成功");
};
//
@ -365,6 +364,8 @@ watch(
visible1.value = n;
if (n) {
getInfo();
} else {
emits("confirm");
}
}
);

View File

@ -364,6 +364,8 @@ watch(
visible1.value = n;
if (n) {
getInfo();
} else {
emits("confirm");
}
}
);