Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
ghsby
o2oa
提交
40d3a74a
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,发现更多精彩内容 >>
提交
40d3a74a
编写于
3月 19, 2020
作者:
U
unknown
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
视图增加自定义功能
上级
cb5c0ba8
变更
8
展开全部
隐藏空白更改
内联
并排
Showing
8 changed file
with
1495 addition
and
219 deletion
+1495
-219
o2web/source/x_component_query_Query/$Viewer/default/css.wcss
...b/source/x_component_query_Query/$Viewer/default/css.wcss
+5
-5
o2web/source/x_component_query_Query/Viewer.js
o2web/source/x_component_query_Query/Viewer.js
+393
-49
o2web/source/x_component_query_ViewDesigner/$View/default/css.wcss
...rce/x_component_query_ViewDesigner/$View/default/css.wcss
+32
-1
o2web/source/x_component_query_ViewDesigner/$View/view.html
o2web/source/x_component_query_ViewDesigner/$View/view.html
+24
-0
o2web/source/x_component_query_ViewDesigner/$View/view.json
o2web/source/x_component_query_ViewDesigner/$View/view.json
+31
-1
o2web/source/x_component_query_ViewDesigner/Property.js
o2web/source/x_component_query_ViewDesigner/Property.js
+279
-152
o2web/source/x_component_query_ViewDesigner/View.js
o2web/source/x_component_query_ViewDesigner/View.js
+713
-11
o2web/source/x_component_query_ViewDesigner/lp/zh-cn.js
o2web/source/x_component_query_ViewDesigner/lp/zh-cn.js
+18
-0
未找到文件。
o2web/source/x_component_query_Query/$Viewer/default/css.wcss
浏览文件 @
40d3a74a
...
...
@@ -164,7 +164,7 @@
"border": "1px solid #cccccc",
"float": "none",
"margin": "10px",
"border-radius": "5px"
,
"border-radius": "5px"
},
"viewFilterSearchCustomActionNode": {
"height": "24px",
...
...
@@ -249,16 +249,16 @@
"viewFilterSearchCustomPathListNode": {
"border": "0px",
"border-radius": "5px",
"height": "
80
px",
"height": "
74
px",
"padding": "3px",
"width": "9
9
px",
"width": "9
3
px",
"font-size": "12px"
},
"viewFilterSearchCustomComparisonListNode": {
"border": "0px",
"height": "
80
px",
"height": "
74
px",
"padding": "3px",
"width": "9
9
px",
"width": "9
3
px",
"font-size": "12px"
},
"viewFilterSearchOptionNode": {
...
...
o2web/source/x_component_query_Query/Viewer.js
浏览文件 @
40d3a74a
此差异已折叠。
点击以展开。
o2web/source/x_component_query_ViewDesigner/$View/default/css.wcss
浏览文件 @
40d3a74a
{
"actionbarNode" : {
"overflow": "hidden"
},
"viewAreaNode": {
"overflow": "hidden"
},
"viewTitleNode": {
"viewTitleNode": {
"height": "40px",
"background-color": "#EEE",
"border-bottom": "1px solid #999",
...
...
@@ -316,5 +319,33 @@
"position": "relative",
"margin-right": "8px",
"top": "-38px"
},
"toolbarWarpNode": {
"border": "1px dashed #999",
"height": "auto",
"overflow": "hidden",
"margin": "auto",
"display": "block",
"-webkit-user-select": "none",
"-moz-user-select": "none",
"position": "static",
"opacity": 1,
"width": "auto",
"margin": "3px 3px",
"background-color": "#999",
"cursor": "pointer"
},
"toolbarWarpNode_selected": {
"background-color": "#FFF",
// "height": "38px",
"border": "1px solid red",
"white-space": "nowrap"
},
"toolbarWarpNode_over": {
"background-color": "#F9F9F9",
// "height": "38px",
"border": "1px dotted blue",
"white-space": "nowrap"
}
}
\ No newline at end of file
o2web/source/x_component_query_ViewDesigner/$View/view.html
浏览文件 @
40d3a74a
...
...
@@ -46,6 +46,27 @@
<td
class=
"editTableTitle"
>
每页行数:
</td>
<td
class=
"editTableValue"
><input
type=
"number"
name=
"pageSize"
value=
"text{$.pageSize || 20}"
class=
"editTableInput"
/></td>
</tr>
<tr>
<td
class=
"editTableTitle"
>
视图样式:
</td>
<td
class=
"editTableValue"
>
<select
class=
"MWFViewStyle"
name=
"viewStyleType"
></select>
</td>
</tr>
<tr>
<td
class=
"editTableTitle"
>
隐藏操作条:
</td>
<td
class=
"editTableValue"
>
<input
class=
"editTableRadio"
name=
"data.actionbarHidden"
text
{($.
data.actionbarHidden
!==
false
)?'
checked
'
:
''}
type=
"radio"
value=
"true"
/>
是
<input
class=
"editTableRadio"
name=
"data.actionbarHidden"
text
{($
.data.actionbarHidden=
==false)?'checked':''}
type=
"radio"
value=
"false"
/>
否
</td>
</tr>
<tr>
<td
class=
"editTableTitle"
>
选择:
</td>
<td
class=
"editTableValue"
>
<input
class=
"editTableRadio"
name=
"data.select"
text
{($.
data.select
!=='
single
'
||
$.
data.select
!=='
multi
'
)?'
checked
'
:
''}
type=
"radio"
value=
"none"
/>
无
<input
class=
"editTableRadio"
name=
"data.select"
text
{($
.data.select=
=='single')?'checked':''}
type=
"radio"
value=
"single"
/>
单选
<input
class=
"editTableRadio"
name=
"data.select"
text
{($
.data.select=
=='multi')?'checked':''}
type=
"radio"
value=
"multi"
/>
多选
</td>
</tr>
<!--<tr>-->
<!--<td class="editTableTitle">最大行数:</td>-->
<!--<td class="editTableValue"><input type="text" name="max" value="text{$.max}" class="editTableInput"/></td>-->
...
...
@@ -561,6 +582,9 @@
</div>
</div>
<div
title=
"事件"
class=
"MWFTab"
>
<div
class=
"MWFEventsArea"
name=
"data.events"
></div>
</div>
<div
title=
"JSON"
class=
"MWFTab"
>
<div
class=
"MWFJSONArea"
style=
"font-family: Verdana, Geneva, sans-serif; font-size:14px"
></div>
...
...
o2web/source/x_component_query_ViewDesigner/$View/view.json
浏览文件 @
40d3a74a
...
...
@@ -39,7 +39,37 @@
"calculate"
:
{},
"afterGridScriptText"
:
""
,
"afterGroupGridScriptText"
:
""
,
"afterCalculateGridScriptText"
:
""
"afterCalculateGridScriptText"
:
""
,
"events"
:
{
"queryLoad"
:
{
"code"
:
""
,
"html"
:
""
},
"postLoadData"
:
{
"code"
:
""
,
"html"
:
""
},
"postLoad"
:
{
"code"
:
""
,
"html"
:
""
},
"queryLoadRow"
:
{
"code"
:
""
,
"html"
:
""
},
"postLoadRow"
:
{
"code"
:
""
,
"html"
:
""
},
"selectRow"
:
{
"code"
:
""
,
"html"
:
""
},
"unselectRow"
:
{
"code"
:
""
,
"html"
:
""
}
}
},
"availableIdentityList"
:
[],
"availableUnitList"
:
[]
...
...
o2web/source/x_component_query_ViewDesigner/Property.js
浏览文件 @
40d3a74a
此差异已折叠。
点击以展开。
o2web/source/x_component_query_ViewDesigner/View.js
浏览文件 @
40d3a74a
此差异已折叠。
点击以展开。
o2web/source/x_component_query_ViewDesigner/lp/zh-cn.js
浏览文件 @
40d3a74a
...
...
@@ -50,6 +50,24 @@ MWF.xApplication.query.ViewDesigner.LP = {
"
inputName
"
:
"
请输入视图名称
"
,
"
noModifyName
"
:
"
不能修改名称或者别名
"
},
"
actionbar
"
:
{
"
readhide
"
:
"
设置阅读时是否显示
"
,
"
edithide
"
:
"
设置编辑时是否显示
"
,
"
hideCondition
"
:
"
设置隐藏条件
"
,
"
title
"
:
"
标题
"
,
"
img
"
:
"
图标
"
,
"
action
"
:
"
操作
"
,
"
condition
"
:
"
显示条件
"
,
"
editScript
"
:
"
操作脚本编辑
"
,
"
editCondition
"
:
"
隐藏条件编辑(返回true隐藏操作)
"
,
"
up
"
:
"
上移
"
,
"
property
"
:
"
属性
"
,
"
addCustomTool
"
:
"
添加自定义操作
"
,
"
delete
"
:
"
删除
"
,
"
setProperties
"
:
"
设置操作属性
"
,
"
restoreDefaultTool
"
:
"
恢复删除的系统操作
"
,
"
selectDefaultTool
"
:
"
选择系统操作
"
},
"
mastInputPath
"
:
"
请输入数据路径
"
,
"
mastInputTitle
"
:
"
请输入标题
"
,
"
filter
"
:
{
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录