Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
提交反馈
为 GitLab 提交贡献
登录
切换导航
iBiz-Vue-R7
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
议题
22
议题
22
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
iBiz-R7前端标准模板
iBiz-Vue-R7
提交
e7f0fde0
提交
e7f0fde0
编写于
12月 15, 2022
作者:
Cano1997
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
update: 多语言更新
上级
eeb98088
变更
16
隐藏空白字符变更
内嵌
并排
正在显示
16 个修改的文件
包含
43 行增加
和
41 行删除
+43
-41
CONTROL-BASE.vue.ftl
@CONTROL/列表/CONTROL-BASE.vue.ftl
+3
-3
CONTROL-BASE.vue#DETAIL_MODEL.ftl
@CONTROL/搜索表单/CONTROL-BASE.vue#DETAIL_MODEL.ftl
+2
-2
CONTROL-BASE.vue.ftl
@CONTROL/数据图表 (新)/CONTROL-BASE.vue.ftl
+2
-2
CONTROL-BASE.vue.ftl
@CONTROL/数据图表/CONTROL-BASE.vue.ftl
+2
-2
CONTROL-BASE.vue.ftl
@CONTROL/数据视图/CONTROL-BASE.vue.ftl
+3
-3
CONTROL-BASE.vue.ftl
@CONTROL/日历部件/CONTROL-BASE.vue.ftl
+1
-1
CONTROL-BASE.vue.ftl
@CONTROL/树表格(增强)/CONTROL-BASE.vue.ftl
+1
-1
CONTROL-BASE.vue.ftl
@CONTROL/树视图/CONTROL-BASE.vue.ftl
+2
-2
CONTROL-BASE.vue.ftl
@CONTROL/甘特图部件/CONTROL-BASE.vue.ftl
+1
-1
CONTROL-BASE.vue.ftl
@CONTROL/看板视图/CONTROL-BASE.vue.ftl
+2
-2
CONTROL-BASE.vue#DETAIL_MODEL.ftl
@CONTROL/表单/CONTROL-BASE.vue#DETAIL_MODEL.ftl
+2
-2
CONTROL-BASE.vue#COLUMN.ftl
@CONTROL/表格/CONTROL-BASE.vue#COLUMN.ftl
+6
-6
CONTROL-BASE.vue.ftl
@CONTROL/表格/CONTROL-BASE.vue.ftl
+3
-3
CONTROL-BASE.vue#COLUMN.ftl
@CONTROL/表格(透视表)/CONTROL-BASE.vue#COLUMN.ftl
+6
-6
CONTROL-BASE.vue.ftl
@CONTROL/表格(透视表)/CONTROL-BASE.vue.ftl
+3
-3
CONTROL-BASE.vue.ftl
@CONTROL/门户部件/CONTROL-BASE.vue.ftl
+4
-2
未找到文件。
@CONTROL/列表/CONTROL-BASE.vue.ftl
浏览文件 @
e7f0fde0
<#ibizinclude>
../
@MACRO/CONTROL/LANGBASE.vue
.ftl
../
../@MACRO/LANG_FUN
.ftl
</#ibizinclude>
<#assign ListContent>
<div class="app-list-item-content">
...
...
@@ -85,7 +85,7 @@
</div>
</div>
<div v-else style="text-align: center;">
{{
$t('<#if langbase??>${langbase}.nodata</#if>')
}}
{{
<@getEmptyTextLanguage ctrl/>
}}
</div>
</el-collapse-item>
</el-collapse>
...
...
@@ -96,7 +96,7 @@
</template>
</div>
<div v-else>
{{
$t('<#if langbase??>${langbase}.nodata</#if>')
}}
{{
<@getEmptyTextLanguage ctrl/>
}}
<#if ctrl.getQuickPSDEToolbar?? && ctrl.getQuickPSDEToolbar()??>
<span class="quick-toolbar">
<#assign quickToolbar = ctrl.getQuickPSDEToolbar()/>
...
...
@CONTROL/搜索表单/CONTROL-BASE.vue#DETAIL_MODEL.ftl
浏览文件 @
e7f0fde0
<#ibizinclude>
../
@MACRO/CONTROL/LANGBASE.vue
.ftl
../
../@MACRO/LANG_FUN
.ftl
</#ibizinclude>
<#assign detail>caption: '${item.getCaption()}', detailType: '${item.getDetailType()}', name: '${item.getName()}', visible: <#if item.getPSDEFDGroupLogic('PANELVISIBLE')??>false<#else>true</#if>, isShowCaption: ${item.isShowCaption()?c}, form: this</#assign>
<#if item.getDetailType() == 'BUTTON'>
...
...
@@ -14,7 +14,7 @@ new FormPageModel({ ${detail} })
<#elseif item.getDetailType() == 'FORMPART'>
new FormPartModel({ ${detail} })
<#elseif item.getDetailType() == 'GROUPPANEL'>
new FormGroupPanelModel({ ${detail}, uiActionGroup: { caption: '<#if item.getPSUIActionGroup()??>${item.getPSUIActionGroup().getName()}</#if>', langbase: '<#if
langbase??>${langbase
}</#if>', extractMode: '<#if item.getActionGroupExtractMode?? && item.getActionGroupExtractMode()??>${item.getActionGroupExtractMode()}<#else>ITEM</#if>', details: [<#if item.getPSUIActionGroup()??><#list item.getPSUIActionGroup().getPSUIActionGroupDetails() as uadetails><#if uadetails_index gt 0>, </#if>{ name: '${item.getName()}_${uadetails.getName()}', caption: '${uadetails.getPSUIAction().getCaption()}', uiactiontag: '${uadetails.getPSUIAction().getUIActionTag()?lower_case}'<#if uadetails.getPSUIAction().getPSSysImage()??>, <#assign viewimg=uadetails.getPSUIAction().getPSSysImage()/><#if viewimg.getCssClass() != ''>icon: '${viewimg.getCssClass()}'<#else>img: '${viewimg.getImagePath()}'</#if></#if> }</#list></#if>] } })
new FormGroupPanelModel({ ${detail}, uiActionGroup: { caption: '<#if item.getPSUIActionGroup()??>${item.getPSUIActionGroup().getName()}</#if>', langbase: '<#if
item.getCapPSLanguageRes?? && item.getCapPSLanguageRes()??>${item.getCapPSLanguageRes().getLanResTag()
}</#if>', extractMode: '<#if item.getActionGroupExtractMode?? && item.getActionGroupExtractMode()??>${item.getActionGroupExtractMode()}<#else>ITEM</#if>', details: [<#if item.getPSUIActionGroup()??><#list item.getPSUIActionGroup().getPSUIActionGroupDetails() as uadetails><#if uadetails_index gt 0>, </#if>{ name: '${item.getName()}_${uadetails.getName()}', caption: '${uadetails.getPSUIAction().getCaption()}', uiactiontag: '${uadetails.getPSUIAction().getUIActionTag()?lower_case}'<#if uadetails.getPSUIAction().getPSSysImage()??>, <#assign viewimg=uadetails.getPSUIAction().getPSSysImage()/><#if viewimg.getCssClass() != ''>icon: '${viewimg.getCssClass()}'<#else>img: '${viewimg.getImagePath()}'</#if></#if> }</#list></#if>] } })
<#elseif item.getDetailType() == 'IFRAME'>
new FormIFrameModel({ ${detail} })
<#elseif item.getDetailType() == 'RAWITEM'>
...
...
@CONTROL/数据图表 (新)/CONTROL-BASE.vue.ftl
浏览文件 @
e7f0fde0
<#ibizinclude>
../
@MACRO/CONTROL/LANGBASE.vue
.ftl
../
../@MACRO/LANG_FUN
.ftl
</#ibizinclude>
<template>
<#if ctrl.render??>
${ctrl.render.code}
<#else>
<div class="app-data-chart<#if ctrl.getPSSysCss?? && ctrl.getPSSysCss()??><#assign singleCss = ctrl.getPSSysCss()> ${singleCss.getCssName()}</#if>">
<div v-show="isNoData" class="chart-no-data"><i class="el-icon-data-analysis"></i>{{
$t('<#if langbase??>${langbase}.nodata</#if>')
}}</div>
<div v-show="isNoData" class="chart-no-data"><i class="el-icon-data-analysis"></i>{{
<@getEmptyTextLanguage ctrl/>
}}</div>
<div v-show="!isNoData" class="app-charts" :id="chartId" style="<#if ctrl.getWidth()?? && ctrl.getWidth() gt 0>width: ${ctrl.getWidth()?c}px;</#if>height: <#if ctrl.getHeight() gt 0>${ctrl.getHeight()?c}px<#else>100%</#if>;padding: 6px 0;"></div>
</div>
</#if>
...
...
@CONTROL/数据图表/CONTROL-BASE.vue.ftl
浏览文件 @
e7f0fde0
<#ibizinclude>
../
@MACRO/CONTROL/LANGBASE.vue
.ftl
../
../@MACRO/LANG_FUN
.ftl
</#ibizinclude>
<template>
<#if ctrl.render??>
${ctrl.render.code}
<#else>
<div class="app-data-chart<#if ctrl.getPSSysCss?? && ctrl.getPSSysCss()??><#assign singleCss = ctrl.getPSSysCss()> ${singleCss.getCssName()}</#if>">
<div v-show="isNoData" class="chart-no-data"><i class="el-icon-data-analysis"></i>{{
$t('<#if langbase??>${langbase}.nodata</#if>')
}}</div>
<div v-show="isNoData" class="chart-no-data"><i class="el-icon-data-analysis"></i>{{
<@getEmptyTextLanguage ctrl/>
}}</div>
<div v-show="!isNoData" class="app-charts" :id="chartId" style="<#if ctrl.getWidth()?? && ctrl.getWidth() gt 0>width: ${ctrl.getWidth()?c}px;</#if>height: <#if ctrl.getHeight() gt 0>${ctrl.getHeight()?c}px<#else>100%</#if>;padding: 6px 0;"></div>
</div>
</#if>
...
...
@CONTROL/数据视图/CONTROL-BASE.vue.ftl
浏览文件 @
e7f0fde0
<#ibizinclude>
../
@MACRO/CONTROL/LANGBASE.vue
.ftl
../
../@MACRO/LANG_FUN
.ftl
</#ibizinclude>
<template>
<#if ctrl.render??><#t>
...
...
@@ -98,7 +98,7 @@
</a>
</div>
<div v-else class="item-nodata">
{{
$t('<#if langbase??>${langbase}.nodata</#if>')
}}
{{
<@getEmptyTextLanguage ctrl/>
}}
</div>
</el-collapse-item>
</el-collapse>
...
...
@@ -120,7 +120,7 @@
</#if>
</row>
<div v-show="items.length == 0" class="app-data-empty">
{{
$t('<#if langbase??>${langbase}.nodata</#if>')
}}
{{
<@getEmptyTextLanguage ctrl/>
}}
<#if ctrl.getQuickPSDEToolbar?? && ctrl.getQuickPSDEToolbar()??>
<span class="quick-toolbar">
<#assign quickToolbar = ctrl.getQuickPSDEToolbar()/>
...
...
@CONTROL/日历部件/CONTROL-BASE.vue.ftl
浏览文件 @
e7f0fde0
...
...
@@ -43,7 +43,7 @@ ${ctrl.render.code}
</el-timeline>
</template>
<template v-else>
<span class="app-data-empty">{{
$t('<#if langbase??>${langbase}.nodata</#if>')
}}</span>
<span class="app-data-empty">{{
<@getEmptyTextLanguage ctrl/>
}}</span>
<#if ctrl.getQuickPSDEToolbar?? && ctrl.getQuickPSDEToolbar()??>
<span class="quick-toolbar">
<#assign quickToolbar = ctrl.getQuickPSDEToolbar()/>
...
...
@CONTROL/树表格(增强)/CONTROL-BASE.vue.ftl
浏览文件 @
e7f0fde0
...
...
@@ -22,7 +22,7 @@
@current-change="select"
>
<template slot="empty">
{{
$t('<#if langbase??>${langbase}.nodata</#if>')
}}
{{
<@getEmptyTextLanguage ctrl/>
}}
</template>
<#if ctrl.getPSDETreeColumns()??>
<#list ctrl.getPSDETreeColumns() as column>
...
...
@CONTROL/树视图/CONTROL-BASE.vue.ftl
浏览文件 @
e7f0fde0
<#ibizinclude>
../
@MACRO/CONTROL/LANGBASE.vue
.ftl
../
../@MACRO/LANG_FUN
.ftl
</#ibizinclude>
<template>
<#if ctrl.render??>
...
...
@@ -27,7 +27,7 @@
@check="onCheck"
@current-change="selectionChange"
:filter-node-method="filterNode"
:empty-text="
$t('<#if langbase??>${langbase}.nodata</#if
>')"
:empty-text="
<@getEmptyTextLanguage ctrl/
>')"
>
<template slot-scope="{ node, data }">
<context-menu :ref='data.id' :isBlocked="true" :contextMenuStyle="{width: '100%'}" :data="node" :renderContent="renderContextMenu" @showContext="showContext(data,$event)">
...
...
@CONTROL/甘特图部件/CONTROL-BASE.vue.ftl
浏览文件 @
e7f0fde0
...
...
@@ -11,7 +11,7 @@
<div class="app-gantt">
<gantt-elastic v-if="tasks.length >0" :class="ganttClass<#if ctrl.getPSSysCss?? && ctrl.getPSSysCss()??><#assign singleCss = ctrl.getPSSysCss()> ${singleCss.getCssName()}</#if>" :tasks="tasks" :options="getOptions(this.locale)" :dynamic-style="dynamicStyle" @taskList-item-dblclick="taskClick" @task-item-expand="taskItemExpand">
</gantt-elastic>
<div v-else class="app-data-empty">{{
$t('<#if langbase??>${langbase}.nodata</#if>')
}}</div>
<div v-else class="app-data-empty">{{
<@getEmptyTextLanguage ctrl/>
}}</div>
</div>
</#if>
</template>
...
...
@CONTROL/看板视图/CONTROL-BASE.vue.ftl
浏览文件 @
e7f0fde0
<#ibizinclude>
../
@MACRO/CONTROL/LANGBASE.vue
.ftl
../
../@MACRO/LANG_FUN
.ftl
</#ibizinclude>
<template>
<#if ctrl.render??>
...
...
@@ -65,7 +65,7 @@ ${ctrl.render.code}
</div>
</draggable>
<div v-else class="app-data-empty">
<span>{{
$t('<#if langbase??>${langbase}.nodata</#if>')
}}</span>
<span>{{
<@getEmptyTextLanguage ctrl/>
}}</span>
</div>
</div>
</#if>
...
...
@CONTROL/表单/CONTROL-BASE.vue#DETAIL_MODEL.ftl
浏览文件 @
e7f0fde0
<#ibizinclude>
../
@MACRO/CONTROL/LANGBASE.vue
.ftl
../
../@MACRO/LANG_FUN
.ftl
</#ibizinclude>
<#assign detail>caption: '${item.getCaption()}', detailType: '${item.getDetailType()}', name: '${item.getName()}', visible: <#if item.getPSDEFDGroupLogic('PANELVISIBLE')??>false<#else>true</#if>, isShowCaption: ${item.isShowCaption()?c}, form: this, isControlledContent: <#if item.getShowMoreMode?? && item.getShowMoreMode()?? && item.getShowMoreMode() == 1>true<#else>false</#if> </#assign>
<#if item.getDetailType() == 'BUTTON'>
...
...
@@ -14,7 +14,7 @@ new FormPageModel({ ${detail} })
<#elseif item.getDetailType() == 'FORMPART'>
new FormPartModel({ ${detail} })
<#elseif item.getDetailType() == 'GROUPPANEL'>
new FormGroupPanelModel({ ${detail}, uiActionGroup: { caption: '<#if item.getPSUIActionGroup()??>${item.getPSUIActionGroup().getName()}</#if>', langbase: '<#if
langbase??>${langbase
}</#if>', extractMode: '<#if item.getActionGroupExtractMode?? && item.getActionGroupExtractMode()??>${item.getActionGroupExtractMode()}<#else>ITEM</#if>', details: [<#if item.getPSUIActionGroup()??><#list item.getPSUIActionGroup().getPSUIActionGroupDetails() as uadetails><#if uadetails_index gt 0>, </#if>{ name: '${item.getName()}_${uadetails.getName()}', caption: '${uadetails.getPSUIAction().getCaption()}',disabled: false, visabled: true, noprivdisplaymode:<#if uadetails.getPSUIAction()?? && uadetails.getPSUIAction().getNoPrivDisplayMode(view)??>${uadetails.getPSUIAction().getNoPrivDisplayMode(view)}</#if>,actiontarget: '<#if uadetails.getPSUIAction()?? && uadetails.getPSUIAction().getActionTarget()??>${uadetails.getPSUIAction().getActionTarget()}</#if>',dataaccaction: '<#if uadetails.getPSUIAction()?? && uadetails.getPSUIAction().getDataAccessAction()??>${uadetails.getPSUIAction().getDataAccessAction()}</#if>',uiactiontag: '<#if uadetails.getPSUIAction().getPSAppDataEntity?? && uadetails.getPSUIAction().getPSAppDataEntity()??>${uadetails.getPSUIAction().getPSAppDataEntity().getCodeName()?lower_case}_</#if>${uadetails.getPSUIAction().getUIActionTag()?lower_case}'<#if uadetails.getPSUIAction().getPSSysImage()??>, <#assign viewimg=uadetails.getPSUIAction().getPSSysImage()/><#if viewimg.getCssClass() != ''>icon: '${viewimg.getCssClass()}'<#else>img: '${viewimg.getImagePath()}'</#if></#if>,isShowCaption:${uadetails.isShowCaption()?c},isShowIcon:${uadetails.isShowIcon()?c} }</#list></#if>] }, isManageContainer: <#if item.getShowMoreMode?? && item.getShowMoreMode()?? && item.getShowMoreMode() == 2>true<#else>false</#if>, showMoreModeItems: [<#if item.getPSDEFormDetails()??><#list item.getPSDEFormDetails() as moreItem><#if moreItem.getShowMoreMode?? && moreItem.getShowMoreMode()?? && moreItem.getShowMoreMode() == 1>'${moreItem.getName()}',</#if></#list></#if>] })
new FormGroupPanelModel({ ${detail}, uiActionGroup: { caption: '<#if item.getPSUIActionGroup()??>${item.getPSUIActionGroup().getName()}</#if>', langbase: '<#if
item.getCapPSLanguageRes?? && item.getCapPSLanguageRes()??>${item.getCapPSLanguageRes().getLanResTag()
}</#if>', extractMode: '<#if item.getActionGroupExtractMode?? && item.getActionGroupExtractMode()??>${item.getActionGroupExtractMode()}<#else>ITEM</#if>', details: [<#if item.getPSUIActionGroup()??><#list item.getPSUIActionGroup().getPSUIActionGroupDetails() as uadetails><#if uadetails_index gt 0>, </#if>{ name: '${item.getName()}_${uadetails.getName()}', caption: '${uadetails.getPSUIAction().getCaption()}',disabled: false, visabled: true, noprivdisplaymode:<#if uadetails.getPSUIAction()?? && uadetails.getPSUIAction().getNoPrivDisplayMode(view)??>${uadetails.getPSUIAction().getNoPrivDisplayMode(view)}</#if>,actiontarget: '<#if uadetails.getPSUIAction()?? && uadetails.getPSUIAction().getActionTarget()??>${uadetails.getPSUIAction().getActionTarget()}</#if>',dataaccaction: '<#if uadetails.getPSUIAction()?? && uadetails.getPSUIAction().getDataAccessAction()??>${uadetails.getPSUIAction().getDataAccessAction()}</#if>',uiactiontag: '<#if uadetails.getPSUIAction().getPSAppDataEntity?? && uadetails.getPSUIAction().getPSAppDataEntity()??>${uadetails.getPSUIAction().getPSAppDataEntity().getCodeName()?lower_case}_</#if>${uadetails.getPSUIAction().getUIActionTag()?lower_case}'<#if uadetails.getPSUIAction().getPSSysImage()??>, <#assign viewimg=uadetails.getPSUIAction().getPSSysImage()/><#if viewimg.getCssClass() != ''>icon: '${viewimg.getCssClass()}'<#else>img: '${viewimg.getImagePath()}'</#if></#if>,isShowCaption:${uadetails.isShowCaption()?c},isShowIcon:${uadetails.isShowIcon()?c} }</#list></#if>] }, isManageContainer: <#if item.getShowMoreMode?? && item.getShowMoreMode()?? && item.getShowMoreMode() == 2>true<#else>false</#if>, showMoreModeItems: [<#if item.getPSDEFormDetails()??><#list item.getPSDEFormDetails() as moreItem><#if moreItem.getShowMoreMode?? && moreItem.getShowMoreMode()?? && moreItem.getShowMoreMode() == 1>'${moreItem.getName()}',</#if></#list></#if>] })
<#elseif item.getDetailType() == 'IFRAME'>
new FormIFrameModel({ ${detail} })
<#elseif item.getDetailType() == 'RAWITEM'>
...
...
@CONTROL/表格/CONTROL-BASE.vue#COLUMN.ftl
浏览文件 @
e7f0fde0
...
...
@@ -46,7 +46,7 @@
<#assign img=item.getPSSysImage()>
<@insertBlank blankNum /> <i class='<#if img.getCssClass?? && img.getCssClass()?? && (img.getCssClass()?length gt 0)>${img.getCssClass()}</#if>'></i>
</#if>
<@insertBlank blankNum /> {{<
#if langbase??>$t('${langbase}.columns.${item.getName()?lower_case}')<#else>'${item.getCaption()}'</#if
>}}
<@insertBlank blankNum /> {{<
@getItemLanguageCaption item /
>}}
<@insertBlank blankNum /> </span>
<@insertBlank blankNum /></template>
</#macro>
...
...
@@ -60,7 +60,7 @@
<template v-if="getColumnState('${item.getName()?lower_case}')">
<#if item.getColumnType() == 'GROUPGRIDCOLUMN' && item.getPSDEGridColumns()??>
<#-- [1]BEGIN:分组列 -->
<el-table-column show-overflow-tooltip :align="'${item.getAlign()?lower_case}'" :label="<
#if langbase??>$t('${langbase}.columns.${item.getName()?lower_case}')<#else>'${item.getCaption()}'</#if
>">
<el-table-column show-overflow-tooltip :align="'${item.getAlign()?lower_case}'" :label="<
@getItemLanguageCaption item /
>">
<@getColumnHeader item 4 />
<#list item.getPSDEGridColumns() as column>
${P.getPartCode(column,'COLUMN').code}
...
...
@@ -69,7 +69,7 @@
<#-- [1]END:分组列 -->
<#elseif item.getColumnType() == 'UAGRIDCOLUMN'>
<#-- [2]BEGIN:操作列 -->
<el-table-column :column-key="'${item.getName()?lower_case}'" :label="<
#if langbase??>$t('${langbase}.columns.${item.getName()?lower_case}')<#else>'${item.getCaption()}'</#if
>"<#if item.getWidthUnit()!='STAR'> :width="${item.width?c}" <#else> :min-width="${item.width?c}" </#if> :align="'${item.getAlign()?lower_case}'">
<el-table-column :column-key="'${item.getName()?lower_case}'" :label="<
@getItemLanguageCaption item /
>"<#if item.getWidthUnit()!='STAR'> :width="${item.width?c}" <#else> :min-width="${item.width?c}" </#if> :align="'${item.getAlign()?lower_case}'">
<@getColumnHeader item 8 />
<template slot-scope="scope">
<div style="text-align: center;">
...
...
@@ -89,10 +89,10 @@
<a v-show="scope.row.${uiaction.getUIActionTag()}.visabled" <#if !preUIAction??>:class="{'grid-first-uiaction':scope.row.${uiaction.getUIActionTag()}.visabled && scope.row.${uiaction.getUIActionTag()}.visabled}"</#if> <#if preUIAction??>:class="{'grid-uiaction-divider': ${uiactionDetail.isAddSeparator()?c} && scope.row.${preUIAction.getUIActionTag()}.visabled && scope.row.${uiaction.getUIActionTag()}.visabled}"</#if> :style="{'pointer-events':scope.row.${uiaction.getUIActionTag()}.disabled?'none':'auto','color':scope.row.${uiaction.getUIActionTag()}.disabled?'#7b7979':'#2d8cf0'}" @click="uiAction(scope.row, '${uiaction.getUIActionTag()}', $event)">
<#-- 取消分割线标签,使用样式替代分割线 end -->
<#if uiactionDetail.isShowIcon()><i class='<#if uiaction.getIconCls?? && uiaction.getIconCls()??>${uiaction.getIconCls()}</#if>'></i></#if>
<#if uiactionDetail.isShowCaption()>{{<
#if langbase??>$t('${langbase}.uiactions.${uiaction.getFullCodeName()?lower_case}')<#else>'${uiaction.getCaption()}'</#if
>}}</#if>
<#if uiactionDetail.isShowCaption()>{{<
@getItemLanguageCaption uiaction /
>}}</#if>
</a>
<#if !uiactionDetail.isShowCaption()>
<div slot='content'>{{<
#if langbase??>$t('${langbase}.uiactions.<#if uiaction.getPSAppDataEntity?? && uiaction.getPSAppDataEntity()??>${uiaction.getPSAppDataEntity().getCodeName()?lower_case}_</#if>${uiaction.getUIActionTag()?lower_case}')<#else>'${uiaction.getCaption()}'</#if
>}}</div>
<div slot='content'>{{<
@getItemLanguageCaption uiaction /
>}}</div>
</tooltip>
</#if>
<#assign preUIAction = uiaction />
...
...
@@ -105,7 +105,7 @@
<#-- [2]END:操作列 -->
<#elseif item.getColumnType() == 'DEFGRIDCOLUMN'>
<#-- [3]BEGIN:数据列 -->
<el-table-column show-overflow-tooltip :prop="'${item.getName()?lower_case}'" :label="<
#if langbase??>$t('${langbase}.columns.${item.getName()?lower_case}')<#else>'${item.getCaption()}'</#if
>"<#if item.getWidthUnit()!='STAR'> :width="${item.width?c}" <#else> :min-width="${item.width?c}" </#if> :align="'${item.getAlign()?lower_case}'"<#if (!ctrl.isNoSort()) && item.isEnableSort()> :sortable="'custom'"</#if>>
<el-table-column show-overflow-tooltip :prop="'${item.getName()?lower_case}'" :label="<
@getItemLanguageCaption item /
>"<#if item.getWidthUnit()!='STAR'> :width="${item.width?c}" <#else> :min-width="${item.width?c}" </#if> :align="'${item.getAlign()?lower_case}'"<#if (!ctrl.isNoSort()) && item.isEnableSort()> :sortable="'custom'"</#if>>
<@getColumnHeader item 8 />
<template v-slot="{row,column,$index}">
<#if (item.render??) || (item.getCodeList()?? && item.getCLConvertMode() == 'FRONT') || item.isEnableRowEdit()>
...
...
@CONTROL/表格/CONTROL-BASE.vue.ftl
浏览文件 @
e7f0fde0
<#ibizinclude>
../
@MACRO/CONTROL/LANGBASE.vue
.ftl
../
../@MACRO/LANG_FUN
.ftl
</#ibizinclude>
<template>
<#if ctrl.render??>
...
...
@@ -523,7 +523,7 @@ ${gridColumn.getName()}
{
name: '${column.getName()?lower_case}',
label: '${column.getCaption()}',
langtag: '<#if
langbase??>${langbase}.columns.${column.getName()?lower_case
}</#if>',
langtag: '<#if
column.getCapPSLanguageRes?? && column.getCapPSLanguageRes()??>${column.getCapPSLanguageRes().getLanResTag()
}</#if>',
show: <#if column.isHideDefault()>false<#else>true</#if>,
unit: '${column.getWidthUnit()}',
<#-- BEGIN:是否支持行编辑 -->
...
...
@@ -1098,7 +1098,7 @@ ${gridColumn.getName()}
{
name: '${column.getName()?lower_case}',
label: '${column.getCaption()}',
langtag: '<#if
langbase??>${langbase}.exportColumns.${column.getName()?lower_case
}</#if>',
langtag: '<#if
column.getCapPSLanguageRes?? && column.getCapPSLanguageRes()??>${column.getCapPSLanguageRes().getLanResTag()
}</#if>',
show: true,
},
</#list>
...
...
@CONTROL/表格(透视表)/CONTROL-BASE.vue#COLUMN.ftl
浏览文件 @
e7f0fde0
...
...
@@ -46,7 +46,7 @@
<#assign img=item.getPSSysImage()>
<@insertBlank blankNum /> <i class='<#if img.getCssClass?? && img.getCssClass()?? && (img.getCssClass()?length gt 0)>${img.getCssClass()}</#if>'></i>
</#if>
<@insertBlank blankNum /> {{<
#if langbase??>$t('${langbase}.columns.${item.getName()?lower_case}')<#else>'${item.getCaption()}'</#if
>}}
<@insertBlank blankNum /> {{<
@getItemLanguageCaption item /
>}}
<@insertBlank blankNum /> </span>
<@insertBlank blankNum /></template>
</#macro>
...
...
@@ -60,7 +60,7 @@
<template v-if="getColumnState('${item.getName()?lower_case}')">
<#if item.getColumnType() == 'GROUPGRIDCOLUMN' && item.getPSDEGridColumns()??>
<#-- [1]BEGIN:分组列 -->
<el-table-column show-overflow-tooltip :align="'${item.getAlign()?lower_case}'" :label="<
#if langbase??>$t('${langbase}.columns.${item.getName()?lower_case}')<#else>'${item.getCaption()}'</#if
>">
<el-table-column show-overflow-tooltip :align="'${item.getAlign()?lower_case}'" :label="<
@getItemLanguageCaption item /
>">
<@getColumnHeader item 4 />
<#list item.getPSDEGridColumns() as column>
${P.getPartCode(column,'COLUMN').code}
...
...
@@ -69,7 +69,7 @@
<#-- [1]END:分组列 -->
<#elseif item.getColumnType() == 'UAGRIDCOLUMN'>
<#-- [2]BEGIN:操作列 -->
<el-table-column :column-key="'${item.getName()?lower_case}'" :label="<
#if langbase??>$t('${langbase}.columns.${item.getName()?lower_case}')<#else>'${item.getCaption()}'</#if
>"<#if item.getWidthUnit()!='STAR'> :width="${item.width?c}" <#else> :min-width="${item.width?c}" </#if> :align="'${item.getAlign()?lower_case}'">
<el-table-column :column-key="'${item.getName()?lower_case}'" :label="<
@getItemLanguageCaption item /
>"<#if item.getWidthUnit()!='STAR'> :width="${item.width?c}" <#else> :min-width="${item.width?c}" </#if> :align="'${item.getAlign()?lower_case}'">
<@getColumnHeader item 8 />
<template slot-scope="scope">
<div style="text-align: center;">
...
...
@@ -89,10 +89,10 @@
<a v-show="scope.row.${uiaction.getUIActionTag()}.visible" <#if !preUIAction??>:class="{'grid-first-uiaction':scope.row.${uiaction.getUIActionTag()}.visible && scope.row.${uiaction.getUIActionTag()}.visible}"</#if> <#if preUIAction??>:class="{'grid-uiaction-divider':scope.row.${preUIAction.getUIActionTag()}.visible && scope.row.${uiaction.getUIActionTag()}.visible}"</#if> :style="{'pointer-events':scope.row.${uiaction.getUIActionTag()}.disabled?'none':'auto'}" @click="uiAction(scope.row, '${uiaction.getUIActionTag()}', $event)">
<#-- 取消分割线标签,使用样式替代分割线 end -->
<#if uiactionDetail.isShowIcon()><i class='<#if uiaction.getIconCls?? && uiaction.getIconCls()??>${uiaction.getIconCls()}</#if>'></i></#if>
<#if uiactionDetail.isShowCaption()>{{<
#if langbase??>$t('${langbase}.uiactions.${uiaction.getFullCodeName()?lower_case}')<#else>'${uiaction.getCaption()}'</#if
>}}</#if>
<#if uiactionDetail.isShowCaption()>{{<
@getItemLanguageCaption uiaction /
>}}</#if>
</a>
<#if !uiactionDetail.isShowCaption()>
<div slot='content'>{{<
#if langbase??>$t('${langbase}.uiactions.<#if uiaction.getPSAppDataEntity?? && uiaction.getPSAppDataEntity()??>${uiaction.getPSAppDataEntity().getCodeName()?lower_case}_</#if>${uiaction.getUIActionTag()?lower_case}')<#else>'${uiaction.getCaption()}
'</#if>}}</div>
<div slot='content'>{{<
@getItemLanguageCaption uiaction />
'</#if>}}</div>
</tooltip>
</#if>
<#assign preUIAction = uiaction />
...
...
@@ -105,7 +105,7 @@
<#-- [2]END:操作列 -->
<#elseif item.getColumnType() == 'DEFGRIDCOLUMN'>
<#-- [3]BEGIN:数据列 -->
<el-table-column show-overflow-tooltip :prop="'${item.getName()?lower_case}'" :label="<
#if langbase??>$t('${langbase}.columns.${item.getName()?lower_case}')<#else>'${item.getCaption()}'</#if
>"<#if item.getWidthUnit()!='STAR'> :width="${item.width?c}" <#else> :min-width="${item.width?c}" </#if> :align="'${item.getAlign()?lower_case}'"<#if (!ctrl.isNoSort()) && item.isEnableSort()> :sortable="'custom'"</#if>>
<el-table-column show-overflow-tooltip :prop="'${item.getName()?lower_case}'" :label="<
@getItemLanguageCaption item /
>"<#if item.getWidthUnit()!='STAR'> :width="${item.width?c}" <#else> :min-width="${item.width?c}" </#if> :align="'${item.getAlign()?lower_case}'"<#if (!ctrl.isNoSort()) && item.isEnableSort()> :sortable="'custom'"</#if>>
<@getColumnHeader item 8 />
<template v-slot="{row,column,$index}">
<#if (item.render??) || (item.getCodeList()?? && item.getCLConvertMode() == 'FRONT') || item.isEnableRowEdit()>
...
...
@CONTROL/表格(透视表)/CONTROL-BASE.vue.ftl
浏览文件 @
e7f0fde0
<#ibizinclude>
../
@MACRO/CONTROL/LANGBASE.vue
.ftl
../
../@MACRO/LANG_FUN
.ftl
</#ibizinclude>
<template>
<div :class="{ 'grid': true, 'show-paging-bar': isEnablePagingBar, 'hidden-paging-bar': !isEnablePagingBar }">
...
...
@@ -421,7 +421,7 @@ import { FormItemModel } from '@/model/form-detail';
{
name: '${column.getName()?lower_case}',
label: '${column.getCaption()}',
langtag: '<#if
langbase??>${langbase}.columns.${column.getName()?lower_case
}</#if>',
langtag: '<#if
column.getCapPSLanguageRes?? && column.getCapPSLanguageRes()??>${column.getCapPSLanguageRes().getLanResTag()
}</#if>',
show: <#if column.isHideDefault()>false<#else>true</#if>,
util: '${column.getWidthUnit()}',
render: (val: any) => {
...
...
@@ -883,7 +883,7 @@ import { FormItemModel } from '@/model/form-detail';
{
name: '${column.getName()?lower_case}',
label: '${column.getCaption()}',
langtag: '<#if
langbase??>${langbase}.exportColumns.${column.getName()?lower_case
}</#if>',
langtag: '<#if
column.getCapPSLanguageRes?? && column.getCapPSLanguageRes()??>${column.getCapPSLanguageRes().getLanResTag()
}</#if>',
show: true,
},
</#list>
...
...
@CONTROL/门户部件/CONTROL-BASE.vue.ftl
浏览文件 @
e7f0fde0
<#if ctrl.getPortletType() != 'CONTAINER'>
<#ibizinclude>../@MACRO/CONTROL/LANGBASE.vue.ftl</#ibizinclude>
<#ibizinclude>
../../@MACRO/LANG_FUN.ftl
</#ibizinclude>
<#macro renderUiaction>
<#if ctrl.getPSUIActionGroup?? && ctrl.getPSUIActionGroup()?? && ctrl.getPSUIActionGroup().getPSUIActionGroupDetails()??>
<#assign UIActionDetails=ctrl.getPSUIActionGroup().getPSUIActionGroupDetails() />
...
...
@@ -25,7 +27,7 @@
</#if>
</#if>
</#if>
<#-- <#if uiactiondetail.isShowCaption()><span><
#if langbase??>{{$t('${langbase}.uiactions.${uiactiondetail.getPSUIAction().getUIActionTag()?lower_case}')}}<#else>${uiactiondetail.getPSUIAction().getCaption()}</#if
></span></#if> -->
<#-- <#if uiactiondetail.isShowCaption()><span><
@getItemLanguageCaption uiactiondetail.getPSUIAction() /
></span></#if> -->
<#if uiactiondetail.isShowCaption()>
<span>${uiactiondetail.getPSUIAction().getCaption()}</span>
</#if>
...
...
编辑
预览
Markdown
格式
0%
请重试
or
添加新附件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录