|
@@ -280,9 +280,20 @@ const getQuery = async () => {
|
|
|
page.value--;
|
|
|
}
|
|
|
};
|
|
|
+// //确认提交
|
|
|
+// const submitForm = () => {
|
|
|
+// generalDataReception(tableForm);
|
|
|
+// };
|
|
|
//确认提交
|
|
|
+const positionSettingForm: any = ref(null);
|
|
|
const submitForm = () => {
|
|
|
- generalDataReception(tableForm);
|
|
|
+ positionSettingForm.value.validate((valid: any) => {
|
|
|
+ if (valid) {
|
|
|
+ generalDataReception(tableForm);
|
|
|
+ } else {
|
|
|
+ return false;
|
|
|
+ }
|
|
|
+ });
|
|
|
};
|
|
|
const resetTable = () => {
|
|
|
page.value = 0;
|