|
@@ -93,7 +93,6 @@ export class EditScence extends SGraphScene {
|
|
};
|
|
};
|
|
set setlegend(obj: any) {
|
|
set setlegend(obj: any) {
|
|
this._legend = obj;
|
|
this._legend = obj;
|
|
- console.log('aaaaaa', obj)
|
|
|
|
}
|
|
}
|
|
/** fid=>item映射,由解析器存入 */
|
|
/** fid=>item映射,由解析器存入 */
|
|
fidToItem = {}
|
|
fidToItem = {}
|
|
@@ -426,6 +425,7 @@ export class EditScence extends SGraphScene {
|
|
*/
|
|
*/
|
|
addIconItem(event: SMouseEvent): void {
|
|
addIconItem(event: SMouseEvent): void {
|
|
//获取信息工程化相关参数
|
|
//获取信息工程化相关参数
|
|
|
|
+ const InfoSystemId = this._legend.InfoSystemId ? this._legend.InfoSystemId :''
|
|
const LegendData: Legend = {
|
|
const LegendData: Legend = {
|
|
ID: uuid(),
|
|
ID: uuid(),
|
|
Name: this._legend.Name,
|
|
Name: this._legend.Name,
|
|
@@ -446,7 +446,8 @@ export class EditScence extends SGraphScene {
|
|
sHeight: 24, //icon 的高
|
|
sHeight: 24, //icon 的高
|
|
font: 12, //font
|
|
font: 12, //font
|
|
color: '', //字体颜色
|
|
color: '', //字体颜色
|
|
- GraphCategoryId: this._legend.GraphCategoryId
|
|
|
|
|
|
+ GraphCategoryId: this._legend.GraphCategoryId,
|
|
|
|
+ InfoSystemId:InfoSystemId //信息工程话分类ID分类
|
|
},
|
|
},
|
|
}
|
|
}
|
|
const item = new SImageLegendItem(null, LegendData);
|
|
const item = new SImageLegendItem(null, LegendData);
|