|
|
@@ -222,6 +222,7 @@ export interface IRawStdGljTree {
|
|
|
export interface IStdGljTree extends ITreeScm {
|
|
|
repositoryID: number;
|
|
|
name: string;
|
|
|
+ from: fromType;
|
|
|
}
|
|
|
/* 标准人材机相关 ↑ */
|
|
|
|
|
|
@@ -251,12 +252,33 @@ export interface ISelectGljLibItem {
|
|
|
key: string; // 与gljLibID拼接的形成的唯一值
|
|
|
isPrior: boolean; // 优先的
|
|
|
from: fromType;
|
|
|
+ located?: boolean; // 定位到的库(替换时需要)
|
|
|
+}
|
|
|
+
|
|
|
+// 选择人材机-需要替换人材机接口
|
|
|
+export interface IGetPagingGljReplaceGlj extends IBaseGlj {
|
|
|
+ repositoryID: number | string;
|
|
|
+ from: fromType;
|
|
|
+}
|
|
|
+
|
|
|
+// 获取人材机分页数据接口选项
|
|
|
+export interface IGetPagingGljOptions {
|
|
|
+ classList?: number[]; // 需要匹配的分类
|
|
|
+ typeList?: GljType[]; // 需要匹配的人材机类型
|
|
|
+ libID?: number | string; // 人材机库ID
|
|
|
+ replaceGlj?: IGetPagingGljReplaceGlj; // 替换的人材机
|
|
|
+ located?: boolean; // 是否需要定位(打开替换窗口时)
|
|
|
+ limit?: number; // 分页数量
|
|
|
+ gtCode?: string; // 分页排序$gt code
|
|
|
+ search?: string; // 搜索的内容(匹配编号、名称)
|
|
|
}
|
|
|
|
|
|
// 选择人材机接口返回数据格式
|
|
|
export interface ISelectGljResult {
|
|
|
libData: ISelectGljLibItem[]; // 库下拉项
|
|
|
treeData: IStdGljTree[]; // 人材机分类树
|
|
|
+ gljData: (IStdGlj | ICptGlj)[]; // 人材机数据
|
|
|
+ total: number; // 当前数据总数量
|
|
|
}
|
|
|
|
|
|
/* 选择人材机相关 ↑ */
|