提交 010371bf 编写于 作者: JunZai's avatar JunZai

update

上级 d5bc7a74
......@@ -191,14 +191,14 @@ GanttElastic,
this.$Notice.error({ title: "错误", desc: response.info });
return;
}
console.log(response.data);
this.tasks = [...this.tasks, ...response.data];
// const _items = response.data;
// this.formatExpanded(_items);
// resolve([..._items]);
// let isRoot = Object.is(node.level,0);
// let isSelectedAll = node.checked;
// this.setDefaultSelection(_items, isRoot, isSelectedAll);
// this.$emit("load", _items);
this.$emit("load", this.tasks);
}).catch((response: any) => {
if (response && response.status === 401) {
return;
......
......@@ -274,9 +274,9 @@ import ${srfclassname('${node.getPSAppDataEntity().codeName}')}Service from '@se
Object.assign(treeNode, { expanded: filter.isAutoexpand });
</#if>
<#if node.hasPSDETreeNodeRSs()>
Object.assign(treeNode, { collapsed: false });
<#else>
Object.assign(treeNode, { collapsed: true });
<#else>
Object.assign(treeNode, { collapsed: false });
</#if>
<#if node.isSelected()>
Object.assign(treeNode, { selected: true });
......@@ -409,9 +409,9 @@ import ${srfclassname('${node.getPSAppDataEntity().codeName}')}Service from '@se
Object.assign(treeNode, { expanded: filter.isautoexpand });
</#if>
<#if node.hasPSDETreeNodeRSs()>
Object.assign(treeNode, { collapsed: false });
<#else>
Object.assign(treeNode, { collapsed: true });
<#else>
Object.assign(treeNode, { collapsed: false });
</#if>
<#if node.isSelected()>
Object.assign(treeNode, { selected: true });
......@@ -524,9 +524,9 @@ import ${srfclassname('${node.getPSAppDataEntity().codeName}')}Service from '@se
Object.assign(treeNode, { expanded: filter.isautoexpand });
</#if>
<#if node.hasPSDETreeNodeRSs()>
Object.assign(treeNode, { collapsed: false });
<#else>
Object.assign(treeNode, { collapsed: true });
<#else>
Object.assign(treeNode, { collapsed: false });
</#if>
<#if node.getLeafFlagPSDEField()??>
let objLeafFlag = entity.${node.getLeafFlagPSDEField().codeName?lower_case};
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册