Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
提交反馈
为 GitLab 提交贡献
登录
切换导航
iBiz-Vue-R7
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
议题
22
议题
22
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
iBiz-R7前端标准模板
iBiz-Vue-R7
提交
0c510191
提交
0c510191
编写于
12月 15, 2022
作者:
Cano1997
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
delete:删除多余多语言文件
上级
f4a97d22
变更
14
展开全部
显示空白字符变更
内嵌
并排
正在显示
14 个修改的文件
包含
0 行增加
和
1076 行删除
+0
-1076
en-US-base.ts.ftl
APP/src/locale/lang/en-US-base.ts.ftl
+0
-265
zh-CN-base.ts.ftl
APP/src/locale/lang/zh-CN-base.ts.ftl
+0
-264
codelist_BO_CN.ts.ftl
APP/src/locale/lanres/codelist/codelist_BO_CN.ts.ftl
+0
-11
codelist_BO_CN_base.ts.ftl
APP/src/locale/lanres/codelist/codelist_BO_CN_base.ts.ftl
+0
-31
codelist_en_US.ts.ftl
APP/src/locale/lanres/codelist/codelist_en_US.ts.ftl
+0
-11
codelist_en_US_base.ts.ftl
APP/src/locale/lanres/codelist/codelist_en_US_base.ts.ftl
+0
-31
codelist_zh_CN.ts.ftl
APP/src/locale/lanres/codelist/codelist_zh_CN.ts.ftl
+0
-12
codelist_zh_CN_base.ts.ftl
APP/src/locale/lanres/codelist/codelist_zh_CN_base.ts.ftl
+0
-31
%DE_PKGPATH%_BO_CN.ts.ftl
...le/lanres/entities/%DE_PKGPATH%/%DE_PKGPATH%_BO_CN.ts.ftl
+0
-12
%DE_PKGPATH%_BO_CN_base.ts.ftl
...nres/entities/%DE_PKGPATH%/%DE_PKGPATH%_BO_CN_base.ts.ftl
+0
-124
%DE_PKGPATH%_en_US.ts.ftl
...le/lanres/entities/%DE_PKGPATH%/%DE_PKGPATH%_en_US.ts.ftl
+0
-12
%DE_PKGPATH%_en_US_base.ts.ftl
...nres/entities/%DE_PKGPATH%/%DE_PKGPATH%_en_US_base.ts.ftl
+0
-136
%DE_PKGPATH%_zh_CN.ts.ftl
...le/lanres/entities/%DE_PKGPATH%/%DE_PKGPATH%_zh_CN.ts.ftl
+0
-12
%DE_PKGPATH%_zh_CN_base.ts.ftl
...nres/entities/%DE_PKGPATH%/%DE_PKGPATH%_zh_CN_base.ts.ftl
+0
-124
未找到文件。
APP/src/locale/lang/en-US-base.ts.ftl
已删除
100644 → 0
浏览文件 @
f4a97d22
此差异已折叠。
点击以展开。
APP/src/locale/lang/zh-CN-base.ts.ftl
已删除
100644 → 0
浏览文件 @
f4a97d22
此差异已折叠。
点击以展开。
APP/src/locale/lanres/codelist/codelist_BO_CN.ts.ftl
已删除
100644 → 0
浏览文件 @
f4a97d22
<#ibiztemplate>
TARGET=PSSYSAPP
</#ibiztemplate>
import codelist_BO_CN_Base from './codelist_BO_CN_base';
// 基于 APP/src/locale/lanres/codelist/codelist_BO_CN.ts.ftl 生成
function getLocaleResource(){
const codelist_BO_CN_OwnData = {};
const targetData = Object.assign(codelist_BO_CN_Base(), codelist_BO_CN_OwnData);
return targetData;
}
export default getLocaleResource;
\ No newline at end of file
APP/src/locale/lanres/codelist/codelist_BO_CN_base.ts.ftl
已删除
100644 → 0
浏览文件 @
f4a97d22
<#ibiztemplate>
TARGET=PSSYSAPP
</#ibiztemplate>
import commonLogic from '@/locale/logic/common/common-logic';
<#ibizinclude>../../@MACRO/FUNC.ts</#ibizinclude>
<#assign langrestype = 'BO_CN'/>
// 基于 APP/src/locale/lanres/codelist/codelist_BO_CN_base.ts.ftl 生成
function getLocaleResourceBase(){
const data:any = {
<#if app.getAllPSAppCodeLists()??>
<#list app.getAllPSAppCodeLists() as codelist>
<#if codelist.getCodeListType() == "STATIC">
${codelist.codeName}: {
<#if codelist.getAllPSCodeItems?? && codelist.getAllPSCodeItems()??>
<#list codelist.getAllPSCodeItems() as codeitem>
"${codeitem.getValue()?j_string}": commonLogic.appcommonhandle("<@getTextLanguage codeitem langrestype />",null),
</#list>
</#if>
"empty": commonLogic.appcommonhandle("<@getEmptyTextLanguage codelist langrestype '' />",null)
},
<#elseif codelist.getCodeListType() == "DYNAMIC">
${codelist.codeName}: {
"empty": commonLogic.appcommonhandle("<@getEmptyTextLanguage codelist langrestype '' />",null),
},
</#if>
</#list>
</#if>
};
return data;
}
export default getLocaleResourceBase;
\ No newline at end of file
APP/src/locale/lanres/codelist/codelist_en_US.ts.ftl
已删除
100644 → 0
浏览文件 @
f4a97d22
<#ibiztemplate>
TARGET=PSSYSAPP
</#ibiztemplate>
import codelist_en_US_Base from './codelist_en_US_base';
// 基于 APP/src/locale/lanres/codelist/codelist_en_US.ts.ftl 生成
function getLocaleResource(){
const codelist_en_US_OwnData = {};
const targetData = Object.assign(codelist_en_US_Base(), codelist_en_US_OwnData);
return targetData;
}
export default getLocaleResource;
\ No newline at end of file
APP/src/locale/lanres/codelist/codelist_en_US_base.ts.ftl
已删除
100644 → 0
浏览文件 @
f4a97d22
<#ibiztemplate>
TARGET=PSSYSAPP
</#ibiztemplate>
import commonLogic from '@/locale/logic/common/common-logic';
<#ibizinclude>../../@MACRO/FUNC.ts</#ibizinclude>
<#assign langrestype = 'EN'/>
// 基于 APP/src/locale/lanres/codelist/codelist_en_US_base.ts.ftl 生成
function getLocaleResourceBase(){
const data:any = {
<#if app.getAllPSAppCodeLists()??>
<#list app.getAllPSAppCodeLists() as codelist>
<#if codelist.getCodeListType() == "STATIC">
${codelist.codeName}: {
<#if codelist.getAllPSCodeItems?? && codelist.getAllPSCodeItems()??>
<#list codelist.getAllPSCodeItems() as codeitem>
"${codeitem.getValue()?j_string}": commonLogic.appcommonhandle("<@getTextLanguage codeitem langrestype />",null),
</#list>
</#if>
"empty": commonLogic.appcommonhandle("<@getEmptyTextLanguage codelist langrestype '' />",null)
},
<#elseif codelist.getCodeListType() == "DYNAMIC">
${codelist.codeName}: {
"empty": commonLogic.appcommonhandle("<@getEmptyTextLanguage codelist langrestype '' />",null),
},
</#if>
</#list>
</#if>
};
return data;
}
export default getLocaleResourceBase;
\ No newline at end of file
APP/src/locale/lanres/codelist/codelist_zh_CN.ts.ftl
已删除
100644 → 0
浏览文件 @
f4a97d22
<#ibiztemplate>
TARGET=PSSYSAPP
</#ibiztemplate>
import codelist_zh_CN_Base from './codelist_zh_CN_base';
// 基于 APP/src/locale/lanres/codelist/codelist_zh_CN.ts.ftl 生成
function getLocaleResource(){
const codelist_zh_CN_OwnData = {};
const targetData = Object.assign(codelist_zh_CN_Base(), codelist_zh_CN_OwnData);
return targetData;
}
export default getLocaleResource;
\ No newline at end of file
APP/src/locale/lanres/codelist/codelist_zh_CN_base.ts.ftl
已删除
100644 → 0
浏览文件 @
f4a97d22
<#ibiztemplate>
TARGET=PSSYSAPP
</#ibiztemplate>
import commonLogic from '@/locale/logic/common/common-logic';
<#ibizinclude>../../@MACRO/FUNC.ts</#ibizinclude>
<#assign langrestype = 'ZH_CN'/>
// 基于 APP/src/locale/lanres/codelist/codelist_zh_CN_base.ts.ftl 生成
function getLocaleResourceBase(){
const data:any = {
<#if app.getAllPSAppCodeLists()??>
<#list app.getAllPSAppCodeLists() as codelist>
<#if codelist.getCodeListType() == "STATIC">
${codelist.codeName}: {
<#if codelist.getAllPSCodeItems?? && codelist.getAllPSCodeItems()??>
<#list codelist.getAllPSCodeItems() as codeitem>
"${codeitem.getValue()?j_string}": commonLogic.appcommonhandle("<@getTextLanguage codeitem langrestype />",null),
</#list>
</#if>
"empty": commonLogic.appcommonhandle("<@getEmptyTextLanguage codelist langrestype '' />",null),
},
<#elseif codelist.getCodeListType() == "DYNAMIC">
${codelist.codeName}: {
"empty": commonLogic.appcommonhandle("<@getEmptyTextLanguage codelist langrestype '' />",null),
},
</#if>
</#list>
</#if>
};
return data;
}
export default getLocaleResourceBase;
\ No newline at end of file
APP/src/locale/lanres/entities/%DE_PKGPATH%/%DE_PKGPATH%_BO_CN.ts.ftl
已删除
100644 → 0
浏览文件 @
f4a97d22
<#ibiztemplate>
TARGET=PSAPPDATAENTITY
</#ibiztemplate>
import ${item.getCodeName()}_BO_CN_Base from './${srffilepath2(item.getCodeName())}_BO_CN_base';
// 基于 APP/src/locale/lanres/entities/%DE_PKGPATH%/%DE_PKGPATH%_BO_CN.ts.ftl 生成
function getLocaleResource(){
const ${item.getCodeName()}_BO_CN_OwnData = {};
const targetData = Object.assign(${item.getCodeName()}_BO_CN_Base(), ${item.getCodeName()}_BO_CN_OwnData);
return targetData;
}
export default getLocaleResource;
\ No newline at end of file
APP/src/locale/lanres/entities/%DE_PKGPATH%/%DE_PKGPATH%_BO_CN_base.ts.ftl
已删除
100644 → 0
浏览文件 @
f4a97d22
<#ibiztemplate>
TARGET=PSAPPDATAENTITY
</#ibiztemplate>
import commonLogic from '@/locale/logic/common/common-logic';
<#ibizinclude>../../../@MACRO/FUNC.ts</#ibizinclude>
<#assign langrestype = 'BO_CN'/>
<#assign emptyText = '暂无数据'>
// 基于 APP/src/locale/lanres/entities/%DE_PKGPATH%/%DE_PKGPATH%_BO_CN_base.ts.ftl 生成
function getLocaleResourceBase(){
const data:any = {
<#-- 实体属性输出 -->
<#if item.getAllPSAppDEFields()??>
fields: {
<#list item.getAllPSAppDEFields() as field>
${field.getPSDEField().getCodeName()?lower_case}: commonLogic.appcommonhandle("<@getLogicNameLanguage field.getPSDEField() langrestype />",null),
</#list>
},
</#if>
<#-- 属性值规则输出 -->
<#-- <#if item.getPSDataEntity().getAllPSDEFValueRules?? && item.getPSDataEntity().getAllPSDEFValueRules()??>
derules:{
<#list item.getPSDataEntity().getAllPSDEFValueRules() as deValueRule>
<#if deValueRule?? && (deValueRule.isDefaultMode() == false) && deValueRule.getPSDEFVRGroupCondition?? && deValueRule.getPSDEFVRGroupCondition()?? && deValueRule.getPSDEFVRGroupCondition().getPSDEFVRConditions?? && deValueRule.getPSDEFVRGroupCondition().getPSDEFVRConditions()??>
<#assign deVRConditions = deValueRule.getPSDEFVRGroupCondition().getPSDEFVRConditions() />
<#list deVRConditions as singleCondition>
${deValueRule.getCodeName()?lower_case}<#if singleCondition.getDEFName?? && singleCondition.getDEFName()??>${singleCondition.getDEFName()?lower_case}</#if>${singleCondition.getCondType()?lower_case}:commonLogic.appcommonhandle("${singleCondition.getRuleInfo()}",null),
<#if singleCondition.getPSDEFVRConditions?? && singleCondition.getPSDEFVRConditions()??>
<#list singleCondition.getPSDEFVRConditions() as sonsingleCondition>
${deValueRule.getCodeName()?lower_case}<#if sonsingleCondition.getDEFName?? && sonsingleCondition.getDEFName()??>${sonsingleCondition.getDEFName()?lower_case}</#if>${sonsingleCondition.getCondType()?lower_case}:commonLogic.appcommonhandle("${sonsingleCondition.getRuleInfo()}",null),
</#list>
</#if>
</#list>
</#if>
</#list>
},
</#if> -->
<#-- 实体视图输出 -->
<#if item.getAllPSAppViews()??>
views: {
<#list item.getAllPSAppViews() as obj>
${obj.getPSDEViewCodeName()?lower_case}: {
caption: <#ibizinclude>../../../@MACRO/CAPTIONLANG.ts</#ibizinclude>,
title: commonLogic.appcommonhandle("<@getTitleLanguage obj langrestype />",null),
},
</#list>
},
</#if>
<#-- 实体部件输出 -->
<#if item.getPSControls()??>
<#assign ctrltypes = ['FORM', 'GRID', 'LIST', 'DATAVIEW', 'CHART','KANBAN', 'GANTT', 'TREEGRIDEX', 'SEARCHFORM', 'TOOLBAR', 'TREEVIEW', 'TREEGRIDEX', 'CALENDAR']>
<#list ctrltypes as ctrltype>
<#list item.getPSControls() as ctrl>
<#if ctrl.getControlType() == ctrltype>
<#if !P.exists(ctrltype, ctrl.getCodeName(), "_class_")>
${ctrl.getCodeName()?lower_case}_${ctrl.getControlType()?lower_case}: {
<#if ctrl.getControlType() == 'FORM' || ctrl.getControlType() == 'SEARCHFORM'>
details: {
<#list ctrl.getAllPSDEFormDetails() as obj>
${obj.name?lower_case}: <#ibizinclude>../../../@MACRO/CAPTIONLANG.ts</#ibizinclude>,
</#list>
},
</#if>
<#if ctrl.getControlType() == 'LIST' || ctrl.getControlType() == 'DATAVIEW' || ctrl.getControlType() == 'CHART' || ctrl.getControlType() == 'KANBAN'|| ctrl.getControlType() == 'GANTT' || ctrl.getControlType() == 'TREEGRIDEX' || ctrl.getControlType() == 'CALENDAR' || ctrl.getControlType() == 'TREEVIEW'>
nodata:commonLogic.appcommonhandle("<@getEmptyTextLanguage ctrl langrestype emptyText/>",null),
</#if>
<#if ctrl.getControlType() == 'GRID'>
columns: {
<#if ctrl.getAllPSDEGridColumns()??>
<#list ctrl.getAllPSDEGridColumns() as obj>
${obj.getName()?lower_case}: <#ibizinclude>../../../@MACRO/CAPTIONLANG.ts</#ibizinclude>,
</#list>
</#if>
},
nodata:commonLogic.appcommonhandle("<@getEmptyTextLanguage ctrl langrestype emptyText/>",null),
<#if ctrl.getPSDEDataExport?? && ctrl.getPSDEDataExport()?? >
exportColumns: {
<#if ctrl.getPSDEDataExport().getPSDEDataExportItems()??>
<#list ctrl.getPSDEDataExport().getPSDEDataExportItems() as obj>
${obj.getName()?lower_case}: <#ibizinclude>../../../@MACRO/CAPTIONLANG.ts</#ibizinclude>,
</#list>
</#if>
},
</#if>
</#if>
<#if ctrl.getControlType() == 'TREEVIEW'>
nodes: {
<#if ctrl.getPSDETreeNodes()??>
<#list ctrl.getPSDETreeNodes() as obj>
<#if obj.getTreeNodeType() == 'STATIC'>
${obj.getNodeType()?lower_case}: commonLogic.appcommonhandle("<@getNameLanguage obj langrestype />",null),
</#if>
</#list>
</#if>
},
</#if>
<#if ctrl.getControlType() == 'TOOLBAR'>
<#if ctrl.getAllPSDEToolbarItems()??>
<#list ctrl.getAllPSDEToolbarItems() as obj>
${obj.getName()?lower_case}: {
caption: <#ibizinclude>../../../@MACRO/CAPTIONLANG.ts</#ibizinclude>,
tip: commonLogic.appcommonhandle("<#ibizinclude>../../../@MACRO/TIPLANG.ts</#ibizinclude>",null),
},
</#list>
</#if>
</#if>
<#-- 部件界面行为 -->
<#if ctrl.getPSUIActions?? && ctrl.getPSUIActions()??>
uiactions: {
<#list ctrl.getPSUIActions() as obj>
<#if obj.getPSAppDataEntity?? && obj.getPSAppDataEntity()??>${obj.getPSAppDataEntity().getCodeName()?lower_case}_</#if>${obj.getUIActionTag()?lower_case}: <#ibizinclude>../../../@MACRO/CAPTIONLANG.ts</#ibizinclude>,
</#list>
},
</#if>
},
</#if>
</#if>
</#list>
</#list>
</#if>
};
return data;
}
export default getLocaleResourceBase;
\ No newline at end of file
APP/src/locale/lanres/entities/%DE_PKGPATH%/%DE_PKGPATH%_en_US.ts.ftl
已删除
100644 → 0
浏览文件 @
f4a97d22
<#ibiztemplate>
TARGET=PSAPPDATAENTITY
</#ibiztemplate>
import ${item.getCodeName()}_en_US_Base from './${srffilepath2(item.getCodeName())}_en_US_base';
// 基于 APP/src/locale/lanres/entities/%DE_PKGPATH%/%DE_PKGPATH%_en_US.ts.ftl 生成
function getLocaleResource(){
const ${item.getCodeName()}_en_US_OwnData = {};
const targetData = Object.assign(${item.getCodeName()}_en_US_Base(), ${item.getCodeName()}_en_US_OwnData);
return targetData;
}
export default getLocaleResource;
\ No newline at end of file
APP/src/locale/lanres/entities/%DE_PKGPATH%/%DE_PKGPATH%_en_US_base.ts.ftl
已删除
100644 → 0
浏览文件 @
f4a97d22
<#ibiztemplate>
TARGET=PSAPPDATAENTITY
</#ibiztemplate>
import commonLogic from '@/locale/logic/common/common-logic';
<#ibizinclude>../../../@MACRO/FUNC.ts</#ibizinclude>
<#assign langrestype = 'EN'/>
<#assign emptyText = 'No data.'>
// 基于 APP/src/locale/lanres/entities/%DE_PKGPATH%/%DE_PKGPATH%_en_US_base.ts.ftl 生成
function getLocaleResourceBase(){
const data:any = {
<#-- 实体属性输出 -->
<#if item.getAllPSAppDEFields()??>
fields: {
<#list item.getAllPSAppDEFields() as field>
${field.getPSDEField().getCodeName()?lower_case}: commonLogic.appcommonhandle("<@getLogicNameLanguage field.getPSDEField() langrestype />",null),
</#list>
},
</#if>
<#if item.getAllPSDEFValueRules?? && item.getAllPSDEFValueRules()??>
derules:{
<#list item.getAllPSDEFValueRules() as deValueRule>
<#if deValueRule?? && deValueRule.getPSDEFVRGroupCondition?? && deValueRule.getPSDEFVRGroupCondition()?? && deValueRule.getPSDEFVRGroupCondition().getPSDEFVRConditions?? && deValueRule.getPSDEFVRGroupCondition().getPSDEFVRConditions()??>
<#assign deVRConditions = deValueRule.getPSDEFVRGroupCondition().getPSDEFVRConditions() />
<#list deVRConditions as singleCondition>
${deValueRule.getCodeName()?lower_case}:commonLogic.appcommonhandle("${singleCondition.getRuleInfo()}",null),
</#list>
</#if>
</#list>
},
</#if>
<#-- 属性值规则输出 -->
<#-- <#if item.getPSDataEntity().getAllPSDEFValueRules?? && item.getPSDataEntity().getAllPSDEFValueRules()??>
derules:{
<#list item.getPSDataEntity().getAllPSDEFValueRules() as deValueRule>
<#if deValueRule?? && (deValueRule.isDefaultMode() == false) && deValueRule.getPSDEFVRGroupCondition?? && deValueRule.getPSDEFVRGroupCondition()?? && deValueRule.getPSDEFVRGroupCondition().getPSDEFVRConditions?? && deValueRule.getPSDEFVRGroupCondition().getPSDEFVRConditions()??>
<#assign deVRConditions = deValueRule.getPSDEFVRGroupCondition().getPSDEFVRConditions() />
<#list deVRConditions as singleCondition>
${deValueRule.getCodeName()?lower_case}<#if singleCondition.getDEFName?? && singleCondition.getDEFName()??>${singleCondition.getDEFName()?lower_case}</#if>${singleCondition.getCondType()?lower_case}:commonLogic.appcommonhandle("${singleCondition.getRuleInfo()}",null),
<#if singleCondition.getPSDEFVRConditions?? && singleCondition.getPSDEFVRConditions()??>
<#list singleCondition.getPSDEFVRConditions() as sonsingleCondition>
${deValueRule.getCodeName()?lower_case}<#if sonsingleCondition.getDEFName?? && sonsingleCondition.getDEFName()??>${sonsingleCondition.getDEFName()?lower_case}</#if>${sonsingleCondition.getCondType()?lower_case}:commonLogic.appcommonhandle("${sonsingleCondition.getRuleInfo()}",null),
</#list>
</#if>
</#list>
</#if>
</#list>
},
</#if> -->
<#-- 实体视图输出 -->
<#if item.getAllPSAppViews()??>
views: {
<#list item.getAllPSAppViews() as obj>
${obj.getPSDEViewCodeName()?lower_case}: {
caption: <#ibizinclude>../../../@MACRO/CAPTIONLANG.ts</#ibizinclude>,
title: commonLogic.appcommonhandle("<@getTitleLanguage obj langrestype />",null),
},
</#list>
},
</#if>
<#-- 实体部件输出 -->
<#if item.getPSControls()??>
<#assign ctrltypes = ['FORM', 'GRID','LIST', 'DATAVIEW', 'CHART', 'KANBAN', 'GANTT', 'TREEGRIDEX', 'SEARCHFORM', 'TOOLBAR', 'TREEVIEW', 'CALENDAR']>
<#list ctrltypes as ctrltype>
<#list item.getPSControls() as ctrl>
<#if ctrl.getControlType() == ctrltype>
<#if !P.exists(ctrltype, ctrl.getCodeName(), "_class_")>
${ctrl.getCodeName()?lower_case}_${ctrl.getControlType()?lower_case}: {
<#if ctrl.getControlType() == 'FORM' || ctrl.getControlType() == 'SEARCHFORM'>
details: {
<#list ctrl.getAllPSDEFormDetails() as obj>
${obj.name?lower_case}: <#ibizinclude>../../../@MACRO/CAPTIONLANG.ts</#ibizinclude>,
</#list>
},
</#if>
<#if ctrl.getControlType() == 'LIST' || ctrl.getControlType() == 'DATAVIEW' || ctrl.getControlType() == 'CHART'|| ctrl.getControlType() == 'KANBAN'|| ctrl.getControlType() == 'GANTT' || ctrl.getControlType() == 'TREEGRIDEX' || ctrl.getControlType() == 'CALENDAR' || ctrl.getControlType() == 'TREEVIEW'>
nodata:commonLogic.appcommonhandle("<@getEmptyTextLanguage ctrl langrestype emptyText/>",null),
</#if>
<#if ctrl.getControlType() == 'GRID'>
columns: {
<#if ctrl.getAllPSDEGridColumns()??>
<#list ctrl.getAllPSDEGridColumns() as obj>
${obj.getName()?lower_case}: <#ibizinclude>../../../@MACRO/CAPTIONLANG.ts</#ibizinclude>,
</#list>
</#if>
},
nodata:commonLogic.appcommonhandle("<@getEmptyTextLanguage ctrl langrestype emptyText/>",null),
<#if ctrl.getPSDEDataExport?? && ctrl.getPSDEDataExport()?? >
exportColumns: {
<#if ctrl.getPSDEDataExport().getPSDEDataExportItems()??>
<#list ctrl.getPSDEDataExport().getPSDEDataExportItems() as obj>
${obj.getName()?lower_case}: <#ibizinclude>../../../@MACRO/CAPTIONLANG.ts</#ibizinclude>,
</#list>
</#if>
},
</#if>
</#if>
<#if ctrl.getControlType() == 'TREEVIEW'>
nodes: {
<#if ctrl.getPSDETreeNodes()??>
<#list ctrl.getPSDETreeNodes() as obj>
<#if obj.getTreeNodeType() == 'STATIC'>
${obj.getNodeType()?lower_case}: commonLogic.appcommonhandle("<@getNameLanguage obj langrestype />",null),
</#if>
</#list>
</#if>
},
</#if>
<#if ctrl.getControlType() == 'TOOLBAR'>
<#if ctrl.getAllPSDEToolbarItems()??>
<#list ctrl.getAllPSDEToolbarItems() as obj>
${obj.getName()?lower_case}: {
caption: <#ibizinclude>../../../@MACRO/CAPTIONLANG.ts</#ibizinclude>,
tip: commonLogic.appcommonhandle("<#ibizinclude>../../../@MACRO/TIPLANG.ts</#ibizinclude>",null),
},
</#list>
</#if>
</#if>
<#-- 部件界面行为 -->
<#if ctrl.getPSUIActions?? && ctrl.getPSUIActions()??>
uiactions: {
<#list ctrl.getPSUIActions() as obj>
<#if obj.getPSAppDataEntity?? && obj.getPSAppDataEntity()??>${obj.getPSAppDataEntity().getCodeName()?lower_case}_</#if>${obj.getUIActionTag()?lower_case}: <#ibizinclude>../../../@MACRO/CAPTIONLANG.ts</#ibizinclude>,
</#list>
},
</#if>
},
</#if>
</#if>
</#list>
</#list>
</#if>
};
return data;
}
export default getLocaleResourceBase;
\ No newline at end of file
APP/src/locale/lanres/entities/%DE_PKGPATH%/%DE_PKGPATH%_zh_CN.ts.ftl
已删除
100644 → 0
浏览文件 @
f4a97d22
<#ibiztemplate>
TARGET=PSAPPDATAENTITY
</#ibiztemplate>
import ${item.getCodeName()}_zh_CN_Base from './${srffilepath2(item.getCodeName())}_zh_CN_base';
// 基于 APP/src/locale/lanres/entities/%DE_PKGPATH%/%DE_PKGPATH%_zh_CN.ts.ftl 生成
function getLocaleResource(){
const ${item.getCodeName()}_zh_CN_OwnData = {};
const targetData = Object.assign(${item.getCodeName()}_zh_CN_Base(), ${item.getCodeName()}_zh_CN_OwnData);
return targetData;
}
export default getLocaleResource;
\ No newline at end of file
APP/src/locale/lanres/entities/%DE_PKGPATH%/%DE_PKGPATH%_zh_CN_base.ts.ftl
已删除
100644 → 0
浏览文件 @
f4a97d22
<#ibiztemplate>
TARGET=PSAPPDATAENTITY
</#ibiztemplate>
import commonLogic from '@/locale/logic/common/common-logic';
<#ibizinclude>../../../@MACRO/FUNC.ts</#ibizinclude>
<#assign langrestype = 'ZH_CN'/>
<#assign emptyText = '暂无数据'>
// 基于 APP/src/locale/lanres/entities/%DE_PKGPATH%/%DE_PKGPATH%_zh_CN_base.ts.ftl 生成
function getLocaleResourceBase(){
const data:any = {
<#-- 实体属性输出 -->
<#if item.getAllPSAppDEFields()??>
fields: {
<#list item.getAllPSAppDEFields() as field>
${field.getPSDEField().getCodeName()?lower_case}: commonLogic.appcommonhandle("<@getLogicNameLanguage field.getPSDEField() langrestype />",null),
</#list>
},
</#if>
<#-- 属性值规则输出 -->
<#-- <#if item.getPSDataEntity().getAllPSDEFValueRules?? && item.getPSDataEntity().getAllPSDEFValueRules()??>
derules:{
<#list item.getPSDataEntity().getAllPSDEFValueRules() as deValueRule>
<#if deValueRule?? && (deValueRule.isDefaultMode() == false) && deValueRule.getPSDEFVRGroupCondition?? && deValueRule.getPSDEFVRGroupCondition()?? && deValueRule.getPSDEFVRGroupCondition().getPSDEFVRConditions?? && deValueRule.getPSDEFVRGroupCondition().getPSDEFVRConditions()??>
<#assign deVRConditions = deValueRule.getPSDEFVRGroupCondition().getPSDEFVRConditions() />
<#list deVRConditions as singleCondition>
${deValueRule.getCodeName()?lower_case}<#if singleCondition.getDEFName?? && singleCondition.getDEFName()??>${singleCondition.getDEFName()?lower_case}</#if>${singleCondition.getCondType()?lower_case}:commonLogic.appcommonhandle("${singleCondition.getRuleInfo()}",null),
<#if singleCondition.getPSDEFVRConditions?? && singleCondition.getPSDEFVRConditions()??>
<#list singleCondition.getPSDEFVRConditions() as sonsingleCondition>
${deValueRule.getCodeName()?lower_case}<#if sonsingleCondition.getDEFName?? && sonsingleCondition.getDEFName()??>${sonsingleCondition.getDEFName()?lower_case}</#if>${sonsingleCondition.getCondType()?lower_case}:commonLogic.appcommonhandle("${sonsingleCondition.getRuleInfo()}",null),
</#list>
</#if>
</#list>
</#if>
</#list>
},
</#if> -->
<#-- 实体视图输出 -->
<#if item.getAllPSAppViews()??>
views: {
<#list item.getAllPSAppViews() as obj>
${obj.getPSDEViewCodeName()?lower_case}: {
caption: <#ibizinclude>../../../@MACRO/CAPTIONLANG.ts</#ibizinclude>,
title: commonLogic.appcommonhandle("<@getTitleLanguage obj langrestype />",null),
},
</#list>
},
</#if>
<#-- 实体部件输出 -->
<#if item.getPSControls()??>
<#assign ctrltypes = ['FORM', 'GRID', 'LIST', 'DATAVIEW', 'CHART','KANBAN', 'GANTT', 'TREEGRIDEX', 'SEARCHFORM', 'TOOLBAR', 'TREEVIEW', 'TREEGRIDEX', 'CALENDAR']>
<#list ctrltypes as ctrltype>
<#list item.getPSControls() as ctrl>
<#if ctrl.getControlType() == ctrltype>
<#if !P.exists(ctrltype, ctrl.getCodeName(), "_class_")>
${ctrl.getCodeName()?lower_case}_${ctrl.getControlType()?lower_case}: {
<#if ctrl.getControlType() == 'FORM' || ctrl.getControlType() == 'SEARCHFORM'>
details: {
<#list ctrl.getAllPSDEFormDetails() as obj>
${obj.name?lower_case}: <#ibizinclude>../../../@MACRO/CAPTIONLANG.ts</#ibizinclude>,
</#list>
},
</#if>
<#if ctrl.getControlType() == 'LIST' || ctrl.getControlType() == 'DATAVIEW' || ctrl.getControlType() == 'CHART' || ctrl.getControlType() == 'KANBAN'|| ctrl.getControlType() == 'GANTT' || ctrl.getControlType() == 'TREEGRIDEX' || ctrl.getControlType() == 'CALENDAR' || ctrl.getControlType() == 'TREEVIEW'>
nodata:commonLogic.appcommonhandle("<@getEmptyTextLanguage ctrl langrestype emptyText/>",null),
</#if>
<#if ctrl.getControlType() == 'GRID'>
columns: {
<#if ctrl.getAllPSDEGridColumns()??>
<#list ctrl.getAllPSDEGridColumns() as obj>
${obj.getName()?lower_case}: <#ibizinclude>../../../@MACRO/CAPTIONLANG.ts</#ibizinclude>,
</#list>
</#if>
},
nodata:commonLogic.appcommonhandle("<@getEmptyTextLanguage ctrl langrestype emptyText/>",null),
<#if ctrl.getPSDEDataExport?? && ctrl.getPSDEDataExport()?? >
exportColumns: {
<#if ctrl.getPSDEDataExport().getPSDEDataExportItems()??>
<#list ctrl.getPSDEDataExport().getPSDEDataExportItems() as obj>
${obj.getName()?lower_case}: <#ibizinclude>../../../@MACRO/CAPTIONLANG.ts</#ibizinclude>,
</#list>
</#if>
},
</#if>
</#if>
<#if ctrl.getControlType() == 'TREEVIEW'>
nodes: {
<#if ctrl.getPSDETreeNodes()??>
<#list ctrl.getPSDETreeNodes() as obj>
<#if obj.getTreeNodeType() == 'STATIC'>
${obj.getNodeType()?lower_case}: commonLogic.appcommonhandle("<@getNameLanguage obj langrestype />",null),
</#if>
</#list>
</#if>
},
</#if>
<#if ctrl.getControlType() == 'TOOLBAR'>
<#if ctrl.getAllPSDEToolbarItems()??>
<#list ctrl.getAllPSDEToolbarItems() as obj>
${obj.getName()?lower_case}: {
caption: <#ibizinclude>../../../@MACRO/CAPTIONLANG.ts</#ibizinclude>,
tip: commonLogic.appcommonhandle("<#ibizinclude>../../../@MACRO/TIPLANG.ts</#ibizinclude>",null),
},
</#list>
</#if>
</#if>
<#-- 部件界面行为 -->
<#if ctrl.getPSUIActions?? && ctrl.getPSUIActions()??>
uiactions: {
<#list ctrl.getPSUIActions() as obj>
<#if obj.getPSAppDataEntity?? && obj.getPSAppDataEntity()??>${obj.getPSAppDataEntity().getCodeName()?lower_case}_</#if>${obj.getUIActionTag()?lower_case}: <#ibizinclude>../../../@MACRO/CAPTIONLANG.ts</#ibizinclude>,
</#list>
},
</#if>
},
</#if>
</#if>
</#list>
</#list>
</#if>
};
return data;
}
export default getLocaleResourceBase;
\ No newline at end of file
编辑
预览
Markdown
格式
0%
请重试
or
添加新附件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录