Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
提交反馈
为 GitLab 提交贡献
登录
切换导航
iBiz-Vue-R7
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
议题
22
议题
22
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
iBiz-R7前端标准模板
iBiz-Vue-R7
提交
6e245517
提交
6e245517
编写于
9月 30, 2025
作者:
Cano1997
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
update: 图片控件添加参数
上级
6f4e2991
变更
4
隐藏空白字符变更
内嵌
并排
正在显示
4 个修改的文件
包含
20 行增加
和
3 行删除
+20
-3
EDITOR.vue.ftl
@EDITOR/图片控件/EDITOR.vue.ftl
+3
-0
EDITOR.vue.ftl
@EDITOR/图片控件(信息展示)/EDITOR.vue.ftl
+10
-2
EDITOR.vue.ftl
@EDITOR/图片控件(单项)/EDITOR.vue.ftl
+4
-1
EDITOR.vue.ftl
@EDITOR/图片控件(磁盘图片)/EDITOR.vue.ftl
+3
-0
未找到文件。
@EDITOR/图片控件/EDITOR.vue.ftl
浏览文件 @
6e245517
...
...
@@ -2,6 +2,8 @@
${editor.render.code}
<#else>
<app-image-upload
:appEntityService="appEntityService"
:context="context"
:multiple="true"
:limit="<#if editor.getEditorParam('limit','') != ''>${editor.getEditorParam('limit','')}<#else>9999</#if>"
:accept="'<#if editor.getEditorParam('accept','') != ''>${editor.getEditorParam('accept','')}<#else>image/*</#if>'"
...
...
@@ -12,6 +14,7 @@
name='${editor.name}'
:value="data.${editor.name}"
:disabled="detailsModel.${editor.name}.disabled"
:ownerid="<#if item.getEditorParam("ownerid",'') != ''>'${item.getEditorParam("ownerid",'')}'<#else>data.srfkey</#if>"
:uploadparams='<#if editor.getEditorParam('uploadparams','') != ''>${editor.getEditorParam('uploadparams','')}<#else>{}</#if>'
:exportparams='<#if editor.getEditorParam('exportparams','') != ''>${editor.getEditorParam('exportparams','')}<#else>{}</#if>'
style="${editor.getEditorCssStyle()}overflow: auto;">
...
...
@EDITOR/图片控件(信息展示)/EDITOR.vue.ftl
浏览文件 @
6e245517
<app-image-preview :formState="formState" name='${editor.name}' :value="data.${editor.name}" style="${editor.getEditorCssStyle()}"></app-image-preview>
\ No newline at end of file
<app-image-preview
:appEntityService="appEntityService"
:context="context"
:formState="formState"
name='${editor.name}'
:value="data.${editor.name}"
:ownerid="<#if item.getEditorParam("ownerid",'') != ''>'${item.getEditorParam("ownerid",'')}'<#else>data.srfkey</#if>"
style="${editor.getEditorCssStyle()}">
</app-image-preview>
\ No newline at end of file
@EDITOR/图片控件(单项)/EDITOR.vue.ftl
浏览文件 @
6e245517
<#if editor?? && editor.render??>
${editor.render.code}
<#else>
<app-image-upload
<app-image-upload
:appEntityService="appEntityService"
:context="context"
:multiple="false"
:limit="<#if editor.getEditorParam('limit','') != ''>${editor.getEditorParam('limit','')}<#else>9999</#if>"
:accept="'<#if editor.getEditorParam('accept','') != ''>${editor.getEditorParam('accept','')}<#else>image/*</#if>'"
...
...
@@ -12,6 +14,7 @@
name='${editor.name}'
:value="data.${editor.name}"
:disabled="detailsModel.${editor.name}.disabled"
:ownerid="<#if item.getEditorParam("ownerid",'') != ''>'${item.getEditorParam("ownerid",'')}'<#else>data.srfkey</#if>"
:uploadparams='<#if editor.getEditorParam('uploadparams','') != ''>${editor.getEditorParam('uploadparams','')}<#else>{}</#if>'
:exportparams='<#if editor.getEditorParam('exportparams','') != ''>${editor.getEditorParam('exportparams','')}<#else>{}</#if>'>
</app-image-upload>
...
...
@EDITOR/图片控件(磁盘图片)/EDITOR.vue.ftl
浏览文件 @
6e245517
<disk-image-upload
:appEntityService="appEntityService"
:context="context"
:data="data"
formItemName="${item.name}"
:value="data.${item.name}"
:formState="formState"
:ownerid="<#if item.getEditorParam("ownerid",'') != ''>'${item.getEditorParam("ownerid",'')}'<#else>data.srfkey</#if>"
folder=<#if item.getEditorParam("folder",'') != ''>"${item.getEditorParam("folder",'')}"<#else>"${ctrl.getPSDataEntity().getCodeName()?lower_case}"</#if>
ownertype=<#if item.getEditorParam("ownerType",'') != ''>"${item.getEditorParam("ownerType",'')}"<#else>"${item.name}"</#if>
:ownerid=<#if item.getEditorParam("ownerid",'') != ''>"'${item.getEditorParam("ownerid",'')}'"<#else>"data.srfkey"</#if>
...
...
编辑
预览
Markdown
格式
0%
请重试
or
添加新附件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录