| | |
| | | import { GenerateActionButton, initRoute, OpenCustModal } from '../data'; |
| | | import LogicFlow from '@logicflow/core'; |
| | | import { isFunction } from 'xe-utils'; |
| | | import { CustModalParams } from '/@/api/tigerapi/model/systemModel'; |
| | | import { values } from 'lodash-es'; |
| | | |
| | | const { t } = useI18n(); |
| | | const { currentRoute } = useRouter(); |
| | |
| | | OpenSelectItem(openItemModal: Fn, ...args) {}, |
| | | GetSelectSuccess(d, u, ...args) {}, |
| | | GetUseForm(...args) {}, |
| | | CustFunc(param: CustModalParams) {}, |
| | | } as EntityCustFunctionType, |
| | | ]); |
| | | /* 动态import实体名.ts的自定义方法 */ |
| | |
| | | GetCustData, |
| | | OpenSelectItem: OpenSelectCust, |
| | | GetSelectSuccess, |
| | | CustFunc, |
| | | }, |
| | | ActionColumn, |
| | | ] = isNullOrUnDef(custImport.value['default']) |
| | |
| | | * @return {*} |
| | | */ |
| | | function handleSuccess(d, u) { |
| | | if(CustFunc && isFunction(CustFunc)){ |
| | | CustFunc({ |
| | | values: d, |
| | | }); |
| | | } |
| | | reload(); |
| | | } |
| | | |