diff --git a/o2web/source/x_component_query_InquiryDesigner/$Inquiry/column.html b/o2web/source/x_component_query_InquiryDesigner/$Inquiry/column.html deleted file mode 100644 index fa859ce18ae7611630eeb597900a24d55ede032d..0000000000000000000000000000000000000000 --- a/o2web/source/x_component_query_InquiryDesigner/$Inquiry/column.html +++ /dev/null @@ -1,172 +0,0 @@ -
-
- - - - - - - - - - - - - - - - - - - - -
列标题:
列名:
默认值:
打开文档: - 是 - 否 -
-
-
- -
-
数据
-
-
- - - - - -
选择数据:
-
-
- - - - - -
选择数据:
-
- - - - - -
数据路径:
-
-
- -
-
- - - - - - - - - - - - - -
排序:
转换成数字排序: - 是 - 否 -
分类: - 是 - 否 -
-
- - - - - - - - - - - - - -
隐藏: - 是 - 否 -
组织对象: - 是 - 否 -
HTML值: - 是 - 否 -
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file diff --git a/o2web/source/x_component_query_InquiryDesigner/$Inquiry/column.json b/o2web/source/x_component_query_InquiryDesigner/$Inquiry/column.json deleted file mode 100644 index 568e2974b9c1ceca90c7dc3253b0868da9909107..0000000000000000000000000000000000000000 --- a/o2web/source/x_component_query_InquiryDesigner/$Inquiry/column.json +++ /dev/null @@ -1,32 +0,0 @@ -{ - "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 diff --git a/o2web/source/x_component_query_InquiryDesigner/$Inquiry/default/action/add.png b/o2web/source/x_component_query_InquiryDesigner/$Inquiry/default/action/add.png deleted file mode 100644 index f0dd21e1651e8591c3b723a6d1c693b8d9c9dfac..0000000000000000000000000000000000000000 Binary files a/o2web/source/x_component_query_InquiryDesigner/$Inquiry/default/action/add.png and /dev/null differ diff --git a/o2web/source/x_component_query_InquiryDesigner/$Inquiry/default/action/delete1.png b/o2web/source/x_component_query_InquiryDesigner/$Inquiry/default/action/delete1.png deleted file mode 100644 index 8f420087aae2f5a6e8cb22376e257d0ee8b2e12e..0000000000000000000000000000000000000000 Binary files a/o2web/source/x_component_query_InquiryDesigner/$Inquiry/default/action/delete1.png and /dev/null differ diff --git a/o2web/source/x_component_query_InquiryDesigner/$Inquiry/default/action/move1.png b/o2web/source/x_component_query_InquiryDesigner/$Inquiry/default/action/move1.png deleted file mode 100644 index c50bda51149245dfc2f8d081b359c898173eb2f3..0000000000000000000000000000000000000000 Binary files a/o2web/source/x_component_query_InquiryDesigner/$Inquiry/default/action/move1.png and /dev/null differ diff --git a/o2web/source/x_component_query_InquiryDesigner/$Inquiry/default/actionbar.wcss b/o2web/source/x_component_query_InquiryDesigner/$Inquiry/default/actionbar.wcss deleted file mode 100644 index d2421d285aacf4323b0750413abe4f72b0a2017d..0000000000000000000000000000000000000000 --- a/o2web/source/x_component_query_InquiryDesigner/$Inquiry/default/actionbar.wcss +++ /dev/null @@ -1,50 +0,0 @@ -{ - "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 diff --git a/o2web/source/x_component_query_InquiryDesigner/$Inquiry/default/actionbar/blue/export.png b/o2web/source/x_component_query_InquiryDesigner/$Inquiry/default/actionbar/blue/export.png deleted file mode 100644 index 01e852053011638e0ed4bfd7445c3a6cbb5fa6fd..0000000000000000000000000000000000000000 Binary files a/o2web/source/x_component_query_InquiryDesigner/$Inquiry/default/actionbar/blue/export.png and /dev/null differ diff --git a/o2web/source/x_component_query_InquiryDesigner/$Inquiry/default/actionbar/default/export.png b/o2web/source/x_component_query_InquiryDesigner/$Inquiry/default/actionbar/default/export.png deleted file mode 100644 index 14376de0f9158b40e71a77cffb9350212bf9385f..0000000000000000000000000000000000000000 Binary files a/o2web/source/x_component_query_InquiryDesigner/$Inquiry/default/actionbar/default/export.png and /dev/null differ diff --git a/o2web/source/x_component_query_InquiryDesigner/$Inquiry/default/actionbar/export.png b/o2web/source/x_component_query_InquiryDesigner/$Inquiry/default/actionbar/export.png deleted file mode 100644 index 14376de0f9158b40e71a77cffb9350212bf9385f..0000000000000000000000000000000000000000 Binary files a/o2web/source/x_component_query_InquiryDesigner/$Inquiry/default/actionbar/export.png and /dev/null differ diff --git a/o2web/source/x_component_query_InquiryDesigner/$Inquiry/default/actionbar/red/export.png b/o2web/source/x_component_query_InquiryDesigner/$Inquiry/default/actionbar/red/export.png deleted file mode 100644 index a6aef03971b708e318e4291d7c5d1e4aa7e4d67b..0000000000000000000000000000000000000000 Binary files a/o2web/source/x_component_query_InquiryDesigner/$Inquiry/default/actionbar/red/export.png and /dev/null differ diff --git a/o2web/source/x_component_query_InquiryDesigner/$Inquiry/default/actionbar/white/export.png b/o2web/source/x_component_query_InquiryDesigner/$Inquiry/default/actionbar/white/export.png deleted file mode 100644 index 16abde22763117ad4bf0c1990c781a28d0ffef86..0000000000000000000000000000000000000000 Binary files a/o2web/source/x_component_query_InquiryDesigner/$Inquiry/default/actionbar/white/export.png and /dev/null differ diff --git a/o2web/source/x_component_query_InquiryDesigner/$Inquiry/default/css.wcss b/o2web/source/x_component_query_InquiryDesigner/$Inquiry/default/css.wcss deleted file mode 100644 index 1aef1aa33ce63b82c33bf5292f65bd9545d877ed..0000000000000000000000000000000000000000 --- a/o2web/source/x_component_query_InquiryDesigner/$Inquiry/default/css.wcss +++ /dev/null @@ -1,390 +0,0 @@ -{ - "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 diff --git a/o2web/source/x_component_query_InquiryDesigner/$Inquiry/default/icon/add.png b/o2web/source/x_component_query_InquiryDesigner/$Inquiry/default/icon/add.png deleted file mode 100644 index d401a51eead250435d7102266700e7a3093dfcd0..0000000000000000000000000000000000000000 Binary files a/o2web/source/x_component_query_InquiryDesigner/$Inquiry/default/icon/add.png and /dev/null differ diff --git a/o2web/source/x_component_query_InquiryDesigner/$Inquiry/default/icon/addColumn.png b/o2web/source/x_component_query_InquiryDesigner/$Inquiry/default/icon/addColumn.png deleted file mode 100644 index f8a67fc9675dccc19a1a96460560cd4f84644888..0000000000000000000000000000000000000000 Binary files a/o2web/source/x_component_query_InquiryDesigner/$Inquiry/default/icon/addColumn.png and /dev/null differ diff --git a/o2web/source/x_component_query_InquiryDesigner/$Inquiry/default/icon/col.png b/o2web/source/x_component_query_InquiryDesigner/$Inquiry/default/icon/col.png deleted file mode 100644 index 213f8dc532a9c1c036b90562e4209d2b96c8a398..0000000000000000000000000000000000000000 Binary files a/o2web/source/x_component_query_InquiryDesigner/$Inquiry/default/icon/col.png and /dev/null differ diff --git a/o2web/source/x_component_query_InquiryDesigner/$Inquiry/default/icon/column.png b/o2web/source/x_component_query_InquiryDesigner/$Inquiry/default/icon/column.png deleted file mode 100644 index e72982ec6579a1091ec171e53868a9bbdcc60ecc..0000000000000000000000000000000000000000 Binary files a/o2web/source/x_component_query_InquiryDesigner/$Inquiry/default/icon/column.png and /dev/null differ diff --git a/o2web/source/x_component_query_InquiryDesigner/$Inquiry/default/icon/del.png b/o2web/source/x_component_query_InquiryDesigner/$Inquiry/default/icon/del.png deleted file mode 100644 index 9d60903f75c856a8e2fd99f26b56d5ea546ffe02..0000000000000000000000000000000000000000 Binary files a/o2web/source/x_component_query_InquiryDesigner/$Inquiry/default/icon/del.png and /dev/null differ diff --git a/o2web/source/x_component_query_InquiryDesigner/$Inquiry/default/icon/down.png b/o2web/source/x_component_query_InquiryDesigner/$Inquiry/default/icon/down.png deleted file mode 100644 index 47a343adb947b0518718d2bb7024a30d73aacfaa..0000000000000000000000000000000000000000 Binary files a/o2web/source/x_component_query_InquiryDesigner/$Inquiry/default/icon/down.png and /dev/null differ diff --git a/o2web/source/x_component_query_InquiryDesigner/$Inquiry/default/icon/exp.png b/o2web/source/x_component_query_InquiryDesigner/$Inquiry/default/icon/exp.png deleted file mode 100644 index 1f12022761e862ec1290ba44f0ce234e196facbc..0000000000000000000000000000000000000000 Binary files a/o2web/source/x_component_query_InquiryDesigner/$Inquiry/default/icon/exp.png and /dev/null differ diff --git a/o2web/source/x_component_query_InquiryDesigner/$Inquiry/default/icon/hidden.png b/o2web/source/x_component_query_InquiryDesigner/$Inquiry/default/icon/hidden.png deleted file mode 100644 index 8f580c7481d1ad857bbcd9fd1c244db35a71a8d5..0000000000000000000000000000000000000000 Binary files a/o2web/source/x_component_query_InquiryDesigner/$Inquiry/default/icon/hidden.png and /dev/null differ diff --git a/o2web/source/x_component_query_InquiryDesigner/$Inquiry/default/icon/refresh.png b/o2web/source/x_component_query_InquiryDesigner/$Inquiry/default/icon/refresh.png deleted file mode 100644 index d3087dfc920b1705cdebc5beeba8a62047c99b68..0000000000000000000000000000000000000000 Binary files a/o2web/source/x_component_query_InquiryDesigner/$Inquiry/default/icon/refresh.png and /dev/null differ diff --git a/o2web/source/x_component_query_InquiryDesigner/$Inquiry/default/icon/right.png b/o2web/source/x_component_query_InquiryDesigner/$Inquiry/default/icon/right.png deleted file mode 100644 index e4ed58fb731770d6a2463c7b9aed7bddfd91d5c7..0000000000000000000000000000000000000000 Binary files a/o2web/source/x_component_query_InquiryDesigner/$Inquiry/default/icon/right.png and /dev/null differ diff --git a/o2web/source/x_component_query_InquiryDesigner/$Inquiry/default/icon/sel.png b/o2web/source/x_component_query_InquiryDesigner/$Inquiry/default/icon/sel.png deleted file mode 100644 index 806def1e211a2c8827979bb2da94f4f406f47d07..0000000000000000000000000000000000000000 Binary files a/o2web/source/x_component_query_InquiryDesigner/$Inquiry/default/icon/sel.png and /dev/null differ diff --git a/o2web/source/x_component_query_InquiryDesigner/$Inquiry/inquiry.html b/o2web/source/x_component_query_InquiryDesigner/$Inquiry/inquiry.html deleted file mode 100644 index d0d2f41674ea9c0e0d4f8288d10f23243b28c679..0000000000000000000000000000000000000000 --- a/o2web/source/x_component_query_InquiryDesigner/$Inquiry/inquiry.html +++ /dev/null @@ -1,730 +0,0 @@ -
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
标识:text{$.id}
名称:
别名:
描述:
隐藏视图: - 是 - 否 -
视图样式: - -
展开分类: - 是 - 否 -
显示序号: - 是 - 否 -
最大行数:
每页行数: - -
注:每页最大行数为2000条
-
隐藏操作条: - 是 - 否 -
选择: - 无 - 单选 - 多选 -
无分类和选择隐藏首列 - 是 - 否 -
无数据显示: - -
- -
权限
- - - - - - - - - - - - - - - - - - - - - -
可执行人: -
-
执行组织: -
-
- -
- - - - - - - - - -
- - -
-
范围
- - - - -
- 流程平台数据 - 内容管理数据 -
- - - - - - -
权限: - 带权限 - 忽略 -
-
- - - - - - - - - - - - - - - - -
流转状态: - 流转中 - 已完成 - 全部 -
取应用和流程的并集
选择应用: -
-
选择流程: -
-
-
-
- - - - - - - - - - - - - - - - - - - - -
数据类型: - 信息类 - 数据类 - -
返回草稿: - 是 - 否 -
取栏目和分类的并集:
选择栏目: -
-
选择分类: -
-
-
- - - - - - - - - - - - - - - - -
取组织、人员和身份的并集:
拟稿组织: -
-
拟稿人员: -
-
拟稿身份: -
-
- - -
时段
- - -
时段类型: - 全部 - - 范围
- - 年度 - 季度 - 月度 - 周 - 日 -
-
- - - - - - - - - -
开始日期:
结束日期:
-
-
- - - - - -
年度:
-
-
- - - - - -
季度:
-
-
- - - - - -
月份:
-
-
- - - - - -
周:
-
- -
- - - - - -
日期:
-
- -
- - - - - -
偏移量: - -
-
-
- -
-
-
- - - - - - - - - - - - - - - - - -
标题:
路径:
数据类型:
- 作为默认过滤条件
- 作为自定义过滤数据 -
- -
- - - - - -
值: - 输入 - 可选 -
- -
-
-
-
默认过滤条件
-
-
自定义过滤数据
-
-
-
- - - - - - - - - -
-
-
- -
-
-
- -
-
-
-
\ No newline at end of file diff --git a/o2web/source/x_component_query_InquiryDesigner/$Inquiry/inquiry.json b/o2web/source/x_component_query_InquiryDesigner/$Inquiry/inquiry.json deleted file mode 100644 index 20a1af4586a6aa4b4e6e5afbd8ca524bffc48bdd..0000000000000000000000000000000000000000 --- a/o2web/source/x_component_query_InquiryDesigner/$Inquiry/inquiry.json +++ /dev/null @@ -1,89 +0,0 @@ -{ - "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 diff --git a/o2web/source/x_component_query_InquiryDesigner/$Main/appicon.png b/o2web/source/x_component_query_InquiryDesigner/$Main/appicon.png deleted file mode 100644 index a09edcadbf01c8ca7b255e892c2f23fa85f1334f..0000000000000000000000000000000000000000 Binary files a/o2web/source/x_component_query_InquiryDesigner/$Main/appicon.png and /dev/null differ diff --git a/o2web/source/x_component_query_InquiryDesigner/$Main/blank.html b/o2web/source/x_component_query_InquiryDesigner/$Main/blank.html deleted file mode 100644 index fa6b9a41c62e88d27cdb07390ccf3d4ae538cb00..0000000000000000000000000000000000000000 --- a/o2web/source/x_component_query_InquiryDesigner/$Main/blank.html +++ /dev/null @@ -1,9 +0,0 @@ - - - - - - -111 - - \ No newline at end of file diff --git a/o2web/source/x_component_query_InquiryDesigner/$Main/default/css.wcss b/o2web/source/x_component_query_InquiryDesigner/$Main/default/css.wcss deleted file mode 100644 index 7547e4bbfe034bbfd150da0d25a5a18758e22a9d..0000000000000000000000000000000000000000 --- a/o2web/source/x_component_query_InquiryDesigner/$Main/default/css.wcss +++ /dev/null @@ -1,164 +0,0 @@ -{ - "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 diff --git a/o2web/source/x_component_query_InquiryDesigner/$Main/default/designBlank.html b/o2web/source/x_component_query_InquiryDesigner/$Main/default/designBlank.html deleted file mode 100644 index faf4f1a8c652660b77df056437ec39757243e45f..0000000000000000000000000000000000000000 --- a/o2web/source/x_component_query_InquiryDesigner/$Main/default/designBlank.html +++ /dev/null @@ -1,9 +0,0 @@ - - - - - - -
111
- - \ No newline at end of file diff --git a/o2web/source/x_component_query_InquiryDesigner/$Main/default/designerBg.png b/o2web/source/x_component_query_InquiryDesigner/$Main/default/designerBg.png deleted file mode 100644 index c98e53cffc5cd7bf72e3eb4898c9936f49ba6fe5..0000000000000000000000000000000000000000 Binary files a/o2web/source/x_component_query_InquiryDesigner/$Main/default/designerBg.png and /dev/null differ diff --git a/o2web/source/x_component_query_InquiryDesigner/$Main/default/icon.png b/o2web/source/x_component_query_InquiryDesigner/$Main/default/icon.png deleted file mode 100644 index 21f586f7273740cf3305358ee3fbb7ee5b0d4c90..0000000000000000000000000000000000000000 Binary files a/o2web/source/x_component_query_InquiryDesigner/$Main/default/icon.png and /dev/null differ diff --git a/o2web/source/x_component_query_InquiryDesigner/$Main/default/icon/actionbar.png b/o2web/source/x_component_query_InquiryDesigner/$Main/default/icon/actionbar.png deleted file mode 100644 index 36da31b2abf6ebe36ce7aad1b3b9e5152b60e887..0000000000000000000000000000000000000000 Binary files a/o2web/source/x_component_query_InquiryDesigner/$Main/default/icon/actionbar.png and /dev/null differ diff --git a/o2web/source/x_component_query_InquiryDesigner/$Main/default/icon/attachment.png b/o2web/source/x_component_query_InquiryDesigner/$Main/default/icon/attachment.png deleted file mode 100644 index 8becb5e68972d4d268c6e951e81930e41e537988..0000000000000000000000000000000000000000 Binary files a/o2web/source/x_component_query_InquiryDesigner/$Main/default/icon/attachment.png and /dev/null differ diff --git a/o2web/source/x_component_query_InquiryDesigner/$Main/default/icon/button.png b/o2web/source/x_component_query_InquiryDesigner/$Main/default/icon/button.png deleted file mode 100644 index 3f6177ba71fddb020ac76f1391a87ff6def5a373..0000000000000000000000000000000000000000 Binary files a/o2web/source/x_component_query_InquiryDesigner/$Main/default/icon/button.png and /dev/null differ diff --git a/o2web/source/x_component_query_InquiryDesigner/$Main/default/icon/calendar.png b/o2web/source/x_component_query_InquiryDesigner/$Main/default/icon/calendar.png deleted file mode 100644 index 781ef49e69815de3a5c8b46ffd0bc0fd93d10107..0000000000000000000000000000000000000000 Binary files a/o2web/source/x_component_query_InquiryDesigner/$Main/default/icon/calendar.png and /dev/null differ diff --git a/o2web/source/x_component_query_InquiryDesigner/$Main/default/icon/checkbox.png b/o2web/source/x_component_query_InquiryDesigner/$Main/default/icon/checkbox.png deleted file mode 100644 index c469fc1c3dfeb7b0ba07a09c5fe3f5bef34fc1b3..0000000000000000000000000000000000000000 Binary files a/o2web/source/x_component_query_InquiryDesigner/$Main/default/icon/checkbox.png and /dev/null differ diff --git a/o2web/source/x_component_query_InquiryDesigner/$Main/default/icon/datagrid.png b/o2web/source/x_component_query_InquiryDesigner/$Main/default/icon/datagrid.png deleted file mode 100644 index 132c5fd79321d463d40277b75e4a12b8d49ebe51..0000000000000000000000000000000000000000 Binary files a/o2web/source/x_component_query_InquiryDesigner/$Main/default/icon/datagrid.png and /dev/null differ diff --git a/o2web/source/x_component_query_InquiryDesigner/$Main/default/icon/div.png b/o2web/source/x_component_query_InquiryDesigner/$Main/default/icon/div.png deleted file mode 100644 index 6272810375c476a3448d14ad1a2dd343175cf38e..0000000000000000000000000000000000000000 Binary files a/o2web/source/x_component_query_InquiryDesigner/$Main/default/icon/div.png and /dev/null differ diff --git a/o2web/source/x_component_query_InquiryDesigner/$Main/default/icon/html.png b/o2web/source/x_component_query_InquiryDesigner/$Main/default/icon/html.png deleted file mode 100644 index 417e1766d707ecfc2adf4bc89c501bb312a48f7a..0000000000000000000000000000000000000000 Binary files a/o2web/source/x_component_query_InquiryDesigner/$Main/default/icon/html.png and /dev/null differ diff --git a/o2web/source/x_component_query_InquiryDesigner/$Main/default/icon/htmleditor.png b/o2web/source/x_component_query_InquiryDesigner/$Main/default/icon/htmleditor.png deleted file mode 100644 index 4cf7ec816a2cfccdd70df3c2b1b27c493478a8b0..0000000000000000000000000000000000000000 Binary files a/o2web/source/x_component_query_InquiryDesigner/$Main/default/icon/htmleditor.png and /dev/null differ diff --git a/o2web/source/x_component_query_InquiryDesigner/$Main/default/icon/iframe.png b/o2web/source/x_component_query_InquiryDesigner/$Main/default/icon/iframe.png deleted file mode 100644 index 0bb5beeee4673823f96faadfe4dee74740a27bc9..0000000000000000000000000000000000000000 Binary files a/o2web/source/x_component_query_InquiryDesigner/$Main/default/icon/iframe.png and /dev/null differ diff --git a/o2web/source/x_component_query_InquiryDesigner/$Main/default/icon/image.png b/o2web/source/x_component_query_InquiryDesigner/$Main/default/icon/image.png deleted file mode 100644 index 0823a282f24c4dccdc1857d3731b2d2b91f7f2eb..0000000000000000000000000000000000000000 Binary files a/o2web/source/x_component_query_InquiryDesigner/$Main/default/icon/image.png and /dev/null differ diff --git a/o2web/source/x_component_query_InquiryDesigner/$Main/default/icon/label.png b/o2web/source/x_component_query_InquiryDesigner/$Main/default/icon/label.png deleted file mode 100644 index b25b6651d8c204d63122fd77e160980232691150..0000000000000000000000000000000000000000 Binary files a/o2web/source/x_component_query_InquiryDesigner/$Main/default/icon/label.png and /dev/null differ diff --git a/o2web/source/x_component_query_InquiryDesigner/$Main/default/icon/layout.png b/o2web/source/x_component_query_InquiryDesigner/$Main/default/icon/layout.png deleted file mode 100644 index f9dda424d09315d961477c9a097e55478857c11c..0000000000000000000000000000000000000000 Binary files a/o2web/source/x_component_query_InquiryDesigner/$Main/default/icon/layout.png and /dev/null differ diff --git a/o2web/source/x_component_query_InquiryDesigner/$Main/default/icon/log.png b/o2web/source/x_component_query_InquiryDesigner/$Main/default/icon/log.png deleted file mode 100644 index bc99e85cf41c6d9166e33f982d20307996abe961..0000000000000000000000000000000000000000 Binary files a/o2web/source/x_component_query_InquiryDesigner/$Main/default/icon/log.png and /dev/null differ diff --git a/o2web/source/x_component_query_InquiryDesigner/$Main/default/icon/monitor.png b/o2web/source/x_component_query_InquiryDesigner/$Main/default/icon/monitor.png deleted file mode 100644 index 9196fb4e4a3d4f674f725f8e89b81bdbb9993e58..0000000000000000000000000000000000000000 Binary files a/o2web/source/x_component_query_InquiryDesigner/$Main/default/icon/monitor.png and /dev/null differ diff --git a/o2web/source/x_component_query_InquiryDesigner/$Main/default/icon/office.png b/o2web/source/x_component_query_InquiryDesigner/$Main/default/icon/office.png deleted file mode 100644 index 71ee69c36f9d1edba73cd1f7f73cc713cfc47f33..0000000000000000000000000000000000000000 Binary files a/o2web/source/x_component_query_InquiryDesigner/$Main/default/icon/office.png and /dev/null differ diff --git a/o2web/source/x_component_query_InquiryDesigner/$Main/default/icon/personfield.png b/o2web/source/x_component_query_InquiryDesigner/$Main/default/icon/personfield.png deleted file mode 100644 index 5eb84c4961efea594c076ac5a94135cc6f8019a2..0000000000000000000000000000000000000000 Binary files a/o2web/source/x_component_query_InquiryDesigner/$Main/default/icon/personfield.png and /dev/null differ diff --git a/o2web/source/x_component_query_InquiryDesigner/$Main/default/icon/radio.png b/o2web/source/x_component_query_InquiryDesigner/$Main/default/icon/radio.png deleted file mode 100644 index 55ca815d3995405465206351535303a62631d99b..0000000000000000000000000000000000000000 Binary files a/o2web/source/x_component_query_InquiryDesigner/$Main/default/icon/radio.png and /dev/null differ diff --git a/o2web/source/x_component_query_InquiryDesigner/$Main/default/icon/select.png b/o2web/source/x_component_query_InquiryDesigner/$Main/default/icon/select.png deleted file mode 100644 index 7f1901f5af884a88557037ab5770cbec8b6cc264..0000000000000000000000000000000000000000 Binary files a/o2web/source/x_component_query_InquiryDesigner/$Main/default/icon/select.png and /dev/null differ diff --git a/o2web/source/x_component_query_InquiryDesigner/$Main/default/icon/table.png b/o2web/source/x_component_query_InquiryDesigner/$Main/default/icon/table.png deleted file mode 100644 index d0fee370a1f93665a7221b1741e83c8b76ac2196..0000000000000000000000000000000000000000 Binary files a/o2web/source/x_component_query_InquiryDesigner/$Main/default/icon/table.png and /dev/null differ diff --git a/o2web/source/x_component_query_InquiryDesigner/$Main/default/icon/tabs.png b/o2web/source/x_component_query_InquiryDesigner/$Main/default/icon/tabs.png deleted file mode 100644 index a2d7128a308dc2ccf49fbef49627c1d51956e635..0000000000000000000000000000000000000000 Binary files a/o2web/source/x_component_query_InquiryDesigner/$Main/default/icon/tabs.png and /dev/null differ diff --git a/o2web/source/x_component_query_InquiryDesigner/$Main/default/icon/textarea.png b/o2web/source/x_component_query_InquiryDesigner/$Main/default/icon/textarea.png deleted file mode 100644 index a98bf6ee493e121405f1ce18f1eac425b9a8abd5..0000000000000000000000000000000000000000 Binary files a/o2web/source/x_component_query_InquiryDesigner/$Main/default/icon/textarea.png and /dev/null differ diff --git a/o2web/source/x_component_query_InquiryDesigner/$Main/default/icon/textfield.png b/o2web/source/x_component_query_InquiryDesigner/$Main/default/icon/textfield.png deleted file mode 100644 index dc0b32eea22447f5244bf9c99fe5c399a65df3ca..0000000000000000000000000000000000000000 Binary files a/o2web/source/x_component_query_InquiryDesigner/$Main/default/icon/textfield.png and /dev/null differ diff --git a/o2web/source/x_component_query_InquiryDesigner/$Main/default/icon/tree.png b/o2web/source/x_component_query_InquiryDesigner/$Main/default/icon/tree.png deleted file mode 100644 index 649c6a94f45f00348d0e3b6ca3dfc847d02de8e8..0000000000000000000000000000000000000000 Binary files a/o2web/source/x_component_query_InquiryDesigner/$Main/default/icon/tree.png and /dev/null differ diff --git a/o2web/source/x_component_query_InquiryDesigner/$Main/default/icon/tree1.png b/o2web/source/x_component_query_InquiryDesigner/$Main/default/icon/tree1.png deleted file mode 100644 index 45998680553cf6ec8c7705af957824621816b203..0000000000000000000000000000000000000000 Binary files a/o2web/source/x_component_query_InquiryDesigner/$Main/default/icon/tree1.png and /dev/null differ diff --git a/o2web/source/x_component_query_InquiryDesigner/$Main/default/left.png b/o2web/source/x_component_query_InquiryDesigner/$Main/default/left.png deleted file mode 100644 index 785c5782c63a001f6b33072c68fa36dbb7bf6a36..0000000000000000000000000000000000000000 Binary files a/o2web/source/x_component_query_InquiryDesigner/$Main/default/left.png and /dev/null differ diff --git a/o2web/source/x_component_query_InquiryDesigner/$Main/default/right.png b/o2web/source/x_component_query_InquiryDesigner/$Main/default/right.png deleted file mode 100644 index 626e054c00feb8f186c5686e39112512dad1ab9e..0000000000000000000000000000000000000000 Binary files a/o2web/source/x_component_query_InquiryDesigner/$Main/default/right.png and /dev/null differ diff --git a/o2web/source/x_component_query_InquiryDesigner/$Main/default/toolbar/formExplode.gif b/o2web/source/x_component_query_InquiryDesigner/$Main/default/toolbar/formExplode.gif deleted file mode 100644 index 51e6a1b12985f3995ce279cc8c9a944ca0be66ba..0000000000000000000000000000000000000000 Binary files a/o2web/source/x_component_query_InquiryDesigner/$Main/default/toolbar/formExplode.gif and /dev/null differ diff --git a/o2web/source/x_component_query_InquiryDesigner/$Main/default/toolbar/formExplode_gray.gif b/o2web/source/x_component_query_InquiryDesigner/$Main/default/toolbar/formExplode_gray.gif deleted file mode 100644 index 81b570687d2b233f6d7777efcc9436735541883e..0000000000000000000000000000000000000000 Binary files a/o2web/source/x_component_query_InquiryDesigner/$Main/default/toolbar/formExplode_gray.gif and /dev/null differ diff --git a/o2web/source/x_component_query_InquiryDesigner/$Main/default/toolbar/formImplode.gif b/o2web/source/x_component_query_InquiryDesigner/$Main/default/toolbar/formImplode.gif deleted file mode 100644 index 4a045c7d1d19e486c602c974ec54dfc328ccb2a0..0000000000000000000000000000000000000000 Binary files a/o2web/source/x_component_query_InquiryDesigner/$Main/default/toolbar/formImplode.gif and /dev/null differ diff --git a/o2web/source/x_component_query_InquiryDesigner/$Main/default/toolbar/formImplode_gray.gif b/o2web/source/x_component_query_InquiryDesigner/$Main/default/toolbar/formImplode_gray.gif deleted file mode 100644 index 1824ea21cc97df0ca8b4935b114d304a65b25405..0000000000000000000000000000000000000000 Binary files a/o2web/source/x_component_query_InquiryDesigner/$Main/default/toolbar/formImplode_gray.gif and /dev/null differ diff --git a/o2web/source/x_component_query_InquiryDesigner/$Main/default/toolbar/help.png b/o2web/source/x_component_query_InquiryDesigner/$Main/default/toolbar/help.png deleted file mode 100644 index f9005654115231e4da2eb5ce7673a215006931db..0000000000000000000000000000000000000000 Binary files a/o2web/source/x_component_query_InquiryDesigner/$Main/default/toolbar/help.png and /dev/null differ diff --git a/o2web/source/x_component_query_InquiryDesigner/$Main/default/toolbar/preview.png b/o2web/source/x_component_query_InquiryDesigner/$Main/default/toolbar/preview.png deleted file mode 100644 index 564a1a9714ff37aee1c8758109113e434eff7862..0000000000000000000000000000000000000000 Binary files a/o2web/source/x_component_query_InquiryDesigner/$Main/default/toolbar/preview.png and /dev/null differ diff --git a/o2web/source/x_component_query_InquiryDesigner/$Main/default/toolbar/print.gif b/o2web/source/x_component_query_InquiryDesigner/$Main/default/toolbar/print.gif deleted file mode 100644 index 328751770212227cc1b28efabf8475d433eee910..0000000000000000000000000000000000000000 Binary files a/o2web/source/x_component_query_InquiryDesigner/$Main/default/toolbar/print.gif and /dev/null differ diff --git a/o2web/source/x_component_query_InquiryDesigner/$Main/default/toolbar/print_gray.gif b/o2web/source/x_component_query_InquiryDesigner/$Main/default/toolbar/print_gray.gif deleted file mode 100644 index ff7e398025b530bda2093a0d61c91d96eccef04f..0000000000000000000000000000000000000000 Binary files a/o2web/source/x_component_query_InquiryDesigner/$Main/default/toolbar/print_gray.gif and /dev/null differ diff --git a/o2web/source/x_component_query_InquiryDesigner/$Main/default/toolbar/save.gif b/o2web/source/x_component_query_InquiryDesigner/$Main/default/toolbar/save.gif deleted file mode 100644 index 5c1f79d2e4334b28bb85d1e9b3e1e73fc83a32d9..0000000000000000000000000000000000000000 Binary files a/o2web/source/x_component_query_InquiryDesigner/$Main/default/toolbar/save.gif and /dev/null differ diff --git a/o2web/source/x_component_query_InquiryDesigner/$Main/default/toolbar/saveNew.gif b/o2web/source/x_component_query_InquiryDesigner/$Main/default/toolbar/saveNew.gif deleted file mode 100644 index 112e5891f36841846ca18b27f80442070517b0fa..0000000000000000000000000000000000000000 Binary files a/o2web/source/x_component_query_InquiryDesigner/$Main/default/toolbar/saveNew.gif and /dev/null differ diff --git a/o2web/source/x_component_query_InquiryDesigner/$Main/default/toolbar/saveNew_gray.gif b/o2web/source/x_component_query_InquiryDesigner/$Main/default/toolbar/saveNew_gray.gif deleted file mode 100644 index 08175904a852f52ed461b7a40d5d531bcd4235f1..0000000000000000000000000000000000000000 Binary files a/o2web/source/x_component_query_InquiryDesigner/$Main/default/toolbar/saveNew_gray.gif and /dev/null differ diff --git a/o2web/source/x_component_query_InquiryDesigner/$Main/default/toolbar/save_gray.gif b/o2web/source/x_component_query_InquiryDesigner/$Main/default/toolbar/save_gray.gif deleted file mode 100644 index 8ff2789dc46cb22bfd398e241c9146c833c02146..0000000000000000000000000000000000000000 Binary files a/o2web/source/x_component_query_InquiryDesigner/$Main/default/toolbar/save_gray.gif and /dev/null differ diff --git a/o2web/source/x_component_query_InquiryDesigner/$Main/default/toolbars.html b/o2web/source/x_component_query_InquiryDesigner/$Main/default/toolbars.html deleted file mode 100644 index a3e0913ea9544c02696d09188617d5748a33bc50..0000000000000000000000000000000000000000 --- a/o2web/source/x_component_query_InquiryDesigner/$Main/default/toolbars.html +++ /dev/null @@ -1,18 +0,0 @@ -
- - - - - - - - - - - - - - - 自动保存 - -
\ No newline at end of file diff --git a/o2web/source/x_component_query_InquiryDesigner/$Main/default/tools.json b/o2web/source/x_component_query_InquiryDesigner/$Main/default/tools.json deleted file mode 100644 index b0a11b2681dbd473492ce19ff5eb3db942e971fc..0000000000000000000000000000000000000000 --- a/o2web/source/x_component_query_InquiryDesigner/$Main/default/tools.json +++ /dev/null @@ -1,120 +0,0 @@ -{ - "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 diff --git a/o2web/source/x_component_query_InquiryDesigner/$Main/default/view.png b/o2web/source/x_component_query_InquiryDesigner/$Main/default/view.png deleted file mode 100644 index acc30b853b3740bad231e4daa8e9f5a81f3f757b..0000000000000000000000000000000000000000 Binary files a/o2web/source/x_component_query_InquiryDesigner/$Main/default/view.png and /dev/null differ diff --git a/o2web/source/x_component_query_InquiryDesigner/Inquiry.js b/o2web/source/x_component_query_InquiryDesigner/Inquiry.js deleted file mode 100644 index dfc15829f6f426cb71255948612ff112a4858aa4..0000000000000000000000000000000000000000 --- a/o2web/source/x_component_query_InquiryDesigner/Inquiry.js +++ /dev/null @@ -1,591 +0,0 @@ -MWF.xApplication = MWF.xApplication || {}; -MWF.xApplication.query = MWF.xApplication.query || {}; -MWF.xApplication.query.InquiryDesigner = MWF.xApplication.query.InquiryDesigner || {}; - -MWF.APPDVD = MWF.xApplication.query.InquiryDesigner; -MWF.require("MWF.widget.Common", null, false); -MWF.require("MWF.xScript.Macro", null, false); - -MWF.APPISTD = MWF.xApplication.query.InquiryDesigner; - -MWF.xDesktop.requireApp("query.InquiryDesigner", "lp."+MWF.language, null, false); -MWF.xDesktop.requireApp("query.ViewDesigner", "View", null, false); -MWF.xDesktop.requireApp("query.InquiryDesigner", "Property", null, false); - -MWF.xApplication.query.InquiryDesigner.View = new Class({ - Extends: MWF.xApplication.query.ViewDesigner.View, - Implements: [Options, Events], - options: { - "style": "default", - "isView": false, - "showTab": true, - "propertyPath": "../x_component_query_InquiryDesigner/$View/view.html" - }, - - initialize: function(designer, data, options){ - this.setOptions(options); - - this.path = "../x_component_query_InquiryDesigner/$View/"; - this.cssPath = "../x_component_query_InquiryDesigner/$View/"+this.options.style+"/css.wcss"; - - this._loadCss(); - - this.designer = designer; - this.data = data; - - if (!this.data.data) this.data.data = {}; - this.parseData(); - - this.node = this.designer.designNode; - //this.tab = this.designer.tab; - - this.areaNode = new Element("div", {"styles": {"height": "100%", "overflow": "auto"}}); - - //MWF.require("MWF.widget.ScrollBar", function(){ - // new MWF.widget.ScrollBar(this.areaNode, {"distance": 100}); - //}.bind(this)); - - - this.propertyListNode = this.designer.propertyDomArea; - //this.propertyNode = this.designer.propertyContentArea; - - if(this.designer.application) this.data.applicationName = this.designer.application.name; - if(this.designer.application) this.data.application = this.designer.application.id; - - this.isNewView = (this.data.name) ? false : true; - - this.items = []; - this.view = this; - - this.autoSave(); - this.designer.addEvent("queryClose", function(){ - if (this.autoSaveTimerID) window.clearInterval(this.autoSaveTimerID); - }.bind(this)); - }, - parseData: function(){ - this.json = this.data; - if( !this.json.data.events ){ - var url = "../x_component_query_InquiryDesigner/$View/view.json"; - MWF.getJSON(url, { - "onSuccess": function(obj){ - this.json.data.events = obj.data.events; - }.bind(this), - "onerror": function(text){ - this.notice(text, "error"); - }.bind(this), - "onRequestFailure": function(xhr){ - this.notice(xhr.responseText, "error"); - }.bind(this) - },false); - } - }, - - showProperty: function(){ - if (!this.property){ - this.property = new MWF.xApplication.query.InquiryDesigner.Property(this, this.designer.propertyContentArea, this.designer, { - "path": this.options.propertyPath, - "onPostLoad": function(){ - this.property.show(); - }.bind(this) - }); - this.property.load(); - }else{ - this.property.show(); - } - }, - hideProperty: function(){ - if (this.property) this.property.hide(); - }, - - loadViewData: function(){ - if (this.data.id){ - this.saveSilence(function(){ - this.viewContentBodyNode.empty(); - this.viewContentTableNode = new Element("table", { - "styles": this.css.viewContentTableNode, - "border": "0px", - "cellPadding": "0", - "cellSpacing": "0" - }).inject(this.viewContentBodyNode); - - this.designer.actions.loadView(this.data.id, null,function(json){ - var entries = {}; - - json.data.selectList.each(function(entry){entries[entry.column] = entry;}.bind(this)); - - if (this.json.data.group.column){ - if (json.data.groupGrid.length){ - var groupColumn = null; - for (var c = 0; csize.x){ - this.viewTitleNode.setStyle("width", ""+width+"px"); - this.viewAreaNode.setStyle("width", ""+width+"px"); - }else{ - this.viewTitleNode.setStyle("width", ""+size.x+"px"); - this.viewAreaNode.setStyle("width", ""+size.x+"px"); - } - this.setContentColumnWidth(); - this.setContentHeight(); - }, - - - preview: function(){ - if( this.isNewView ){ - this.designer.notice( this.designer.lp.saveViewNotice, "error" ); - return; - } - this.saveSilence( function () { - var url = "../x_desktop/app.html?app=query.Query&status="; - url += JSON.stringify({ - id : this.data.application, - viewId : this.data.id - }); - window.open(o2.filterUrl(url),"_blank"); - }.bind(this)); - }, - saveSilence: function(callback){ - if (!this.data.name){ - this.designer.notice(this.designer.lp.notice.inputName, "error"); - return false; - } - - this.designer.actions.saveView(this.data, function(json){ - this.data.id = json.data.id; - this.isNewView = false; - //this.page.textNode.set("text", this.data.name); - if (this.lisNode) { - this.lisNode.getLast().set("text", this.data.name+"("+this.data.alias+")"); - } - if (callback) callback(); - }.bind(this)); - }, - save: function(callback){ - //if (this.designer.tab.showPage==this.page){ - if (!this.data.name){ - this.designer.notice(this.designer.lp.notice.inputName, "error"); - return false; - } - //} - this.designer.actions.saveView(this.data, function(json){ - this.designer.notice(this.designer.lp.notice.save_success, "success", this.node, {"x": "left", "y": "bottom"}); - this.isNewView = false; - this.data.id = json.data.id; - //this.page.textNode.set("text", this.data.name); - if (this.lisNode) { - this.lisNode.getLast().set("text", this.data.name+"("+this.data.alias+")"); - } - if (callback) callback(); - }.bind(this)); - }, - _setEditStyle: function(name, input, oldValue){ - if (name=="type"){ - this.items.each(function(item){ - if (item.property){ - var processDiv = item.property.propertyContent.getElements("#"+item.json.id+"dataPathSelectedProcessArea"); - var cmsDiv = item.property.propertyContent.getElements("#"+item.json.id+"dataPathSelectedCMSArea"); - if (this.json[name]=="cms"){ - cmsDiv.setStyle("display", "block"); - processDiv.setStyle("display", "none"); - }else{ - cmsDiv.setStyle("display", "none"); - processDiv.setStyle("display", "block"); - } - } - }.bind(this)); - } - if( name=="data.actionbarHidden" ){ - if( this.json.data.actionbarHidden ){ - this.hideActionbar() - }else{ - this.showActionbar() - } - } - if( name=="data.selectAllEnable" ){ - if( this.json.data.selectAllEnable ){ - this.viewTitleTrNode.getElement(".viewTitleCheckboxTd").setStyle("display","table-cell"); - this.viewContentTableNode.getElements(".viewContentCheckboxTd").setStyle("display","table-cell"); - }else{ - this.viewTitleTrNode.getElement(".viewTitleCheckboxTd").setStyle("display","none"); - this.viewContentTableNode.getElements(".viewContentCheckboxTd").setStyle("display","none"); - } - } - if (name=="data.viewStyleType"){ - - var file = (this.stylesList && this.json.data.viewStyleType) ? this.stylesList[this.json.data.viewStyleType].file : null; - var extendFile = (this.stylesList && this.json.data.viewStyleType) ? this.stylesList[this.json.data.viewStyleType].extendFile : null; - this.loadTemplateStyles( file, extendFile, function( templateStyles ){ - this.templateStyles = templateStyles; - - var oldFile, oldExtendFile; - if( oldValue && this.stylesList[oldValue] ){ - oldFile = this.stylesList[oldValue].file; - oldExtendFile = this.stylesList[oldValue].extendFile; - } - this.loadTemplateStyles( oldFile, oldExtendFile, function( oldTemplateStyles ){ - - this.json.data.styleConfig = (this.stylesList && this.json.data.viewStyleType) ? this.stylesList[this.json.data.viewStyleType] : null; - - if (oldTemplateStyles["view"]) this.clearTemplateStyles(oldTemplateStyles["view"]); - if (this.templateStyles["view"]) this.setTemplateStyles(this.templateStyles["view"]); - this.setAllStyles(); - - this.actionbarList.each( function (module) { - if (oldTemplateStyles["actionbar"]){ - module.clearTemplateStyles(oldTemplateStyles["actionbar"]); - } - module.setStyleTemplate(); - module.setAllStyles(); - }) - - this.pagingList.each( function (module) { - if (oldTemplateStyles["paging"]){ - module.clearTemplateStyles(oldTemplateStyles["paging"]); - } - module.setStyleTemplate(); - module.setAllStyles(); - }); - - // this.moduleList.each(function(module){ - // if (oldTemplateStyles[module.moduleName]){ - // module.clearTemplateStyles(oldTemplateStyles[module.moduleName]); - // } - // module.setStyleTemplate(); - // module.setAllStyles(); - // }.bind(this)); - }.bind(this)) - - }.bind(this)) - } - if (name=="data.viewStyles"){ - this.setCustomStyles(); - } - }, - removeStyles: function(from, to){ - if (this.json.data.viewStyles[to]){ - Object.each(from, function(style, key){ - if (this.json.data.viewStyles[to][key] && this.json.data.viewStyles[to][key]==style){ - delete this.json.data.viewStyles[to][key]; - } - }.bind(this)); - } - }, - copyStyles: function(from, to){ - if (!this.json.data.viewStyles[to]) this.json.data.viewStyles[to] = {}; - Object.each(from, function(style, key){ - if (!this.json.data.viewStyles[to][key]) this.json.data.viewStyles[to][key] = style; - }.bind(this)); - }, - - saveAs: function(){ - var form = new MWF.xApplication.query.InquiryDesigner.View.NewNameForm(this, { - name : this.data.name + "_" + MWF.xApplication.query.InquiryDesigner.LP.copy, - query : this.data.query || this.data.application, - queryName : this.data.queryName || this.data.applicationName - }, { - onSave : function( data, callback ){ - this._saveAs( data, callback ); - }.bind(this) - }, { - app: this.designer - }); - form.edit() - }, - _saveAs : function( data , callback){ - var _self = this; - - var d = this.cloneObject( this.data ); - - d.isNewView = true; - d.id = this.designer.actions.getUUID(); - d.name = data.name; - d.alias = ""; - d.query = data.query; - d.queryName = data.queryName; - d.application = data.query; - d.applicationName = data.queryName; - d.pid = d.id + d.id; - - delete d[this.data.id+"viewFilterType"]; - d[d.id+"viewFilterType"]="custom"; - - d.data.selectList.each( function( entry ){ - entry.id = (new MWF.widget.UUID).id; - }.bind(this)); - - this.designer.actions.saveView(d, function(json){ - this.designer.notice(this.designer.lp.notice.saveAs_success, "success", this.node, {"x": "left", "y": "bottom"}); - if (callback) callback(); - }.bind(this)); - } - -}); - -MWF.xApplication.query.InquiryDesigner.View.Column = new Class({ - Extends: MWF.xApplication.query.ViewDesigner.View.Column -}); - -MWF.xApplication.query.InquiryDesigner.View.Actionbar = new Class({ - Extends: MWF.xApplication.query.ViewDesigner.View.Actionbar -}); - -MWF.xApplication.query.InquiryDesigner.View.Paging = new Class({ - Extends: MWF.xApplication.query.ViewDesigner.View.Paging -}); diff --git a/o2web/source/x_component_query_InquiryDesigner/Main.js b/o2web/source/x_component_query_InquiryDesigner/Main.js deleted file mode 100644 index 450d38f6b0950781a7585214da0ea1e0ca083038..0000000000000000000000000000000000000000 --- a/o2web/source/x_component_query_InquiryDesigner/Main.js +++ /dev/null @@ -1,809 +0,0 @@ -MWF.xApplication.query.InquiryDesigner =MWF.xApplication.query.InquiryDesigner || {}; -MWF.APPDIQD = MWF.xApplication.query.InquiryDesigner; -MWF.APPDIQD.options = { - "multitask": true, - "executable": false -}; -MWF.xDesktop.requireApp("query.InquiryDesigner", "Inquiry", null, false); -MWF.xApplication.query.InquiryDesigner.Main = new Class({ - Extends: MWF.xApplication.Common.Main, - Implements: [Options, Events], - options: { - "style": "default", - "name": "query.InquiryDesigner", - "icon": "icon.png", - "title": MWF.APPDIQD.LP.title, - "appTitle": MWF.APPDIQD.LP.title, - "id": "", - "actions": null, - "category": null - }, - onQueryLoad: function(){ - this.shortcut = true; - if (this.status){ - this.options.application = this.status.applicationId; - this.application = this.status.application; - this.options.id = this.status.id; - } - - if (!this.options.id){ - this.options.desktopReload = false; - this.options.title = this.options.title + "-"+MWF.APPDIQD.LP.title; - } - if (!this.actions) this.actions = MWF.Actions.get("x_query_assemble_designer"); - - this.lp = MWF.xApplication.query.InquiryDesigner.LP; - - this.addEvent("queryClose", function(e){ - if (this.explorer){ - this.explorer.reload(); - } - }.bind(this)); - this.addEvent("postLoadWindowMax", function(e){ - this.loadWindowOk = true; - if (this.loadApplicationOk && this.loadWindowOk){ - //if (this.tab.showPage) { - // var view = this.tab.showPage.view; - // if (view) { - this.view.setViewWidth(); - // } - //} - } - }.bind(this)); - this.addEvent("postLoadApplication", function(e){ - this.loadApplicationOk = true; - if (this.loadApplicationOk && this.loadWindowOk){ - //if (this.tab.showPage) { - // var view = this.tab.showPage.view; - // if (view) { - this.view.setViewWidth(); - // } - //} - } - }.bind(this)); - }, - - loadApplication: function(callback){ - this.createNode(); - if (!this.options.isRefresh){ - this.maxSize(function(){ - this.openView(function(){ - if (callback) callback(); - }); - }.bind(this)); - }else{ - this.openView(function(){ - if (callback) callback(); - }); - } - - if (!this.options.readMode) this.addKeyboardEvents(); - }, - keySave: function(e){ - if (this.shortcut) { - //if (this.tab.showPage) { - // var view = this.tab.showPage.view; - // if (view) { - this.view.save(); - e.preventDefault(); - // } - //} - } - }, - keyDelete: function(){ - if (this.shortcut) { - //if (this.tab.showPage) { - //var view = this.tab.showPage.view; - //if (view) { - if (this.view.currentSelectedModule) { - var item = this.view.currentSelectedModule; - item["delete"](); - } - //} - //} - } - }, - - copyModule: function(){ - if (this.shortcut) { - //if (this.tab.showPage) { - //var view = this.tab.showPage.view; - //if (view) { - if (this.view.currentSelectedModule) { - var item = this.view.currentSelectedModule; - MWF.clipboard.data = { - "type": "view", - "data": item.json - }; - } - //} - //} - } - }, - cutModule: function(){ - if (this.shortcut) { - //if (this.tab.showPage) { - //var view = this.tab.showPage.view; - //if (view) { - if (this.view.currentSelectedModule) { - this.copyModule(); - var item = this.view.currentSelectedModule; - item.destroy(); - } - //} - //} - } - }, - pasteModule: function(){ - if (this.shortcut) { - if (MWF.clipboard.data) { - if (MWF.clipboard.data.type == "view") { - //if (this.tab.showPage) { - //var view = this.tab.showPage.view; - //if (view) { - if (this.view.currentSelectedModule) { - var item = this.view.currentSelectedModule; - var data = MWF.clipboard.data.data; - - item.addColumn(null, data); - } - //} - //} - } - } - } - }, - - createNode: function(){ - this.content.setStyle("overflow", "hidden"); - this.node = new Element("div", { - "styles": {"width": "100%", "height": "100%", "overflow": "hidden"} - }).inject(this.content); - }, - getApplication:function(callback){ - if (!this.application){ - this.actions.getApplication(this.options.application, function(json){ - this.application = {"name": json.data.name, "id": json.data.id}; - if (callback) callback(); - }.bind(this)); - }else{ - if (callback) callback(); - } - }, - openView: function(callback){ - this.getApplication(function(){ - this.initOptions(); - this.loadNodes(); - this.loadViewListNodes(); - // this.loadToolbar(); - this.loadContentNode(); - this.loadProperty(); - // this.loadTools(); - this.resizeNode(); - this.addEvent("resize", this.resizeNode.bind(this)); - this.loadView(function(){ - if (callback) callback(); - }); - - this.setScrollBar(this.propertyDomArea, null, { - "V": {"x": 0, "y": 0}, - "H": {"x": 0, "y": 0} - }); - }.bind(this)); - }, - initOptions: function(){ - //this.toolsData = null; - //this.toolbarMode = "all"; - //this.tools = []; - //this.toolbarDecrease = 0; - // - //this.designNode = null; - //this.form = null; - }, - loadNodes: function(){ - this.viewListNode = new Element("div", { - "styles": this.css.viewListNode - }).inject(this.node); - this.propertyNode = new Element("div", { - "styles": this.css.propertyNode - }).inject(this.node); - this.contentNode = new Element("div", { - "styles": this.css.contentNode - }).inject(this.node); - }, - - //loadViewListNodes------------------------------- - loadViewListNodes: function(){ - this.viewListTitleNode = new Element("div", { - "styles": this.css.viewListTitleNode, - "text": MWF.APPDIQD.LP.view - }).inject(this.viewListNode); - - this.viewListResizeNode = new Element("div", {"styles": this.css.viewListResizeNode}).inject(this.viewListNode); - this.viewListAreaSccrollNode = new Element("div", {"styles": this.css.viewListAreaSccrollNode}).inject(this.viewListNode); - this.viewListAreaNode = new Element("div", {"styles": this.css.viewListAreaNode}).inject(this.viewListAreaSccrollNode); - - this.loadViewListResize(); - - this.loadViewList(); - }, - - loadViewListResize: function(){ - this.viewListResize = new Drag(this.viewListResizeNode,{ - "snap": 1, - "onStart": function(el, e){ - var x = (Browser.name=="firefox") ? e.event.clientX : e.event.x; - var y = (Browser.name=="firefox") ? e.event.clientY : e.event.y; - el.store("position", {"x": x, "y": y}); - - var size = this.viewListAreaSccrollNode.getSize(); - el.store("initialWidth", size.x); - }.bind(this), - "onDrag": function(el, e){ - var x = (Browser.name=="firefox") ? e.event.clientX : e.event.x; -// var y = e.event.y; - var bodySize = this.content.getSize(); - var position = el.retrieve("position"); - var initialWidth = el.retrieve("initialWidth").toFloat(); - var dx = x.toFloat() - position.x.toFloat(); - - var width = initialWidth+dx; - if (width> bodySize.x/2) width = bodySize.x/2; - if (width<40) width = 40; - this.contentNode.setStyle("margin-left", width+1); - this.viewListNode.setStyle("width", width); - //this.tab.pages.each(function(page){ - (this.view || this.table).setViewWidth(); - //}); - }.bind(this) - }); - this.viewListResizeNode.addEvents({ - "touchstart": function(e){ - el = e.target; - var x = (Browser.name=="firefox") ? e.page.clientX : e.page.x; - var y = (Browser.name=="firefox") ? e.page.clientY : e.page.y; - el.store("position", {"x": x, "y": y}); - - var size = this.viewListAreaSccrollNode.getSize(); - el.store("initialWidth", size.x); - }.bind(this), - "touchmove": function(e){ - //Object.each(e, function(v, k){ - // alert(k+": "+ v); - //}); - el = e.target; - - var x = (Browser.name=="firefox") ? e.page.clientX : e.page.x; -// var y = e.event.y; - var bodySize = this.content.getSize(); - var position = el.retrieve("position"); - var initialWidth = el.retrieve("initialWidth").toFloat(); - var dx = x.toFloat() - position.x.toFloat(); - - var width = initialWidth+dx; - if (width> bodySize.x/2) width = bodySize.x/2; - if (width<40) width = 40; - this.contentNode.setStyle("margin-left", width+1); - this.viewListNode.setStyle("width", width); - //this.tab.pages.each(function(page){ - (this.view || this.table).setViewWidth(); - //}); - }.bind(this) - }); - - }, - - loadViewList: function(){ - this.actions.listView(this.application.id, function (json) { - json.data.each(function(view){ - this.createListViewItem(view); - }.bind(this)); - }.bind(this), null, false); - }, - - //列示所有视图列表 - createListViewItem: function(view, isNew){ - var _self = this; - var listViewItem = new Element("div", {"styles": this.css.listViewItem}).inject(this.viewListAreaNode, (isNew) ? "top": "bottom"); - var listViewItemIcon = new Element("div", {"styles": this.css.listViewItemIcon}).inject(listViewItem); - var listViewItemText = new Element("div", {"styles": this.css.listViewItemText, "text": (view.name) ? view.name+" ("+view.alias+")" : this.lp.newView}).inject(listViewItem); - - listViewItem.store("view", view); - listViewItem.addEvents({ - "dblclick": function(e){_self.loadViewByData(this, e);}, - "mouseover": function(){if (_self.currentListViewItem!=this) this.setStyles(_self.css.listViewItem_over);}, - "mouseout": function(){if (_self.currentListViewItem!=this) this.setStyles(_self.css.listViewItem);} - }); - }, - //打开视图 - loadViewByData: function(node, e){ - var view = node.retrieve("view"); - if (!view.isNewView){ - var openNew = true; - //for (var i = 0; i bodySize.x/2) width = bodySize.x/2; - if (width<40) width = 40; - this.contentNode.setStyle("margin-right", width+1); - this.propertyNode.setStyle("width", width); - //this.tab.pages.each(function(page){ - (this.view || this.table).setViewWidth(); - //}); - }.bind(this) - }); - }, - loadPropertyContentResize: function(){ - this.propertyContentResize = new Drag(this.propertyContentResizeNode, { - "snap": 1, - "onStart": function(el, e){ - var x = (Browser.name=="firefox") ? e.event.clientX : e.event.x; - var y = (Browser.name=="firefox") ? e.event.clientY : e.event.y; - el.store("position", {"x": x, "y": y}); - - var size = this.propertyDomArea.getSize(); - el.store("initialHeight", size.y); - }.bind(this), - "onDrag": function(el, e){ - var size = this.propertyContentNode.getSize(); - - // var x = e.event.x; - var y = (Browser.name=="firefox") ? e.event.clientY : e.event.y; - var position = el.retrieve("position"); - var dy = y.toFloat()-position.y.toFloat(); - - var initialHeight = el.retrieve("initialHeight").toFloat(); - var height = initialHeight+dy; - if (height<40) height = 40; - if (height> size.y-40) height = size.y-40; - - this.propertyDomPercent = height/size.y; - - this.setPropertyContentResize(); - - }.bind(this) - }); - }, - setPropertyContentResize: function(){ - var size = this.propertyContentNode.getSize(); - var resizeNodeSize = this.propertyContentResizeNode.getSize(); - var height = size.y-resizeNodeSize.y; - - var domHeight = this.propertyDomPercent*height; - var contentHeight = height-domHeight; - - this.propertyDomArea.setStyle("height", ""+domHeight+"px"); - this.propertyContentArea.setStyle("height", ""+contentHeight+"px"); - - if (this.table) this.view = this.table; - if (this.view){ - if (this.view.currentSelectedModule){ - if (this.view.currentSelectedModule.property){ - var tab = this.view.currentSelectedModule.property.propertyTab; - if (tab){ - var tabTitleSize = tab.tabNodeContainer.getSize(); - - tab.pages.each(function(page){ - var topMargin = page.contentNodeArea.getStyle("margin-top").toFloat(); - var bottomMargin = page.contentNodeArea.getStyle("margin-bottom").toFloat(); - - var tabContentNodeAreaHeight = contentHeight - topMargin - bottomMargin - tabTitleSize.y.toFloat()-15; - page.contentNodeArea.setStyle("height", tabContentNodeAreaHeight); - }.bind(this)); - - } - } - } - } - }, - - - - //resizeNode------------------------------------------------ - resizeNode: function(){ - var nodeSize = this.node.getSize(); - this.contentNode.setStyle("height", ""+nodeSize.y+"px"); - this.propertyNode.setStyle("height", ""+nodeSize.y+"px"); - - var contentToolbarMarginTop = this.contentToolbarNode.getStyle("margin-top").toFloat(); - var contentToolbarMarginBottom = this.contentToolbarNode.getStyle("margin-bottom").toFloat(); - var allContentToolberSize = this.contentToolbarNode.getComputedSize(); - var y = nodeSize.y - allContentToolberSize.totalHeight - contentToolbarMarginTop - contentToolbarMarginBottom; - this.editContentNode.setStyle("height", ""+y+"px"); - - if (this.designNode){ - var designMarginTop = this.designNode.getStyle("margin-top").toFloat(); - var designMarginBottom = this.designNode.getStyle("margin-bottom").toFloat(); - y = nodeSize.y - allContentToolberSize.totalHeight - contentToolbarMarginTop - contentToolbarMarginBottom - designMarginTop - designMarginBottom; - this.designNode.setStyle("height", ""+y+"px"); - } - - - titleSize = this.propertyTitleNode.getSize(); - titleMarginTop = this.propertyTitleNode.getStyle("margin-top").toFloat(); - titleMarginBottom = this.propertyTitleNode.getStyle("margin-bottom").toFloat(); - titlePaddingTop = this.propertyTitleNode.getStyle("padding-top").toFloat(); - titlePaddingBottom = this.propertyTitleNode.getStyle("padding-bottom").toFloat(); - - y = titleSize.y+titleMarginTop+titleMarginBottom+titlePaddingTop+titlePaddingBottom; - y = nodeSize.y-y; - this.propertyContentNode.setStyle("height", ""+y+"px"); - this.propertyResizeBar.setStyle("height", ""+y+"px"); - - this.setPropertyContentResize(); - - titleSize = this.viewListTitleNode.getSize(); - titleMarginTop = this.viewListTitleNode.getStyle("margin-top").toFloat(); - titleMarginBottom = this.viewListTitleNode.getStyle("margin-bottom").toFloat(); - titlePaddingTop = this.viewListTitleNode.getStyle("padding-top").toFloat(); - titlePaddingBottom = this.viewListTitleNode.getStyle("padding-bottom").toFloat(); - nodeMarginTop = this.viewListAreaSccrollNode.getStyle("margin-top").toFloat(); - nodeMarginBottom = this.viewListAreaSccrollNode.getStyle("margin-bottom").toFloat(); - - y = titleSize.y+titleMarginTop+titleMarginBottom+titlePaddingTop+titlePaddingBottom+nodeMarginTop+nodeMarginBottom; - y = nodeSize.y-y; - this.viewListAreaSccrollNode.setStyle("height", ""+y+"px"); - this.viewListResizeNode.setStyle("height", ""+y+"px"); - }, - - - - - //loadView------------------------------------------ - loadView: function(callback){ - this.getViewData(this.options.id, function(vdata){ - this.setTitle(this.options.appTitle + "-"+vdata.name); - this.taskitem.setText(this.options.appTitle + "-"+vdata.name); - this.options.appTitle = this.options.appTitle + "-"+vdata.name; - - //if (this.options.readMode){ - // this.view = new MWF.xApplication.process.DictionaryDesigner.DictionaryReader(this, ddata); - //}else{ - this.view = new MWF.xApplication.query.InquiryDesigner.View(this, vdata); - //} - - this.view.load(); - if (callback) callback(); - //if (this.status){ - // if (this.status.openViews){ - // this.status.openViews.each(function(id){ - // this.loadViewData(id, function(data){ - // var showTab = true; - // if (this.status.currentId){ - // if (this.status.currentId!=data.id) showTab = false; - // } - // //if (this.options.readMode){ - // // var view = new MWF.xApplication.process.DictionaryDesigner.DictionaryReader(this, data, {"showTab": showTab}); - // //}else{ - // var view = new MWF.xApplication.process.DictionaryDesigner.View(this, data, {"showTab": showTab}); - // //} - // - // view.load(); - // }.bind(this), true); - // }.bind(this)); - // } - //} - }.bind(this)); - }, - getViewData: function(id, callback){ - if (!this.options.id){ - this.loadNewViewData(callback); - }else{ - this.loadViewData(id, callback); - } - }, - loadNewViewData: function(callback){ - var url = "../x_component_query_ViewDesigner/$View/view.json"; - MWF.getJSON(url, { - "onSuccess": function(obj){ - this.actions.getUUID(function(id){ - obj.id=id; - obj.isNewView = true; - obj.application = this.application.id; - this.createListViewItem(obj, true); - if (callback) callback(obj); - }.bind(this)); - }.bind(this), - "onerror": function(text){ - this.notice(text, "error"); - }.bind(this), - "onRequestFailure": function(xhr){ - this.notice(xhr.responseText, "error"); - }.bind(this) - }); - }, - loadViewData: function(id, callback){ - this.actions.getView(id, function(json){ - if (json){ - var data = json.data; - var dataJson = JSON.decode(data.data); - data.data = dataJson; - - if (!this.application){ - this.actions.getApplication(data.application, function(json){ - this.application = {"name": json.data.name, "id": json.data.id}; - if (callback) callback(data); - }.bind(this)); - }else{ - if (callback) callback(data); - } - } - }.bind(this)); - }, - - saveView: function(){ - this.view.save(function(){ - var name = this.view.data.name; - this.setTitle(MWF.APPDIQD.LP.title + "-"+name); - this.options.desktopReload = true; - this.options.id = this.view.data.id; - }.bind(this)); - }, - preview : function(){ - this.view.preview(); - }, - saveViewAs: function(){ - this.view.saveAs(); - }, - dictionaryExplode: function(){ - this.view.explode(); - }, - dictionaryImplode: function(){ - this.view.implode(); - }, - //recordStatus: function(){ - // return {"id": this.options.id}; - //}, - recordStatus: function(){ - //if (this.tab){ - var openViews = []; - openViews.push(this.view.data.id); - var currentId = this.view.data.id; - return { - "id": this.options.id, - "application": this.application, - "openViews": openViews, - "currentId": currentId - }; - //} - //return {"id": this.options.id, "application": this.application}; - } -}); - - -MWF.xDesktop.requireApp("Template", "MPopupForm", null, false); -MWF.xApplication.query.InquiryDesigner.View.NewNameForm = new Class({ - Extends: MPopupForm, - Implements: [Options, Events], - options: { - "style": "design", - "width": 700, - //"height": 300, - "height": "260", - "hasTop": true, - "hasIcon": false, - "draggable": true, - "title" : MWF.xApplication.query.InquiryDesigner.LP.newView - }, - _createTableContent: function () { - - var html = "" + - "" + - " " + - "" + - " " + - "
"; - this.formTableArea.set("html", html); - - MWF.xDesktop.requireApp("Template", "MForm", function () { - this.form = new MForm(this.formTableArea, this.data || {}, { - isEdited: true, - style: "cms", - hasColon: true, - itemTemplate: { - selectQuery : { text: MWF.xApplication.query.InquiryDesigner.LP.application , type : "org", orgType : "Query", defaultValue : this.data.queryName, orgWidgetOptions : { - "canRemove" : false - }}, - name: {text: MWF.xApplication.query.InquiryDesigner.LP.name, notEmpty: true} - } - }, this.app); - this.form.load(); - }.bind(this),null, true) - - }, - ok: function(){ - var data = this.form.getResult(true,null,true,false,true); - if( data ){ - var selectQuery = this.form.getItem("selectQuery").orgObject; - if( selectQuery && selectQuery.length > 0 ){ - var queryData = selectQuery[0].data; - data.query = queryData.id; - data.queryName = queryData.name; - }else{ - //data.query 和 data.queryName 还是传进来的值 - } - this.fireEvent("save", [data , function(){ - this.close(); - }.bind(this)]) - } - } -}); diff --git a/o2web/source/x_component_query_InquiryDesigner/Property.js b/o2web/source/x_component_query_InquiryDesigner/Property.js deleted file mode 100644 index 09f3d2c8dce372017bebb2647f3c6dff2ac349c1..0000000000000000000000000000000000000000 --- a/o2web/source/x_component_query_InquiryDesigner/Property.js +++ /dev/null @@ -1,44 +0,0 @@ -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 diff --git a/o2web/source/x_component_query_InquiryDesigner/lp/zh-cn.js b/o2web/source/x_component_query_InquiryDesigner/lp/zh-cn.js deleted file mode 100644 index 98def326dc111c5f6b3403e848d850d6b8d43081..0000000000000000000000000000000000000000 --- a/o2web/source/x_component_query_InquiryDesigner/lp/zh-cn.js +++ /dev/null @@ -1,7 +0,0 @@ -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 diff --git a/o2web/source/x_component_query_InquiryDesigner/widget/$ViewFilter/default/css.wcss b/o2web/source/x_component_query_InquiryDesigner/widget/$ViewFilter/default/css.wcss deleted file mode 100644 index bfa06ba9f6e2b74b776addd111d29253f17ab175..0000000000000000000000000000000000000000 --- a/o2web/source/x_component_query_InquiryDesigner/widget/$ViewFilter/default/css.wcss +++ /dev/null @@ -1,60 +0,0 @@ -{ - "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 diff --git a/o2web/source/x_component_query_InquiryDesigner/widget/$ViewFilter/default/down.png b/o2web/source/x_component_query_InquiryDesigner/widget/$ViewFilter/default/down.png deleted file mode 100644 index 1cff68039a6882222bce975ae0b3897b006d3ba3..0000000000000000000000000000000000000000 Binary files a/o2web/source/x_component_query_InquiryDesigner/widget/$ViewFilter/default/down.png and /dev/null differ diff --git a/o2web/source/x_component_query_InquiryDesigner/widget/$ViewFilter/default/icon/addPerson.png b/o2web/source/x_component_query_InquiryDesigner/widget/$ViewFilter/default/icon/addPerson.png deleted file mode 100644 index 254841eb91a4e23376c61efe5d8bbb86949f9717..0000000000000000000000000000000000000000 Binary files a/o2web/source/x_component_query_InquiryDesigner/widget/$ViewFilter/default/icon/addPerson.png and /dev/null differ diff --git a/o2web/source/x_component_query_InquiryDesigner/widget/$ViewFilter/default/icon/delete1.png b/o2web/source/x_component_query_InquiryDesigner/widget/$ViewFilter/default/icon/delete1.png deleted file mode 100644 index 3952f3cbb806a70afcb5bc741f46df250341d922..0000000000000000000000000000000000000000 Binary files a/o2web/source/x_component_query_InquiryDesigner/widget/$ViewFilter/default/icon/delete1.png and /dev/null differ diff --git a/o2web/source/x_component_query_InquiryDesigner/widget/$ViewFilter/default/icon/error.png b/o2web/source/x_component_query_InquiryDesigner/widget/$ViewFilter/default/icon/error.png deleted file mode 100644 index c37bd062e60c3b38fc82e4d1f236a8ac2fae9d8c..0000000000000000000000000000000000000000 Binary files a/o2web/source/x_component_query_InquiryDesigner/widget/$ViewFilter/default/icon/error.png and /dev/null differ diff --git a/o2web/source/x_component_query_InquiryDesigner/widget/ViewFilter.js b/o2web/source/x_component_query_InquiryDesigner/widget/ViewFilter.js deleted file mode 100644 index 0cd647f8b05f62bda5d92bdcd02ab35972cd2a7a..0000000000000000000000000000000000000000 --- a/o2web/source/x_component_query_InquiryDesigner/widget/ViewFilter.js +++ /dev/null @@ -1,1166 +0,0 @@ -MWF.xApplication.query = MWF.xApplication.query || {}; -MWF.xApplication.query.ViewDesigner = MWF.xApplication.query.ViewDesigner || {}; -MWF.xApplication.query.ViewDesigner.widget = MWF.xApplication.query.ViewDesigner.widget || {}; - -MWF.xApplication.query.ViewDesigner.widget.ViewFilter = new Class({ - Implements: [Options, Events], - Extends: MWF.widget.Common, - options: { - "style": "default", - "type": "identity", - "names": [] - }, - initialize: function(node, app, filtrData, options){ - this.setOptions(options); - this.node = $(node); - this.app = app; - this.filtrData = filtrData; - - this.path = "../x_component_query_ViewDesigner/widget/$ViewFilter/"; - this.cssPath = "../x_component_query_ViewDesigner/widget/$ViewFilter/"+this.options.style+"/css.wcss"; - this._loadCss(); - - this.items = []; - this.load(); - - }, - load: function(data){ - this.getInputNodes(); - this.createActionNode(); - //this.createAddNode(); - //this.loadIdentitys(); - this.loadData(); - }, - loadData: function(){ - if (this.filtrData.filtrData && this.filtrData.filtrData.length){ - this.filtrData.filtrData.each(function(data){ - this.items.push(new MWF.xApplication.query.ViewDesigner.widget.ViewFilter.Item(this, data)); - }.bind(this)); - } - - if (this.filtrData.customData && this.filtrData.customData.length){ - this.filtrData.customData.each(function(data){ - data.type = "custom"; - this.items.push(new MWF.xApplication.query.ViewDesigner.widget.ViewFilter.ItemCustom(this, data)); - }.bind(this)); - } - }, - createScriptArea: function(node){ - this.scriptValueArea = node; - var title = node.get("title"); - - MWF.require("MWF.widget.ScriptArea", function(){ - this.scriptArea = new MWF.widget.ScriptArea(node, { - "title": title, - "maxObj": this.app.formContentNode || this.app.pageContentNode, - "onChange": function(){ - this.scriptData = this.scriptArea.toJson(); - }.bind(this), - "onSave": function(){ - //this.app.saveForm(); - }.bind(this), - "style": "formula" - }); - var v = (this.scriptData) ? this.scriptData.code : ""; - this.scriptArea.load(v); - }.bind(this)); - }, - createCustomFilterValueScriptArea : function(node){ - var title = node.get("title"); - - MWF.require("MWF.widget.ScriptArea", function(){ - this.customFilterValueScriptArea = new MWF.widget.ScriptArea(node, { - "title": title, - "isload" : true, - "isbind" : false, - "maxObj": this.app.formContentNode || this.app.pageContentNode, - "onChange": function(){ - this.customFilterValueScriptData = this.customFilterValueScriptArea.toJson(); - }.bind(this), - "onSave": function(){ - //this.app.saveForm(); - }.bind(this), - "style": "formula" - }); - var v = (this.customFilterValueScriptData) ? this.customFilterValueScriptData.code : ""; - this.customFilterValueScriptArea.load(v); - }.bind(this)); - }, - getInputNodes: function(){ - debugger; - this.inputAreaNode = this.node.getElement(".inputAreaNode_vf"); - this.actionAreaNode = this.node.getElement(".actionAreaNode_vf"); - this.actionAreaNode.setStyles( this.css.actionAreaNode ); - this.listAreaNode = this.node.getElement(".listAreaNode_vf"); - this.fieldListAreaNode = this.node.getElement(".fieldListAreaNode_vf"); - - this.restrictViewFilterTable = this.node.getElement(".restrictViewFilterTable_vf"); - - var scriptValueArea = this.node.getElement(".MWFFilterFormulaArea"); - if (scriptValueArea){ - this.createScriptArea(scriptValueArea); - } - - this.titleInput = this.inputAreaNode.getElement(".titleInput_vf"); - this.pathInput = this.inputAreaNode.getElement(".pathInput_vf"); - this.datatypeInput = this.inputAreaNode.getElement(".datatypeInput_vf"); - - this.restrictFilterInput = this.inputAreaNode.getElement(".restrictFilterInput_vf"); - this.customFilterInput = this.inputAreaNode.getElement(".customFilterInput_vf"); - - this.logicInput = this.inputAreaNode.getElement(".logicInput_vf"); - - this.comparisonInput = this.inputAreaNode.getElement(".comparisonInput_vf"); - this.comparisonInput.addEvent("change", function(){ - this.switchInputDisplay(); - }.bind(this)) - - this.valueTextInput = this.inputAreaNode.getElement(".valueTextInput_vf"); - this.valueNumberInput = this.inputAreaNode.getElement(".valueNumberInput_vf"); - this.valueDatetimeInput = this.inputAreaNode.getElement(".valueDatetimeInput_vf"); - this.valueBooleanInput = this.inputAreaNode.getElement(".valueBooleanInput_vf"); - this.valueDateInput = this.inputAreaNode.getElement(".valueDateInput_vf"); - this.valueTimeInput = this.inputAreaNode.getElement(".valueTimeInput_vf"); - - if( this.app.view ){ - var dataId = this.app.view.data.id; - this.customFilterValueTypes = this.inputAreaNode.getElements("[name='"+dataId+"viewCustomFilterValueType']"); - - this.customFilterValueScriptDiv = this.inputAreaNode.getElement("#"+dataId+"viewCustomFilterValueScriptDiv"); - this.customFilterValueScript = this.inputAreaNode.getElement("[name='"+dataId+"viewCustomFilterValueScript']"); - if( this.customFilterValueScript ){ - this.createCustomFilterValueScriptArea(this.customFilterValueScript); - } - } - - MWF.require("MWF.widget.Calendar", function(){ - this.calendar = new MWF.widget.Calendar(this.valueDatetimeInput, { - "style": "xform", - "isTime": true, - "secondEnable": true, - "target": this.app.content, - "format": "db", - "onComplate": function(){ - this.node.getElement("#"+id+"viewFilterDateFormulaSelector").getElements("input").set("checked", false); - }.bind(this) - }); - new MWF.widget.Calendar(this.valueDateInput, { - "style": "xform", - "isTime": false, - "target": this.app.content, - "format": "%Y-%m-%d" - }); - new MWF.widget.Calendar(this.valueTimeInput, { - "style": "xform", - "timeOnly": true, - "secondEnable": true, - "target": this.app.content, - "format": "%H:%M:%S" - }); - }.bind(this)); - - this.datatypeInput.addEvent("change", function(){ - // this.changeValueInput(); - this.switchInputDisplay(); - }.bind(this)); - - this.valueTextInput.addEvent("keydown", function(e){ - if (e.code==13) this.modifyOrAddFilterItem(); - }.bind(this)); - this.valueNumberInput.addEvent("keydown", function(e){ - if (e.code==13) this.modifyOrAddFilterItem(); - }.bind(this)); - - if (this.app.view){ - var id = this.app.view.data.id; - var div = this.node.getElement("#"+id+"viewFilterValueArea2"); - // inputs = div.getElements("input"); - if( div ){ - this.valueTextInput2 = div.getElement(".valueTextInput2_vf") || null; - this.valueNumberInput2 = div.getElement(".valueNumberInput2_vf") || null; - this.valueDatetimeInput2 = div.getElement(".valueDatetimeInput2_vf") || null; - this.valueDateInput2 = div.getElement(".valueDateInput2_vf") || null; - this.valueTimeInput2 = div.getElement(".valueTimeInput2_vf") || null; - this.valueBooleanInput2 = div.getElement(".valueBooleanInput2_vf") || null; - - MWF.require("MWF.widget.Calendar", function(){ - this.calendar = new MWF.widget.Calendar(this.valueDatetimeInput2, { - "style": "xform", - "isTime": true, - "secondEnable": true, - "target": this.app.content, - "format": "db", - "onComplate": function(){ - this.node.getElement("#"+id+"viewFilterDateFormulaSelector2").getElements("input").set("checked", false); - }.bind(this) - }); - new MWF.widget.Calendar(this.valueDateInput2, { - "style": "xform", - "isTime": false, - "target": this.app.content, - "format": "%Y-%m-%d" - }); - new MWF.widget.Calendar(this.valueTimeInput2, { - "style": "xform", - "timeOnly": true, - "secondEnable": true, - "target": this.app.content, - "format": "%H:%M:%S" - }); - }.bind(this)); - - this.valueTextInput2.addEvent("keydown", function(e){ - if (e.code==13) this.modifyOrAddFilterItem(); - }.bind(this)); - this.valueNumberInput2.addEvent("keydown", function(e){ - if (e.code==13) this.modifyOrAddFilterItem(); - }.bind(this)); - } - } - }, - switchInputDisplay : function(){ - var id = ""; - if( this.app.view ){ - id = this.app.view.data.id; - } - - var config = { - "textValue": { - "equals": { - "selectorArea" : ["#"+id+"viewFilterTextFormulaSelector"] //["input", "@person", "@unitList", "@unitAllList", "@identityList" ], - }, - "notEquals": { - "selectorArea" : ["#"+id+"viewFilterTextFormulaSelector"] //["input", "@person", "@unitList", "@unitAllList", "@identityList" ], - }, - "greaterThan": { - "invalidValue" : ["@person", "@unitList", "@unitAllList", "@identityList" ] - }, - "greaterThanOrEqualTo": { - "invalidValue" : ["@person", "@unitList", "@unitAllList", "@identityList" ] - }, - "lessThan": { - "invalidValue" : ["@person", "@unitList", "@unitAllList", "@identityList" ] - }, - "lessThanOrEqualTo": { - "invalidValue" : ["@person", "@unitList", "@unitAllList", "@identityList" ] - }, - "like": { - "invalidValue" : ["@person", "@unitList", "@unitAllList", "@identityList" ] - }, - "notLike": { - "invalidValue" : ["@person", "@unitList", "@unitAllList", "@identityList" ] - }, - "range": { - "invalidValue" : ["@person", "@unitList", "@unitAllList", "@identityList" ] - } - }, - "numberValue": { - "equals": {}, //["input"] - "notEquals": {}, - "greaterThan": {}, - "greaterThanOrEqualTo": {}, - "lessThan": {}, - "lessThanOrEqualTo": {}, - "range": {} - }, - "dateTimeValue": { - "equals": { - "invalidValue" : ["@year","@season","@month","@time","@date"] - }, - "notEquals": { - "selectorArea" : ["#"+id+"viewFilterDateFormulaSelector"] - }, - "greaterThan": { - "selectorArea" : ["#"+id+"viewFilterDateFormulaSelector"] - }, - "greaterThanOrEqualTo": { - "selectorArea" : ["#"+id+"viewFilterDateFormulaSelector"] - }, - "lessThan": { - "selectorArea" : ["#"+id+"viewFilterDateFormulaSelector"] - }, - "lessThanOrEqualTo": { - "selectorArea" : ["#"+id+"viewFilterDateFormulaSelector"] - }, - "range": { - "invalidValue" : ["@year","@season","@month","@time","@date"] - } - }, - "dateValue": { - "equals": { - "invalidValue" : ["@year","@season","@month","@date"] - }, - "notEquals": { - "selectorArea" : ["#"+id+"viewFilterDateOnlyFormulaSelector"] - }, - "greaterThan":{ - "selectorArea" : ["#"+id+"viewFilterDateOnlyFormulaSelector"] - }, - "greaterThanOrEqualTo": { - "selectorArea" : ["#"+id+"viewFilterDateOnlyFormulaSelector"] - }, - "lessThan": { - "selectorArea" : ["#"+id+"viewFilterDateOnlyFormulaSelector"] - }, - "lessThanOrEqualTo": { - "selectorArea" : ["#"+id+"viewFilterDateOnlyFormulaSelector"] - }, - "range": { - "invalidValue" : ["@year","@season","@month","@date"] - } - }, - "timeValue": { - "equals": { - "invalidValue" : ["@time"] - }, - "notEquals": { - "selectorArea" : ["#"+id+"viewFilterTimeOnlyFormulaSelector"] - }, - "greaterThan": { - "selectorArea" : ["#"+id+"viewFilterTimeOnlyFormulaSelector"] - }, - "greaterThanOrEqualTo": { - "selectorArea" : ["#"+id+"viewFilterTimeOnlyFormulaSelector"] - }, - "lessThan": { - "selectorArea" : ["#"+id+"viewFilterTimeOnlyFormulaSelector"] - }, - "lessThanOrEqualTo": { - "selectorArea" : ["#"+id+"viewFilterTimeOnlyFormulaSelector"] - }, - "range": { - "invalidValue" : ["@time"] - } - }, - "booleanValue": { - "equals": {}, - "notEquals": {} - } - }; - - debugger; - - var formulaSelectorIdList = [ - "#"+id+"viewFilterTextFormulaSelector", - "#"+id+"viewFilterDateFormulaSelector", - "#"+id+"viewFilterDateOnlyFormulaSelector", - "#"+id+"viewFilterTimeOnlyFormulaSelector" - ]; - - var formatType = this.datatypeInput.options[this.datatypeInput.selectedIndex].value; - var object = config[formatType]; - - var availableComparisonList = Object.keys( object ); - var options = this.comparisonInput.options; - - var comparison = options[this.comparisonInput.selectedIndex].value; - - if( !this.originalComparisonOptions ){ - this.originalComparisonOptions = []; - for( var i=0; i< options.length; i++ ){ - this.originalComparisonOptions.push({ - "text" : options[i].text, - "value" : options[i].value - }); - } - } - - while( this.comparisonInput.options && this.comparisonInput.options.length ){ - this.comparisonInput.options[0].destroy(); - } - - for( var i=0; i