Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
fuyue82
o2oa
提交
4e6aedc1
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,发现更多精彩内容 >>
提交
4e6aedc1
编写于
3月 02, 2022
作者:
U
unknown
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
文档发布范围为空时是否全员通
上级
f741467f
变更
3
隐藏空白更改
内联
并排
Showing
3 changed file
with
32 addition
and
0 deletion
+32
-0
o2web/source/x_component_cms_ColumnManager/CategoryExplorer.js
.../source/x_component_cms_ColumnManager/CategoryExplorer.js
+24
-0
o2web/source/x_component_cms_ColumnManager/lp/en.js
o2web/source/x_component_cms_ColumnManager/lp/en.js
+4
-0
o2web/source/x_component_cms_ColumnManager/lp/zh-cn.js
o2web/source/x_component_cms_ColumnManager/lp/zh-cn.js
+4
-0
未找到文件。
o2web/source/x_component_cms_ColumnManager/CategoryExplorer.js
浏览文件 @
4e6aedc1
...
...
@@ -782,6 +782,13 @@ MWF.xApplication.cms.ColumnManager.CategoryExplorer.Category = new Class({
this
.
app
.
notice
(
MWF
.
xApplication
.
cms
.
ColumnManager
.
LP
.
setSendNotifySuccess
);
}.
bind
(
this
))
},
setBlankToAllNotify
:
function
(
value
){
var
d
=
this
.
data
;
d
.
blankToAllNotify
=
value
;
this
.
app
.
restActions
.
saveCategory
(
d
,
function
(
json
){
this
.
app
.
notice
(
MWF
.
xApplication
.
cms
.
ColumnManager
.
LP
.
setBlankToAllNotifySuccess
);
}.
bind
(
this
))
},
setEditForm
:
function
(
formId
,
formName
){
var
d
=
this
.
data
;
d
.
formId
=
formId
;
...
...
@@ -2665,6 +2672,7 @@ MWF.xApplication.cms.ColumnManager.CategoryExplorer.CategoryProperty = new Class
// html += "<tr><td class='formTitle'>"+this.app.lp.application.icon+"</td><td id='formApplicationIcon'></td></tr>";
html
+=
"
<tr><td class='formTitle'>
"
+
this
.
app
.
lp
.
category
.
excelImportView
+
"
</td><td class='formValue'><div id='formImportViewId' style='cursor:pointer;width:90%;min-height:22px;overflow:hidden;border:1px solid #ccc;border-radius: 3px;'></div></td></td></tr>
"
;
//(this.category.data.documentType || "" )+
html
+=
"
<tr><td class='formTitle'>
"
+
this
.
app
.
lp
.
category
.
sendNotify
+
"
</td><td id='formCategorySendNotify' class='formValue'></td></tr>
"
;
//"+this.category.data.categoryAlias+"
html
+=
"
<tr><td class='formTitle'>
"
+
this
.
app
.
lp
.
category
.
blankToAllNotify
+
"
</td><td id='formCategoryBlankToAllNotify' class='formValue'></td></tr>
"
;
//"+this.category.data.categoryAlias+"
html
+=
"
</table>
"
;
this
.
propertyContentNode
.
set
(
"
html
"
,
html
);
this
.
propertyContentNode
.
getElements
(
"
td.formTitle
"
).
setStyles
(
this
.
app
.
css
.
propertyBaseContentTdTitle
);
...
...
@@ -2707,6 +2715,22 @@ MWF.xApplication.cms.ColumnManager.CategoryExplorer.CategoryProperty = new Class
});
this
.
sendNotify
.
load
();
var
blankToAllNotifyValue
=
o2
.
typeOf
(
this
.
category
.
data
.
blankToAllNotify
)
===
"
boolean
"
?
this
.
category
.
data
.
blankToAllNotify
:
true
;
this
.
blankToAllNotify
=
new
MDomItem
(
this
.
propertyContentNode
.
getElement
(
"
#formCategoryBlankToAllNotify
"
),
{
type
:
"
select
"
,
style
:
this
.
app
.
css
.
processSelect
,
value
:
blankToAllNotifyValue
.
toString
(),
selectValue
:
lp
.
blankToAllNotifySelectValue
,
selectText
:
lp
.
blankToAllNotifySelectText
,
event
:
{
change
:
function
(
item
){
this
.
category
.
setBlankToAllNotify
(
item
.
getValue
()
!==
"
false
"
);
}.
bind
(
this
)
}
});
this
.
blankToAllNotify
.
load
();
var
value
=
this
.
category
.
data
.
importViewId
?
[{
id
:
this
.
category
.
data
.
importViewId
,
name
:
this
.
category
.
data
.
importViewName
,
...
...
o2web/source/x_component_cms_ColumnManager/lp/en.js
浏览文件 @
4e6aedc1
...
...
@@ -62,6 +62,7 @@ MWF.xApplication.cms.ColumnManager.LP = {
"
nameLabel
"
:
"
Category Name
"
,
"
aliasLabel
"
:
"
Category Alias
"
,
"
sendNotify
"
:
"
Send Message
"
,
"
blankToAllNotify
"
:
"
Notify all when the release range is empty
"
,
"
descriptionLabel
"
:
"
Category description
"
,
"
sortLabel
"
:
"
Queue Number
"
,
"
columnLabel
"
:
"
AppInfo
"
,
...
...
@@ -235,6 +236,7 @@ MWF.xApplication.cms.ColumnManager.LP = {
"
setCategoryAliasSuccess
"
:
"
Set category alias successfully
"
,
"
setDocumentTypeSuccess
"
:
"
Set the document type successfully
"
,
"
setSendNotifySuccess
"
:
"
Set Send Messsage successfully
"
,
"
setBlankToAllNotifySuccess
"
:
"
Whether the message is sent successfully when the release range is empty
"
,
"
setEditFormSuccess
"
:
"
Set Edit Form Success
"
,
"
setReadFormSuccess
"
:
"
Set Read Form Success
"
,
"
setProjectionSuccess
"
:
"
Set data mapping success
"
,
...
...
@@ -262,6 +264,8 @@ MWF.xApplication.cms.ColumnManager.LP = {
"
documentTypeSelectText
"
:
[
"
Information
"
,
"
Data
"
],
"
sendNotifySelectText
"
:
[
"
yes
"
,
"
no
"
],
"
sendNotifySelectValue
"
:
[
"
true
"
,
"
false
"
],
"
blankToAllNotifySelectText
"
:
[
"
yes
"
,
"
no
"
],
"
blankToAllNotifySelectValue
"
:
[
"
true
"
,
"
false
"
],
"
infor
"
:
"
Information
"
,
"
data
"
:
"
Data
"
,
"
type
"
:
"
Type
"
,
...
...
o2web/source/x_component_cms_ColumnManager/lp/zh-cn.js
浏览文件 @
4e6aedc1
...
...
@@ -62,6 +62,7 @@ MWF.xApplication.cms.ColumnManager.LP = {
"
nameLabel
"
:
"
分类名称
"
,
"
aliasLabel
"
:
"
分类别名
"
,
"
sendNotify
"
:
"
发布时是否发送消息
"
,
"
blankToAllNotify
"
:
"
发布范围为空时是否全员通知
"
,
"
descriptionLabel
"
:
"
分类描述
"
,
"
sortLabel
"
:
"
分类排序
"
,
"
columnLabel
"
:
"
所属栏目
"
,
...
...
@@ -236,6 +237,7 @@ MWF.xApplication.cms.ColumnManager.LP = {
"
setCategoryAliasSuccess
"
:
"
设置分类别名成功
"
,
"
setDocumentTypeSuccess
"
:
"
设置文档类型成功
"
,
"
setSendNotifySuccess
"
:
"
设置是否发送消息成功
"
,
"
setBlankToAllNotifySuccess
"
:
"
设置发布范围为空是否发送消息成功
"
,
"
setEditFormSuccess
"
:
"
设置编辑表单成功
"
,
"
setReadFormSuccess
"
:
"
设置阅读表单成功
"
,
"
setProjectionSuccess
"
:
"
设置数据映射成功
"
,
...
...
@@ -263,6 +265,8 @@ MWF.xApplication.cms.ColumnManager.LP = {
"
documentTypeSelectText
"
:
[
"
信息
"
,
"
数据
"
],
"
sendNotifySelectText
"
:
[
"
是
"
,
"
否
"
],
"
sendNotifySelectValue
"
:
[
"
true
"
,
"
false
"
],
"
blankToAllNotifySelectText
"
:
[
"
是
"
,
"
否
"
],
"
blankToAllNotifySelectValue
"
:
[
"
true
"
,
"
false
"
],
"
infor
"
:
"
信息
"
,
"
data
"
:
"
数据
"
,
"
type
"
:
"
类型
"
,
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录