提交 2cfa67c1 编写于 作者: U unknown

查询设计中增加视图功能

上级 cabd9cf5
<div style="background-color: #FFF; overflow: hidden">
<div title="基本" class="MWFTab">
<table width="100%" border="0" cellpadding="5" cellspacing="0" class="editTable">
<tr>
<td class="editTableTitle">列标题:</td>
<td class="editTableValue"><input type="text" name="displayName" value="text{$.displayName}" class="editTableInput"/></td>
</tr>
<tr>
<td class="editTableTitle">列名:</td>
<td class="editTableValue"><input type="text" name="column" value="text{$.column}" class="editTableInput"/></td>
</tr>
<tr>
<td class="editTableTitle">默认值:</td>
<td class="editTableValue"><input type="text" name="defaultValue" value="text{$.defaultValue}" class="editTableInput"/></td>
</tr>
<tr>
<td class="editTableTitle">打开文档:</td>
<td class="editTableValue">
<input class="editTableRadio" name="allowOpen" text{($.allowOpen===true)?'checked':''} type="radio" value="true"
onclick="if(this.checked){ $('text{$.pid}clickCodeTr').setStyle('display', '');}"/>
<input class="editTableRadio" name="allowOpen" text{($.allowOpen!==true)?'checked':''} type="radio" value="false"
onclick="if(this.checked){ $('text{$.pid}clickCodeTr').setStyle('display', 'none');}"/>
</td>
</tr>
<tr id="text{$.pid}clickCodeTr" style="display:text{($.allowOpen===true)?'':'none'}">
<td class="editTableValue" colspan="2">
<div class="MWFFormulaArea" name="clickCode" title="打开文档脚本(S)"></div>
</td>
</tr>
</table>
<div style="border-top: 1px solid #999; margin-top:10px">
<div style="background-color: #EEE; height:24px; line-height: 24px; text-align: center; font-weight: bold">数据</div>
<div class="MWFDataData" id="text{$.pid}dataDataEditor">
<div style="display:text{($.vtype=='process')?'block':'none'}" id="text{$.pid}dataPathSelectedProcessArea" class="text{$.vid}dataPathSelectedProcessArea">
<table width="100%" border="0" cellpadding="5" cellspacing="0" class="editTable">
<tr>
<td class="editTableTitle">选择数据:</td>
<td class="editTableValue"><select id="text{$.pid}dataPathSelected" onchange=" var v=this.options[this.selectedIndex].value; if (v){var n = $('text{$.pid}viewColumnPathInput'); n.set('value', v); n.focus();} ">
<option value="" selected>(请选择)</option>
<option value="$work.title">标题</option>
<option value="$work.startTime">创建时间</option>
<option value="$work.startTimeMonth">创建月份</option>
<option value="$work.completedTime">完成时间</option>
<option value="$work.completedTimeMonth">完成月份</option>
<option value="$work.creatorPerson">拟稿人</option>
<option value="$work.creatorIdentity">拟稿人身份</option>
<option value="$work.creatorUnit">拟稿组织</option>
<option value="$work.creatorUnitLevelName">拟稿组织层级</option>
<option value="$work.application">应用ID</option>
<option value="$work.applicationName">应用名称</option>
<option value="$work.applicationAlias">应用别名</option>
<option value="$work.process">流程ID</option>
<option value="$work.processName">流程名称</option>
<option value="$work.processAlias">流程别名</option>
<option value="$work.serial">编号</option>
<option value="$work.activityType">活动类型</option>
<option value="$work.activityName">活动名称</option>
<option value="$work.activityArrivedTime">活动到达时间</option>
<option value="$work.workId">工作ID</option>
<option value="$work.workCompletedId">已完成工作ID</option>
<option value="$work.job">JOB的ID(job)</option>
<option value="$work.completed">是否已完成(completed)</option>
</select></td>
</tr>
</table>
</div>
<div style="display:text{($.vtype=='cms')?'block':'none'}" id="text{$.pid}dataPathSelectedCMSArea" class="text{$.vid}dataPathSelectedCMSArea">
<table width="100%" border="0" cellpadding="5" cellspacing="0" class="editTable">
<tr>
<td class="editTableTitle">选择数据:</td>
<td class="editTableValue"><select id="text{$.pid}dataPathSelectedCMS" onchange="var v=this.options[this.selectedIndex].value; if (v){var n = $('text{$.pid}viewColumnPathInput'); n.set('value', v); n.focus();} ">
<option value="" selected>(请选择)</option>
<option value="$document.title">标题</option>
<option value="$document.publishTime">发布时间</option>
<option value="$document.creatorPerson">拟稿人</option>
<option value="$document.creatorIdentity">拟稿人身份</option>
<option value="$document.creatorUnitName">拟稿组织</option>
<option value="$document.creatorTopUnitName">拟稿顶级组织</option>
<option value="$document.appId">栏目ID</option>
<option value="$document.appName">栏目名称</option>
<option value="$document.categoryId">分类ID</option>
<option value="$document.categoryName">分类名称</option>
<option value="$document.categoryAlias">分类别名</option>
<option value="$document.id">文档ID</option>
</select></td>
</tr>
</table>
</div>
<table width="100%" border="0" cellpadding="5" cellspacing="0" class="editTable">
<tr>
<td class="editTableTitle">数据路径:</td>
<td class="editTableValue"><input onkeypress="$('text{$.pid}dataPathSelected').getElement('option').set('selected', true); $('text{$.pid}dataPathSelectedCMS').getElement('option').set('selected', true)" id="text{$.pid}viewColumnPathInput" type="text" name="path" value="text{$.path}" class="editTableInput"/></td>
</tr>
</table>
</div>
</div>
<div style="border-top: 1px solid #999; margin-top:10px">
<div class="MWFColumnExport" id="text{$.pid}columnExportEditor">
<table width="100%" border="0" cellpadding="5" cellspacing="0" class="editTable">
<tr>
<td class="editTableTitle">排序:</td>
<td class="editTableValue"><select name="orderType" onchange="
var node = $(this).getParent('table').getElement('.MWFColumnExportNumberOrder');
if(this.options[this.selectedIndex].value==='none'){
node.hide();
node.getElements('input')[1].click();
}else{
node.setStyle('display','table-row');
}
">
<option value="none" text{(($.orderType)!='asc' && ($.orderType)!='desc') ?'selected':''}></option>
<option value="asc" text{($.orderType)=='asc' ?'selected':''}>升序</option>
<option value="desc" text{($.orderType)=='desc' ?'selected':''}>降序</option>
</select></td>
</tr>
<tr class="MWFColumnExportNumberOrder" style="display: text{(($.orderType)!='asc' && ($.orderType)!='desc') ?'none':'table-row'}">
<td class="editTableTitle">转换成数字排序:</td>
<td class="editTableValue">
<input class="MWFWorkDataCheck" name="numberOrder" type="radio" value="true" text{($.numberOrder)===true?'checked':''}/>
<input class="MWFWorkDataCheck" name="numberOrder" type="radio" value="false" text{($.numberOrder)!==true?'checked':''}/>
</td>
</tr>
<tr class="MWFColumnExportGroup">
<td class="editTableTitle">分类:</td>
<td class="editTableValue">
<input class="MWFWorkDataCheck" name="groupEntry" type="radio" value="true" text{($.groupEntry)===true?'checked':''}/>
<input class="MWFWorkDataCheck" name="groupEntry" type="radio" value="false" text{($.groupEntry)!==true?'checked':''}/>
</td>
</tr>
</table>
</div>
<table width="100%" border="0" cellpadding="5" cellspacing="0" class="editTable">
<tr class="MWFColumnExportHide">
<td class="editTableTitle">隐藏:</td>
<td class="editTableValue">
<input class="MWFWorkDataCheck" name="hideColumn" type="radio" value="true" text{($.hideColumn)===true?'checked':''}/>
<input class="MWFWorkDataCheck" name="hideColumn" type="radio" value="false" text{($.hideColumn)!==true?'checked':''}/>
</td>
</tr>
<tr class="MWFColumnExportGroup">
<td class="editTableTitle">组织对象:</td>
<td class="editTableValue">
<input class="MWFWorkDataCheck" name="isName" type="radio" value="true" text{($.isName)===true?'checked':''}/>
<input class="MWFWorkDataCheck" name="isName" type="radio" value="false" text{($.isName)!==true?'checked':''}/>
</td>
</tr>
<tr class="MWFColumnExportGroup">
<td class="editTableTitle">HTML值:</td>
<td class="editTableValue">
<input class="MWFWorkDataCheck" name="isHtml" type="radio" value="true" text{($.isHtml)===true?'checked':''}/>
<input class="MWFWorkDataCheck" name="isHtml" type="radio" value="false" text{($.isHtml)!==true?'checked':''}/>
</td>
</tr>
</table>
</div>
<div class="MWFFormulaArea" name="code" title="显示脚本 (S)"></div>
</div>
<div title="样式" class="MWFTab">
<div class="MWFMaplist" name="titleStyles" title="标题单元格样式"></div>
<div class="MWFMaplist" name="titleProperties" title="标题单元格属性"></div>
<div class="MWFMaplist" name="contentStyles" title="内容单元格样式"></div>
<div class="MWFMaplist" name="contentProperties" title="内容单元格属性"></div>
</div>
<div title="事件" class="MWFTab">
<div class="MWFEventsArea" name="events"></div>
</div>
<div title="JSON" class="MWFTab">
<div class="MWFJSONArea" style="font-family: Verdana, Geneva, sans-serif; font-size:14px"></div>
</div>
</div>
\ No newline at end of file
{
"events": {
"loadTitle" : {
"code": "",
"html": ""
},
"loadContent" : {
"code": "",
"html": ""
},
"click": {
"code": "",
"html": ""
},
"mousedown": {
"code": "",
"html": ""
},
"mouseup": {
"code": "",
"html": ""
},
"mouseout": {
"code": "",
"html": ""
},
"mouseover": {
"code": "",
"html": ""
}
}
}
\ No newline at end of file
{
"moduleNodeMove": {
"border": "2px dashed #ffa200",
"height": "30px",
"overflow": "hidden",
"margin": "3px",
"display": "block",
"-webkit-user-select": "none",
"-moz-user-select": "none",
"position": "absolute",
"z-index": 10002,
"opacity": 0.7,
"width": "100px",
"background-color": "#999",
"cursor": "move"
},
"moduleNodeShow": {
"border": "1px dashed #333",
"height": "2px",
"cursor": "pointer",
"line-height": "22px",
"overflow": "hidden",
"margin": "3px 3px",
"-webkit-user-select": "none",
"-moz-user-select": "none",
"position": "static",
"display": "block",
"top": "auto",
"left": "auto",
"width": "auto",
"opacity": 0.5,
"background": "#ffa200"
},
"moduleNode": {
"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"
}
}
\ No newline at end of file
{
"actionbarNode" : {
"overflow": "hidden"
},
"pagingNode" : {
"overflow": "hidden"
},
"viewAreaNode": {
"overflow": "hidden"
},
"viewTitleNode": {
"height": "40px",
"background-color": "#EEE",
"border-bottom": "1px solid #999",
"cursor": "pointer"
},
"viewContentScrollNode": {
"overflow": "hidden",
"border-bottom": "0px solid #999",
"cursor": "default"
},
"viewContentNode": {
"overflow": "hidden"
},
"contentLeftNode": {
"width": "30px",
"background-color": "#EEE",
"border-right": "1px solid #999",
"float": "left"
},
"contentRightNode": {
"width": "30px",
"background-color": "#EEE",
"border-left": "1px solid #999",
"float": "right"
},
"viewContentBodyNode": {
"overflow": "hidden",
"background-color": "#FFF"
},
"viewContentTableNode": {
"width": "100%"
},
"viewContentTrNode": {
},
"viewContentTdNode": {
"padding": "3px 5px",
"border-bottom": "1px solid #CCC"
},
"viewContentGroupTdNode": {
"padding": "3px 5px",
"border-bottom": "1px solid #CCC",
"background-color": "#F9F9F9"
},
"viewContentTdGroupNode": {
"overflow": "hidden",
"cursor": "pointer"
},
"viewContentTdGroupIconNode": {
"float": "left",
"width": "20px",
"height": "20px",
"background": "url("+"../x_component_process_ViewDesigner/$View/default/icon/right.png) center center no-repeat",
},
"viewContentTdGroupTextNode": {
"height": "20px",
"font-weight": "bold",
"line-height": "20px",
"margin-left": "20px"
},
"noDataTextNode" : {
"height" : "50px",
"font-size" : "16px",
"margin" : "20px auto",
"text-align" : "center"
},
"refreshNode": {
"width": "29px",
"height": "40px",
"background": "url("+"../x_component_process_ViewDesigner/$View/default/icon/refresh.png) center center no-repeat",
"float": "left"
},
"addColumnNode": {
"width": "29px",
"height": "40px",
"background": "url("+"../x_component_process_ViewDesigner/$View/default/icon/addColumn.png) center center no-repeat",
"float": "right"
},
"viewTitleContentNode": {
"margin": "0px 31px",
"height": "40px"
},
"viewTitleTableNode": {
"width": "100%",
"height": "30px",
"border-left": "1px solid #BBB",
"border-right": "1px solid #BBB"
},
"viewTitleTrNode": {
"height": "40px",
"line-height": "40px"
},
"viewTitleColumnAreaNode": {
"padding": "0px",
"background-color": "#EEE",
"border-right": "1px solid #BBB",
"border-left": "1px solid #FFF",
"white-space": "nowrap"
},
"viewTitleColumnNode": {
"background-color": "#EEE",
"height": "38px",
"overflow": "hidden",
"border": "1px solid #EEE"
},
"viewTitleColumnTextNode":{
"padding": "0px", //"padding": "0px 10px",
"height": "38px",
"white-space": "nowrap"
},
"viewTitleColumnNode_selected": {
"background-color": "#FFF",
"height": "38px",
"border": "1px solid red",
"white-space": "nowrap"
},
"viewTitleColumnNode_over": {
"background-color": "#F9F9F9",
"height": "38px",
"border": "1px dotted blue",
"white-space": "nowrap"
},
"propertyTabNode": {
"font-size": "12px",
"margin-top": "5px"
},
"cloumnListNode": {
"height": "26px",
"padding": "0px 5px",
"line-height": "26px",
"font-size": "12px",
"cursor": "pointer",
"border-bottom": "1px dotted #999",
"background-color": "#FFF",
"color": "#333"
},
"cloumnListNode_selected": {
"background-color": "#cce2ff"
},
"cloumnListNode_over": {
"background-color": "#eaf1fa"
},
"cloumnListIconNode": {
"height": "26px",
"width": "26px",
"float": "left",
"background": "url("+"../x_component_process_ViewDesigner/$View/default/icon/column.png) center center no-repeat"
},
"cloumnListTextNode": {
"margin-left": "26px"
},
"editTable": {
},
"editTableTitle": {
"width": "60px",
"font-weight": "bold",
"font-size": "12px",
"height": "24px",
"line-height": "24px",
"border-bottom": "1px dashed #CCC"
},
"editTableTitleNoWidth": {
"font-weight": "bold",
"font-size": "12px",
"height": "24px",
"line-height": "24px",
"border-bottom": "1px dashed #CCC"
},
"editTableValue": {
"height": "24px",
"line-height": "24px",
"border-bottom": "1px dashed #CCC"
},
"editTableInput": {
"width": "98%",
"border-top": "1px solid #DDD",
"border-left": "1px solid #DDD",
"border-bottom": "1px solid #EEE",
"border-right": "1px solid #EEE"
},
"editTableInputDate": {
"width": "98%",
"border-top": "1px solid #DDD",
"border-left": "1px solid #DDD",
"border-bottom": "1px solid #EEE",
"border-right": "1px solid #EEE"
},
"editTableInputNoWidth": {
"border-top": "1px solid #DDD",
"border-left": "1px solid #DDD",
"border-bottom": "1px solid #EEE",
"border-right": "1px solid #EEE"
},
"editTableTextarea": {
"width": "98%",
"height": "100px",
"border-top": "1px solid #DDD",
"border-left": "1px solid #DDD",
"border-bottom": "1px solid #EEE",
"border-right": "1px solid #EEE"
},
"columnFilterInputArea": {
"padding": "5px",
"overflow": "hidden"
},
"columnFilterAddNode": {
"border": "1px solid #999",
"background-color": "#EEE",
"width": "35px",
"-webkit-user-select": "none",
"-moz-user-select": "none",
"padding": "0px 8px",
"margin-top": "56px",
"height": "20px",
"line-height": "20px",
"float": "left",
"text-align": "right",
"cursor": "pointer",
"font-size": "12px",
"background": "url("+"../x_component_process_ViewDesigner/$View/default/icon/add.png) 3px center no-repeat"
},
"columnFilterValueNode": {
"width": "95%",
"height": "50px",
"border": "1px solid #999",
"margin-top": "5px",
"overflow": "auto"
},
"filterTableTitle": {
"height": "24px",
"background-color": "#EEE",
"line-height": "24px",
"color": "#000",
"font-size": "12px"
},
"filterTableTd": {
"background-color": "#FFF",
"color": "#333",
"font-size": "12px"
},
"filterAddActionNode":{
"background": "url("+"../x_component_process_ViewDesigner/$View/default/icon/add.png) 3px center no-repeat",
"height": "24px",
"cursor": "pointer"
},
"filterDelActionNode":{
"background": "url("+"../x_component_process_ViewDesigner/$View/default/icon/del.png) 3px center no-repeat",
"height": "24px",
"cursor": "pointer"
},
"actionNodeStyles": {
"width": "16px",
"height": "16px",
"margin-left": "2px",
"margin-right": "2px",
"float": "left",
"border": "1px solid #F1F1F1",
"cursor": "pointer"
},
"actionAreaNode": {
"display": "none",
// "width": 18*this.options.actions.length,
"position": "absolute",
"background-color": "#F1F1F1",
"padding": "1px",
"padding-right": "0px",
"border": "1px solid #AAA",
"box-shadow": "0px 2px 5px #999",
"opacity": 1,
"z-index": 100
},
"moveFlagNode": {
"height": "40px",
//"border": "0px dashed #333",
"border-right": "1px solid #BBB",
"border-left": "1px solid #FFF",
"overflow": "hidden",
"display": "block",
"background": "#ffa200"
},
"applicationSelectTitle": {
"height": "24px",
"line-height": "24px",
"background-color": "#EEE",
"border-top": "2px solid #999",
"text-align": "center"
},
"applicationSelectContent": {
"min-height": "20px",
"border-top": "1px solid #999",
"padding": "5px 5px 0px 0px",
"overflow": "hidden"
},
"applicationSelectItem": {
"border": "1px solid #666",
"color": "#FFF",
"padding": "0px 5px",
"margin-left": "5px",
"margin-bottom": "5px",
"background-color": "#666",
"float": "left"
},
"applicationSelectAction": {
"height": "20px",
"margin": "10px auto",
"text-align": "center",
"width": "70px",
"border": "1px solid #999",
"background-color": "#F6F6F6",
"cursor": "pointer"
},
"columnHideFlagNode": {
"height": "40px",
"background": "url("+"../x_component_process_ViewDesigner/$View/default/icon/hidden.png) right center no-repeat",
"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",
"border": "1px solid red",
"white-space": "nowrap"
},
"toolbarWarpNode_over": {
"background-color": "#F9F9F9",
"border": "1px dotted blue",
"white-space": "nowrap"
},
"pagingWarpNode": {
"border": "1px dashed #999",
"height": "auto",
"overflow": "hidden",
"display": "block",
"-webkit-user-select": "none",
"-moz-user-select": "none",
"position": "static",
"opacity": 1,
"width": "auto",
"margin": "3px 3px",
"background-color": "#FFF",
"cursor": "pointer"
},
"pagingWarpNode_selected": {
"background-color": "#FFF",
"border": "1px solid red",
"white-space": "nowrap"
},
"pagingWarpNode_over": {
"background-color": "#F9F9F9",
"border": "1px dotted blue",
"white-space": "nowrap"
}
}
\ No newline at end of file
{
"name": "",
"id": "",
"query": "",
"alias": "",
"description": "",
"display": true,
"type": "View",
"data": {
"exportGrid": true,
"exportGoupGrid": true,
"where": {
"accessible": false,
"scope": "work",
"applicationList": [],
"processList": [],
"dateRange": {
"dateRangeType": "none",
"dateEffectType": "start",
"year": "",
"month": "",
"date": "",
"season": 0,
"week": 0,
"adjust": 0,
"start": "",
"completed": ""
},
"creatorPersonList": [],
"creatorUnitList": [],
"creatorIdentityList": []
},
"noDataText" : "未找到数据",
"selectList": [],
"filterList": [],
"orderList": [],
"group": {},
"columnList": [],
"calculate": {},
"afterGridScriptText": "",
"afterGroupGridScriptText": "",
"afterCalculateGridScriptText": "",
"events": {
"queryLoad" : {
"code": "",
"html": ""
},
"postLoad": {
"code": "",
"html": ""
},
"postLoadPageData" : {
"code": "",
"html": ""
},
"postLoadPage": {
"code": "",
"html": ""
},
"queryLoadItemRow": {
"code": "",
"html": ""
},
"postLoadItemRow": {
"code": "",
"html": ""
},
"queryLoadCategoryRow": {
"code": "",
"html": ""
},
"postLoadCategoryRow": {
"code": "",
"html": ""
},
"selectRow" : {
"code": "",
"html": ""
},
"unselectRow" : {
"code": "",
"html": ""
}
}
},
"availableIdentityList": [],
"availableUnitList": []
}
\ No newline at end of file
<!DOCTYPE html>
<html>
<head>
<script src="../o2_lib/mootools/mootools-core-1.4.5-full-nocompat.js"></script>
</head>
<body>
111
</body>
</html>
\ No newline at end of file
{
"propertyNode": {
"width": "320px",
"overflow": "hidden",
"float": "right",
"-webkit-user-select": "text",
"-moz-user-select": "text"
},
"viewListNode": {
"width": "260px",
"overflow": "hidden",
"border": "1px solid #505050",
"height": "100%",
"float": "left",
"background-color": "#EEE"
},
"contentNode": {
"margin-left": "261px",
"margin-right": "321px",
"border-right": "1px solid #505050",
"border-left": "1px solid #505050",
"background-color": "#FFF",
"-webkit-user-select": "none",
"-moz-user-select": "none"
},
"viewListResizeNode": {
"width": "3px",
"float": "right",
"background-color": "#505050",
"margin-right": "2px",
"cursor": "col-resize"
},
"viewListAreaSccrollNode": {
"margin": "4px",
"margin-right": "8px",
"overflow": "hidden",
"background-color": "#FFF",
"border-top": "1px solid #999",
"border-left": "1px solid #999",
"border-bottom": "1px solid #DDD",
"border-right": "1px solid #DDD"
},
"viewListAreaNode": {
"overflow": "hidden"
},
"viewListTitleNode": {
"height": "26px",
"background-color": "#505050",
"border-radius": "0px",
"margin": "2px",
"color": "#FFF",
"line-height": "26px",
"font-size": "12px",
"font-weight": "bold",
"padding-left": "10px",
"clear": "both"
},
"listViewItem": {
"height": "24px",
"line-height": "24px",
"margin": "3px 10px 0px 10px",
"cursor": "pointer",
"background": "#FFF",
"color": "#333"
},
"listViewItem_over": {
"background": "#e8eef7"
},
"listViewItem_current": {
"background": "#48638f",
"color": "#FFF"
},
"listViewItemIcon": {
"height": "24px",
"width": "26px",
"background": "url("+"../x_component_query_ViewDesigner/$Main/default/view.png) no-repeat center center",
"float": "left"
},
"listViewItemText": {
"height": "24px",
"margin-left": "28px",
"white-space": "nowrap"
},
"contentToolbarNode": {
"height": "30px",
"background-color": "#EEE"
},
"editContentNode": {
"overflow": "hidden",
"background": "#CCC",
"-webkit-user-select": "none",
"-moz-user-select": "none"
},
"designFrame": {
"width": "100%",
"height": "100%",
"border": "0px"
},
"designBody": {
"margin": "0px"
},
"designNode": {
//"height": "100%",
"margin": "15px",
"box-shadow": "0px 0px 20px #606060",
"background": "#FFF",
"-webkit-user-select": "none",
"overflow": "hidden",
"background": "url("+"../x_component_process_ViewDesigner/$Main/default/designerBg.png)",
"-moz-user-select": "none"
},
"propertyTitleNode": {
"height": "26px",
"background-color": "#505050",
"border-radius": "0px",
"margin": "2px",
"color": "#FFF",
"line-height": "26px",
"font-size": "12px",
"font-weight": "bold",
"padding-left": "10px",
"clear": "both"
},
"propertyResizeBar": {
"width": "3px",
"float": "left",
"background-color": "#505050",
"margin-left": "2px",
"cursor": "col-resize"
},
"propertyContentNode": {
"background-color": "#EEE",
"border-radius": "0px",
"margin": "2px",
"margin-left": "7px",
"padding-right": "0px",
"overflow": "hidden"
},
"propertyContentResizeNode": {
"height": "3px",
"background-color": "#505050",
"cursor": "row-resize"
},
"propertyDomArea": {
"overflow": "hidden",
"background": "#FFF",
"margin": "2px",
"font-family": "Verdana, Geneva, sans-serif",
"border-top": "1px solid #999",
"border-left": "1px solid #999",
"border-bottom": "1px solid #DDD",
"border-right": "1px solid #DDD"
},
"propertyContentArea": {
"overflow": "hidden",
"margin-bottom": "2px"
}
}
\ No newline at end of file
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<script src="../../../../../../framework/mootools/mootools-core-1.4.5-full-nocompat.js"></script>
</head>
<body><div>111</div>
</body>
</html>
\ No newline at end of file
<div id="MWFFormToolbar">
<span MWFnodetype="MWFToolBarSeparator"></span>
<span MWFnodetype="MWFToolBarButton" MWFButtonImage="save.gif" title="保存视图" MWFButtonAction="saveView" MWFButtonText=""></span>
<span MWFnodetype="MWFToolBarButton" MWFButtonImage="saveNew.gif" title="视图另存为" MWFButtonAction="saveViewAs" MWFButtonText=""></span>
<span MWFnodetype="MWFToolBarButton" MWFButtonImage="preview.png" title="预览" MWFButtonAction="preview" MWFButtonText=""></span>
<span MWFnodetype="MWFToolBarSeparator"></span>
<span MWFnodetype="MWFToolBarButton" MWFButtonImage="formExplode.gif" title="视图导出" MWFButtonAction="viewExplode" MWFButtonText=""></span>
<span MWFnodetype="MWFToolBarButton" MWFButtonImage="formImplode.gif" title="视图导入" MWFButtonAction="viewImplode" MWFButtonText=""></span>
<span MWFnodetype="MWFToolBarSeparator"></span>
<span MWFnodetype="MWFToolBarButton" MWFButtonImage="help.png" title="帮助" MWFButtonAction="viewHelp" MWFButtonText=""></span>
<span MWFnodetype="MWFToolBarSeparator"></span>
<input type="checkbox" value="autoSave" id="MWFDictionaryAutoSaveCheck">自动保存
</div>
\ No newline at end of file
{
"label": {
"icon": "label.png",
"text": "文本",
"className": "Label"
},
"textfield": {
"icon": "textfield.png",
"text": "域",
"className": "Textfield"
},
"personfield": {
"icon": "personfield.png",
"text": "人员",
"className": "Personfield"
},
"calendar": {
"icon": "calendar.png",
"text": "日期选择",
"className": "Calendar"
},
"textarea": {
"icon": "textarea.png",
"text": "多行文本",
"className": "Textarea"
},
"select": {
"icon": "select.png",
"text": "下拉框",
"className": "Select"
},
"radio": {
"icon": "radio.png",
"text": "单选框",
"className": "Radio"
},
"checkbox": {
"icon": "checkbox.png",
"text": "多选框",
"className": "Checkbox"
},
"button": {
"icon": "button.png",
"text": "按钮",
"className": "Button"
},
"Actionbar": {
"icon": "actionbar.png",
"text": "操作条",
"className": "Actionbar"
},
"image": {
"icon": "image.png",
"text": "图片",
"className": "Image"
},
"image": {
"icon": "attachment.png",
"text": "附件",
"className": "Attachment"
},
"div": {
"icon": "div.png",
"text": "容器",
"className": "Div"
},
"table": {
"icon": "table.png",
"text": "表格",
"className": "Table"
},
"datagrid": {
"icon": "datagrid.png",
"text": "数据网格",
"className": "Datagrid"
},
"html": {
"icon": "html.png",
"text": "HTML",
"className": "Html"
},
"tab": {
"icon": "tabs.png",
"text": "分页",
"className": "Tab"
},
"tree": {
"icon": "tree.png",
"text": "树",
"className": "Tree"
},
"log": {
"icon": "log.png",
"text": "流程记录",
"className": "Log"
},
"monitor": {
"icon": "monitor.png",
"text": "流程监控",
"className": "Monitor"
},
"iframe": {
"icon": "iframe.png",
"text": "Iframe",
"className": "Iframe"
},
"htmledit": {
"icon": "htmleditor.png",
"text": "HTML编辑器",
"className": "Htmleditor"
},
"office": {
"icon": "office.png",
"text": "Office控件",
"className": "Office"
}
}
\ No newline at end of file
MWF.require("MWF.widget.Common", null, false);
MWF.require("MWF.widget.JsonTemplate", null, false);
MWF.xDesktop.requireApp("query.ViewDesigner", "Property", null, false);
MWF.xApplication.query.InquiryDesigner.Property = MWF.FIProperty = new Class({
Extends: MWF.xApplication.query.ViewDesigner.Property,
Implements: [Options, Events],
options: {
"style": "default"
},
show: function () {
if (!this.propertyContent) {
this.getHtmlString(function () {
if (this.htmlString) {
this.JsonTemplate = new MWF.widget.JsonTemplate(this.data, this.htmlString);
this.propertyContent = new Element("div", {"styles": {"overflow": "hidden"}}).inject(this.propertyNode);
this.propertyContent.set("html", this.JsonTemplate.load());
this.setEditNodeEvent();
this.setEditNodeStyles(this.propertyContent);
this.loadPropertyTab();
this.loadPersonInput();
this.loadPersonSelectInput();
this.loadViewFilter();
this.loadScriptArea();
this.loadColumnExportEditor();
this.loadJSONArea();
this.loadEventsEditor();
this.loadViewStylesArea();
this.loadPagingStylesArea();
this.loadActionStylesArea();
this.loadActionArea();
this.loadStylesList();
this.loadMaplist();
}
}.bind(this));
} else {
this.propertyContent.setStyle("display", "block");
}
}
});
\ No newline at end of file
MWF.xApplication.query = MWF.xApplication.query || {};
MWF.xApplication.query.InquiryDesigner = MWF.xApplication.query.InquiryDesigner || {};
MWF.xApplication.query.ViewDesigner = MWF.xApplication.query.ViewDesigner || {};
MWF.xDesktop.requireApp("process.ViewDesigner", "lp."+MWF.language, null, false);
MWF.xApplication.query.InquiryDesigner.LP = Object.merge( MWF.xApplication.query.ViewDesigner.LP, {
"title" : "查询设计"
});
\ No newline at end of file
{
"inputAreaNode": {
"overflow": "hidden",
"margin": "5px"
},
"actionAreaNode": {
"height": "20px",
"background": "#EEE",
"border-top": "1px solid #CCC",
"border-bottom": "1px solid #CCC",
"cursor": "pointer"
},
"actionNode": {
"height": "20px",
"background": "url("+"../x_component_process_ViewDesigner/widget/$ViewFilter/default/down.png) no-repeat center -2px"
},
"verificationNode": {
"background-color": "#fbe8e8",
"color": "#ff0000",
"height": "24px",
"line-height": "24px"
},
"verificationTextNode": {
"background": "url("+"../x_component_process_ViewDesigner/widget/$ViewFilter/default/icon/error.png) no-repeat 5px center",
"padding-left": "26px"
},
"itemNode": {
"cursor": "pointer",
"height": "24px",
"margin": "2px 4px",
"background-color": "#f4f7fe",
"border": "1px solid #999999"
},
"itemNode_current": {
"cursor": "pointer",
"height": "24px",
"margin": "2px 4px",
"background-color": "#e1e9ff",
"border": "1px solid #999999"
},
"itemDeleteNode": {
"width": "20px",
"height": "24px",
"float": "right",
"background": "url("+"../x_component_process_ViewDesigner/widget/$ViewFilter/default/icon/delete1.png) no-repeat center center",
"cursor": "pointer"
},
"itemContentNode": {
"padding-left": "5px",
"padding-right": "3px",
"margin-right": "20px",
"height": "24px",
"line-height": "24px",
"overflow": "hidden",
"text-overflow": "ellipsis",
"white-space": "nowrap"
}
}
\ No newline at end of file
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册