|
@@ -211,6 +211,15 @@ export interface IProjectGljs {
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
/* 标准人材机相关 ↓ */
|
|
/* 标准人材机相关 ↓ */
|
|
|
|
|
+// 标准人材机库
|
|
|
|
|
+export interface IStdGljLib {
|
|
|
|
|
+ dispName: string;
|
|
|
|
|
+ compilationId: string;
|
|
|
|
|
+ compilationName: string;
|
|
|
|
|
+ ID: number;
|
|
|
|
|
+ rationLibs: [{ dispName: string; ID: number }];
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
// 标准、补充人材机共用属性(原始数据)
|
|
// 标准、补充人材机共用属性(原始数据)
|
|
|
export interface IBaseRationGlj {
|
|
export interface IBaseRationGlj {
|
|
|
code: string;
|
|
code: string;
|
|
@@ -275,6 +284,9 @@ export interface IStdGljTree extends ITreeScm {
|
|
|
/* 标准人材机相关 ↑ */
|
|
/* 标准人材机相关 ↑ */
|
|
|
|
|
|
|
|
/* 补充人材机相关 ↓ */
|
|
/* 补充人材机相关 ↓ */
|
|
|
|
|
+// 补充人材机库标记
|
|
|
|
|
+export const cptLibKey = 'complementaryLib';
|
|
|
|
|
+
|
|
|
// 补充人材机分类树-模板(后台设置)
|
|
// 补充人材机分类树-模板(后台设置)
|
|
|
export interface IRawCptGljTreeTemplate {
|
|
export interface IRawCptGljTreeTemplate {
|
|
|
compilationId: string;
|
|
compilationId: string;
|
|
@@ -338,6 +350,12 @@ export interface IInsertCptGlj {
|
|
|
model?: number;
|
|
model?: number;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
|
|
+// 准备组成物返回数据接口
|
|
|
|
|
+export interface IPrepareComponentResult {
|
|
|
|
|
+ displayComponents: ICptDisplayComponent[];
|
|
|
|
|
+ allowComponent: boolean;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
// 补充人材机
|
|
// 补充人材机
|
|
|
/* 补充人材机相关 ↑ */
|
|
/* 补充人材机相关 ↑ */
|
|
|
|
|
|
|
@@ -354,7 +372,7 @@ export interface ISelectGljLibItem {
|
|
|
|
|
|
|
|
// 获取人材机分页数据接口选项
|
|
// 获取人材机分页数据接口选项
|
|
|
export interface IGetPagingGljOptions {
|
|
export interface IGetPagingGljOptions {
|
|
|
- classList?: number[]; // 需要匹配的分类
|
|
|
|
|
|
|
+ classList?: (number | string)[]; // 需要匹配的分类
|
|
|
typeList?: GljType[]; // 需要匹配的人材机类型
|
|
typeList?: GljType[]; // 需要匹配的人材机类型
|
|
|
libID?: number | string; // 人材机库ID
|
|
libID?: number | string; // 人材机库ID
|
|
|
replaceGlj?: IBaseGlj; // 替换的人材机
|
|
replaceGlj?: IBaseGlj; // 替换的人材机
|
|
@@ -367,7 +385,7 @@ export interface IGetPagingGljOptions {
|
|
|
// 选择人材机接口返回数据格式
|
|
// 选择人材机接口返回数据格式
|
|
|
export interface ISelectGljResult {
|
|
export interface ISelectGljResult {
|
|
|
libData: ISelectGljLibItem[]; // 库下拉项
|
|
libData: ISelectGljLibItem[]; // 库下拉项
|
|
|
- treeData: IStdGljTree[]; // 人材机分类树
|
|
|
|
|
|
|
+ treeData: (IStdGljTree | ICptGljTree)[]; // 人材机分类树
|
|
|
gljData: (IStdGlj | ICptGlj)[]; // 人材机数据
|
|
gljData: (IStdGlj | ICptGlj)[]; // 人材机数据
|
|
|
total: number; // 当前数据总数量
|
|
total: number; // 当前数据总数量
|
|
|
locatedGlj?: IStdGlj | ICptGlj; // 需要定位到的人材机
|
|
locatedGlj?: IStdGlj | ICptGlj; // 需要定位到的人材机
|