Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
ghsby
o2oa
提交
acf404cb
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,发现更多精彩内容 >>
提交
acf404cb
编写于
10月 30, 2020
作者:
U
unknown
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
视图中增加可以选择行的条件
上级
17c289bc
变更
7
隐藏空白更改
内联
并排
Showing
7 changed file
with
20 addition
and
5 deletion
+20
-5
o2web/source/x_component_cms_Module/ViewExplorer.js
o2web/source/x_component_cms_Module/ViewExplorer.js
+4
-0
o2web/source/x_component_portal_PageDesigner/Module/View/view.html
...rce/x_component_portal_PageDesigner/Module/View/view.html
+3
-1
o2web/source/x_component_process_FormDesigner/Module/View/view.html
...ce/x_component_process_FormDesigner/Module/View/view.html
+3
-1
o2web/source/x_component_process_FormDesigner/Module/ViewSelector/ViewSelector.html
...rocess_FormDesigner/Module/ViewSelector/ViewSelector.html
+1
-0
o2web/source/x_component_process_Xform/View.js
o2web/source/x_component_process_Xform/View.js
+2
-1
o2web/source/x_component_process_Xform/ViewSelector.js
o2web/source/x_component_process_Xform/ViewSelector.js
+2
-1
o2web/source/x_component_query_ViewDesigner/$View/view.html
o2web/source/x_component_query_ViewDesigner/$View/view.html
+5
-1
未找到文件。
o2web/source/x_component_cms_Module/ViewExplorer.js
浏览文件 @
acf404cb
...
...
@@ -321,6 +321,10 @@ MWF.xApplication.cms.Module.QueryViewer = new Class({
this
.
viewJson
.
firstTdHidden
=
true
;
if
(
this
.
json
.
defaultSelectedScript
)
this
.
json
.
defaultSelectedScript
=
""
;
if
(
this
.
viewJson
.
defaultSelectedScript
)
this
.
viewJson
.
defaultSelectedScript
=
""
;
if
(
this
.
json
.
selectedAbleScript
)
this
.
json
.
selectedAbleScript
=
""
;
if
(
this
.
viewJson
.
selectedAbleScript
)
this
.
viewJson
.
selectedAbleScript
=
""
;
if
(
this
.
isSelectTdHidden
()
){
this
.
selectTitleCell
.
hide
();
}
...
...
o2web/source/x_component_portal_PageDesigner/Module/View/view.html
浏览文件 @
acf404cb
...
...
@@ -98,7 +98,7 @@
<tr>
<td
class=
"editTableTitle"
>
选择文件
</td>
<td
class=
"editTableValue"
>
<select
name=
"select"
>
<select
name=
"select"
onchange=
"$('text{$.pid}selectedAbleScript').setStyle('display', this.options[this.selectedIndex].value === 'no' ? 'none' : 'block');"
>
<option
text
{($.
select
!='
single
'
&&
$.
select
!='
multi
')?'
selected
'
:
''}
value=
"no"
>
不允许
</option>
<option
text
{($
.select=
='single')?'selected':''}
value=
"single"
>
单选
</option>
<option
text
{($
.select=
='multi')?'selected':''}
value=
"multi"
>
多选
</option>
...
...
@@ -197,6 +197,8 @@
<div
class=
"fieldListAreaNode_vf"
style=
"display:none; min-height: 56px; border-bottom:1px solid #CCCCCC; overflow: hidden;"
></div>
</div>
<div
class=
"MWFScriptArea"
name=
"defaultSelectedScript"
title=
"默认选中行脚本"
></div>
<div
class=
"MWFScriptArea"
name=
"selectedAbleScript"
title=
"允许选择行脚本"
id=
"text{$.pid}selectedAbleScript"
style=
"display: text{($.select=='single' || $.select=='multi')?'':'none'}"
></div>
</div>
<div
title=
"事件"
class=
"MWFTab"
>
<div
class=
"MWFEventsArea"
name=
"events"
></div>
...
...
o2web/source/x_component_process_FormDesigner/Module/View/view.html
浏览文件 @
acf404cb
...
...
@@ -159,7 +159,7 @@
<tr>
<td
class=
"editTableTitle"
>
选择文件
</td>
<td
class=
"editTableValue"
>
<select
name=
"select"
>
<select
name=
"select"
onchange=
"$('text{$.pid}selectedAbleScript').setStyle('display', this.options[this.selectedIndex].value === 'no' ? 'none' : 'block');"
>
<option
text
{($.
select
!='
single
'
&&
$.
select
!='
multi
')?'
selected
'
:
''}
value=
"no"
>
不允许
</option>
<option
text
{($
.select=
='single')?'selected':''}
value=
"single"
>
单选
</option>
<option
text
{($
.select=
='multi')?'selected':''}
value=
"multi"
>
多选
</option>
...
...
@@ -258,6 +258,8 @@
<div
class=
"fieldListAreaNode_vf"
style=
"display:none; min-height: 56px; border-bottom:1px solid #CCCCCC; overflow: hidden;"
></div>
</div>
<div
class=
"MWFScriptArea"
name=
"defaultSelectedScript"
title=
"默认选中行脚本"
></div>
<div
class=
"MWFScriptArea"
name=
"selectedAbleScript"
title=
"允许选择行脚本"
id=
"text{$.pid}selectedAbleScript"
style=
"display: text{($.select=='single' || $.select=='multi')?'':'none'}"
></div>
</div>
<div
title=
"事件"
class=
"MWFTab"
>
...
...
o2web/source/x_component_process_FormDesigner/Module/ViewSelector/ViewSelector.html
浏览文件 @
acf404cb
...
...
@@ -108,6 +108,7 @@
<div
class=
"MWFScriptArea"
name=
"selectedScript"
title=
"选择结果 (S)"
></div>
</div>
<div
class=
"MWFScriptArea"
name=
"defaultSelectedScript"
title=
"默认选中行脚本"
></div>
<div
class=
"MWFScriptArea"
name=
"selectedAbleScript"
title=
"允许选择行脚本"
></div>
</div>
<div
title=
"过滤"
class=
"MWFTab"
>
<div
class=
"MWFViewFilter"
>
...
...
o2web/source/x_component_process_Xform/View.js
浏览文件 @
acf404cb
...
...
@@ -63,7 +63,8 @@ MWF.xApplication.process.Xform.View = MWF.APPView = new Class({
"
isExpand
"
:
this
.
json
.
isExpand
||
"
no
"
,
"
showActionbar
"
:
this
.
json
.
actionbar
===
"
show
"
,
"
filter
"
:
filter
,
"
defaultSelectedScript
"
:
this
.
json
.
defaultSelectedScript
?
this
.
json
.
defaultSelectedScript
.
code
:
null
"
defaultSelectedScript
"
:
this
.
json
.
defaultSelectedScript
?
this
.
json
.
defaultSelectedScript
.
code
:
null
,
"
selectedAbleScript
"
:
this
.
json
.
selectedAbleScript
?
this
.
json
.
selectedAbleScript
.
code
:
null
};
//MWF.xDesktop.requireApp("query.Query", "Viewer", function(){
...
...
o2web/source/x_component_process_Xform/ViewSelector.js
浏览文件 @
acf404cb
...
...
@@ -284,7 +284,8 @@ MWF.xApplication.process.Xform.ViewSelector = MWF.APPViewSelector = new Class({
"
isExpand
"
:
this
.
json
.
isExpand
||
"
no
"
,
"
showActionbar
"
:
this
.
json
.
actionbar
===
"
show
"
,
"
filter
"
:
filter
,
"
defaultSelectedScript
"
:
this
.
json
.
defaultSelectedScript
?
this
.
json
.
defaultSelectedScript
.
code
:
null
"
defaultSelectedScript
"
:
this
.
json
.
defaultSelectedScript
?
this
.
json
.
defaultSelectedScript
.
code
:
null
,
"
selectedAbleScript
"
:
this
.
json
.
selectedAbleScript
?
this
.
json
.
selectedAbleScript
.
code
:
null
};
var
options
=
{};
var
width
=
options
.
width
||
"
850
"
;
...
...
o2web/source/x_component_query_ViewDesigner/$View/view.html
浏览文件 @
acf404cb
...
...
@@ -69,16 +69,19 @@
if (this.checked){
$('text{$.id}selectBoxShowTr').setStyle('display', 'none');
$('text{$.id}allowSelectAllTr').setStyle('display', 'none');
$('text{$.id}selectedAbleScript').setStyle('display', 'none');
}"
/>
无
<input
class=
"editTableRadio"
name=
"data.select"
text
{($
.data.select=
=='single')?'checked':''}
type=
"radio"
value=
"single"
onclick=
"
if (this.checked){
$('text{$.id}selectBoxShowTr').setStyle('display', 'table-row');
$('text{$.id}allowSelectAllTr').setStyle('display', 'none');
$('text{$.id}selectedAbleScript').setStyle('display', 'block');
}"
/>
单选
<input
class=
"editTableRadio"
name=
"data.select"
text
{($
.data.select=
=='multi')?'checked':''}
type=
"radio"
value=
"multi"
onclick=
"
if (this.checked){
$('text{$.id}selectBoxShowTr').setStyle('display', 'table-row');
$('text{$.id}allowSelectAllTr').setStyle('display', 'table-row');
$('text{$.id}selectedAbleScript').setStyle('display', 'block');
}"
/>
多选
</td>
</tr>
...
...
@@ -144,7 +147,8 @@
</table>
<div
class=
"MWFFormulaArea"
name=
"data.defaultSelectedScript"
title=
"默认选中行脚本"
></div>
<div
class=
"MWFFormulaArea"
name=
"data.selectedAbleScript"
title=
"允许选择行脚本"
></div>
<div
class=
"MWFFormulaArea"
name=
"data.selectedAbleScript"
title=
"允许选择行脚本"
id=
"text{$.id}selectedAbleScript"
style=
"display: text{($.data.select=='single' || $.data.select=='multi')?'':'none'}"
></div>
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录