Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
提交反馈
为 GitLab 提交贡献
登录
切换导航
iBiz-Vue-R7
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
议题
22
议题
22
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
iBiz-R7前端标准模板
iBiz-Vue-R7
提交
c7322ac4
提交
c7322ac4
编写于
12月 15, 2022
作者:
Cano1997
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
update: 表单、搜索表单多语言
上级
a9579f9a
变更
9
显示空白字符变更
内嵌
并排
正在显示
9 个修改的文件
包含
18 行增加
和
22 行删除
+18
-22
CONTROL-BASE.vue#DETAIL_FORMITEM.ftl
@CONTROL/搜索表单/CONTROL-BASE.vue#DETAIL_FORMITEM.ftl
+2
-2
CONTROL-BASE.vue#DETAIL_GROUPPANEL.ftl
@CONTROL/搜索表单/CONTROL-BASE.vue#DETAIL_GROUPPANEL.ftl
+2
-2
CONTROL-BASE.vue#DETAIL_TABPANEL.ftl
@CONTROL/搜索表单/CONTROL-BASE.vue#DETAIL_TABPANEL.ftl
+2
-2
CONTROL-BASE.vue#FORM.ftl
@CONTROL/搜索表单/CONTROL-BASE.vue#FORM.ftl
+2
-2
CONTROL-BASE.vue#DETAIL_BUTTON.ftl
@CONTROL/表单/CONTROL-BASE.vue#DETAIL_BUTTON.ftl
+2
-6
CONTROL-BASE.vue#DETAIL_FORMITEM.ftl
@CONTROL/表单/CONTROL-BASE.vue#DETAIL_FORMITEM.ftl
+2
-2
CONTROL-BASE.vue#DETAIL_GROUPPANEL.ftl
@CONTROL/表单/CONTROL-BASE.vue#DETAIL_GROUPPANEL.ftl
+2
-2
CONTROL-BASE.vue#DETAIL_TABPANEL.ftl
@CONTROL/表单/CONTROL-BASE.vue#DETAIL_TABPANEL.ftl
+2
-2
CONTROL-BASE.vue#FORM.ftl
@CONTROL/表单/CONTROL-BASE.vue#FORM.ftl
+2
-2
未找到文件。
@CONTROL/搜索表单/CONTROL-BASE.vue#DETAIL_FORMITEM.ftl
浏览文件 @
c7322ac4
<#if !item.isHidden()>
<#if !item.isHidden()>
<#ibizinclude>
<#ibizinclude>
../
@MACRO/CONTROL/LANGBASE.vue
.ftl
../
../@MACRO/LANG_FUN
.ftl
</#ibizinclude>
</#ibizinclude>
<#if item.render??>
<#if item.render??>
${item.render.code}
${item.render.code}
<#else>
<#else>
<app-form-item name='${item.name}' :itemRules="this.rules.${item.name}" class='<#if item.getPSSysCss?? && item.getPSSysCss()??>${item.getPSSysCss().getCssName()}</#if>'<#if item.getLabelPSSysCss?? && item.getLabelPSSysCss()??> labelStyle="${item.getLabelPSSysCss().getCssName()}"</#if> :caption="<
#if langbase??>$t('${langbase}.details.${item.name}')<#else>'${item.getCaption()}'</#if
>" uiStyle="${item.getDetailStyle()}" :labelWidth="${item.getLabelWidth()?c}" :isShowCaption="${item.isShowCaption()?c}" :error="detailsModel.${item.name}.error" :isEmptyCaption="${item.isEmptyCaption()?c}" labelPos="${item.getLabelPos()}">
<app-form-item name='${item.name}' :itemRules="this.rules.${item.name}" class='<#if item.getPSSysCss?? && item.getPSSysCss()??>${item.getPSSysCss().getCssName()}</#if>'<#if item.getLabelPSSysCss?? && item.getLabelPSSysCss()??> labelStyle="${item.getLabelPSSysCss().getCssName()}"</#if> :caption="<
@getCaptionLanguage item /
>" uiStyle="${item.getDetailStyle()}" :labelWidth="${item.getLabelWidth()?c}" :isShowCaption="${item.isShowCaption()?c}" :error="detailsModel.${item.name}.error" :isEmptyCaption="${item.isEmptyCaption()?c}" labelPos="${item.getLabelPos()}">
<#if item.isCompositeItem()>
<#if item.isCompositeItem()>
<#assign formitems=item.getPSDEFormItems()>
<#assign formitems=item.getPSDEFormItems()>
<app-range-editor v-model="data.${item.name}" :activeData="data" :disabled="detailsModel.${item.name}.disabled" name="${item.name}" editorType="${item.getEditorType()}" format="${item.getEditorParam("TIMEFMT","")}" :refFormItem="[<#list formitems as formitem><#if formitem_index gt 0>,</#if>'${formitem.name}'</#list>]" @formitemvaluechange="onFormItemValueChange" style="${item.getEditorCssStyle()}"></app-range-editor>
<app-range-editor v-model="data.${item.name}" :activeData="data" :disabled="detailsModel.${item.name}.disabled" name="${item.name}" editorType="${item.getEditorType()}" format="${item.getEditorParam("TIMEFMT","")}" :refFormItem="[<#list formitems as formitem><#if formitem_index gt 0>,</#if>'${formitem.name}'</#list>]" @formitemvaluechange="onFormItemValueChange" style="${item.getEditorCssStyle()}"></app-range-editor>
...
...
@CONTROL/搜索表单/CONTROL-BASE.vue#DETAIL_GROUPPANEL.ftl
浏览文件 @
c7322ac4
<#ibizinclude>
<#ibizinclude>
../
@MACRO/CONTROL/LANGBASE.vue
.ftl
../
../@MACRO/LANG_FUN
.ftl
</#ibizinclude>
</#ibizinclude>
<#if item.render??>
<#if item.render??>
${item.render.code}
${item.render.code}
<#else>
<#else>
<app-form-group layoutType="<#if item.getPSLayoutPos()??>${item.getPSLayoutPos().getLayout()}</#if>" titleStyle="<#if item.getLabelPSSysCss?? && item.getLabelPSSysCss()??>${item.getLabelPSSysCss().getCssName()}</#if>" class='<#if item.getPSSysCss?? && item.getPSSysCss()??> ${item.getPSSysCss().getCssName()}</#if>' uiActionGroup="detailsModel.${item.name}.uiActionGroup" @groupuiactionclick="groupUIActionClick($event)" :caption="<
#if langbase??>$t('${langbase}.details.${item.name}')<#else>'${item.getCaption()}'</#if
>" :isShowCaption="${item.isShowCaption()?c}" uiStyle="${item.getDetailStyle()}" :titleBarCloseMode="${item.getTitleBarCloseMode()}" :isInfoGroupMode="${item.isInfoGroupMode()?c}">
<app-form-group layoutType="<#if item.getPSLayoutPos()??>${item.getPSLayoutPos().getLayout()}</#if>" titleStyle="<#if item.getLabelPSSysCss?? && item.getLabelPSSysCss()??>${item.getLabelPSSysCss().getCssName()}</#if>" class='<#if item.getPSSysCss?? && item.getPSSysCss()??> ${item.getPSSysCss().getCssName()}</#if>' uiActionGroup="detailsModel.${item.name}.uiActionGroup" @groupuiactionclick="groupUIActionClick($event)" :caption="<
@getCaptionLanguage item /
>" :isShowCaption="${item.isShowCaption()?c}" uiStyle="${item.getDetailStyle()}" :titleBarCloseMode="${item.getTitleBarCloseMode()}" :isInfoGroupMode="${item.isInfoGroupMode()?c}">
<#assign content>
<#assign content>
<#list item.getPSDEFormDetails() as formmenber>
<#list item.getPSDEFormDetails() as formmenber>
<#if !(formmenber.isHidden?? && formmenber.isHidden())>
<#if !(formmenber.isHidden?? && formmenber.isHidden())>
...
...
@CONTROL/搜索表单/CONTROL-BASE.vue#DETAIL_TABPANEL.ftl
浏览文件 @
c7322ac4
<#ibizinclude>
<#ibizinclude>
../
@MACRO/CONTROL/LANGBASE.vue
.ftl
../
../@MACRO/LANG_FUN
.ftl
</#ibizinclude>
</#ibizinclude>
<tabs :animated="false" name='${item.getCodeName()?lower_case}' v-show="detailsModel.${item.name}.visible" class='<#if item.getPSSysCss?? && item.getPSSysCss()??>${item.getPSSysCss().getCssName()}</#if><#if item.getPSLayoutPos()?? && item.getPSLayoutPos().getLayout() == "FLEX"> app-tabpanel-flex</#if>'
<tabs :animated="false" name='${item.getCodeName()?lower_case}' v-show="detailsModel.${item.name}.visible" class='<#if item.getPSSysCss?? && item.getPSSysCss()??>${item.getPSSysCss().getCssName()}</#if><#if item.getPSLayoutPos()?? && item.getPSLayoutPos().getLayout() == "FLEX"> app-tabpanel-flex</#if>'
:value="detailsModel.${item.name}.activiedPage" @on-click="detailsModel.${item.name}.clickPage($event)">
:value="detailsModel.${item.name}.activiedPage" @on-click="detailsModel.${item.name}.clickPage($event)">
...
@@ -27,7 +27,7 @@
...
@@ -27,7 +27,7 @@
}),
}),
</#if>
</#if>
</#if>
</#if>
<
#if langbase??>$t('${langbase}.details.${formmenber.name}')<#else>'${formmenber.getCaption()}'</#if
>
<
@getCaptionLanguage item /
>
])
])
}">
}">
${P.getPartCode(formmenber).code}
${P.getPartCode(formmenber).code}
...
...
@CONTROL/搜索表单/CONTROL-BASE.vue#FORM.ftl
浏览文件 @
c7322ac4
<#ibizinclude>
<#ibizinclude>
../
@MACRO/CONTROL/LANGBASE.vue
.ftl
../
../@MACRO/LANG_FUN
.ftl
</#ibizinclude>
</#ibizinclude>
<#if ctrl.render??>
<#if ctrl.render??>
${ctrl.render.code}
${ctrl.render.code}
...
@@ -42,7 +42,7 @@ ${ctrl.render.code}
...
@@ -42,7 +42,7 @@ ${ctrl.render.code}
}),
}),
</#if>
</#if>
</#if>
</#if>
<
#if langbase??>$t('${langbase}.details.${formpage.name}')<#else>'${formpage.getCaption()}'</#if
>
<
@getCaptionLanguage item /
>
])
])
}">
}">
${P.getPartCode(formpage).code}
${P.getPartCode(formpage).code}
...
...
@CONTROL/表单/CONTROL-BASE.vue#DETAIL_BUTTON.ftl
浏览文件 @
c7322ac4
<#ibizinclude>../@MACRO/FUNC/MACRO.ftl</#ibizinclude>
<#ibizinclude>../@MACRO/FUNC/MACRO.ftl</#ibizinclude>
<#ibizinclude>
<#ibizinclude>
../
@MACRO/CONTROL/LANGBASE.vue
.ftl
../
../@MACRO/LANG_FUN
.ftl
</#ibizinclude>
</#ibizinclude>
<#if item.render??>
<#if item.render??>
${item.render.code}
${item.render.code}
...
@@ -28,11 +28,7 @@ ${item.render.code}
...
@@ -28,11 +28,7 @@ ${item.render.code}
<#if item.getCaptionItemName()?? && item.getCaptionItemName()?length gt 0>
<#if item.getCaptionItemName()?? && item.getCaptionItemName()?length gt 0>
:caption="data.${item.getCaptionItemName()}"
:caption="data.${item.getCaptionItemName()}"
<#else>
<#else>
<#if langbase??>
<@getCaptionLanguage item />
:caption="$t('${langbase}.details.${item.name}')"
<#else>
caption="${item.getCaption()}"
</#if>
</#if>
</#if>
</#if>
</#if>
@click="${item.getName()}_click($event)"/>
@click="${item.getName()}_click($event)"/>
...
...
@CONTROL/表单/CONTROL-BASE.vue#DETAIL_FORMITEM.ftl
浏览文件 @
c7322ac4
<#if !item.isHidden()>
<#if !item.isHidden()>
<#ibizinclude>
<#ibizinclude>
../
@MACRO/CONTROL/LANGBASE.vue
.ftl
../
../@MACRO/LANG_FUN
.ftl
</#ibizinclude>
</#ibizinclude>
<#if item.render??>
<#if item.render??>
${item.render.code}
${item.render.code}
<#else>
<#else>
<app-form-item name='${item.name}' :itemRules="this.rules().${item.name}" class='<#if item.getPSSysCss?? && item.getPSSysCss()??>${item.getPSSysCss().getCssName()}</#if>'<#if item.getLabelPSSysCss?? && item.getLabelPSSysCss()??> labelStyle="${item.getLabelPSSysCss().getCssName()}"</#if> :caption="<
#if langbase??>$t('${langbase}.details.${item.name}')<#else>'${item.getCaption()}'</#if
>" uiStyle="${item.getDetailStyle()}" :labelWidth="${item.getLabelWidth()?c}" :isShowCaption="${item.isShowCaption()?c}" :error="detailsModel.${item.name}.error" :isEmptyCaption="${item.isEmptyCaption()?c}" labelPos="${item.getLabelPos()}">
<app-form-item name='${item.name}' :itemRules="this.rules().${item.name}" class='<#if item.getPSSysCss?? && item.getPSSysCss()??>${item.getPSSysCss().getCssName()}</#if>'<#if item.getLabelPSSysCss?? && item.getLabelPSSysCss()??> labelStyle="${item.getLabelPSSysCss().getCssName()}"</#if> :caption="<
@getCaptionLanguage item /
>" uiStyle="${item.getDetailStyle()}" :labelWidth="${item.getLabelWidth()?c}" :isShowCaption="${item.isShowCaption()?c}" :error="detailsModel.${item.name}.error" :isEmptyCaption="${item.isEmptyCaption()?c}" labelPos="${item.getLabelPos()}">
<#if item.isCompositeItem()>
<#if item.isCompositeItem()>
<#assign formitems=item.getPSDEFormItems()>
<#assign formitems=item.getPSDEFormItems()>
<app-range-editor v-model="data.${item.name}" :activeData="data" :disabled="detailsModel.${item.name}.disabled" name="${item.name}" editorType="${item.getEditorType()}" format="${item.getEditorParam("TIMEFMT","")}" :refFormItem="[<#list formitems as formitem><#if formitem_index gt 0>,</#if>'${formitem.name}'</#list>]" @formitemvaluechange="onFormItemValueChange" style="<#if item.getContentWidth()?? && item.getContentWidth() != 0>width:${item.getContentWidth()}px;</#if><#if item.getContentHeight()?? && item.getContentHeight() != 0>height:${item.getContentHeight()}px;</#if>"></app-range-editor>
<app-range-editor v-model="data.${item.name}" :activeData="data" :disabled="detailsModel.${item.name}.disabled" name="${item.name}" editorType="${item.getEditorType()}" format="${item.getEditorParam("TIMEFMT","")}" :refFormItem="[<#list formitems as formitem><#if formitem_index gt 0>,</#if>'${formitem.name}'</#list>]" @formitemvaluechange="onFormItemValueChange" style="<#if item.getContentWidth()?? && item.getContentWidth() != 0>width:${item.getContentWidth()}px;</#if><#if item.getContentHeight()?? && item.getContentHeight() != 0>height:${item.getContentHeight()}px;</#if>"></app-range-editor>
...
...
@CONTROL/表单/CONTROL-BASE.vue#DETAIL_GROUPPANEL.ftl
浏览文件 @
c7322ac4
<#ibizinclude>
<#ibizinclude>
../
@MACRO/CONTROL/LANGBASE.vue
.ftl
../
../@MACRO/LANG_FUN
.ftl
</#ibizinclude>
</#ibizinclude>
<#if item.render??>
<#if item.render??>
${item.render.code}
${item.render.code}
<#else>
<#else>
<app-form-group :uiService="appUIService" :data="transformData(data)" :manageContainerStatus="detailsModel.${item.name}.manageContainerStatus" :isManageContainer="detailsModel.${item.name}.isManageContainer" @managecontainerclick="manageContainerClick('${item.name}')" layoutType="<#if item.getPSLayout()??>${item.getPSLayout().getLayout()}</#if>" titleStyle="<#if item.getLabelPSSysCss?? && item.getLabelPSSysCss()??>${item.getLabelPSSysCss().getCssName()}</#if>" class='<#if item.getPSSysCss?? && item.getPSSysCss()??> ${item.getPSSysCss().getCssName()}</#if>' :uiActionGroup="detailsModel.${item.name}.uiActionGroup" @groupuiactionclick="groupUIActionClick($event)" :caption="<
#if langbase??>$t('${langbase}.details.${item.name}')<#else>'${item.getCaption()}'</#if
>" :isShowCaption="${item.isShowCaption()?c}" uiStyle="${item.getDetailStyle()}" :titleBarCloseMode="${item.getTitleBarCloseMode()}" :isInfoGroupMode="${item.isInfoGroupMode()?c}" <#if item.getPSSysImage()??>:iconInfo="{<#assign img=item.getPSSysImage()><#if img.getImagePath() == "">'iconclass':'${img.getCssClass()}'<#else>'iconpath':'${img.getImagePath()}'</#if>}"</#if>>
<app-form-group :uiService="appUIService" :data="transformData(data)" :manageContainerStatus="detailsModel.${item.name}.manageContainerStatus" :isManageContainer="detailsModel.${item.name}.isManageContainer" @managecontainerclick="manageContainerClick('${item.name}')" layoutType="<#if item.getPSLayout()??>${item.getPSLayout().getLayout()}</#if>" titleStyle="<#if item.getLabelPSSysCss?? && item.getLabelPSSysCss()??>${item.getLabelPSSysCss().getCssName()}</#if>" class='<#if item.getPSSysCss?? && item.getPSSysCss()??> ${item.getPSSysCss().getCssName()}</#if>' :uiActionGroup="detailsModel.${item.name}.uiActionGroup" @groupuiactionclick="groupUIActionClick($event)" :caption="<
@getCaptionLanguage item /
>" :isShowCaption="${item.isShowCaption()?c}" uiStyle="${item.getDetailStyle()}" :titleBarCloseMode="${item.getTitleBarCloseMode()}" :isInfoGroupMode="${item.isInfoGroupMode()?c}" <#if item.getPSSysImage()??>:iconInfo="{<#assign img=item.getPSSysImage()><#if img.getImagePath() == "">'iconclass':'${img.getCssClass()}'<#else>'iconpath':'${img.getImagePath()}'</#if>}"</#if>>
<#assign content>
<#assign content>
<#list item.getPSDEFormDetails() as formmenber>
<#list item.getPSDEFormDetails() as formmenber>
<#if !(formmenber.isHidden?? && formmenber.isHidden())>
<#if !(formmenber.isHidden?? && formmenber.isHidden())>
...
...
@CONTROL/表单/CONTROL-BASE.vue#DETAIL_TABPANEL.ftl
浏览文件 @
c7322ac4
<#ibizinclude>
<#ibizinclude>
../
@MACRO/CONTROL/LANGBASE.vue
.ftl
../
../@MACRO/LANG_FUN
.ftl
</#ibizinclude>
</#ibizinclude>
<tabs :animated="false" name='${item.getCodeName()?lower_case}' v-show="detailsModel.${item.name}.visible" class='<#if item.getPSSysCss?? && item.getPSSysCss()??>${item.getPSSysCss().getCssName()}</#if><#if item.getPSLayoutPos()?? && item.getPSLayoutPos().getLayout() == "FLEX"> app-tabpanel-flex</#if>'
<tabs :animated="false" name='${item.getCodeName()?lower_case}' v-show="detailsModel.${item.name}.visible" class='<#if item.getPSSysCss?? && item.getPSSysCss()??>${item.getPSSysCss().getCssName()}</#if><#if item.getPSLayoutPos()?? && item.getPSLayoutPos().getLayout() == "FLEX"> app-tabpanel-flex</#if>'
:value="detailsModel.${item.name}.activiedPage" @on-click="detailsModel.${item.name}.clickPage($event)">
:value="detailsModel.${item.name}.activiedPage" @on-click="detailsModel.${item.name}.clickPage($event)">
...
@@ -27,7 +27,7 @@
...
@@ -27,7 +27,7 @@
}),
}),
</#if>
</#if>
</#if>
</#if>
<
#if langbase??>$t('${langbase}.details.${formmenber.name}')<#else>'${formmenber.getCaption()}'</#if
>
<
@getCaptionLanguage item /
>
])
])
}">
}">
${P.getPartCode(formmenber).code}
${P.getPartCode(formmenber).code}
...
...
@CONTROL/表单/CONTROL-BASE.vue#FORM.ftl
浏览文件 @
c7322ac4
<#ibizinclude>
<#ibizinclude>
../
@MACRO/CONTROL/LANGBASE.vue
.ftl
../
../@MACRO/LANG_FUN
.ftl
</#ibizinclude>
</#ibizinclude>
<i-form :model="this.data" class='app-form<#if ctrl.getPSSysCss()??> ${ctrl.getPSSysCss().getCssName()}</#if><#if ctrl.isInfoFormMode?? && ctrl.isInfoFormMode()> info-form-mode</#if>' ref='${ctrl.name}' id='${ctrl.getPSAppDataEntity().getCodeName()?lower_case}_${ctrl.getCodeName()?lower_case}' style="<#if ctrl.getFormWidth() gt 1>width: ${ctrl.getFormWidth()?c}px;</#if>" @on-validate="formItemValidate">
<i-form :model="this.data" class='app-form<#if ctrl.getPSSysCss()??> ${ctrl.getPSSysCss().getCssName()}</#if><#if ctrl.isInfoFormMode?? && ctrl.isInfoFormMode()> info-form-mode</#if>' ref='${ctrl.name}' id='${ctrl.getPSAppDataEntity().getCodeName()?lower_case}_${ctrl.getCodeName()?lower_case}' style="<#if ctrl.getFormWidth() gt 1>width: ${ctrl.getFormWidth()?c}px;</#if>" @on-validate="formItemValidate">
<input style="display:none;" />
<input style="display:none;" />
...
@@ -35,7 +35,7 @@
...
@@ -35,7 +35,7 @@
}),
}),
</#if>
</#if>
</#if>
</#if>
<
#if langbase??>$t('${langbase}.details.${formpage.name}')<#else>'${formpage.getCaption()}'</#if
>
<
@getCaptionLanguage item /
>
])
])
}">
}">
${P.getPartCode(formpage).code}
${P.getPartCode(formpage).code}
...
...
编辑
预览
Markdown
格式
0%
请重试
or
添加新附件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录