Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
ghsby
o2oa
提交
c5d99666
o2oa
项目概览
ghsby
/
o2oa
落后 Fork 源项目 2880 个版本
Fork自
浙江兰德纵横网络技术股份有限公司 / o2oa
通知
1
Star
1
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,发现更多精彩内容 >>
提交
c5d99666
编写于
7月 14, 2021
作者:
U
unknown
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
内容管理分类增加是否发送消息的配置
上级
87ffd68f
变更
5
隐藏空白更改
内联
并排
Showing
5 changed file
with
32 addition
and
0 deletion
+32
-0
o2web/source/x_component_cms_Column/lp/en.js
o2web/source/x_component_cms_Column/lp/en.js
+1
-0
o2web/source/x_component_cms_Column/lp/zh-cn.js
o2web/source/x_component_cms_Column/lp/zh-cn.js
+1
-0
o2web/source/x_component_cms_ColumnManager/CategoryExplorer.js
.../source/x_component_cms_ColumnManager/CategoryExplorer.js
+22
-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_Column/lp/en.js
浏览文件 @
c5d99666
...
...
@@ -53,6 +53,7 @@ MWF.xApplication.cms.Column.LP = {
"
create
"
:
"
Create a new category
"
,
"
nameLabel
"
:
"
Category Name
"
,
"
aliasLabel
"
:
"
Category Alias
"
,
"
sendNotify
"
:
"
Send Message
"
,
"
descriptionLabel
"
:
"
Category description
"
,
"
sortLabel
"
:
"
Queue number
"
,
"
columnLabel
"
:
"
AppInfo
"
,
...
...
o2web/source/x_component_cms_Column/lp/zh-cn.js
浏览文件 @
c5d99666
...
...
@@ -53,6 +53,7 @@ MWF.xApplication.cms.Column.LP = {
"
create
"
:
"
新建分类
"
,
"
nameLabel
"
:
"
分类名称
"
,
"
aliasLabel
"
:
"
分类别名
"
,
"
sendNotify
"
:
"
发布时是否发送消息
"
,
"
descriptionLabel
"
:
"
分类描述
"
,
"
sortLabel
"
:
"
分类排序
"
,
"
columnLabel
"
:
"
所属栏目
"
,
...
...
o2web/source/x_component_cms_ColumnManager/CategoryExplorer.js
浏览文件 @
c5d99666
...
...
@@ -775,6 +775,13 @@ MWF.xApplication.cms.ColumnManager.CategoryExplorer.Category = new Class({
this
.
app
.
notice
(
MWF
.
xApplication
.
cms
.
ColumnManager
.
LP
.
setDocumentTypeSuccess
);
}.
bind
(
this
))
},
setSendNotify
:
function
(
isSend
){
var
d
=
this
.
data
;
d
.
sendNotify
=
isSend
;
this
.
app
.
restActions
.
saveCategory
(
d
,
function
(
json
){
this
.
app
.
notice
(
MWF
.
xApplication
.
cms
.
ColumnManager
.
LP
.
setSendNotifySuccess
);
}.
bind
(
this
))
},
setEditForm
:
function
(
formId
,
formName
){
var
d
=
this
.
data
;
d
.
formId
=
formId
;
...
...
@@ -2647,6 +2654,7 @@ MWF.xApplication.cms.ColumnManager.CategoryExplorer.CategoryProperty = new Class
html
+=
"
<tr><td class='formTitle'>
"
+
this
.
app
.
lp
.
category
.
documentType
+
"
</td><td id='formCategoryType' class='formValue'>
"
+
"
</td></tr>
"
;
//(this.category.data.documentType || "" )+
// 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
+=
"
</table>
"
;
this
.
propertyContentNode
.
set
(
"
html
"
,
html
);
this
.
propertyContentNode
.
getElements
(
"
td.formTitle
"
).
setStyles
(
this
.
app
.
css
.
propertyBaseContentTdTitle
);
...
...
@@ -2673,6 +2681,20 @@ MWF.xApplication.cms.ColumnManager.CategoryExplorer.CategoryProperty = new Class
});
this
.
typeSelect
.
load
();
var
sendNotifyValue
=
o2
.
typeOf
(
this
.
category
.
data
.
sendNotify
)
===
"
boolean
"
?
this
.
category
.
data
.
sendNotify
:
true
;
this
.
sendNotify
=
new
MDomItem
(
this
.
propertyContentNode
.
getElement
(
"
#formCategorySendNotify
"
),
{
type
:
"
select
"
,
value
:
sendNotifyValue
.
toString
(),
selectValue
:
lp
.
sendNotifySelectValue
,
selectText
:
lp
.
sendNotifySelectText
,
event
:
{
change
:
function
(
item
){
this
.
category
.
setSendNotify
(
item
.
getValue
()
!==
"
false
"
);
}.
bind
(
this
)
}
});
this
.
sendNotify
.
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
浏览文件 @
c5d99666
...
...
@@ -60,6 +60,7 @@ MWF.xApplication.cms.ColumnManager.LP = {
"
idLabel
"
:
"
Category Label
"
,
"
nameLabel
"
:
"
Category Name
"
,
"
aliasLabel
"
:
"
Category Alias
"
,
"
sendNotify
"
:
"
Send Message
"
,
"
descriptionLabel
"
:
"
Category description
"
,
"
sortLabel
"
:
"
Queue Number
"
,
"
columnLabel
"
:
"
AppInfo
"
,
...
...
@@ -228,6 +229,7 @@ MWF.xApplication.cms.ColumnManager.LP = {
"
setImpExpViewSuccess
"
:
"
Set the category import and export view successfully
"
,
"
setCategoryAliasSuccess
"
:
"
Set category alias successfully
"
,
"
setDocumentTypeSuccess
"
:
"
Set the document type successfully
"
,
"
setSendNotifySuccess
"
:
"
Set Send Messsage successfully
"
,
"
setEditFormSuccess
"
:
"
Set Edit Form Success
"
,
"
setReadFormSuccess
"
:
"
Set Read Form Success
"
,
"
inputCategoryNotice
"
:
"
Please enter the category name
"
,
...
...
@@ -252,6 +254,8 @@ MWF.xApplication.cms.ColumnManager.LP = {
"
disableProcess
"
:
"
Disable the approval process
"
,
"
documentTypeSelectValue
"
:
[
"
信息
"
,
"
数据
"
],
"
documentTypeSelectText
"
:
[
"
Information
"
,
"
Data
"
],
"
sendNotifySelectText
"
:
[
"
yes
"
,
"
no
"
],
"
sendNotifySelectValue
"
:
[
"
true
"
,
"
false
"
],
"
infor
"
:
"
Information
"
,
"
data
"
:
"
Data
"
,
"
type
"
:
"
Type
"
,
...
...
o2web/source/x_component_cms_ColumnManager/lp/zh-cn.js
浏览文件 @
c5d99666
...
...
@@ -60,6 +60,7 @@ MWF.xApplication.cms.ColumnManager.LP = {
"
idLabel
"
:
"
分类标识
"
,
"
nameLabel
"
:
"
分类名称
"
,
"
aliasLabel
"
:
"
分类别名
"
,
"
sendNotify
"
:
"
发布时是否发送消息
"
,
"
descriptionLabel
"
:
"
分类描述
"
,
"
sortLabel
"
:
"
分类排序
"
,
"
columnLabel
"
:
"
所属栏目
"
,
...
...
@@ -229,6 +230,7 @@ MWF.xApplication.cms.ColumnManager.LP = {
"
setImpExpViewSuccess
"
:
"
设置分类导入导出视图成功
"
,
"
setCategoryAliasSuccess
"
:
"
设置分类别名成功
"
,
"
setDocumentTypeSuccess
"
:
"
设置文档类型成功
"
,
"
setSendNotifySuccess
"
:
"
设置是否发送消息成功
"
,
"
setEditFormSuccess
"
:
"
设置编辑表单成功
"
,
"
setReadFormSuccess
"
:
"
设置阅读表单成功
"
,
"
inputCategoryNotice
"
:
"
请输入分类名称
"
,
...
...
@@ -253,6 +255,8 @@ MWF.xApplication.cms.ColumnManager.LP = {
"
disableProcess
"
:
"
禁用审批流
"
,
"
documentTypeSelectValue
"
:
[
"
信息
"
,
"
数据
"
],
"
documentTypeSelectText
"
:
[
"
信息
"
,
"
数据
"
],
"
sendNotifySelectText
"
:
[
"
是
"
,
"
否
"
],
"
sendNotifySelectValue
"
:
[
"
true
"
,
"
false
"
],
"
infor
"
:
"
信息
"
,
"
data
"
:
"
数据
"
,
"
type
"
:
"
类型
"
,
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录