fix: BUG修改
This commit is contained in:
parent
0dca61a3b5
commit
7a65a16195
@ -55,7 +55,6 @@ const allSubmit = async () => {
|
||||
};
|
||||
const next = async (data: OverviewForm | { engineeringMains: EngineeringMainList } | { annexFiles: Array<AnnexFile> }) => {
|
||||
addRepostData.value = Object.assign({}, addRepostData.value, data);
|
||||
|
||||
if (active.value >= datas.length - 1) {
|
||||
await submit();
|
||||
// router.push("/project/supervision/SupervisionRecord/index");
|
||||
@ -84,6 +83,7 @@ watch(
|
||||
emits("confirm");
|
||||
if (n) {
|
||||
active.value = 0;
|
||||
addRepostData.value = {};
|
||||
} else {
|
||||
}
|
||||
}
|
||||
|
||||
@ -336,7 +336,7 @@ const removeEngineeringSingle = (row: EngineeringSingle) => {
|
||||
i != null && form.value.engineeringSingles?.splice(i, 1);
|
||||
};
|
||||
|
||||
const next = async (formEl: FormInstance | undefined, params: any) => {
|
||||
const next = async (formEl: FormInstance | undefined) => {
|
||||
if (!formEl) return;
|
||||
await formEl.validate(async (valid, fields) => {
|
||||
if (valid) {
|
||||
|
||||
@ -190,7 +190,7 @@ const handleAddItem = () => {
|
||||
};
|
||||
// 编辑项目
|
||||
const onEdit = async row => {
|
||||
const res = await getIdEngApproveList({ id: row.id });
|
||||
const res: any = await getIdEngApproveList({ id: row.id });
|
||||
store.Message = res.result;
|
||||
approvalTitle.value = "编辑";
|
||||
detailsDialog.value = true;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user