Kaynağa Gözat

Merge branch 'feature/Query.order_list_add_typeconvert' into 'develop'

Merge of feature/[数据中心]视图中增加转换成数字排序的设置 to develop

See merge request o2oa/o2oa!593
蔡祥熠 5 yıl önce
ebeveyn
işleme
0996e6fe9c

Dosya farkı çok büyük olduğundan ihmal edildi
+ 338 - 314
o2web/source/x_component_process_ViewDesigner/Property.js


+ 16 - 1
o2web/source/x_component_query_ViewDesigner/$View/column.html

@@ -101,12 +101,27 @@
                 <table width="100%" border="0" cellpadding="5" cellspacing="0" class="editTable">
                     <tr>
                         <td class="editTableTitle">排序:</td>
-                        <td class="editTableValue"><select name="orderType">
+                        <td class="editTableValue"><select name="orderType" onchange="
+                            var node = $(this).getParent('table').getElement('.MWFColumnExportNumberOrder');
+                            if(this.options[this.selectedIndex].value==='none'){
+                                node.hide();
+                                node.getElements('input')[1].click();
+                            }else{
+                                node.setStyle('display','table-row');
+                            }
+                        ">
                             <option value="none" text{(($.orderType)!='asc' && ($.orderType)!='desc') ?'selected':''}>无</option>
                             <option value="asc" text{($.orderType)=='asc' ?'selected':''}>升序</option>
                             <option value="desc" text{($.orderType)=='desc' ?'selected':''}>降序</option>
                         </select></td>
                     </tr>
+                    <tr class="MWFColumnExportNumberOrder" style="display: text{(($.orderType)!='asc' && ($.orderType)!='desc') ?'none':'table-row'}">
+                        <td class="editTableTitle">转换成数字排序:</td>
+                        <td class="editTableValue">
+                            <input class="MWFWorkDataCheck" name="numberOrder" type="radio" value="true" text{($.numberOrder)===true?'checked':''}/>是
+                            <input class="MWFWorkDataCheck" name="numberOrder" type="radio" value="false" text{($.numberOrder)!==true?'checked':''}/>否
+                        </td>
+                    </tr>
                     <tr class="MWFColumnExportGroup">
                         <td class="editTableTitle">分类:</td>
                         <td class="editTableValue">

Dosya farkı çok büyük olduğundan ihmal edildi
+ 324 - 300
o2web/source/x_component_query_ViewDesigner/Property.js


Bu fark içinde çok fazla dosya değişikliği olduğu için bazı dosyalar gösterilmiyor