/** * @description 获取数据域下业务过程关联的逻辑表个数 */ import { getUrl } from 'src/utils/getUrl'; import Request from 'src/utils/requests'; import * as defs from '../../baseClass'; export class Params { /** 数据域id */ domainId?: number; /** projectId */ projectId?: number; } export const init = undefined; export async function request(params = {}) { return Request({ url: '/api/bizProcess/countRelatedLogicTable', params, method: 'get', }); } export function createFetchAction(types, stateKey) { return (params = {}, meta?: any) => { return { types, meta, stateKey, method: 'GET', url: getUrl('/api/bizProcess/countRelatedLogicTable', params, 'GET'), params, init, }; }; }