提交 2e38a205 编写于 作者: ibizdev's avatar ibizdev

tony001 发布系统代码 [后台服务,演示应用]

上级 381a759a
......@@ -171,7 +171,7 @@ export default class AppPanelField extends Vue {
get error() {
const layoutModel = this.layoutModelDetails[this.itemName];
if (layoutModel) {
return layoutModel.error || `${this.caption} 值不能为空!`;
return layoutModel.error || `${this.caption} ${this.$t('app.commonWords.valueNotEmpty')}`;
}
}
......
......@@ -12,7 +12,7 @@
:filterable="filterable"
@on-open-change="onClick"
:placeholder="placeholder?placeholder:$t('components.dropDownListMpicker.placeholder')">
<i-option v-for="(item, index) in items" :key="index" :class="item.class" :value="item.value ? item.value.toString():''" :label="item.text">
<i-option v-for="(item, index) in items" :key="index" :class="item.class" :value="item.value ? item.value.toString():''" :label="item.textLanRes ? $t(item.textLanRes, item.text) : item.text">
<Checkbox :value="(currentVal.indexOf(item.value ? item.value.toString() : '')) == -1 ? false : true">
{{item.textLanRes ? $t(item.textLanRes, item.text) : item.text}}
</Checkbox>
......
// 基于 APP/src/locale/lang/en-US-base.ts.ftl 生成
function getLocaleResource(){
const data:any = {
'MENUITEM.CAPTION.DEFAULTDATATYPE': 'Default Data Type',
'MENUITEM.CAPTION.DYNAMICNODEENTITY': 'Dynamic Node (entity)',
'MENUITEM.CAPTION.LIST': 'List',
'MENUITEM.CAPTION.ENTITYDATAVIEW': 'Entity Data View',
'MENUITEM.CAPTION.KANBANVIEW': 'Kanban View',
'TBB.TEXT.*.HELP': 'Help',
'MENUITEM.CAPTION.MULTIFORMTOPPAGE': 'Multi Form (top page)',
'MENUITEM.CAPTION.*.EXPORTSRF': 'Export Data Model',
'TBB.TEXT.*.EXPORT': 'Export',
'MENUITEM.CAPTION.ENTITYKANBANVIEW': 'Entity Kanban View',
'CONTROL.ORDERNAME': 'Order Name',
'MENUITEM.CAPTION.APPLICATIONFUNCTION': 'Application Function',
'OTHER.IBIZSAMPLE0003STABEXPVIEW.TABVIEWPANEL': 'UniProduct',
'TBB.TOOLTIP.*.STARTWF': 'Start workflow',
'MENUITEM.CAPTION.FORMVALUERULE': 'Form Value Rule',
'TBB.TOOLTIP.*.EDIT': 'Edit {0}',
'MENUITEM.CAPTION.INDEXENTITY': 'Index Entity',
'MENUITEM.CAPTION.TREENAVIGARION': 'Tree Navigation',
'TBB.TOOLTIP.EDITVIEW.REMOVEANDCLOSE': 'Remove And Close Window',
'MENUITEM.CAPTION.DATACHART': 'Data Chart',
'MENUITEM.CAPTION.DYNAMICENABLE': 'DynamicEnable',
'MENUITEM.CAPTION.CODETABLEGROUP': 'Code Table Grouping',
'MENUITEM.CAPTION.TEMPORARYMODE': 'Temporary Mode',
'MENUITEM.CAPTION.WIZARDPANEL': 'Wizard Panel',
'PAGE.TITLE.WEB.PORTAL': 'no datas',
'TBB.TEXT.*.EDIT': 'Edit',
'MENUITEM.CAPTION.RIGHTCLICKOPERATION': 'RightClickOperation',
'MENUITEM.CAPTION.MULTIDATACLASS': 'Multi Data Class',
'TBB.TOOLTIP.*.FILTER': 'Filter',
'MENUITEM.CAPTION.DATAKANBAN': 'Data Kanban',
'OTHER.IBIZSAMPLE0003STABEXPVIEW.TABVIEWPANEL2': 'Hardware',
'MENUITEM.CAPTION.TABLENAVIGATION': 'Grid Navigation',
'MENUITEM.CAPTION.DATARELATIONPAGING': 'Data Relation Paging',
'MENUITEM.CAPTION.FORMVALUERESRT': 'Form Value Reset',
'MENUITEM.CAPTION.AUTOMATICGROUP': 'Automatic Grouping',
'MENUITEM.CAPTION.AUXILIARYINPUT': 'AuxiliaryInput',
'MENUITEM.CAPTION.EXTENSIONEDITOR': 'Extension Editor',
'TBB.TEXT.EDITVIEW.SAVEANDNEW': 'Save And New',
'TBB.TEXT.*.PRINT': 'Print',
'MENUITEM.CAPTION.CUSTOMVIEW': 'Custom View',
'MENUITEM.CAPTION.MICROSERVICECOMPONENT': 'Micro service Component',
'TBB.TOOLTIP.*.REMOVE': 'Remove {0}',
'MENUITEM.CAPTION.NAVIGATIONCLASS': 'Navigation Class',
'TBB.TEXT.*.STARTWF': 'Start workflow',
'MENUITEM.CAPTION.BARCHART': 'Bar Chart',
'MENUITEM.CAPTION.SELECTVIEW': 'Select View',
'MENUITEM.CAPTION.NEWDEFAULT': 'New Default',
'MENUITEM.CAPTION.ENTITYOPTIONOPRATIONVIEW': 'Entity Options Operations View',
'MENUITEM.CAPTION.DATAVIEW': 'Data View',
'MENUITEM.CAPTION.ENTITYTREENAVIGATIONVIEW': 'Entity Tree Navigation View',
'TBB.TEXT.*.VIEWWFSTEP': 'Workflow step',
'MENUITEM.CAPTION.DYNAMICDISPLAY': 'DynamicDisplay',
'MENUITEM.CAPTION.MAINSTATE': 'Main State',
'MENUITEM.CAPTION.CARDNAVIGATION': 'Card Navigation',
'MENUITEM.CAPTION.SINGLEDATACLASS': 'Single Data Class',
'MENUITEM.CAPTION.REGIONALCHART': 'RegionalChart',
'MENUITEM.CAPTION.TIMELINESTYLE': 'Timeline Style',
'MENUITEM.CAPTION.ENTITYTREEGRIDVIEW': 'Entity Tree Grid View',
'TBB.TEXT.*.VIEW': 'View',
'TBB.TEXT.*.SAVE': 'Save',
'MENUITEM.CAPTION.TABLECOLUMNRESET': 'Grid Column Reset',
'MENUITEM.CAPTION.DYNAMICNULLINPUT': 'DynamicNullInput',
'MENUITEM.CAPTION.PANELCLASS': 'Panel Class',
'MENUITEM.CAPTION.ENTITYDATAKANBANVIEW': 'Entity Data Kanban View',
'MENUITEM.CAPTION.LOGIC': 'Logic',
'MENUITEM.CAPTION.WORKFLOWSTART': 'Workflow Start',
'MENUITEM.CAPTION.TREEGRID': 'Tree Grid',
'TBB.TEXT.*.FILTER': 'Filter',
'MENUITEM.CAPTION.CONTROL': 'Control',
'MENUITEM.CAPTION.ENTITYGRANTTVIEW': 'Entity Gantt View',
'TBB.TOOLTIP.*.NEW': 'New',
'MENUITEM.CAPTION.UPDATEDEFAULT': 'Update Default',
'MENUITEM.CAPTION.NAVIGATIONVIEW': 'Navigation View',
'MENUITEM.CAPTION.PAGENAVIGATION': 'Paging Navigation',
'MENUITEM.CAPTION.FORMITEMUPDATE': 'Form Item Update',
'MENUITEM.CAPTION.DATASELECTIONVIEW': 'Data Selection View',
'MENUITEM.CAPTION.ENTITYEDITVIEWUD': 'Entity Editing View (up-down relationship)',
'TBB.TEXT.*.REMOVE': 'Remove',
'MENUITEM.CAPTION.EXECUTINGJAVASCRIPT': 'Executing JavaScript',
'MENUITEM.CAPTION.INPUTPROMPT': 'InputPrompt',
'MENUITEM.CAPTION.ENTITYLISTNAVIGATIONVIEW': 'Entity List Navigation View',
'MENUITEM.CAPTION.ENTITYGRIDVIEW': 'Entity Grid View',
'DE.LNAME.IBIZORDERDETAIL': 'orderdetail',
'MENUITEM.CAPTION.TIMELINENAVIGATION': 'Timeline Navigation',
'MENUITEM.CAPTION.HYPERLINKS': 'Hyperlinks',
'TBB.TOOLTIP.*.HELP': 'Help',
'MENUITEM.CAPTION.TBALECOLUMNUPDATE': 'Table Column Update',
'MENUITEM.CAPTION.LINECHART': 'Line Chart',
'MENUITEM.CAPTION.OPENAPPLICATIONVIEW': 'Open Application View',
'TBB.TEXT.*.COPY': 'Copy',
'MENUITEM.CAPTION.CUSTOMPLUGIN': 'Custom Plug In',
'MENUITEM.CAPTION.GANTTCHART': 'GanttChart',
'MENUITEM.CAPTION.SELECTVIEWPANEL': 'Select View Panel',
'MENUITEM.CAPTION.RADARCHART': 'Radar Chart',
'MENUITEM.CAPTION.DATARELATIONBAPAGE': 'Data Relation Bar (pagination relation)',
'MENUITEM.CAPTION.ENTITYEDITVIEW': 'Entity Edit View',
'MENUITEM.CAPTION.REMOTEAGGREGATION': 'Remote Aggregation',
'MENUITEM.CAPTION.LISTMAINSTATE': 'List Main State',
'MENUITEM.CAPTION.CURRENTPAGEAGGREGATION': 'Current Page Aggregation',
'MENUITEM.CAPTION.DYNAMICNODECODETABLE': 'Dynamic Node (code table)',
'MENUITEM.CAPTION.BACKGROUNDINTERFACEBEHAVIOR': 'Background Interface Behavior',
'MENUITEM.CAPTION.ENTITYWIZARDVIEW': 'Entity Wizard View',
'MENUITEM.CAPTION.ENTITYLISTVIEW': 'Entity List View',
'TBB.TOOLTIP.*.EXPORT': 'Export {0} Data To Excel',
'TBB.TEXT.EDITVIEW.SAVEANDCLOSE': 'Save And Close',
'TBB.TOOLTIP.EDITVIEW.SAVEANDNEW': 'Save And New',
'MENUITEM.CAPTION.LISTNAVIGATION': 'List Navigation',
'CL.ITEM.LNAME.KIND2': 'kind2',
'MENUITEM.CAPTION.CALENDARNAVIGATION': 'Calendar Navigation',
'MENUITEM.CAPTION.AUTOFILL': 'Auto Fill',
'MENUITEM.CAPTION.ENTITYGRIDNAVIGATIONVIEW': 'Entity Grid Navigation View',
'MENUITEM.CAPTION.WORKFLOWDYNAMICNAVIGATIONVIEW': 'Workflow Dynamic Navigation View',
'MENUITEM.CAPTION.ENTITYEDITVIEWLF': 'Entity Editing View (left-right relationship)',
'MENUITEM.CAPTION.PORTALCOMPONENTS': 'Portal Components',
'MENUITEM.CAPTION.PIECHART': 'PieChart',
'MENUITEM.CAPTION.ENTITYCARDNAVIGATIONVIEW': 'Entity Card Navigation View',
'MENUITEM.CAPTION.INTERFACEBEHAVIOR': 'Interface Behavior',
'MENUITEM.CAPTION.BUILTINFEATURES': 'Built In Features',
'MENUITEM.CAPTION.APPLICATIONCLASS': 'Application Class',
'MENUITEM.CAPTION.STATICNODE': 'Static Node',
'MENUITEM.CAPTION.MORE': 'More',
'MENUITEM.CAPTION.ITEMLAYOUTPANEL': 'Item Layout Panel',
'MENUITEM.CAPTION.WORKBENCH': 'Work bench',
'MENUITEM.CAPTION.VIEW': 'View',
'OTHER.BUTTONTSET': 'Test the multilingual button',
'MENUITEM.CAPTION.WORKFLOW': 'Workflow',
'MENUITEM.CAPTION.MULTIFORMROWRECORDS': 'Multiple Forms (row records)',
'TBB.TOOLTIP.*.SAVE': 'Save',
'MENUITEM.CAPTION.DATAIMPORTANDEXPORT': 'Data Import And Export',
'MENUITEM.CAPTION.STATEPROPERTIES': 'State Properties',
'MENUITEM.CAPTION.BASICFORMITEM': 'Basic Form Item',
'MENUITEM.CAPTION.TABLEVALUERULES': 'Table Value Rules',
'TBB.TOOLTIP.*.COPY': 'Copy {0}',
'MENUITEM.CAPTION.CALENDARMAINSTATE': 'Calendar Main State',
'TBB.TOOLTIP.*.VIEW': 'View {0}',
'MENUITEM.CAPTION.SEARCHFORM': 'Search Form',
'TBB.TOOLTIP.*.PRINT': 'Print',
'MENUITEM.CAPTION.EDITORPLUGINEXAMPLE': 'Editor PlugIn Example',
'MENUITEM.CAPTION.OTHERVIEWS': 'Other Views',
'MENUITEM.CAPTION.CALENDAR': 'Calendar',
'TBB.TEXT.*.OTHER': 'Other',
'TBB.TEXT.*.NEW': 'New',
'MENUITEM.CAPTION.BASICUSAGE': 'BasicUsage',
'MENUITEM.CAPTION.TABLEROWEDITING': 'TableRowEditing',
'MENUITEM.CAPTION.ENTITYMULTIFORMEDITVIEW': 'Entity Multi Form Edit View',
'MENUITEM.CAPTION.DATARELATIONCOLUMN': 'Data Relation Column',
'OTHER.IBIZSAMPLE0003STABEXPVIEW.TABVIEWPANEL3': 'SoftwareSuit',
'MENUITEM.CAPTION.SINGLEDATAVIEW': 'Single Data View',
'MENUITEM.CAPTION.ENTITYEDITVIEWPAGE': 'Entity Edit View (pagination relations)',
'CL.ITEM.LNAME.KIND1': 'kind1',
'MENUITEM.CAPTION.ENTITYCALENDARNAVIGATIONVIEW': 'Entity Calendar Navigation View',
'MENUITEM.CAPTION.DEFAULTEDITORTYPE': 'Default Editor Type',
'MENUITEM.CAPTION.INDEXSELECTIONVIEW': 'Index Selection View',
'MENUITEM.CAPTION.FRONTENDINTERFACEBEHAVIOR': 'Front End Interface Behavior',
'TBB.TOOLTIP.EDITVIEW.SAVEANDCLOSE': 'Save And Close Window',
'PAGE.TITLE.WEB.APPPORTALVIEW2': 'View Text',
'MENUITEM.CAPTION.MULTIEDITVIEWPANEL': 'Multi Edit View Panel',
'MENUITEM.CAPTION.ENTITYTREEVIEW': 'Entity Tree View',
'MENUITEM.CAPTION.ENTITYCHARTVIEW': 'Entity Chart View',
'TBB.TEXT.EDITVIEW.REMOVEANDCLOSE': 'Remove And Close',
'MENUITEM.CAPTION.ENTITYPAGINATIONNAVIGATIONVIEW': 'Entity Pagination Navigation View',
'MENUITEM.CAPTION.DATARELATIONUD': 'Data Relation Bar(up and down relationship)',
'MENUITEM.CAPTION.GRIDMAINSTATE': 'Grid Main State',
'MENUITEM.CAPTION.PARTS': 'Parts',
'MENUITEM.CAPTION.GRID': 'Grid',
'MENUITEM.CAPTION.MULTIDATAVIEW': 'Multi Data View',
'MENUITEM.CAPTION.EDITFORM': 'Edit Form',
'MENUITEM.CAPTION.DATAMAINSTATE': 'Data Main State',
'MENUITEM.CAPTION.ENTITYCALENDARVIEW': 'Entity Calendar View',
'MENUITEM.CAPTION.TREEVIEW': 'Tree View',
'PAGE.INDEX': 'R7 Vue Demo',
'MENUITEM.CAPTION.TREEMAINSTATE': 'Tree Main State',
'CL.ITEM.LNAME.KIND3': 'kind3',
'MENUITEM.CAPTION.OPENHTMLPAGE': 'Open HTML Page',
};
return data;
}
export default getLocaleResource;
\ No newline at end of file
// 基于 APP/src/locale/lang/en-US.ts.ftl 生成
import getCustomLocaleResource from '../custom/custom_en_US';
import getBaseLocaleResource from './en-US-base';
function getLocaleResource(){
const data:any = {
app: {
app: {
commonWords:{
error: "Error",
success: "Success",
......@@ -641,180 +642,7 @@ function getLocaleResource(){
},
},
custom: getCustomLocaleResource(),
'MENUITEM.CAPTION.DEFAULTDATATYPE': 'Default Data Type',
'MENUITEM.CAPTION.DYNAMICNODEENTITY': 'Dynamic Node (entity)',
'MENUITEM.CAPTION.LIST': 'List',
'MENUITEM.CAPTION.ENTITYDATAVIEW': 'Entity Data View',
'MENUITEM.CAPTION.KANBANVIEW': 'Kanban View',
'TBB.TEXT.*.HELP': 'Help',
'MENUITEM.CAPTION.MULTIFORMTOPPAGE': 'Multi Form (top page)',
'MENUITEM.CAPTION.*.EXPORTSRF': 'Export Data Model',
'TBB.TEXT.*.EXPORT': 'Export',
'MENUITEM.CAPTION.ENTITYKANBANVIEW': 'Entity Kanban View',
'CONTROL.ORDERNAME': 'Order Name',
'MENUITEM.CAPTION.APPLICATIONFUNCTION': 'Application Function',
'OTHER.IBIZSAMPLE0003STABEXPVIEW.TABVIEWPANEL': 'UniProduct',
'TBB.TOOLTIP.*.STARTWF': 'Start workflow',
'MENUITEM.CAPTION.FORMVALUERULE': 'Form Value Rule',
'TBB.TOOLTIP.*.EDIT': 'Edit {0}',
'MENUITEM.CAPTION.INDEXENTITY': 'Index Entity',
'MENUITEM.CAPTION.TREENAVIGARION': 'Tree Navigation',
'TBB.TOOLTIP.EDITVIEW.REMOVEANDCLOSE': 'Remove And Close Window',
'MENUITEM.CAPTION.DATACHART': 'Data Chart',
'MENUITEM.CAPTION.DYNAMICENABLE': 'DynamicEnable',
'MENUITEM.CAPTION.CODETABLEGROUP': 'Code Table Grouping',
'MENUITEM.CAPTION.TEMPORARYMODE': 'Temporary Mode',
'MENUITEM.CAPTION.WIZARDPANEL': 'Wizard Panel',
'PAGE.TITLE.WEB.PORTAL': 'no datas',
'TBB.TEXT.*.EDIT': 'Edit',
'MENUITEM.CAPTION.RIGHTCLICKOPERATION': 'RightClickOperation',
'MENUITEM.CAPTION.MULTIDATACLASS': 'Multi Data Class',
'TBB.TOOLTIP.*.FILTER': 'Filter',
'MENUITEM.CAPTION.DATAKANBAN': 'Data Kanban',
'OTHER.IBIZSAMPLE0003STABEXPVIEW.TABVIEWPANEL2': 'Hardware',
'MENUITEM.CAPTION.TABLENAVIGATION': 'Grid Navigation',
'MENUITEM.CAPTION.DATARELATIONPAGING': 'Data Relation Paging',
'MENUITEM.CAPTION.FORMVALUERESRT': 'Form Value Reset',
'MENUITEM.CAPTION.AUTOMATICGROUP': 'Automatic Grouping',
'MENUITEM.CAPTION.AUXILIARYINPUT': 'AuxiliaryInput',
'MENUITEM.CAPTION.EXTENSIONEDITOR': 'Extension Editor',
'TBB.TEXT.EDITVIEW.SAVEANDNEW': 'Save And New',
'TBB.TEXT.*.PRINT': 'Print',
'MENUITEM.CAPTION.CUSTOMVIEW': 'Custom View',
'MENUITEM.CAPTION.MICROSERVICECOMPONENT': 'Micro service Component',
'TBB.TOOLTIP.*.REMOVE': 'Remove {0}',
'MENUITEM.CAPTION.NAVIGATIONCLASS': 'Navigation Class',
'TBB.TEXT.*.STARTWF': 'Start workflow',
'MENUITEM.CAPTION.BARCHART': 'Bar Chart',
'MENUITEM.CAPTION.SELECTVIEW': 'Select View',
'MENUITEM.CAPTION.NEWDEFAULT': 'New Default',
'MENUITEM.CAPTION.ENTITYOPTIONOPRATIONVIEW': 'Entity Options Operations View',
'MENUITEM.CAPTION.DATAVIEW': 'Data View',
'MENUITEM.CAPTION.ENTITYTREENAVIGATIONVIEW': 'Entity Tree Navigation View',
'TBB.TEXT.*.VIEWWFSTEP': 'Workflow step',
'MENUITEM.CAPTION.DYNAMICDISPLAY': 'DynamicDisplay',
'MENUITEM.CAPTION.MAINSTATE': 'Main State',
'MENUITEM.CAPTION.CARDNAVIGATION': 'Card Navigation',
'MENUITEM.CAPTION.SINGLEDATACLASS': 'Single Data Class',
'MENUITEM.CAPTION.REGIONALCHART': 'RegionalChart',
'MENUITEM.CAPTION.TIMELINESTYLE': 'Timeline Style',
'MENUITEM.CAPTION.ENTITYTREEGRIDVIEW': 'Entity Tree Grid View',
'TBB.TEXT.*.VIEW': 'View',
'TBB.TEXT.*.SAVE': 'Save',
'MENUITEM.CAPTION.TABLECOLUMNRESET': 'Grid Column Reset',
'MENUITEM.CAPTION.DYNAMICNULLINPUT': 'DynamicNullInput',
'MENUITEM.CAPTION.PANELCLASS': 'Panel Class',
'MENUITEM.CAPTION.ENTITYDATAKANBANVIEW': 'Entity Data Kanban View',
'MENUITEM.CAPTION.LOGIC': 'Logic',
'MENUITEM.CAPTION.WORKFLOWSTART': 'Workflow Start',
'MENUITEM.CAPTION.TREEGRID': 'Tree Grid',
'TBB.TEXT.*.FILTER': 'Filter',
'MENUITEM.CAPTION.CONTROL': 'Control',
'MENUITEM.CAPTION.ENTITYGRANTTVIEW': 'Entity Gantt View',
'TBB.TOOLTIP.*.NEW': 'New',
'MENUITEM.CAPTION.UPDATEDEFAULT': 'Update Default',
'MENUITEM.CAPTION.NAVIGATIONVIEW': 'Navigation View',
'MENUITEM.CAPTION.PAGENAVIGATION': 'Paging Navigation',
'MENUITEM.CAPTION.FORMITEMUPDATE': 'Form Item Update',
'MENUITEM.CAPTION.DATASELECTIONVIEW': 'Data Selection View',
'MENUITEM.CAPTION.ENTITYEDITVIEWUD': 'Entity Editing View (up-down relationship)',
'TBB.TEXT.*.REMOVE': 'Remove',
'MENUITEM.CAPTION.EXECUTINGJAVASCRIPT': 'Executing JavaScript',
'MENUITEM.CAPTION.INPUTPROMPT': 'InputPrompt',
'MENUITEM.CAPTION.ENTITYLISTNAVIGATIONVIEW': 'Entity List Navigation View',
'MENUITEM.CAPTION.ENTITYGRIDVIEW': 'Entity Grid View',
'DE.LNAME.IBIZORDERDETAIL': 'orderdetail',
'MENUITEM.CAPTION.TIMELINENAVIGATION': 'Timeline Navigation',
'MENUITEM.CAPTION.HYPERLINKS': 'Hyperlinks',
'TBB.TOOLTIP.*.HELP': 'Help',
'MENUITEM.CAPTION.TBALECOLUMNUPDATE': 'Table Column Update',
'MENUITEM.CAPTION.LINECHART': 'Line Chart',
'MENUITEM.CAPTION.OPENAPPLICATIONVIEW': 'Open Application View',
'TBB.TEXT.*.COPY': 'Copy',
'MENUITEM.CAPTION.CUSTOMPLUGIN': 'Custom Plug In',
'MENUITEM.CAPTION.GANTTCHART': 'GanttChart',
'MENUITEM.CAPTION.SELECTVIEWPANEL': 'Select View Panel',
'MENUITEM.CAPTION.RADARCHART': 'Radar Chart',
'MENUITEM.CAPTION.DATARELATIONBAPAGE': 'Data Relation Bar (pagination relation)',
'MENUITEM.CAPTION.ENTITYEDITVIEW': 'Entity Edit View',
'MENUITEM.CAPTION.REMOTEAGGREGATION': 'Remote Aggregation',
'MENUITEM.CAPTION.LISTMAINSTATE': 'List Main State',
'MENUITEM.CAPTION.CURRENTPAGEAGGREGATION': 'Current Page Aggregation',
'MENUITEM.CAPTION.DYNAMICNODECODETABLE': 'Dynamic Node (code table)',
'MENUITEM.CAPTION.BACKGROUNDINTERFACEBEHAVIOR': 'Background Interface Behavior',
'MENUITEM.CAPTION.ENTITYWIZARDVIEW': 'Entity Wizard View',
'MENUITEM.CAPTION.ENTITYLISTVIEW': 'Entity List View',
'TBB.TOOLTIP.*.EXPORT': 'Export {0} Data To Excel',
'TBB.TEXT.EDITVIEW.SAVEANDCLOSE': 'Save And Close',
'TBB.TOOLTIP.EDITVIEW.SAVEANDNEW': 'Save And New',
'MENUITEM.CAPTION.LISTNAVIGATION': 'List Navigation',
'CL.ITEM.LNAME.KIND2': 'kind2',
'MENUITEM.CAPTION.CALENDARNAVIGATION': 'Calendar Navigation',
'MENUITEM.CAPTION.AUTOFILL': 'Auto Fill',
'MENUITEM.CAPTION.ENTITYGRIDNAVIGATIONVIEW': 'Entity Grid Navigation View',
'MENUITEM.CAPTION.WORKFLOWDYNAMICNAVIGATIONVIEW': 'Workflow Dynamic Navigation View',
'MENUITEM.CAPTION.ENTITYEDITVIEWLF': 'Entity Editing View (left-right relationship)',
'MENUITEM.CAPTION.PORTALCOMPONENTS': 'Portal Components',
'MENUITEM.CAPTION.PIECHART': 'PieChart',
'MENUITEM.CAPTION.ENTITYCARDNAVIGATIONVIEW': 'Entity Card Navigation View',
'MENUITEM.CAPTION.INTERFACEBEHAVIOR': 'Interface Behavior',
'MENUITEM.CAPTION.BUILTINFEATURES': 'Built In Features',
'MENUITEM.CAPTION.APPLICATIONCLASS': 'Application Class',
'MENUITEM.CAPTION.STATICNODE': 'Static Node',
'MENUITEM.CAPTION.MORE': 'More',
'MENUITEM.CAPTION.ITEMLAYOUTPANEL': 'Item Layout Panel',
'MENUITEM.CAPTION.WORKBENCH': 'Work bench',
'MENUITEM.CAPTION.VIEW': 'View',
'OTHER.BUTTONTSET': 'Test the multilingual button',
'MENUITEM.CAPTION.WORKFLOW': 'Workflow',
'MENUITEM.CAPTION.MULTIFORMROWRECORDS': 'Multiple Forms (row records)',
'TBB.TOOLTIP.*.SAVE': 'Save',
'MENUITEM.CAPTION.DATAIMPORTANDEXPORT': 'Data Import And Export',
'MENUITEM.CAPTION.STATEPROPERTIES': 'State Properties',
'MENUITEM.CAPTION.BASICFORMITEM': 'Basic Form Item',
'MENUITEM.CAPTION.TABLEVALUERULES': 'Table Value Rules',
'TBB.TOOLTIP.*.COPY': 'Copy {0}',
'MENUITEM.CAPTION.CALENDARMAINSTATE': 'Calendar Main State',
'TBB.TOOLTIP.*.VIEW': 'View {0}',
'MENUITEM.CAPTION.SEARCHFORM': 'Search Form',
'TBB.TOOLTIP.*.PRINT': 'Print',
'MENUITEM.CAPTION.EDITORPLUGINEXAMPLE': 'Editor PlugIn Example',
'MENUITEM.CAPTION.OTHERVIEWS': 'Other Views',
'MENUITEM.CAPTION.CALENDAR': 'Calendar',
'TBB.TEXT.*.OTHER': 'Other',
'TBB.TEXT.*.NEW': 'New',
'MENUITEM.CAPTION.BASICUSAGE': 'BasicUsage',
'MENUITEM.CAPTION.TABLEROWEDITING': 'TableRowEditing',
'MENUITEM.CAPTION.ENTITYMULTIFORMEDITVIEW': 'Entity Multi Form Edit View',
'MENUITEM.CAPTION.DATARELATIONCOLUMN': 'Data Relation Column',
'OTHER.IBIZSAMPLE0003STABEXPVIEW.TABVIEWPANEL3': 'SoftwareSuit',
'MENUITEM.CAPTION.SINGLEDATAVIEW': 'Single Data View',
'MENUITEM.CAPTION.ENTITYEDITVIEWPAGE': 'Entity Edit View (pagination relations)',
'CL.ITEM.LNAME.KIND1': 'kind1',
'MENUITEM.CAPTION.ENTITYCALENDARNAVIGATIONVIEW': 'Entity Calendar Navigation View',
'MENUITEM.CAPTION.DEFAULTEDITORTYPE': 'Default Editor Type',
'MENUITEM.CAPTION.INDEXSELECTIONVIEW': 'Index Selection View',
'MENUITEM.CAPTION.FRONTENDINTERFACEBEHAVIOR': 'Front End Interface Behavior',
'TBB.TOOLTIP.EDITVIEW.SAVEANDCLOSE': 'Save And Close Window',
'PAGE.TITLE.WEB.APPPORTALVIEW2': 'View Text',
'MENUITEM.CAPTION.MULTIEDITVIEWPANEL': 'Multi Edit View Panel',
'MENUITEM.CAPTION.ENTITYTREEVIEW': 'Entity Tree View',
'MENUITEM.CAPTION.ENTITYCHARTVIEW': 'Entity Chart View',
'TBB.TEXT.EDITVIEW.REMOVEANDCLOSE': 'Remove And Close',
'MENUITEM.CAPTION.ENTITYPAGINATIONNAVIGATIONVIEW': 'Entity Pagination Navigation View',
'MENUITEM.CAPTION.DATARELATIONUD': 'Data Relation Bar(up and down relationship)',
'MENUITEM.CAPTION.GRIDMAINSTATE': 'Grid Main State',
'MENUITEM.CAPTION.PARTS': 'Parts',
'MENUITEM.CAPTION.GRID': 'Grid',
'MENUITEM.CAPTION.MULTIDATAVIEW': 'Multi Data View',
'MENUITEM.CAPTION.EDITFORM': 'Edit Form',
'MENUITEM.CAPTION.DATAMAINSTATE': 'Data Main State',
'MENUITEM.CAPTION.ENTITYCALENDARVIEW': 'Entity Calendar View',
'MENUITEM.CAPTION.TREEVIEW': 'Tree View',
'PAGE.INDEX': 'R7 Vue Demo',
'MENUITEM.CAPTION.TREEMAINSTATE': 'Tree Main State',
'CL.ITEM.LNAME.KIND3': 'kind3',
'MENUITEM.CAPTION.OPENHTMLPAGE': 'Open HTML Page',
...getBaseLocaleResource()
};
return data;
}
......
// 基于 APP/src/locale/lang/zh-CN-base.ts.ftl 生成
function getLocaleResource(){
const data:any = {
'PAGE.TITLE.WEB.APPPORTALVIEW2': '查看文本',
'OTHER.BUTTONTSET': '测试多语言按钮',
'MENUITEM.CAPTION.WORKBENCH': '工作台--',
'CONTROL.ORDERNAME': '订单名称',
'PAGE.TITLE.WEB.PORTAL': '无内容',
'CL.ITEM.LNAME.KIND2': '类型2',
'CL.ITEM.LNAME.KIND1': '类型1',
'OTHER.TEST': '多语言测试',
'CL.ITEM.LNAME.KIND3': '类型3',
'PAGE.INDEX': 'R7-Vue-Demo',
};
return data;
}
export default getLocaleResource;
\ No newline at end of file
// 基于 APP/src/locale/lang/zh-CN.ts.ftl 生成
import getCustomLocaleResource from '../custom/custom_zh_CN';
import getBaseLocaleResource from './zh-CN-base';
function getLocaleResource(){
const data:any = {
app: {
app: {
commonWords:{
error: "失败",
success: "成功",
......@@ -641,16 +642,7 @@ function getLocaleResource(){
}
},
custom: getCustomLocaleResource(),
'PAGE.TITLE.WEB.APPPORTALVIEW2': '查看文本',
'OTHER.BUTTONTSET': '测试多语言按钮',
'MENUITEM.CAPTION.WORKBENCH': '工作台--',
'CONTROL.ORDERNAME': '订单名称',
'PAGE.TITLE.WEB.PORTAL': '无内容',
'CL.ITEM.LNAME.KIND2': '类型2',
'CL.ITEM.LNAME.KIND1': '类型1',
'OTHER.TEST': '多语言测试',
'CL.ITEM.LNAME.KIND3': '类型3',
'PAGE.INDEX': 'R7-Vue-Demo',
...getBaseLocaleResource()
};
return data;
}
......
......@@ -712,7 +712,7 @@ export default class DefaultBase extends Vue implements ControlInterface {
*/
public load(opt: any = {}): void {
if(!this.loadAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKCustomView_layout' + (this.$t('app.searchForm.notConfig.loadAction') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKUsr8GridView' + (this.$t('app.searchForm.notConfig.loadAction') as string) });
return;
}
const arg: any = { ...opt };
......@@ -748,7 +748,7 @@ export default class DefaultBase extends Vue implements ControlInterface {
*/
public async loadDraft(opt: any = {},mode?:string): Promise<any> {
if(!this.loaddraftAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKCustomView_layout' + (this.$t('app.searchForm.notConfig.loaddraftAction') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKUsr8GridView' + (this.$t('app.searchForm.notConfig.loaddraftAction') as string) });
return;
}
const arg: any = { ...opt } ;
......
......@@ -1683,7 +1683,7 @@ export default class MainBase extends Vue implements ControlInterface {
*/
public async load(opt: any = {}): Promise<any> {
if(!this.loadAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKUsr6EditView' + (this.$t('app.formpage.notconfig.loadaction') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKUsr9EditView' + (this.$t('app.formpage.notconfig.loadaction') as string) });
return;
}
const arg: any = { ...opt };
......@@ -1735,7 +1735,7 @@ export default class MainBase extends Vue implements ControlInterface {
*/
public async loadDraft(opt: any = {}): Promise<any> {
if (!this.loaddraftAction) {
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKUsr6EditView' + (this.$t('app.formpage.notconfig.loaddraftaction') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKUsr9EditView' + (this.$t('app.formpage.notconfig.loaddraftaction') as string) });
return;
}
const arg: any = { ...opt } ;
......@@ -1806,7 +1806,7 @@ export default class MainBase extends Vue implements ControlInterface {
const action: any = Object.is(data.srfuf, '1') ? this.updateAction : this.createAction;
if(!action){
let actionName:any = Object.is(data.srfuf, '1')?"updateAction":"createAction";
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKUsr6EditView' + (this.$t('app.formpage.notconfig.actionname') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKUsr9EditView' + (this.$t('app.formpage.notconfig.actionname') as string) });
return;
}
Object.assign(arg,{viewparams:this.viewparams});
......@@ -1914,7 +1914,7 @@ export default class MainBase extends Vue implements ControlInterface {
const action: any = Object.is(data.srfuf, '1') ? this.updateAction : this.createAction;
if(!action){
let actionName:any = Object.is(data.srfuf, '1')?"updateAction":"createAction";
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKUsr6EditView' + (this.$t('app.formpage.notconfig.actionname') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKUsr9EditView' + (this.$t('app.formpage.notconfig.actionname') as string) });
return;
}
Object.assign(arg, { viewparams: this.viewparams });
......@@ -2128,7 +2128,7 @@ export default class MainBase extends Vue implements ControlInterface {
public remove(opt:Array<any> = [],showResultInfo?: boolean): Promise<any> {
return new Promise((resolve: any, reject: any) => {
if(!this.removeAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKUsr6EditView' + (this.$t('app.formpage.notconfig.removeaction') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKUsr9EditView' + (this.$t('app.formpage.notconfig.removeaction') as string) });
return;
}
const arg: any = opt[0];
......
......@@ -12,13 +12,13 @@
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK.json"
},
"getPSDETreeColumns" : [ {
"caption" : "作者",
"codeName" : "author",
"caption" : "图书名称",
"codeName" : "ibizbookname",
"columnType" : "DEFGRIDCOLUMN",
"dataItemName" : "author",
"mOSFilePath" : "psdetreecols/author",
"name" : "author",
"rTMOSFilePath" : "psdetreecols/author",
"dataItemName" : "ibizbookname",
"mOSFilePath" : "psdetreecols/ibizbookname",
"name" : "ibizbookname",
"rTMOSFilePath" : "psdetreecols/ibizbookname",
"width" : 200,
"widthUnit" : "px",
"enableExpand" : false,
......@@ -35,18 +35,6 @@
"widthUnit" : "px",
"enableExpand" : false,
"enableSort" : false
}, {
"caption" : "图书名称",
"codeName" : "ibizbookname",
"columnType" : "DEFGRIDCOLUMN",
"dataItemName" : "ibizbookname",
"mOSFilePath" : "psdetreecols/ibizbookname",
"name" : "ibizbookname",
"rTMOSFilePath" : "psdetreecols/ibizbookname",
"width" : 200,
"widthUnit" : "px",
"enableExpand" : false,
"enableSort" : false
}, {
"caption" : "出版社",
"codeName" : "press",
......@@ -71,6 +59,18 @@
"widthUnit" : "px",
"enableExpand" : false,
"enableSort" : false
}, {
"caption" : "作者",
"codeName" : "author",
"columnType" : "DEFGRIDCOLUMN",
"dataItemName" : "author",
"mOSFilePath" : "psdetreecols/author",
"name" : "author",
"rTMOSFilePath" : "psdetreecols/author",
"width" : 200,
"widthUnit" : "px",
"enableExpand" : false,
"enableSort" : false
} ],
"getPSDETreeNodeRSs" : [ {
"getChildPSDETreeNode" : {
......
......@@ -31,18 +31,6 @@
"widthUnit" : "px",
"enableExpand" : false,
"enableSort" : false
}, {
"caption" : "图书描述",
"codeName" : "subtext",
"columnType" : "DEFGRIDCOLUMN",
"dataItemName" : "subtext",
"mOSFilePath" : "psdetreecols/subtext",
"name" : "subtext",
"rTMOSFilePath" : "psdetreecols/subtext",
"width" : 50,
"widthUnit" : "px",
"enableExpand" : false,
"enableSort" : false
}, {
"caption" : "作者",
"codeName" : "author",
......@@ -55,6 +43,18 @@
"widthUnit" : "px",
"enableExpand" : false,
"enableSort" : false
}, {
"caption" : "图书描述",
"codeName" : "subtext",
"columnType" : "DEFGRIDCOLUMN",
"dataItemName" : "subtext",
"mOSFilePath" : "psdetreecols/subtext",
"name" : "subtext",
"rTMOSFilePath" : "psdetreecols/subtext",
"width" : 50,
"widthUnit" : "px",
"enableExpand" : false,
"enableSort" : false
} ],
"getPSDETreeNodeRSs" : [ {
"getChildPSDETreeNode" : {
......
......@@ -46,13 +46,13 @@
"id" : "GANTT"
},
"getPSDETreeColumns" : [ {
"caption" : "作者",
"codeName" : "author",
"caption" : "图书名称",
"codeName" : "ibizbookname",
"columnType" : "DEFGRIDCOLUMN",
"dataItemName" : "author",
"mOSFilePath" : "psdetreecols/author",
"name" : "author",
"rTMOSFilePath" : "psdetreecols/author",
"dataItemName" : "ibizbookname",
"mOSFilePath" : "psdetreecols/ibizbookname",
"name" : "ibizbookname",
"rTMOSFilePath" : "psdetreecols/ibizbookname",
"width" : 200,
"widthUnit" : "px",
"enableExpand" : false,
......@@ -69,18 +69,6 @@
"widthUnit" : "px",
"enableExpand" : false,
"enableSort" : false
}, {
"caption" : "图书名称",
"codeName" : "ibizbookname",
"columnType" : "DEFGRIDCOLUMN",
"dataItemName" : "ibizbookname",
"mOSFilePath" : "psdetreecols/ibizbookname",
"name" : "ibizbookname",
"rTMOSFilePath" : "psdetreecols/ibizbookname",
"width" : 200,
"widthUnit" : "px",
"enableExpand" : false,
"enableSort" : false
}, {
"caption" : "出版社",
"codeName" : "press",
......@@ -105,6 +93,18 @@
"widthUnit" : "px",
"enableExpand" : false,
"enableSort" : false
}, {
"caption" : "作者",
"codeName" : "author",
"columnType" : "DEFGRIDCOLUMN",
"dataItemName" : "author",
"mOSFilePath" : "psdetreecols/author",
"name" : "author",
"rTMOSFilePath" : "psdetreecols/author",
"width" : 200,
"widthUnit" : "px",
"enableExpand" : false,
"enableSort" : false
} ],
"getPSDETreeNodeRSs" : [ {
"getChildPSDETreeNode" : {
......
......@@ -111,18 +111,6 @@
"widthUnit" : "px",
"enableExpand" : false,
"enableSort" : false
}, {
"caption" : "图书描述",
"codeName" : "subtext",
"columnType" : "DEFGRIDCOLUMN",
"dataItemName" : "subtext",
"mOSFilePath" : "psdetreecols/subtext",
"name" : "subtext",
"rTMOSFilePath" : "psdetreecols/subtext",
"width" : 50,
"widthUnit" : "px",
"enableExpand" : false,
"enableSort" : false
}, {
"caption" : "作者",
"codeName" : "author",
......@@ -135,6 +123,18 @@
"widthUnit" : "px",
"enableExpand" : false,
"enableSort" : false
}, {
"caption" : "图书描述",
"codeName" : "subtext",
"columnType" : "DEFGRIDCOLUMN",
"dataItemName" : "subtext",
"mOSFilePath" : "psdetreecols/subtext",
"name" : "subtext",
"rTMOSFilePath" : "psdetreecols/subtext",
"width" : 50,
"widthUnit" : "px",
"enableExpand" : false,
"enableSort" : false
} ],
"getPSDETreeNodeRSs" : [ {
"getChildPSDETreeNode" : {
......
......@@ -528,7 +528,7 @@
<!--输出实体[IBIZSAMPLE0001]数据结构 -->
<changeSet author="a_LAB01_df847bdfd" id="tab-ibizsample0001-82-19">
<changeSet author="a_LAB01_df847bdfd" id="tab-ibizsample0001-84-19">
<createTable tableName="T_IBIZSAMPLE0001">
<column name="FIELD01" remarks="" type="VARCHAR(100)">
</column>
......@@ -1477,7 +1477,7 @@
<!--输出实体[IBIZQJ]外键关系 -->
<!--输出实体[IBIZSAMPLE]外键关系 -->
<!--输出实体[IBIZSAMPLE0001]外键关系 -->
<changeSet author="a_LAB01_df847bdfd" id="fk-ibizsample0001-82-48">
<changeSet author="a_LAB01_df847bdfd" id="fk-ibizsample0001-84-48">
<addForeignKeyConstraint baseColumnNames="IBIZSAMPLE0002ID" baseTableName="T_IBIZSAMPLE0001" constraintName="DER1N_IBIZSAMPLE0001_IBIZSAMPL" deferrable="false" initiallyDeferred="false" onDelete="RESTRICT" onUpdate="RESTRICT" referencedColumnNames="IBIZSAMPLE0002ID" referencedTableName="T_IBIZSAMPLE0002" validate="true"/>
</changeSet>
<!--输出实体[IBIZSAMPLE0002]外键关系 -->
......
......@@ -67,7 +67,7 @@
</createView>
</changeSet>
<!--输出实体[IBIZSAMPLE0001]视图结构信息 runOnChange="true" 当视图发生变更时,通过liquibase强刷prod的视图,实现视图的同步-->
<changeSet author="a_LAB01_df847bdfd" id="view-ibizsample0001-82-13" runOnChange="true">
<changeSet author="a_LAB01_df847bdfd" id="view-ibizsample0001-84-13" runOnChange="true">
<createView fullDefinition="false" replaceIfExists="true" viewName="V_IBIZSAMPLE0001">
<![CDATA[ SELECT t1.[CREATEDATE], t1.[CREATEMAN], t1.[FIELD01], t1.[FIELD02], t1.[FIELD05], t1.[FIELD06], t1.[FIELD07], t1.[FIELD08], t1.[FIELD09], t1.[FIELD10], t1.[FIELD11], t1.[FIELD12], t1.[FIELD13], t1.[FIELD14], t1.[FIELD15], t1.[FIELD16], t1.[FIELD17], t1.[FIELD18], t1.[FIELD19], t1.[FIELD20], t1.[FIELD21], t1.[FIELD22], t1.[FIELD23], t1.[FIELD24], t1.[FIELD25], t1.[FIELD26], t1.[FIELD27], t1.[IBIZSAMPLE0001ID], t1.[IBIZSAMPLE0001NAME], t1.[UPDATEDATE], t1.[UPDATEMAN] FROM [T_IBIZSAMPLE0001] t1 ]]>
</createView>
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册