Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
fuyue82
o2oa
提交
7b972e8f
o2oa
项目概览
fuyue82
/
o2oa
与 Fork 源项目一致
Fork自
浙江兰德纵横网络技术股份有限公司 / o2oa
通知
1
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
o2oa
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
7b972e8f
编写于
4月 09, 2020
作者:
U
unknown
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
[流程管理]修复附件上传指定格式文件异常的问题中
上级
7e4f9b79
变更
4
隐藏空白更改
内联
并排
Showing
4 changed file
with
33 addition
and
13 deletion
+33
-13
o2web/source/x_component_cms_FormDesigner/Module/Attachment/attachment.html
...ponent_cms_FormDesigner/Module/Attachment/attachment.html
+30
-11
o2web/source/x_component_cms_Xform/Attachment.js
o2web/source/x_component_cms_Xform/Attachment.js
+1
-1
o2web/source/x_component_process_FormDesigner/Module/Attachment/attachment.html
...nt_process_FormDesigner/Module/Attachment/attachment.html
+1
-0
o2web/source/x_component_process_Xform/Attachment.js
o2web/source/x_component_process_Xform/Attachment.js
+1
-1
未找到文件。
o2web/source/x_component_cms_FormDesigner/Module/Attachment/attachment.html
浏览文件 @
7b972e8f
...
...
@@ -56,17 +56,36 @@
<tr>
<td
class=
"editTableTitle"
>
允许上传类型:
</td>
<td
class=
"editTableValue"
>
<input
type=
"checkbox"
name=
"attachmentExtType"
text
{(!$.
attachmentExtType
||
$.
attachmentExtType.indexOf
('
word
')!=
-1
)?'
checked
'
:
''}
value=
"word"
>
WORD文档
<input
type=
"checkbox"
name=
"attachmentExtType"
text
{(!$.
attachmentExtType
||
$.
attachmentExtType.indexOf
('
excel
')!=
-1
)?'
checked
'
:
''}
value=
"excel"
>
EXCEL文档
<input
type=
"checkbox"
name=
"attachmentExtType"
text
{(!$.
attachmentExtType
||
$.
attachmentExtType.indexOf
('
ppt
')!=
-1
)?'
checked
'
:
''}
value=
"ppt"
>
PPT文档
<input
type=
"checkbox"
name=
"attachmentExtType"
text
{(!$.
attachmentExtType
||
$.
attachmentExtType.indexOf
('
ppt
')!=
-1
)?'
checked
'
:
''}
value=
"txt"
>
文本文档
<input
type=
"checkbox"
name=
"attachmentExtType"
text
{(!$.
attachmentExtType
||
$.
attachmentExtType.indexOf
('
pic
')!=
-1
)?'
checked
'
:
''}
value=
"pic"
>
图片文件
<input
type=
"checkbox"
name=
"attachmentExtType"
text
{(!$.
attachmentExtType
||
$.
attachmentExtType.indexOf
('
pdf
')!=
-1
)?'
checked
'
:
''}
value=
"pdf"
>
PDF文档
<input
type=
"checkbox"
name=
"attachmentExtType"
text
{(!$.
attachmentExtType
||
$.
attachmentExtType.indexOf
('
zip
')!=
-1
)?'
checked
'
:
''}
value=
"zip"
>
压缩文档
<input
type=
"checkbox"
name=
"attachmentExtType"
text
{(!$.
attachmentExtType
||
$.
attachmentExtType.indexOf
('
audio
')!=
-1
)?'
checked
'
:
''}
value=
"audio"
>
音频文档
<input
type=
"checkbox"
name=
"attachmentExtType"
text
{(!$.
attachmentExtType
||
$.
attachmentExtType.indexOf
('
video
')!=
-1
)?'
checked
'
:
''}
value=
"video"
>
视频文档
<br/>
<input
type=
"checkbox"
name=
"attachmentExtType"
text
{(!$.
attachmentExtType
||
$.
attachmentExtType.indexOf
('
other
')!=
-1
)?'
checked
'
:
''}
value=
"other"
>
其他
<input
type=
"text"
name=
"attachmentExtOtherType"
value=
"text{$.attachmentExtOtherType}"
class=
"editTableInput"
/>
<input
type=
"checkbox"
name=
"attachmentExtType"
text
{(!$.
attachmentExtType
||
$.
attachmentExtType.indexOf
('
word
')!=
-1
)?'
checked
'
:
''}
value=
"word"
onchange=
"
if (!this.checked && !$('text{$.pid}attachmentExtOtherType').get('value'))$('text{$.pid}attachmentExtType_other').set('checked', false );
"
>
WORD文档
<input
type=
"checkbox"
name=
"attachmentExtType"
text
{(!$.
attachmentExtType
||
$.
attachmentExtType.indexOf
('
excel
')!=
-1
)?'
checked
'
:
''}
value=
"excel"
onchange=
"
if (!this.checked && !$('text{$.pid}attachmentExtOtherType').get('value'))$('text{$.pid}attachmentExtType_other').set('checked', false );
"
>
EXCEL文档
<input
type=
"checkbox"
name=
"attachmentExtType"
text
{(!$.
attachmentExtType
||
$.
attachmentExtType.indexOf
('
ppt
')!=
-1
)?'
checked
'
:
''}
value=
"ppt"
onchange=
"
if (!this.checked && !$('text{$.pid}attachmentExtOtherType').get('value'))$('text{$.pid}attachmentExtType_other').set('checked', false );
"
>
PPT文档
<input
type=
"checkbox"
name=
"attachmentExtType"
text
{(!$.
attachmentExtType
||
$.
attachmentExtType.indexOf
('
ppt
')!=
-1
)?'
checked
'
:
''}
value=
"txt"
onchange=
"
if (!this.checked && !$('text{$.pid}attachmentExtOtherType').get('value'))$('text{$.pid}attachmentExtType_other').set('checked', false );
"
>
文本文档
<input
type=
"checkbox"
name=
"attachmentExtType"
text
{(!$.
attachmentExtType
||
$.
attachmentExtType.indexOf
('
pic
')!=
-1
)?'
checked
'
:
''}
value=
"pic"
onchange=
"
if (!this.checked && !$('text{$.pid}attachmentExtOtherType').get('value'))$('text{$.pid}attachmentExtType_other').set('checked', false );
"
>
图片文件
<input
type=
"checkbox"
name=
"attachmentExtType"
text
{(!$.
attachmentExtType
||
$.
attachmentExtType.indexOf
('
pdf
')!=
-1
)?'
checked
'
:
''}
value=
"pdf"
onchange=
"
if (!this.checked && !$('text{$.pid}attachmentExtOtherType').get('value'))$('text{$.pid}attachmentExtType_other').set('checked', false );
"
>
PDF文档
<input
type=
"checkbox"
name=
"attachmentExtType"
text
{(!$.
attachmentExtType
||
$.
attachmentExtType.indexOf
('
zip
')!=
-1
)?'
checked
'
:
''}
value=
"zip"
onchange=
"
if (!this.checked && !$('text{$.pid}attachmentExtOtherType').get('value'))$('text{$.pid}attachmentExtType_other').set('checked', false );
"
>
压缩文档
<input
type=
"checkbox"
name=
"attachmentExtType"
text
{(!$.
attachmentExtType
||
$.
attachmentExtType.indexOf
('
audio
')!=
-1
)?'
checked
'
:
''}
value=
"audio"
onchange=
"
if (!this.checked && !$('text{$.pid}attachmentExtOtherType').get('value'))$('text{$.pid}attachmentExtType_other').set('checked', false );
"
>
音频文档
<input
type=
"checkbox"
name=
"attachmentExtType"
text
{(!$.
attachmentExtType
||
$.
attachmentExtType.indexOf
('
video
')!=
-1
)?'
checked
'
:
''}
value=
"video"
onchange=
"
if (!this.checked && !$('text{$.pid}attachmentExtOtherType').get('value'))$('text{$.pid}attachmentExtType_other').set('checked', false );
"
>
视频文档
<br/>
<input
id=
"text{$.pid}attachmentExtType_other"
type=
"checkbox"
name=
"attachmentExtType"
text
{(!$.
attachmentExtType
||
$.
attachmentExtType.indexOf
('
other
')!=
-1
)?'
checked
'
:
''}
value=
"other"
>
其他
<input
id=
"text{$.pid}attachmentExtOtherType"
type=
"text"
name=
"attachmentExtOtherType"
value=
"text{$.attachmentExtOtherType}"
class=
"editTableInput"
/>
<span>
填写样例:.doc, .docx, .xls
</span>
</td>
</tr>
<tr>
...
...
o2web/source/x_component_cms_Xform/Attachment.js
浏览文件 @
7b972e8f
...
...
@@ -193,7 +193,7 @@ MWF.xApplication.cms.Xform.Attachment = MWF.CMSAttachment = new Class({
if
(
this
.
json
.
attachmentExtOtherType
)
accepts
.
push
(
this
.
json
.
attachmentExtOtherType
);
break
;
}
});
}
.
bind
(
this
)
);
accept
=
accepts
.
join
(
"
,
"
);
}
var
size
=
0
;
...
...
o2web/source/x_component_process_FormDesigner/Module/Attachment/attachment.html
浏览文件 @
7b972e8f
...
...
@@ -85,6 +85,7 @@
"
>
视频文档
<br/>
<input
id=
"text{$.pid}attachmentExtType_other"
type=
"checkbox"
name=
"attachmentExtType"
text
{(!$.
attachmentExtType
||
$.
attachmentExtType.indexOf
('
other
')!=
-1
)?'
checked
'
:
''}
value=
"other"
>
其他
<input
id=
"text{$.pid}attachmentExtOtherType"
type=
"text"
name=
"attachmentExtOtherType"
value=
"text{$.attachmentExtOtherType}"
class=
"editTableInput"
/>
<span>
填写样例:.doc, .docx, .xls
</span>
</td>
</tr>
<tr>
...
...
o2web/source/x_component_process_Xform/Attachment.js
浏览文件 @
7b972e8f
...
...
@@ -1144,7 +1144,7 @@ MWF.xApplication.process.Xform.Attachment = MWF.APPAttachment = new Class({
if
(
this
.
json
.
attachmentExtOtherType
)
accepts
.
push
(
this
.
json
.
attachmentExtOtherType
);
break
;
}
});
}
.
bind
(
this
)
);
accept
=
accepts
.
join
(
"
,
"
);
}
var
size
=
0
;
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录