Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
提交反馈
为 GitLab 提交贡献
登录
切换导航
iBiz-Vue-R7
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
议题
22
议题
22
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
iBiz-R7前端标准模板
iBiz-Vue-R7
提交
ef618dd1
提交
ef618dd1
编写于
10月 20, 2021
作者:
Shine-zwj
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
add:新增文件上传组件上传个数与类型白名单的相关参数
上级
8f63d652
变更
8
显示空白字符变更
内嵌
并排
正在显示
8 个修改的文件
包含
74 行增加
和
9 行删除
+74
-9
EDITOR.vue.ftl
@EDITOR/图片控件/EDITOR.vue.ftl
+17
-3
GRIDEIDTOR.vue.ftl
@EDITOR/图片控件/GRIDEIDTOR.vue.ftl
+2
-0
EDITOR.vue.ftl
@EDITOR/图片控件(单项)/EDITOR.vue.ftl
+16
-3
GRIDEIDTOR.vue.ftl
@EDITOR/图片控件(单项)/GRIDEIDTOR.vue.ftl
+2
-0
EDITOR.vue.ftl
@EDITOR/文件上传/EDITOR.vue.ftl
+16
-1
GRIDEIDTOR.vue.ftl
@EDITOR/文件上传/GRIDEIDTOR.vue.ftl
+2
-0
EDITOR.vue.ftl
@EDITOR/文件上传(支持拖拽)/EDITOR.vue.ftl
+17
-2
GRIDEIDTOR.vue.ftl
@EDITOR/文件上传(支持拖拽)/GRIDEIDTOR.vue.ftl
+2
-0
未找到文件。
@EDITOR/图片控件/EDITOR.vue.ftl
浏览文件 @
ef618dd1
<#if editor?? && editor.render??>
${editor.render.code}
<#else>
<app-image-upload :multiple="true" :formState="formState" :ignorefieldvaluechange="ignorefieldvaluechange" @formitemvaluechange="onFormItemValueChange" :data="JSON.stringify(this.data)" name='${editor.name}' :value="data.${editor.name}" :disabled="detailsModel.${editor.name}.disabled" :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;"></app-image-upload>
</#if>
\ No newline at end of file
<app-image-upload
:multiple="true"
:limit="<#if editor.getEditorParam('limit','') != ''>${editor.getEditorParam('limit','')}<#else>9999</#if>"
:accept="<#if editor.getEditorParam('accept','') != ''>${editor.getEditorParam('accept','')}<#else>image/*</#if>"
:formState="formState"
:ignorefieldvaluechange="ignorefieldvaluechange"
@formitemvaluechange="onFormItemValueChange"
:data="JSON.stringify(this.data)"
name='${editor.name}'
:value="data.${editor.name}"
:disabled="detailsModel.${editor.name}.disabled"
: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;">
</app-image-upload>
</#if>
\ No newline at end of file
@EDITOR/图片控件/GRIDEIDTOR.vue.ftl
浏览文件 @
ef618dd1
...
...
@@ -2,6 +2,8 @@
${editor.render.code}
<#else>
<app-file-upload
:limit="<#if editor.getEditorParam('limit','') != ''>${editor.getEditorParam('limit','')}<#else>9999</#if>"
:accept="<#if editor.getEditorParam('accept','') != ''>${editor.getEditorParam('accept','')}<#else>*</#if>"
:formState="viewState"
:ignorefieldvaluechange="false"
@formitemvaluechange="($event)=>{onGridItemValueChange(row,$event,$index)}"
...
...
@EDITOR/图片控件(单项)/EDITOR.vue.ftl
浏览文件 @
ef618dd1
<#if editor?? && editor.render??>
${editor.render.code}
<#else>
<app-image-upload :multiple="false" :formState="formState" :ignorefieldvaluechange="ignorefieldvaluechange" @formitemvaluechange="onFormItemValueChange" :data="JSON.stringify(this.data)" name='${editor.name}' :value="data.${editor.name}" :disabled="detailsModel.${editor.name}.disabled" :uploadparams='<#if editor.getEditorParam('uploadparams','') != ''>${editor.getEditorParam('uploadparams','')}<#else>{}</#if>' :exportparams='<#if editor.getEditorParam('exportparams','') != ''>${editor.getEditorParam('exportparams','')}<#else>{}</#if>' ></app-image-upload>
</#if>
\ No newline at end of file
<app-image-upload
:multiple="false"
:limit="<#if editor.getEditorParam('limit','') != ''>${editor.getEditorParam('limit','')}<#else>9999</#if>"
:accept="<#if editor.getEditorParam('accept','') != ''>${editor.getEditorParam('accept','')}<#else>image/*</#if>"
:formState="formState"
:ignorefieldvaluechange="ignorefieldvaluechange"
@formitemvaluechange="onFormItemValueChange"
:data="JSON.stringify(this.data)"
name='${editor.name}'
:value="data.${editor.name}"
:disabled="detailsModel.${editor.name}.disabled"
:uploadparams='<#if editor.getEditorParam('uploadparams','') != ''>${editor.getEditorParam('uploadparams','')}<#else>{}</#if>'
:exportparams='<#if editor.getEditorParam('exportparams','') != ''>${editor.getEditorParam('exportparams','')}<#else>{}</#if>'>
</app-image-upload>
</#if>
\ No newline at end of file
@EDITOR/图片控件(单项)/GRIDEIDTOR.vue.ftl
浏览文件 @
ef618dd1
...
...
@@ -2,6 +2,8 @@
${editor.render.code}
<#else>
<app-file-upload
:limit="<#if editor.getEditorParam('limit','') != ''>${editor.getEditorParam('limit','')}<#else>9999</#if>"
:accept="<#if editor.getEditorParam('accept','') != ''>${editor.getEditorParam('accept','')}<#else>*</#if>"
:formState="viewState"
:ignorefieldvaluechange="false"
@formitemvaluechange="($event)=>{onGridItemValueChange(row,$event,$index)}"
...
...
@EDITOR/文件上传/EDITOR.vue.ftl
浏览文件 @
ef618dd1
<#if editor?? && editor.render??>
${editor.render.code}
<#else>
<app-file-upload :formState="formState" :ignorefieldvaluechange="ignorefieldvaluechange" @formitemvaluechange="onFormItemValueChange" :data="JSON.stringify(this.data)" name='${editor.name}' :value="data.${editor.name}" :disabled="detailsModel.${editor.name}.disabled" :uploadparams='<#if editor.getEditorParam('uploadparams','') != ''>${editor.getEditorParam('uploadparams','')}<#else>{}</#if>' :exportparams='<#if editor.getEditorParam('exportparams','') != ''>${editor.getEditorParam('exportparams','')}<#else>{}</#if>' :multiple='<#if editor.getEditorParam('multiple','') != ''>${editor.getEditorParam('multiple','')}<#else>true</#if>' style="${editor.getEditorCssStyle()}overflow: auto;"></app-file-upload>
<app-file-upload
:limit="<#if editor.getEditorParam('limit','') != ''>${editor.getEditorParam('limit','')}<#else>9999</#if>"
:accept="<#if editor.getEditorParam('accept','') != ''>${editor.getEditorParam('accept','')}<#else>*</#if>"
:formState="formState"
:ignorefieldvaluechange="ignorefieldvaluechange"
@formitemvaluechange="onFormItemValueChange"
:data="JSON.stringify(this.data)"
name='${editor.name}'
:value="data.${editor.name}"
:disabled="detailsModel.${editor.name}.disabled"
:uploadparams='<#if editor.getEditorParam('uploadparams','') != ''>${editor.getEditorParam('uploadparams','')}<#else>{}</#if>'
:exportparams='<#if editor.getEditorParam('exportparams','') != ''>${editor.getEditorParam('exportparams','')}<#else>{}</#if>'
:multiple='<#if editor.getEditorParam('multiple','') != ''>${editor.getEditorParam('multiple','')}<#else>true</#if>'
style="${editor.getEditorCssStyle()}overflow: auto;">
</app-file-upload>
</#if>
\ No newline at end of file
@EDITOR/文件上传/GRIDEIDTOR.vue.ftl
浏览文件 @
ef618dd1
...
...
@@ -2,6 +2,8 @@
${editor.render.code}
<#else>
<app-file-upload
:limit="<#if editor.getEditorParam('limit','') != ''>${editor.getEditorParam('limit','')}<#else>9999</#if>"
:accept="<#if editor.getEditorParam('accept','') != ''>${editor.getEditorParam('accept','')}<#else>*</#if>"
:formState="viewState"
:ignorefieldvaluechange="false"
@formitemvaluechange="($event)=>{onGridItemValueChange(row,$event,$index)}"
...
...
@EDITOR/文件上传(支持拖拽)/EDITOR.vue.ftl
浏览文件 @
ef618dd1
<app-file-upload :isdrag="true" :formState="formState" :ignorefieldvaluechange="ignorefieldvaluechange" @formitemvaluechange="onFormItemValueChange" :data="JSON.stringify(this.data)" name='${editor.name}' :value="data.${editor.name}" :disabled="detailsModel.${editor.name}.disabled" :uploadparams='<#if editor.getEditorParam('uploadparams','') != ''>${editor.getEditorParam('uploadparams','')}<#else>{}</#if>' :exportparams='<#if editor.getEditorParam('exportparams','') != ''>${editor.getEditorParam('exportparams','')}<#else>{}</#if>' :multiple='<#if editor.getEditorParam('multiple','') != ''>${editor.getEditorParam('multiple','')}<#else>true</#if>' style="${editor.getEditorCssStyle()}overflow: auto;"></app-file-upload>
\ No newline at end of file
<app-file-upload
:isdrag="true"
:limit="<#if editor.getEditorParam('limit','') != ''>${editor.getEditorParam('limit','')}<#else>9999</#if>"
:accept="<#if editor.getEditorParam('accept','') != ''>${editor.getEditorParam('accept','')}<#else>*</#if>"
:formState="formState"
:ignorefieldvaluechange="ignorefieldvaluechange"
@formitemvaluechange="onFormItemValueChange"
:data="JSON.stringify(this.data)"
name='${editor.name}'
:value="data.${editor.name}"
:disabled="detailsModel.${editor.name}.disabled"
:uploadparams='<#if editor.getEditorParam('uploadparams','') != ''>${editor.getEditorParam('uploadparams','')}<#else>{}</#if>'
:exportparams='<#if editor.getEditorParam('exportparams','') != ''>${editor.getEditorParam('exportparams','')}<#else>{}</#if>'
:multiple='<#if editor.getEditorParam('multiple','') != ''>${editor.getEditorParam('multiple','')}<#else>true</#if>'
style="${editor.getEditorCssStyle()}overflow: auto;">
</app-file-upload>
\ No newline at end of file
@EDITOR/文件上传(支持拖拽)/GRIDEIDTOR.vue.ftl
浏览文件 @
ef618dd1
<app-file-upload
:isdrag="true"
:limit="<#if editor.getEditorParam('limit','') != ''>${editor.getEditorParam('limit','')}<#else>9999</#if>"
:accept="<#if editor.getEditorParam('accept','') != ''>${editor.getEditorParam('accept','')}<#else>*</#if>"
:formState="viewState"
:ignorefieldvaluechange="false"
@formitemvaluechange="($event)=>{onGridItemValueChange(row,$event,$index)}"
...
...
编辑
预览
Markdown
格式
0%
请重试
or
添加新附件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录