提交 40d3a74a 编写于 作者: U unknown

视图增加自定义功能

上级 cb5c0ba8
......@@ -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": "80px",
"height": "74px",
"padding": "3px",
"width": "99px",
"width": "93px",
"font-size": "12px"
},
"viewFilterSearchCustomComparisonListNode": {
"border": "0px",
"height": "80px",
"height": "74px",
"padding": "3px",
"width": "99px",
"width": "93px",
"font-size": "12px"
},
"viewFilterSearchOptionNode": {
......
{
"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
......@@ -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>
......
......@@ -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": []
......
......@@ -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.
先完成此消息的编辑!
想要评论请 注册