区域新增表单优化
This commit is contained in:
parent
87b9e7a436
commit
6219f2675a
@ -33,7 +33,7 @@
|
|||||||
<a-button
|
<a-button
|
||||||
v-if="current == 2"
|
v-if="current == 2"
|
||||||
style="margin-left: 8px"
|
style="margin-left: 8px"
|
||||||
@click="prev"
|
@click="next"
|
||||||
>完成</a-button>
|
>完成</a-button>
|
||||||
<a-button
|
<a-button
|
||||||
type="default"
|
type="default"
|
||||||
@ -83,8 +83,14 @@ const next = () => {
|
|||||||
if (bres) current.value++;
|
if (bres) current.value++;
|
||||||
});
|
});
|
||||||
break;
|
break;
|
||||||
case 1: break;
|
case 1:
|
||||||
case 2: break;
|
formModel.value.formSave((bres, data) => {
|
||||||
|
if (bres) current.value++;
|
||||||
|
}); break;
|
||||||
|
case 2:
|
||||||
|
formModelOperateAdd.value.formSave((bres, data) => {
|
||||||
|
if (bres) current.value++;
|
||||||
|
}); break;
|
||||||
default: break
|
default: break
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user