瀏覽代碼

feat(types): 添加组成物参数类型

zhangweicheng 5 年之前
父節點
當前提交
acfae69949
共有 1 個文件被更改,包括 6 次插入0 次删除
  1. 6 0
      types/src/interface/glj.ts

+ 6 - 0
types/src/interface/glj.ts

@@ -368,12 +368,18 @@ export interface ISelectGljLibItem {
   located?: boolean; // 定位到的库(替换时需要)
 }
 
+export interface IAddComponentOption {
+  type: GljType;
+  gljID?: number | string;
+}
+
 // 获取人材机分页数据接口选项
 export interface IGetPagingGljOptions {
   classList?: (number | string)[]; // 需要匹配的分类
   typeList?: GljType[]; // 需要匹配的人材机类型
   libID?: number | string; // 人材机库ID
   replaceGlj?: IBaseGlj; // 替换的人材机
+  addComponent?: IAddComponentOption; // 添加组成物时的参数
   located?: boolean; // 是否需要定位(打开替换窗口时)
   limit?: number; // 分页数量
   gtCode?: string; // 分页排序$gt code