<#ibizinclude>
../@MACRO/MODE/MODE_HEADER.ts.ftl
</#ibizinclude>

	/**
	 * 获取数据项集合
	 *
	 * @returns {any[]}
	 * @memberof ${srfclassname('${ctrl.getCodeName()}')}${srfclassname('${ctrl.name}')}Mode
	 */
	public getDataItems(): any[] {
		return [
            <#if ctrl.getPSDEFormItems()??>
            <#list ctrl.getPSDEFormItems() as dataitem>
			{
				name: '${dataitem.getName()}',
				<#if dataitem.getPSDEField()??>
				prop: '${dataitem.getPSDEField().getCodeName()?lower_case}',
				dataType: '${dataitem.getPSDEField().getDataType()}',
				</#if>
                createdv: '${dataitem.getCreateDV()}',
                updatedv: '${dataitem.getUpdateDV()}',
				<#if dataitem.getPSCodeList()??>
				codeListId: '${dataitem.getPSCodeList().getCodeName()}',
				</#if>
			},
            </#list>
            </#if>
		]
	}

<#ibizinclude>
../@MACRO/MODE/MODE_BOTTOM.ts.ftl
</#ibizinclude>
