Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
提交反馈
为 GitLab 提交贡献
登录
切换导航
iBiz-Vue-R7
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
议题
22
议题
22
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
iBiz-R7前端标准模板
iBiz-Vue-R7
提交
29d6a7a7
提交
29d6a7a7
编写于
6月 14, 2020
作者:
tony001
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Merge branch 'dev'
上级
9eaed9f2
变更
52
隐藏空白字符变更
内嵌
并排
正在显示
52 个修改的文件
包含
531 行增加
和
120 行删除
+531
-120
CONTROL-BASE.vue.ftl
@CONTROL/分页导航面板/CONTROL-BASE.vue.ftl
+1
-0
CONTROL-BASE.vue.ftl
@CONTROL/分页视图面板/CONTROL-BASE.vue.ftl
+1
-1
CONTROL-BASE.vue.ftl
@CONTROL/看板视图/CONTROL-BASE.vue.ftl
+7
-1
CONTROL-BASE.vue#DETAIL_MODEL.ftl
@CONTROL/表单/CONTROL-BASE.vue#DETAIL_MODEL.ftl
+1
-1
CONTROL-BASE.vue#COLUMN.ftl
@CONTROL/表格/CONTROL-BASE.vue#COLUMN.ftl
+7
-4
CONTROL-BASE.vue.ftl
@CONTROL/门户部件/CONTROL-BASE.vue.ftl
+36
-5
CONTROL-BASE.vue#PANEL.ftl
@CONTROL/面板/CONTROL-BASE.vue#PANEL.ftl
+1
-1
CONTROL-BASE.vue.ftl
@CONTROL/面板/CONTROL-BASE.vue.ftl
+38
-25
DEFAULT.vue.ftl
@EDITOR/@MACRO/PANEL/DEFAULT.vue.ftl
+11
-1
PANELEDITOR.vue.ftl
@EDITOR/HTML编辑器 (信息展示)/PANELEDITOR.vue.ftl
+2
-2
PANELEDITOR.vue.ftl
@EDITOR/HTML编辑器/PANELEDITOR.vue.ftl
+2
-2
PANELEDITOR.vue.ftl
@EDITOR/下拉列表框 (动态代码表国际化)/PANELEDITOR.vue.ftl
+20
-2
EDITOR.less.ftl
@EDITOR/下拉列表框 (单位选择)/EDITOR.less.ftl
+0
-0
EDITOR.vue.ftl
@EDITOR/下拉列表框 (单位选择)/EDITOR.vue.ftl
+0
-2
GRIDEIDTOR.vue.ftl
@EDITOR/下拉列表框 (单位选择)/GRIDEIDTOR.vue.ftl
+0
-2
PANELEDITOR.vue.ftl
@EDITOR/下拉列表框 (单位选择)/PANELEDITOR.vue.ftl
+0
-2
template.properties
@EDITOR/下拉列表框 (单位选择)/template.properties
+0
-2
EDITOR.less.ftl
@EDITOR/下拉列表框 (部门选择)/EDITOR.less.ftl
+0
-0
EDITOR.vue.ftl
@EDITOR/下拉列表框 (部门选择)/EDITOR.vue.ftl
+0
-2
GRIDEIDTOR.vue.ftl
@EDITOR/下拉列表框 (部门选择)/GRIDEIDTOR.vue.ftl
+0
-2
PANELEDITOR.vue.ftl
@EDITOR/下拉列表框 (部门选择)/PANELEDITOR.vue.ftl
+0
-2
template.properties
@EDITOR/下拉列表框 (部门选择)/template.properties
+0
-2
PANELEDITOR.vue.ftl
@EDITOR/下拉列表框/PANELEDITOR.vue.ftl
+20
-2
PANELEDITOR.vue.ftl
@EDITOR/下拉列表框(100宽度)/PANELEDITOR.vue.ftl
+20
-2
EDITOR.vue.ftl
@EDITOR/下拉列表框(多选穿梭框)/EDITOR.vue.ftl
+2
-1
PANELEDITOR.vue.ftl
@EDITOR/下拉列表框(多选)/PANELEDITOR.vue.ftl
+22
-2
PANELEDITOR.vue.ftl
@EDITOR/单选项列表/PANELEDITOR.vue.ftl
+20
-2
PANELEDITOR.vue.ftl
@EDITOR/图片控件/PANELEDITOR.vue.ftl
+18
-2
PANELEDITOR.vue.ftl
@EDITOR/图片控件(信息展示)/PANELEDITOR.vue.ftl
+2
-2
PANELEDITOR.vue.ftl
@EDITOR/图片控件(单项)/PANELEDITOR.vue.ftl
+17
-2
PANELEDITOR.vue.ftl
@EDITOR/多行输入框/PANELEDITOR.vue.ftl
+15
-2
PANELEDITOR.vue.ftl
@EDITOR/多行输入框(10行)/PANELEDITOR.vue.ftl
+16
-2
PANELEDITOR.vue.ftl
@EDITOR/密码框/PANELEDITOR.vue.ftl
+10
-2
PANELEDITOR.vue.ftl
@EDITOR/开关部件/PANELEDITOR.vue.ftl
+10
-2
PANELEDITOR.vue.ftl
@EDITOR/数值框/PANELEDITOR.vue.ftl
+12
-2
PANELEDITOR.vue.ftl
@EDITOR/数据选择/PANELEDITOR.vue.ftl
+29
-2
PANELEDITOR.vue.ftl
@EDITOR/文件上传/PANELEDITOR.vue.ftl
+16
-2
PANELEDITOR.vue.ftl
@EDITOR/文件上传(信息展示)/PANELEDITOR.vue.ftl
+2
-2
PANELEDITOR.vue.ftl
@EDITOR/文件上传(支持拖拽)/PANELEDITOR.vue.ftl
+17
-2
PANELEDITOR.vue.ftl
@EDITOR/时间选择器(新)/PANELEDITOR.vue.ftl
+13
-2
PANELEDITOR.vue.ftl
@EDITOR/时间选择控件/PANELEDITOR.vue.ftl
+13
-2
PANELEDITOR.vue.ftl
@EDITOR/时间选择控件_分钟/PANELEDITOR.vue.ftl
+12
-2
PANELEDITOR.vue.ftl
@EDITOR/时间选择控件_小时/PANELEDITOR.vue.ftl
+12
-2
PANELEDITOR.vue.ftl
@EDITOR/时间选择控件_无小时/PANELEDITOR.vue.ftl
+13
-2
PANELEDITOR.vue.ftl
@EDITOR/时间选择控件_无日期/PANELEDITOR.vue.ftl
+12
-2
PANELEDITOR.vue.ftl
@EDITOR/时间选择控件_无日期无秒钟/PANELEDITOR.vue.ftl
+12
-2
PANELEDITOR.vue.ftl
@EDITOR/时间选择控件_秒钟/PANELEDITOR.vue.ftl
+12
-2
PANELEDITOR.vue.ftl
@EDITOR/步进器/PANELEDITOR.vue.ftl
+10
-2
PANELEDITOR.vue.ftl
@EDITOR/滑动输入条/PANELEDITOR.vue.ftl
+10
-2
PANELEDITOR.vue.ftl
@EDITOR/评分器/PANELEDITOR.vue.ftl
+10
-2
PANELEDITOR.vue.ftl
@EDITOR/选项框/PANELEDITOR.vue.ftl
+4
-2
PANELEDITOR.vue.ftl
@EDITOR/选项框列表/PANELEDITOR.vue.ftl
+23
-2
未找到文件。
@CONTROL/分页导航面板/CONTROL-BASE.vue.ftl
浏览文件 @
29d6a7a7
...
@@ -130,6 +130,7 @@
...
@@ -130,6 +130,7 @@
}
}
this.action = action;
this.action = action;
this.viewState.next({ tag: this.activiedTabViewPanel, action: action, data: data });
this.viewState.next({ tag: this.activiedTabViewPanel, action: action, data: data });
this.$forceUpdate();
});
});
}
}
}
}
...
...
@CONTROL/分页视图面板/CONTROL-BASE.vue.ftl
浏览文件 @
29d6a7a7
...
@@ -116,7 +116,7 @@
...
@@ -116,7 +116,7 @@
this.isActivied = true;
this.isActivied = true;
});
});
</#if>
</#if>
this.initNavParam();
});
});
}
}
}
}
...
...
@CONTROL/看板视图/CONTROL-BASE.vue.ftl
浏览文件 @
29d6a7a7
...
@@ -35,7 +35,7 @@
...
@@ -35,7 +35,7 @@
</#if>
</#if>
</div>
</div>
<draggable :list="group.items" group="${ctrl.name}" class="dataview-group-items" @change="onDragChange($event, group.name)">
<draggable :list="group.items" group="${ctrl.name}" class="dataview-group-items" @change="onDragChange($event, group.name)">
<div v-for="(item, i) in group.items" :key="i" :class="{'dataview-group-item': true, 'is-select': item.isselected}" @click="handleClick(item)">
<div v-for="(item, i) in group.items" :key="i" :class="{'dataview-group-item': true, 'is-select': item.isselected}" @click="handleClick(item)"
@dblclick="handleDblClick(item)"
>
<#if ctrl.getItemPSLayoutPanel()??>
<#if ctrl.getItemPSLayoutPanel()??>
<#assign panel = ctrl.getItemPSLayoutPanel()>
<#assign panel = ctrl.getItemPSLayoutPanel()>
<layout_${panel.getName()} name='${panel.name}' :inputData="item"></layout_${panel.getName()}>
<layout_${panel.getName()} name='${panel.name}' :inputData="item"></layout_${panel.getName()}>
...
@@ -657,6 +657,12 @@ draggable,
...
@@ -657,6 +657,12 @@ draggable,
*
*
*/
*/
public handleDblClick(args: any) {
public handleDblClick(args: any) {
args.isselected = true;
this.items.forEach((item:any) =>{
if(item.srfkey !== args.srfkey){
item.isselected =false;
}
})
this.$emit('rowdblclick', args);
this.$emit('rowdblclick', args);
}
}
...
...
@CONTROL/表单/CONTROL-BASE.vue#DETAIL_MODEL.ftl
浏览文件 @
29d6a7a7
...
@@ -14,7 +14,7 @@ new FormPageModel({ ${detail} })
...
@@ -14,7 +14,7 @@ new FormPageModel({ ${detail} })
<#elseif item.getDetailType() == 'FORMPART'>
<#elseif item.getDetailType() == 'FORMPART'>
new FormPartModel({ ${detail} })
new FormPartModel({ ${detail} })
<#elseif item.getDetailType() == 'GROUPPANEL'>
<#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 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>
,isShowCaption:${uadetails.isShowCaption()?c},isShowIcon:${uadetails.isShowIcon()?c}
}</#list></#if>] } })
<#elseif item.getDetailType() == 'IFRAME'>
<#elseif item.getDetailType() == 'IFRAME'>
new FormIFrameModel({ ${detail} })
new FormIFrameModel({ ${detail} })
<#elseif item.getDetailType() == 'RAWITEM'>
<#elseif item.getDetailType() == 'RAWITEM'>
...
...
@CONTROL/表格/CONTROL-BASE.vue#COLUMN.ftl
浏览文件 @
29d6a7a7
...
@@ -74,12 +74,15 @@
...
@@ -74,12 +74,15 @@
<template slot-scope="scope">
<template slot-scope="scope">
<span>
<span>
<#if item.getPSDEUIActionGroup().getPSDEUIActions()??>
<#if item.getPSDEUIActionGroup().getPSDEUIActions()??>
<#list item.getPSDEUIActionGroup().getPSUIActions() as uiaction>
<#list item.getPSDEUIActionGroup().getPSUIActionGroupDetails() as uiactionDetail>
<#if uiaction_index gt 0><divider type='vertical'></divider></#if>
<#if uiactionDetail_index gt 0><divider type='vertical'></divider></#if>
<#if uiactionDetail.getPSUIAction?? && uiactionDetail.getPSUIAction()??>
<#assign uiaction = uiactionDetail.getPSUIAction() />
<a @click="uiAction(scope.row, '${uiaction.getUIActionTag()}', $event)">
<a @click="uiAction(scope.row, '${uiaction.getUIActionTag()}', $event)">
<
i class='<#if uiaction.getIconCls?? && uiaction.getIconCls()??>${uiaction.getIconCls()}</#if>'></i
>
<
#if uiactionDetail.isShowIcon()><i class='<#if uiaction.getIconCls?? && uiaction.getIconCls()??>${uiaction.getIconCls()}</#if>'></i></#if
>
{{<#if langbase??>$t('${langbase}.uiactions.${uiaction.getUIActionTag()?lower_case}')<#else>'${uiaction.getCaption()}'</#if>}}
<#if uiactionDetail.isShowCaption()>{{<#if langbase??>$t('${langbase}.uiactions.${uiaction.getUIActionTag()?lower_case}')<#else>'${uiaction.getCaption()}'</#if>}}</#if>
</a>
</a>
</#if>
</#list>
</#list>
</#if>
</#if>
</span>
</span>
...
...
@CONTROL/门户部件/CONTROL-BASE.vue.ftl
浏览文件 @
29d6a7a7
<#if ctrl.getPortletType() != 'CONTAINER'>
<#if ctrl.getPortletType() != 'CONTAINER'>
<#ibizinclude>../@MACRO/CONTROL/LANGBASE.vue.ftl</#ibizinclude>
<template>
<template>
<div class='portlet ${srffilepath2(ctrl.getCodeName())} <#if ctrl.getPSSysCss()??> ${ctrl.getPSSysCss().getCssName()}</#if>' :style="{<#if (ctrl.getHeight?? && ctrl.getHeight() gt 0)>'height': isAdaptiveSize ? 'calc(100% - 16px)' : (height > 0 ? height+'px' :'${ctrl.getHeight()?c}px'),</#if><#if (ctrl.getWidth?? && ctrl.getWidth() gt 0)>'width': isAdaptiveSize ? 'calc(100% - 16px)' : (width ? width+'px' :'${ctrl.getWidth()?c}px')</#if>}">
<div class='portlet ${srffilepath2(ctrl.getCodeName())} <#if ctrl.getPSSysCss()??> ${ctrl.getPSSysCss().getCssName()}</#if>' :style="{<#if (ctrl.getHeight?? && ctrl.getHeight() gt 0)>'height': isAdaptiveSize ? 'calc(100% - 16px)' : (height > 0 ? height+'px' :'${ctrl.getHeight()?c}px'),</#if><#if (ctrl.getWidth?? && ctrl.getWidth() gt 0)>'width': isAdaptiveSize ? 'calc(100% - 16px)' : (width ? width+'px' :'${ctrl.getWidth()?c}px')</#if>}">
<#if ctrl.getPortletType?? && ctrl.getPortletType()??><#t>
<#if ctrl.getPortletType?? && ctrl.getPortletType()??><#t>
...
@@ -14,7 +15,13 @@
...
@@ -14,7 +15,13 @@
<#assign UIActionDetails=ctrl.getPSUIActionGroup().getPSUIActionGroupDetails() />
<#assign UIActionDetails=ctrl.getPSUIActionGroup().getPSUIActionGroupDetails() />
<span class="portlet-action">
<span class="portlet-action">
<#list UIActionDetails as uiactiondetail>
<#list UIActionDetails as uiactiondetail>
<a @click="uiAction('${uiactiondetail.getName()?lower_case}', $event)"><#if uiactiondetail.getPSUIAction()??>${uiactiondetail.getPSUIAction().getCaption()}</#if></a>
<a @click="uiAction('${uiactiondetail.getName()?lower_case}', $event)">
<#if uiactiondetail.getPSUIAction()??>
<#if uiactiondetail.isShowIcon()><#if uiactiondetail.getPSUIAction().getPSSysImage()??><#assign viewimg=uiactiondetail.getPSUIAction().getPSSysImage()/><#if viewimg.getCssClass() != ''><i class="${viewimg.getCssClass()}" /><#else><img src="${viewimg.getImagePath()}" /></#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>${uiactiondetail.getPSUIAction().getCaption()}</span></#if>
</#if>
</a>
</#list>
</#list>
</span>
</span>
</#if>
</#if>
...
@@ -36,7 +43,13 @@
...
@@ -36,7 +43,13 @@
<#assign UIActionDetails=ctrl.getPSUIActionGroup().getPSUIActionGroupDetails() />
<#assign UIActionDetails=ctrl.getPSUIActionGroup().getPSUIActionGroupDetails() />
<span class="portlet-action">
<span class="portlet-action">
<#list UIActionDetails as uiactiondetail>
<#list UIActionDetails as uiactiondetail>
<a @click="uiAction('${uiactiondetail.getName()?lower_case}', $event)"><#if uiactiondetail.getPSUIAction()??>${uiactiondetail.getPSUIAction().getCaption()}</#if></a>
<a @click="uiAction('${uiactiondetail.getName()?lower_case}', $event)">
<#if uiactiondetail.getPSUIAction()??>
<#if uiactiondetail.isShowIcon()><#if uiactiondetail.getPSUIAction().getPSSysImage()??><#assign viewimg=uiactiondetail.getPSUIAction().getPSSysImage()/><#if viewimg.getCssClass() != ''><i class="${viewimg.getCssClass()}" /><#else><img src="${viewimg.getImagePath()}" /></#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>${uiactiondetail.getPSUIAction().getCaption()}</span></#if>
</#if>
</a>
</#list>
</#list>
</span>
</span>
</#if>
</#if>
...
@@ -60,7 +73,13 @@
...
@@ -60,7 +73,13 @@
<#assign UIActionDetails=ctrl.getPSUIActionGroup().getPSUIActionGroupDetails() />
<#assign UIActionDetails=ctrl.getPSUIActionGroup().getPSUIActionGroupDetails() />
<span class="portlet-action">
<span class="portlet-action">
<#list UIActionDetails as uiactiondetail>
<#list UIActionDetails as uiactiondetail>
<a @click="uiAction('${uiactiondetail.getName()?lower_case}', $event)"><#if uiactiondetail.getPSUIAction()??>${uiactiondetail.getPSUIAction().getCaption()}</#if></a>
<a @click="uiAction('${uiactiondetail.getName()?lower_case}', $event)">
<#if uiactiondetail.getPSUIAction()??>
<#if uiactiondetail.isShowIcon()><#if uiactiondetail.getPSUIAction().getPSSysImage()??><#assign viewimg=uiactiondetail.getPSUIAction().getPSSysImage()/><#if viewimg.getCssClass() != ''><i class="${viewimg.getCssClass()}" /><#else><img src="${viewimg.getImagePath()}" /></#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>${uiactiondetail.getPSUIAction().getCaption()}</span></#if>
</#if>
</a>
</#list>
</#list>
</span>
</span>
</#if>
</#if>
...
@@ -102,7 +121,13 @@
...
@@ -102,7 +121,13 @@
<#assign UIActionDetails=ctrl.getPSUIActionGroup().getPSUIActionGroupDetails() />
<#assign UIActionDetails=ctrl.getPSUIActionGroup().getPSUIActionGroupDetails() />
<span class="portlet-action">
<span class="portlet-action">
<#list UIActionDetails as uiactiondetail>
<#list UIActionDetails as uiactiondetail>
<a @click="uiAction('${uiactiondetail.getName()?lower_case}', $event)"><#if uiactiondetail.getPSUIAction()??>${uiactiondetail.getPSUIAction().getCaption()}</#if></a>
<a @click="uiAction('${uiactiondetail.getName()?lower_case}', $event)">
<#if uiactiondetail.getPSUIAction()??>
<#if uiactiondetail.isShowIcon()><#if uiactiondetail.getPSUIAction().getPSSysImage()??><#assign viewimg=uiactiondetail.getPSUIAction().getPSSysImage()/><#if viewimg.getCssClass() != ''><i class="${viewimg.getCssClass()}" /><#else><img src="${viewimg.getImagePath()}" /></#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>${uiactiondetail.getPSUIAction().getCaption()}</span></#if>
</#if>
</a>
</#list>
</#list>
</span>
</span>
</#if>
</#if>
...
@@ -123,7 +148,13 @@
...
@@ -123,7 +148,13 @@
<#assign UIActionDetails=ctrl.getPSUIActionGroup().getPSUIActionGroupDetails() />
<#assign UIActionDetails=ctrl.getPSUIActionGroup().getPSUIActionGroupDetails() />
<span class="portlet-action">
<span class="portlet-action">
<#list UIActionDetails as uiactiondetail>
<#list UIActionDetails as uiactiondetail>
<a @click="uiAction('${uiactiondetail.getName()?lower_case}', $event)"><#if uiactiondetail.getPSUIAction()??>${uiactiondetail.getPSUIAction().getCaption()}</#if></a>
<a @click="uiAction('${uiactiondetail.getName()?lower_case}', $event)">
<#if uiactiondetail.getPSUIAction()??>
<#if uiactiondetail.isShowIcon()><#if uiactiondetail.getPSUIAction().getPSSysImage()??><#assign viewimg=uiactiondetail.getPSUIAction().getPSSysImage()/><#if viewimg.getCssClass() != ''><i class="${viewimg.getCssClass()}" /><#else><img src="${viewimg.getImagePath()}" /></#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>${uiactiondetail.getPSUIAction().getCaption()}</span></#if>
</#if>
</a>
</#list>
</#list>
</span>
</span>
</#if>
</#if>
...
...
@CONTROL/面板/CONTROL-BASE.vue#PANEL.ftl
浏览文件 @
29d6a7a7
<#if ctrl.getLayoutMode()=='FLEX'>
<div class='panel-container' style="<#if ctrl.getWidth() gt 0>width: ${ctrl.getWidth()?c}px;</#if><#if ctrl.getHeight() gt 0>height: ${ctrl.getHeight()?c}px;</#if>">
<div class='panel-container' style="<#if ctrl.getWidth() gt 0>width: ${ctrl.getWidth()?c}px;</#if><#if ctrl.getHeight() gt 0>height: ${ctrl.getHeight()?c}px;</#if>">
<#if ctrl.getLayoutMode()=='FLEX'>
<div class="app-layoutpanel" style="height:100%;display: flex;">
<div class="app-layoutpanel" style="height:100%;display: flex;">
<@ibizindent blank=8>
<@ibizindent blank=8>
<#if ctrl.getRootPSPanelItems()??>
<#if ctrl.getRootPSPanelItems()??>
...
...
@CONTROL/面板/CONTROL-BASE.vue.ftl
浏览文件 @
29d6a7a7
...
@@ -45,28 +45,6 @@ import CodeListService from "@service/app/codelist-service";
...
@@ -45,28 +45,6 @@ import CodeListService from "@service/app/codelist-service";
* 面板数据对象
* 面板数据对象
*
*
* @type {*}
* @type {*}
* @memberof Mob
*/
public panelData:any = null;
/**
* 监听数据对象
*
* @memberof ${srfclassname('${ctrl.codeName}')}
*/
@Watch('inputData',{immediate:true})
async onInputDataChange(newVal: any, oldVal: any){
if(newVal){
await this.computedUIData(newVal);
this.panelLogic({ name: '', newVal: null, oldVal: null });
this.$forceUpdate();
}
}
/**
* 计算UI展示数据
*
* @param codelistArray 代码表模型数组
* @memberof ${srfclassname('${ctrl.codeName}')}
* @memberof ${srfclassname('${ctrl.codeName}')}
*/
*/
@Prop() public inputData?: any;
@Prop() public inputData?: any;
...
@@ -170,14 +148,14 @@ import CodeListService from "@service/app/codelist-service";
...
@@ -170,14 +148,14 @@ import CodeListService from "@service/app/codelist-service";
let res:any = await this.getAllCodeList(codelistArray,true);
let res:any = await this.getAllCodeList(codelistArray,true);
this.dataModel.getDataItems().forEach((item:any) =>{
this.dataModel.getDataItems().forEach((item:any) =>{
if(item.codelist){
if(item.codelist){
panelData[item.prop] = res.get(item.codelist.tag).get(this.
inputD
ata[item.name]);
panelData[item.prop] = res.get(item.codelist.tag).get(this.
d
ata[item.name]);
}else{
}else{
panelData[item.prop] = this.
inputD
ata[item.name];
panelData[item.prop] = this.
d
ata[item.name];
}
}
})
})
}else{
}else{
this.dataModel.getDataItems().forEach((item:any) =>{
this.dataModel.getDataItems().forEach((item:any) =>{
panelData[item.prop] = this.
inputD
ata[item.name];
panelData[item.prop] = this.
d
ata[item.name];
})
})
}
}
}
}
...
@@ -318,6 +296,41 @@ import CodeListService from "@service/app/codelist-service";
...
@@ -318,6 +296,41 @@ import CodeListService from "@service/app/codelist-service";
}
}
}
}
/**
* 设置面板编辑项值变更
*
* @param data 面板数据
* @param {{ name: string, value: any }} $event
* @returns {void}
* @memberof ${srfclassname('${ctrl.codeName}')}
*/
public onPanelItemValueChange(data: any,$event: { name: string, value: any }): void {
if (!$event) {
return;
}
if (!$event.name || Object.is($event.name, '') || !data.hasOwnProperty($event.name)) {
return;
}
data[$event.name] = $event.value;
this.panelEditItemChange(data, $event.name, $event.value);
}
/**
* 面板编辑项值变化
*
* @public
* @param data 面板数据
* @param property 编辑项名
* @param value 编辑项值
* @returns {void}
* @memberof ${srfclassname('${ctrl.codeName}')}
*/
public panelEditItemChange(data: any, property: string, value: any){
}
<#ibizinclude>
<#ibizinclude>
../@MACRO/CONTROL/CONTROL_BOTTOM-BASE.vue.ftl
../@MACRO/CONTROL/CONTROL_BOTTOM-BASE.vue.ftl
</#ibizinclude>
</#ibizinclude>
...
...
@EDITOR/@MACRO/PANEL/DEFAULT.vue.ftl
浏览文件 @
29d6a7a7
<el-input size="small" v-model="data.${editor.getName()?lower_case}" style="width: 100%;"></el-input>
<input-box
\ No newline at end of file
<#if item.getEnableCond??>
:disabled="data.srfuf === 1 ? (${item.getEnableCond()?c} & 2) !== 2 : (${item.getEnableCond()?c} & 1) !== 1"
</#if>
v-model="data.${editor.getName()?lower_case}"
style="${item.getEditorCssStyle()}"
type="text"
<#if item.getUnitName?? && item.getUnitName()??>unit="${item.getUnitName()}"</#if>
<#if item.getPlaceHolder()??>placeholder="${item.getPlaceHolder()}"</#if>
@change="($event)=>{panelEditItemChange(data, ${editor.getName()?lower_case}, $event)}">
</input-box>
\ No newline at end of file
@EDITOR/HTML编辑器 (信息展示)/PANELEDITOR.vue.ftl
浏览文件 @
29d6a7a7
<#ibizinclude>../@MACRO/PANEL/DEFAULT.vue.ftl</#ibizinclude>
<span v-html="data.${editor.name?lower_case}"></span>
\ No newline at end of file
\ No newline at end of file
@EDITOR/HTML编辑器/PANELEDITOR.vue.ftl
浏览文件 @
29d6a7a7
<#ibizinclude>../@MACRO/PANEL/DEFAULT.vue.ftl</#ibizinclude>
<app-rich-text-editor :formState="formState" :value="data.${editor.name?lower_case}" @change="(val) =>{this.data.${editor.name?lower_case} =val}" <#if item.getEnableCond??>:disabled="data.srfuf === 1 ? (${item.getEnableCond()?c} & 2) !== 2 : (${item.getEnableCond()?c} & 1) !== 1"</#if> name="${editor.name?lower_case}"<#if editor.getEditorHeight() gt 0> height={${editor.getEditorHeight()?c}}</#if> style="${editor.getEditorCssStyle()}"></app-rich-text-editor>
\ No newline at end of file
\ No newline at end of file
@EDITOR/下拉列表框 (动态代码表国际化)/PANELEDITOR.vue.ftl
浏览文件 @
29d6a7a7
<#ibizinclude>../@MACRO/PANEL/DEFAULT.vue.ftl</#ibizinclude>
<#ibizinclude>../@MACRO/FUNC/PUBLIC.vue.ftl</#ibizinclude>
\ No newline at end of file
<dropdown-list
v-model="data.${editor.name?lower_case}"
<#if item.getEnableCond??>
:disabled="data.srfuf === 1 ? (${item.getEnableCond()?c} & 2) !== 2 : (${item.getEnableCond()?c} & 1) !== 1"
</#if>
:data="data"
:context="context"
:viewparams="viewparams"
:localContext =<@getNavigateContext editor />
:localParam =<@getNavigateParams editor />
<#if item.getPSCodeList()??>
<#assign codelist=item.getPSCodeList()>
tag='${codelist.codeName}'
codelistType='${codelist.getCodeListType()}'
</#if>
placeholder=<#if item.getPlaceHolder()??>'${item.getPlaceHolder()}'<#else>'请选择...'</#if>
style="${item.getEditorCssStyle()}"
@change="($event)=>{panelEditItemChange(data, '${editor.name?lower_case}', $event)}">
</dropdown-list>
@EDITOR/下拉列表框 (单位选择)/EDITOR.less.ftl
已删除
100644 → 0
浏览文件 @
9eaed9f2
@EDITOR/下拉列表框 (单位选择)/EDITOR.vue.ftl
已删除
100644 → 0
浏览文件 @
9eaed9f2
<app-org-select :data="data" :context="JSON.parse(JSON.stringify(context))" :fillMap="<#if item.getEditorParam('FILLMAP','') != ''>${item.getEditorParam('FILLMAP','')}<#else>{}</#if>" filter="<#if item.getEditorParam('FILTER','') != ''>${item.getEditorParam('FILTER','')}</#if>" :multiple="<#if item.getEditorParam('MULTIPLE','') != ''>${item.getEditorParam('MULTIPLE','')}</#if>" style="${editor.getEditorCssStyle()}" @formitemvaluechange="onFormItemValueChange"></app-org-select>
\ No newline at end of file
@EDITOR/下拉列表框 (单位选择)/GRIDEIDTOR.vue.ftl
已删除
100644 → 0
浏览文件 @
9eaed9f2
<span>单位选择</span>
\ No newline at end of file
@EDITOR/下拉列表框 (单位选择)/PANELEDITOR.vue.ftl
已删除
100644 → 0
浏览文件 @
9eaed9f2
<#ibizinclude>../@MACRO/PANEL/DEFAULT.vue.ftl</#ibizinclude>
\ No newline at end of file
@EDITOR/下拉列表框 (单位选择)/template.properties
已删除
100644 → 0
浏览文件 @
9eaed9f2
EDITORTYPE
=
DROPDOWNLIST#ORGSELECT
\ No newline at end of file
@EDITOR/下拉列表框 (部门选择)/EDITOR.less.ftl
已删除
100644 → 0
浏览文件 @
9eaed9f2
@EDITOR/下拉列表框 (部门选择)/EDITOR.vue.ftl
已删除
100644 → 0
浏览文件 @
9eaed9f2
<app-department-select :data="data" name="${editor.name}" :value="data.${editor.name}" :context="JSON.parse(JSON.stringify(context))" :fillMap="<#if item.getEditorParam('FILLMAP','') != ''>${item.getEditorParam('FILLMAP','')}<#else>{}</#if>" filter="<#if item.getEditorParam('FILTER','') != ''>${item.getEditorParam('FILTER','')}</#if>" <#if item.getEditorParam('MULTIPLE','') != ''>:multiple="${item.getEditorParam('MULTIPLE','')}"</#if> <#if item.getEditorParam('URL','') != ''>url="${item.getEditorParam('URL','')}"</#if> style="${editor.getEditorCssStyle()}" @select-change="onFormItemValueChange"></app-department-select>
\ No newline at end of file
@EDITOR/下拉列表框 (部门选择)/GRIDEIDTOR.vue.ftl
已删除
100644 → 0
浏览文件 @
9eaed9f2
<span>部门选择</span>
\ No newline at end of file
@EDITOR/下拉列表框 (部门选择)/PANELEDITOR.vue.ftl
已删除
100644 → 0
浏览文件 @
9eaed9f2
<#ibizinclude>../@MACRO/PANEL/DEFAULT.vue.ftl</#ibizinclude>
\ No newline at end of file
@EDITOR/下拉列表框 (部门选择)/template.properties
已删除
100644 → 0
浏览文件 @
9eaed9f2
EDITORTYPE
=
DROPDOWNLIST#DEPATMENTSELECT
\ No newline at end of file
@EDITOR/下拉列表框/PANELEDITOR.vue.ftl
浏览文件 @
29d6a7a7
<#ibizinclude>../@MACRO/PANEL/DEFAULT.vue.ftl</#ibizinclude>
<#ibizinclude>../@MACRO/FUNC/PUBLIC.vue.ftl</#ibizinclude>
\ No newline at end of file
<dropdown-list
v-model="data.${editor.name?lower_case}"
<#if item.getEnableCond??>
:disabled="row.srfuf === 1 ? (${item.getEnableCond()?c} & 2) !== 2 : (${item.getEnableCond()?c} & 1) !== 1"
</#if>
:data="data"
:context="context"
:viewparams="viewparams"
:localContext =<@getNavigateContext editor />
:localParam =<@getNavigateParams editor />
<#if item.getPSCodeList()??>
<#assign codelist=item.getPSCodeList()>
tag='${codelist.codeName}'
codelistType='${codelist.getCodeListType()}'
</#if>
placeholder=<#if item.getPlaceHolder()??>'${item.getPlaceHolder()}'<#else>'请选择...'</#if>
style="${item.getEditorCssStyle()}"
@change="($event)=>{panelEditItemChange(data, '${editor.name?lower_case}', $event)}">
</dropdown-list>
@EDITOR/下拉列表框(100宽度)/PANELEDITOR.vue.ftl
浏览文件 @
29d6a7a7
<#ibizinclude>../@MACRO/PANEL/DEFAULT.vue.ftl</#ibizinclude>
<#ibizinclude>../@MACRO/FUNC/PUBLIC.vue.ftl</#ibizinclude>
\ No newline at end of file
<dropdown-list
v-model="data.${editor.name?lower_case}"
<#if item.getEnableCond??>
:disabled="data.srfuf === 1 ? (${item.getEnableCond()?c} & 2) !== 2 : (${item.getEnableCond()?c} & 1) !== 1"
</#if>
:data="data"
:context="context"
:viewparams="viewparams"
:localContext =<@getNavigateContext editor />
:localParam =<@getNavigateParams editor />
<#if item.getPSCodeList()??>
<#assign codelist=item.getPSCodeList()>
tag='${codelist.codeName}'
codelistType='${codelist.getCodeListType()}'
</#if>
placeholder=<#if item.getPlaceHolder()??>'${item.getPlaceHolder()}'<#else>'请选择...'</#if>
style="${item.getEditorCssStyle()}width: 100px;"
@change="($event)=>{panelEditItemChange(data, '${editor.name?lower_case}', $event)}">
</dropdown-list>
@EDITOR/下拉列表框(多选穿梭框)/EDITOR.vue.ftl
浏览文件 @
29d6a7a7
<#ibizinclude>../@MACRO/FUNC/PUBLIC.vue.ftl</#ibizinclude>
<#ibizinclude>../@MACRO/FUNC/PUBLIC.vue.ftl</#ibizinclude>
<app-transfer
<app-transfer
v-model="data.${editor.name}"
v-model="data.${editor.name}"
:data="data"
:context="context"
:context="context"
:viewparams="viewparams"
:viewparams="viewparams"
:localContext =<@getNavigateContext editor />
:localContext =<@getNavigateContext editor />
...
...
@EDITOR/下拉列表框(多选)/PANELEDITOR.vue.ftl
浏览文件 @
29d6a7a7
<#ibizinclude>../@MACRO/PANEL/DEFAULT.vue.ftl</#ibizinclude>
<#ibizinclude>../@MACRO/FUNC/PUBLIC.vue.ftl</#ibizinclude>
\ No newline at end of file
<dropdown-list-mpicker
v-model="data.${editor.name?lower_case}"
:data="data"
:context="context"
:viewparams="viewparams"
:localContext =<@getNavigateContext editor />
:localParam =<@getNavigateParams editor />
<#if item.getEnableCond??>
:disabled="data.srfuf === 1 ? (${item.getEnableCond()?c} & 2) !== 2 : (${item.getEnableCond()?c} & 1) !== 1"
</#if>
<#if item.getPSCodeList()??>
<#assign codelist=editor.getPSCodeList()>
tag='${codelist.codeName}'
codelistType='${codelist.getCodeListType()}'
<#if codelist.valueSeparator?has_content>valueSeparator="${codelist.valueSeparator}"</#if>
</#if>
placeholder=<#if item.getPlaceHolder()??>'${item.getPlaceHolder()}'<#else>'请选择...'</#if>
@change="($event)=>{panelEditItemChange(data, '${editor.name?lower_case}', $event)}"
style="${item.getEditorCssStyle()}">
</dropdown-list-mpicker>
\ No newline at end of file
@EDITOR/单选项列表/PANELEDITOR.vue.ftl
浏览文件 @
29d6a7a7
<#ibizinclude>../@MACRO/PANEL/DEFAULT.vue.ftl</#ibizinclude>
<#ibizinclude>../@MACRO/FUNC/PUBLIC.vue.ftl</#ibizinclude>
\ No newline at end of file
<app-radio-group
v-model="data.${editor.name?lower_case}"
<#if item.getEnableCond??>
:disabled="row.srfuf === 1 ? (${item.getEnableCond()?c} & 2) !== 2 : (${item.getEnableCond()?c} & 1) !== 1"
</#if>
name="${editor.name?lower_case}"
:data="data"
:context="context"
:viewparams="viewparams"
:localContext =<@getNavigateContext editor />
:localParam =<@getNavigateParams editor />
@change="($event)=>{panelEditItemChange(data, '${editor.name?lower_case}', $event)}"
<#if editor.getPSCodeList?? && editor.getPSCodeList()??>
<#assign codelist=item.getPSCodeList()>
tag='${codelist.codeName}'
codelistType='${codelist.getCodeListType()}'
</#if>
style="${item.getEditorCssStyle()}">
</app-radio-group>
@EDITOR/图片控件/PANELEDITOR.vue.ftl
浏览文件 @
29d6a7a7
<#ibizinclude>../@MACRO/PANEL/DEFAULT.vue.ftl</#ibizinclude>
<app-file-upload
\ No newline at end of file
:formState="viewState"
:ignorefieldvaluechange="false"
@formitemvaluechange="($event)=>{onPanelItemValueChange(data,$event)}"
:data="JSON.stringify(data)"
:name='${editor.name?lower_case}'
:value="data.${editor.name?lower_case}"
<#if item.getEnableCond??>
:disabled="data.srfuf === 1 ? (${item.getEnableCond()?c} & 2) !== 2 : (${item.getEnableCond()?c} & 1) !== 1"
</#if>
:rowPreview="true"
:imageOnly="true"
uploadparams='${editor.getEditorParam('uploadparams','')}'
exportparams='${editor.getEditorParam('exportparams','')}'
:customparams="<#if editor.getEditorParam('customparams','') != ''>${editor.getEditorParam('customparams','')}<#else>{}</#if>"
style="${editor.getEditorCssStyle()}overflow: auto;">
</app-file-upload>
\ No newline at end of file
@EDITOR/图片控件(信息展示)/PANELEDITOR.vue.ftl
浏览文件 @
29d6a7a7
<#ibizinclude>../@MACRO/PANEL/DEFAULT.vue.ftl</#ibizinclude>
<app-image-preview :formState="formState" name='${editor.name?lower_case}' :value="data.${editor.name?lower_case}" style="${editor.getEditorCssStyle()}"></app-image-preview>
\ No newline at end of file
\ No newline at end of file
@EDITOR/图片控件(单项)/PANELEDITOR.vue.ftl
浏览文件 @
29d6a7a7
<#ibizinclude>../@MACRO/PANEL/DEFAULT.vue.ftl</#ibizinclude>
<app-file-upload
\ No newline at end of file
:formState="viewState"
:ignorefieldvaluechange="false"
@formitemvaluechange="($event)=>{onPanelItemValueChange(data,$event)}"
:data="JSON.stringify(data)"
:name='${editor.name?lower_case}'
:value="data.${editor.name?lower_case}"
<#if item.getEnableCond??>
:disabled="data.srfuf === 1 ? (${item.getEnableCond()?c} & 2) !== 2 : (${item.getEnableCond()?c} & 1) !== 1"
</#if>
:rowPreview="true"
:imageOnly="true"
uploadparams='${editor.getEditorParam('uploadparams','')}'
exportparams='${editor.getEditorParam('exportparams','')}'
:customparams="<#if editor.getEditorParam('customparams','') != ''>${editor.getEditorParam('customparams','')}<#else>{}</#if>" style="${editor.getEditorCssStyle()}overflow: auto;">
</app-file-upload>
\ No newline at end of file
@EDITOR/多行输入框/PANELEDITOR.vue.ftl
浏览文件 @
29d6a7a7
<#ibizinclude>../@MACRO/PANEL/DEFAULT.vue.ftl</#ibizinclude>
<div class="ivu-input-wrapper ivu-input-wrapper-default ivu-input-type">
\ No newline at end of file
<textarea
class="ivu-input"
<#if item.getEnableCond??>
:disabled="row.srfuf === 1 ? (${item.getEnableCond()?c} & 2) !== 2 : (${item.getEnableCond()?c} & 1) !== 1"
</#if>
v-model="data.${editor.name?lower_case}"
style="${item.getEditorCssStyle()}"
<#if item.getPlaceHolder?? && item.getPlaceHolder()??>
placeholder="${item.getPlaceHolder()}"
</#if>
@change="($event)=>{panelEditItemChange(data, '${editor.name?lower_case}', $event)}">
</textarea>
</div>
\ No newline at end of file
@EDITOR/多行输入框(10行)/PANELEDITOR.vue.ftl
浏览文件 @
29d6a7a7
<#ibizinclude>../@MACRO/PANEL/DEFAULT.vue.ftl</#ibizinclude>
<div class="ivu-input-wrapper ivu-input-wrapper-default ivu-input-type">
\ No newline at end of file
<textarea
class="ivu-input"
<#if item.getEnableCond??>
:disabled="row.srfuf === 1 ? (${item.getEnableCond()?c} & 2) !== 2 : (${item.getEnableCond()?c} & 1) !== 1"
</#if>
rows="10"
v-model="data.${editor.name?lower_case}"
style="${item.getEditorCssStyle()}"
<#if item.getPlaceHolder?? && item.getPlaceHolder()??>
placeholder="${item.getPlaceHolder()}"
</#if>
@change="($event)=>{panelEditItemChange(data, '${editor.name?lower_case}', $event)}">
</textarea>
</div>
\ No newline at end of file
@EDITOR/密码框/PANELEDITOR.vue.ftl
浏览文件 @
29d6a7a7
<#ibizinclude>../@MACRO/PANEL/DEFAULT.vue.ftl</#ibizinclude>
<input-box
\ No newline at end of file
type="password"
<#if item.getEnableCond??>
:disabled="data.srfuf === 1 ? (${item.getEnableCond()?c} & 2) !== 2 : (${item.getEnableCond()?c} & 1) !== 1"
</#if>
v-model="data.${editor.name?lower_case}"
style="${item.getEditorCssStyle()}"
@change="($event)=>{panelEditItemChange(data, '${editor.name?lower_case}', $event)}">
</input-box>
\ No newline at end of file
@EDITOR/开关部件/PANELEDITOR.vue.ftl
浏览文件 @
29d6a7a7
<#ibizinclude>../@MACRO/PANEL/DEFAULT.vue.ftl</#ibizinclude>
<app-switch
\ No newline at end of file
name='${editor.name?lower_case}'
:value="data.${editor.name?lower_case}"
@change="($event)=>{data.${editor.name?lower_case} = $event;panelEditItemChange(data, '${editor.name?lower_case}', $event)} "
<#if item.getEnableCond??>
:disabled="row.srfuf === 1 ? (${item.getEnableCond()?c} & 2) !== 2 : (${item.getEnableCond()?c} & 1) !== 1"
</#if>
style="${item.getEditorCssStyle()}">
</app-switch>
\ No newline at end of file
@EDITOR/数值框/PANELEDITOR.vue.ftl
浏览文件 @
29d6a7a7
<#ibizinclude>../@MACRO/PANEL/DEFAULT.vue.ftl</#ibizinclude>
<input-box
\ No newline at end of file
type="number"
<#if item.getEnableCond??>
:disabled="data.srfuf === 1 ? (${item.getEnableCond()?c} & 2) !== 2 : (${item.getEnableCond()?c} & 1) !== 1"
</#if>
<#if item.getUnitName()??>unit="${item.getUnitName()}"</#if>
v-model="data.${editor.name?lower_case}"
style="${item.getEditorCssStyle()}"
<#if item.getPlaceHolder()??>placeholder="${item.getPlaceHolder()}"</#if>
@change="($event)=>{panelEditItemChange(data, '${editor.name?lower_case}', $event)}">
</input-box>
\ No newline at end of file
@EDITOR/数据选择/PANELEDITOR.vue.ftl
浏览文件 @
29d6a7a7
<#ibizinclude>../@MACRO/PANEL/DEFAULT.vue.ftl</#ibizinclude>
<#ibizinclude>../@MACRO/FUNC/PUBLIC.vue.ftl</#ibizinclude>
\ No newline at end of file
<#if editor.getEditorParam("PICKUPVIEW",true)??>
<#if editor.getPickupPSAppView()??>
<app-picker
:formState="viewState"
:data="data"
:context="context"
:viewparams="viewparams"
:localContext =<@getNavigateContext editor />
:localParam =<@getNavigateParams editor />
:disabled="data.srfuf === 1 ? (${item.getEnableCond()?c} & 2) !== 2 : (${item.getEnableCond()?c} & 1) !== 1"
name='${editor.name}'
<#if editor.getPSAppDataEntity?? && editor.getPSAppDataEntity()??>
deMajorField='${editor.getPSAppDataEntity().getMajorPSAppDEField().getCodeName()?lower_case}'
deKeyField='${editor.getPSAppDataEntity().getCodeName()?lower_case}'
</#if>
:service="service"
:acParams=<@getAcParams editor />
valueitem='${editor.getValueItemName()}'
:value="data[${editor.name}]"
editortype=""
:pickupView=<@getPickupView editor />
style="${editor.getEditorCssStyle()}"
@formitemvaluechange="($event)=>{onPanelItemValueChange(data,$event)}">
<@getItemRender editor />
</app-picker>
</#if>
</#if>
\ No newline at end of file
@EDITOR/文件上传/PANELEDITOR.vue.ftl
浏览文件 @
29d6a7a7
<#ibizinclude>../@MACRO/PANEL/DEFAULT.vue.ftl</#ibizinclude>
<app-file-upload
\ No newline at end of file
:formState="viewState"
:ignorefieldvaluechange="false"
@formitemvaluechange="($event)=>{onPanelItemValueChange(data,$event)}"
:data="JSON.stringify(data)"
:name='${editor.name?lower_case}'
:value="data.${editor.name?lower_case}"
<#if item.getEnableCond??>
:disabled="data.srfuf === 1 ? (${item.getEnableCond()?c} & 2) !== 2 : (${item.getEnableCond()?c} & 1) !== 1"
</#if>
:rowPreview="true"
uploadparams='${editor.getEditorParam('uploadparams','')}'
exportparams='${editor.getEditorParam('exportparams','')}'
:customparams="<#if editor.getEditorParam('customparams','') != ''>${editor.getEditorParam('customparams','')}<#else>{}</#if>" style="${editor.getEditorCssStyle()}overflow: auto;">
</app-file-upload>
\ No newline at end of file
@EDITOR/文件上传(信息展示)/PANELEDITOR.vue.ftl
浏览文件 @
29d6a7a7
<#ibizinclude>../@MACRO/PANEL/DEFAULT.vue.ftl</#ibizinclude>
<app-upload-file-info name='${editor.name?lower_case}' :value="data.${editor.name?lower_case}" style="${editor.getEditorCssStyle()}"></app-upload-file-info>
\ No newline at end of file
\ No newline at end of file
@EDITOR/文件上传(支持拖拽)/PANELEDITOR.vue.ftl
浏览文件 @
29d6a7a7
<#ibizinclude>../@MACRO/PANEL/DEFAULT.vue.ftl</#ibizinclude>
<app-file-upload
\ No newline at end of file
:isdrag="true"
:formState="viewState"
:ignorefieldvaluechange="false"
@formitemvaluechange="($event)=>{onPanelItemValueChange(data,$event)}"
:data="JSON.stringify(data)"
:name='${editor.name?lower_case}'
:value="data.${editor.name?lower_case}"
<#if item.getEnableCond??>
:disabled="data.srfuf === 1 ? (${item.getEnableCond()?c} & 2) !== 2 : (${item.getEnableCond()?c} & 1) !== 1"
</#if>
:rowPreview="true"
uploadparams='${editor.getEditorParam('uploadparams','')}'
exportparams='${editor.getEditorParam('exportparams','')}'
:customparams="<#if editor.getEditorParam('customparams','') != ''>${editor.getEditorParam('customparams','')}<#else>{}</#if>" style="${editor.getEditorCssStyle()}overflow: auto;">
</app-file-upload>
\ No newline at end of file
@EDITOR/时间选择器(新)/PANELEDITOR.vue.ftl
浏览文件 @
29d6a7a7
<#ibizinclude>../@MACRO/PANEL/DEFAULT.vue.ftl</#ibizinclude>
<date-picker
\ No newline at end of file
type="datetime"
:transfer="true"
format="yyyy-MM-dd HH:mm:ss"
placeholder="请选择时间..."
<#if item.getEnableCond??>
:disabled="data.srfuf === 1 ? (${item.getEnableCond()?c} & 2) !== 2 : (${item.getEnableCond()?c} & 1) !== 1"
</#if>
:value="data.${editor.name?lower_case}"
style="${item.getEditorCssStyle()}<#if item.getEditorParam('width','') == 'auto'>width:100%;</#if>"
@on-change="(val1, val2) => { data.${editor.name?lower_case} = val1; gridEditItemChange(data, '${editor.name?lower_case}', val1)}">
</date-picker>
\ No newline at end of file
@EDITOR/时间选择控件/PANELEDITOR.vue.ftl
浏览文件 @
29d6a7a7
<#ibizinclude>../@MACRO/PANEL/DEFAULT.vue.ftl</#ibizinclude>
<date-picker
\ No newline at end of file
type="date"
:transfer="true"
format="yyyy-MM-dd"
placeholder="请选择时间..."
<#if item.getEnableCond??>
:disabled="data.srfuf === 1 ? (${item.getEnableCond()?c} & 2) !== 2 : (${item.getEnableCond()?c} & 1) !== 1"
</#if>
:value="data.${editor.name?lower_case}"
style="${item.getEditorCssStyle()}<#if item.getEditorParam('width','') == 'auto'>width:100%;</#if>"
@on-change="(val1, val2) => { data.${editor.name?lower_case} = val1; gridEditItemChange(data, '${editor.name?lower_case}', val1)}">
</date-picker>
\ No newline at end of file
@EDITOR/时间选择控件_分钟/PANELEDITOR.vue.ftl
浏览文件 @
29d6a7a7
<#ibizinclude>../@MACRO/PANEL/DEFAULT.vue.ftl</#ibizinclude>
<time-picker
\ No newline at end of file
:transfer="true"
format="mm"
placeholder="请选择时间..."
<#if item.getEnableCond??>
:disabled="data.srfuf === 1 ? (${item.getEnableCond()?c} & 2) !== 2 : (${item.getEnableCond()?c} & 1) !== 1"
</#if>
:value="data.${editor.name?lower_case}"
style="${item.getEditorCssStyle()}<#if item.getEditorParam('width','') == 'auto'>width:100%;</#if>"
@on-change="(val) => { data.${editor.name?lower_case} = val; gridEditItemChange(data, '${editor.name?lower_case}', val)}">
</time-picker>
\ No newline at end of file
@EDITOR/时间选择控件_小时/PANELEDITOR.vue.ftl
浏览文件 @
29d6a7a7
<#ibizinclude>../@MACRO/PANEL/DEFAULT.vue.ftl</#ibizinclude>
<time-picker
\ No newline at end of file
:transfer="true"
format="HH"
placeholder="请选择时间..."
<#if item.getEnableCond??>
:disabled="data.srfuf === 1 ? (${item.getEnableCond()?c} & 2) !== 2 : (${item.getEnableCond()?c} & 1) !== 1"
</#if>
:value="data.${editor.name?lower_case}"
style="${item.getEditorCssStyle()}<#if item.getEditorParam('width','') == 'auto'>width:100%;</#if>"
@on-change="(val) => { data.${editor.name?lower_case} = val; gridEditItemChange(data, '${editor.name?lower_case}', val)}">
</time-picker>
\ No newline at end of file
@EDITOR/时间选择控件_无小时/PANELEDITOR.vue.ftl
浏览文件 @
29d6a7a7
<#ibizinclude>../@MACRO/PANEL/DEFAULT.vue.ftl</#ibizinclude>
<date-picker
\ No newline at end of file
type="date"
:transfer="true"
format="yyyy-MM-dd"
placeholder="请选择时间..."
<#if item.getEnableCond??>
:disabled="data.srfuf === 1 ? (${item.getEnableCond()?c} & 2) !== 2 : (${item.getEnableCond()?c} & 1) !== 1"
</#if>
:value="data.${editor.name?lower_case}"
style="${item.getEditorCssStyle()}<#if item.getEditorParam('width','') == 'auto'>width:100%;</#if>"
@on-change="(val1, val2) => { data.${editor.name?lower_case} = val1; gridEditItemChange(data, '${editor.name?lower_case}', val1)}">
</date-picker>
\ No newline at end of file
@EDITOR/时间选择控件_无日期/PANELEDITOR.vue.ftl
浏览文件 @
29d6a7a7
<#ibizinclude>../@MACRO/PANEL/DEFAULT.vue.ftl</#ibizinclude>
<time-picker
\ No newline at end of file
:transfer="true"
format="HH:mm:ss"
placeholder="请选择时间..."
<#if item.getEnableCond??>
:disabled="data.srfuf === 1 ? (${item.getEnableCond()?c} & 2) !== 2 : (${item.getEnableCond()?c} & 1) !== 1"
</#if>
:value="data.${editor.name?lower_case}"
style="${item.getEditorCssStyle()}<#if item.getEditorParam('width','') == 'auto'>width:100%;</#if>"
@on-change="(val) => { data.${editor.name?lower_case} = val; gridEditItemChange(data, '${editor.name?lower_case}', val)}">
</time-picker>
\ No newline at end of file
@EDITOR/时间选择控件_无日期无秒钟/PANELEDITOR.vue.ftl
浏览文件 @
29d6a7a7
<#ibizinclude>../@MACRO/PANEL/DEFAULT.vue.ftl</#ibizinclude>
<time-picker
\ No newline at end of file
:transfer="true"
format="HH:mm"
placeholder="请选择时间..."
<#if item.getEnableCond??>
:disabled="data.srfuf === 1 ? (${item.getEnableCond()?c} & 2) !== 2 : (${item.getEnableCond()?c} & 1) !== 1"
</#if>
:value="data.${editor.name?lower_case}"
style="${item.getEditorCssStyle()}<#if item.getEditorParam('width','') == 'auto'>width:100%;</#if>"
@on-change="(val) => { data.${editor.name?lower_case} = val; gridEditItemChange(data, '${editor.name?lower_case}', val)}">
</time-picker>
\ No newline at end of file
@EDITOR/时间选择控件_秒钟/PANELEDITOR.vue.ftl
浏览文件 @
29d6a7a7
<#ibizinclude>../@MACRO/PANEL/DEFAULT.vue.ftl</#ibizinclude>
<time-picker
\ No newline at end of file
:transfer="true"
format="ss"
placeholder="请选择时间..."
<#if item.getEnableCond??>
:disabled="data.srfuf === 1 ? (${item.getEnableCond()?c} & 2) !== 2 : (${item.getEnableCond()?c} & 1) !== 1"
</#if>
:value="data.${editor.name?lower_case}"
style="${item.getEditorCssStyle()}<#if item.getEditorParam('width','') == 'auto'>width:100%;</#if>"
@on-change="(val) => { data.${editor.name?lower_case} = val; gridEditItemChange(data, '${editor.name?lower_case}', val)}">
</time-picker>
\ No newline at end of file
@EDITOR/步进器/PANELEDITOR.vue.ftl
浏览文件 @
29d6a7a7
<#ibizinclude>../@MACRO/PANEL/DEFAULT.vue.ftl</#ibizinclude>
<app-stepper
\ No newline at end of file
name='${editor.name}'
:value="data.${editor.name?lower_case}"
@change="($event)=>{onPanelItemValueChange(data,$event)} "
<#if item.getEnableCond??>
:disabled="data.srfuf === 1 ? (${item.getEnableCond()?c} & 2) !== 2 : (${item.getEnableCond()?c} & 1) !== 1"
</#if>
style="${item.getEditorCssStyle()}">
</app-stepper>
\ No newline at end of file
@EDITOR/滑动输入条/PANELEDITOR.vue.ftl
浏览文件 @
29d6a7a7
<#ibizinclude>../@MACRO/PANEL/DEFAULT.vue.ftl</#ibizinclude>
<app-slider
\ No newline at end of file
name='${editor.name?lower_case}'
:value="data.${editor.name?lower_case}"
@change="($event)=>{onPanelItemValueChange(data,$event)} "
<#if item.getEnableCond??>
:disabled="row.srfuf === 1 ? (${item.getEnableCond()?c} & 2) !== 2 : (${item.getEnableCond()?c} & 1) !== 1"
</#if>
style="${item.getEditorCssStyle()}">
</app-slider>
\ No newline at end of file
@EDITOR/评分器/PANELEDITOR.vue.ftl
浏览文件 @
29d6a7a7
<#ibizinclude>../@MACRO/PANEL/DEFAULT.vue.ftl</#ibizinclude>
<app-rate
\ No newline at end of file
name='${editor.name?lower_case}'
:value="data.${editor.name?lower_case}"
@change="($event)=>{data.${editor.name?lower_case} = $event; panelEditItemChange(data, '${editor.name?lower_case}', $event)} "
<#if item.getEnableCond??>
:disabled="data.srfuf === 1 ? (${item.getEnableCond()?c} & 2) !== 2 : (${item.getEnableCond()?c} & 1) !== 1"
</#if>
style="${item.getEditorCssStyle()}">
</app-rate>
\ No newline at end of file
@EDITOR/选项框/PANELEDITOR.vue.ftl
浏览文件 @
29d6a7a7
<#ibizinclude>../@MACRO/PANEL/DEFAULT.vue.ftl</#ibizinclude>
<div style="${item.getEditorCssStyle()}">
\ No newline at end of file
<app-checkbox :value="data.${editor.name?lower_case}" @change="($event)=>{data.${editor.name?lower_case} = $event;panelEditItemChange(data, '${editor.name?lower_case}', $event)} " <#if item.getEnableCond??>:disabled="data.srfuf === 1 ? (${item.getEnableCond()?c} & 2) !== 2 : (${item.getEnableCond()?c} & 1) !== 1"</#if>></app-checkbox>
</div>
\ No newline at end of file
@EDITOR/选项框列表/PANELEDITOR.vue.ftl
浏览文件 @
29d6a7a7
<#ibizinclude>../@MACRO/PANEL/DEFAULT.vue.ftl</#ibizinclude>
<#ibizinclude>../@MACRO/FUNC/PUBLIC.vue.ftl</#ibizinclude>
\ No newline at end of file
<app-checkbox-list
v-model="data.${editor.name?lower_case}"
<#if item.getEnableCond??>
:disabled="data.srfuf === 1 ? (${item.getEnableCond()?c} & 2) !== 2 : (${item.getEnableCond()?c} & 1) !== 1"
</#if>
:data="data"
:context="context"
:viewparams="viewparams"
:localContext =<@getNavigateContext editor />
:localParam =<@getNavigateParams editor />
<#if item.getPSCodeList()??>
<#assign codelist=item.getPSCodeList()>
tag='${codelist.codeName}'
codelistType='${codelist.getCodeListType()}'
<#if codelist.valueSeparator?has_content>
valueSeparator="${codelist.valueSeparator}"
</#if>
mode="${codelist.getOrMode()?lower_case}"
</#if>
name="${editor.name?lower_case}"
@change="($event)=>{panelEditItemChange(data, '${editor.name?lower_case}', $event)}">
</app-checkbox-list>
编辑
预览
Markdown
格式
0%
请重试
or
添加新附件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录