Просмотр исходного кода

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

zhangweicheng 5 лет назад
Родитель
Сommit
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