提交 51bc4b65 编写于 作者: JunZai's avatar JunZai

update

上级 84f3be2c
...@@ -109,7 +109,11 @@ GanttElastic, ...@@ -109,7 +109,11 @@ GanttElastic,
{ {
label: '${column.getCaption()}', label: '${column.getCaption()}',
value: (task: any) => { value: (task: any) => {
<#if column.render??>
${column.render.code}
<#else>
return this.getColumnValue(task, '<#if column.getName() == "begin">start<#else>${column.getName()}</#if>') return this.getColumnValue(task, '<#if column.getName() == "begin">start<#else>${column.getName()}</#if>')
</#if>
}, },
<#if column.getName() == "text"> <#if column.getName() == "text">
expander: true, expander: true,
...@@ -173,6 +177,7 @@ GanttElastic, ...@@ -173,6 +177,7 @@ GanttElastic,
<#if node.getPSDETreeNodeDataItems()??> <#if node.getPSDETreeNodeDataItems()??>
<#list node.getPSDETreeNodeDataItems() as dataItem> <#list node.getPSDETreeNodeDataItems() as dataItem>
<#if dataItem.getDataItemParam0()?? && dataItem.getDataItemParam0().getName() == "CODELIST"> <#if dataItem.getDataItemParam0()?? && dataItem.getDataItemParam0().getName() == "CODELIST">
CODELIST
<#assign codelist = dataItem.getDataItemParam0().getPSCodeList()/> <#assign codelist = dataItem.getDataItemParam0().getPSCodeList()/>
if (Object.is(field, '${dataItem.name}')) { if (Object.is(field, '${dataItem.name}')) {
let items: any[] = this.$store.getters.getCodeList('${codelist.codeName}'); let items: any[] = this.$store.getters.getCodeList('${codelist.codeName}');
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册