afdi-ambition-fbim-fe
Version:
3D组态BIM编辑器
45 lines (44 loc) • 1.51 kB
TypeScript
/**deviceType */
export declare function useDeviceTypeApi(): {
/**
* thing/(DeviceType)表控制层-getDeviceTypeTree
*/
DeviceType_GetDeviceTypeTreeGET(config?: {}): Promise<IResponseListDeviceTypeTreeVO>;
/**
* thing/(DeviceType)表控制层-getDeviceTypeByCode
* @param data.code
*/
DeviceType_GetDeviceTypeByCodeGET(data: {
code: string;
}, config?: {}): Promise<IResponseDeviceTypeVO>;
/**
* thing/(DeviceType)表控制层-add
*/
DeviceType_AddPOST(data: IDeviceTypeDTO, config?: {}): Promise<IResponseString>;
/**
* thing/(DeviceType)表控制层-edit
*/
DeviceType_EditPOST(data: IDeviceTypeEditDTO, config?: {}): Promise<IResponseString>;
/**
* thing/(DeviceType)表控制层-delete
*/
DeviceType_DeletePOST(data: number[], config?: {}): Promise<IResponseString>;
/**
* thing/(DeviceType)表控制层-export
* @param data.isTemplate
*/
DeviceType_ExportGET(data: {
isTemplate?: number | string;
}, config?: {}): Promise<object>;
/**
* thing/(DeviceType)表控制层-importExcel
* @param data.file 文件
* @param data.type 1 插入操作 2 更新已有,插入新增 3 更新已有,忽悠新增
* @param data.isVerify 是否校验 0 否 1是
*/
DeviceType_ImportExcelPOST(data: {
file?: File | File[];
type?: number | string;
isVerify?: number | string;
}, config?: {}): Promise<object>;
};