重新生成银行

This commit is contained in:
2025-10-21 16:57:28 +08:00
parent 24de24be52
commit e52bd384be
2 changed files with 59 additions and 4 deletions

View File

@ -10,7 +10,7 @@
import { reactive, ref,onBeforeMount,onMounted } from 'vue';
import { formProps, formEventConfigs ,formConfig} from './config';
import SimpleForm from '/@/components/SimpleForm/src/SimpleForm.vue';
import { addLngBBank, getLngBBank, updateLngBBank } from '/@/api/mdm/Bank';
import { addLngBBank, getLngBBank, updateLngBBank, deleteLngBBank } from '/@/api/mdm/Bank';
import { cloneDeep } from 'lodash-es';
import { FormDataProps } from '/@/components/Designer/src/types';
import { usePermission } from '/@/hooks/web/usePermission';
@ -201,6 +201,12 @@
systemFormRef.value,
formProps.schemas); //表单事件:加载表单
}
function getFormModel() {
return systemFormRef.value.formModel
}
async function handleDelete(id) {
return await deleteLngBBank([id]);
}
defineExpose({
setFieldsValue,
resetFields,
@ -212,5 +218,7 @@
setMenuPermission,
setWorkFlowForm,
getRowKey,
getFormModel,
handleDelete
});
</script>