gang.huang 2 년 전
부모
커밋
5e3005ddee
1개의 변경된 파일14개의 추가작업 그리고 24개의 파일을 삭제
  1. 14 24
      admin/templates/default/analysis.new_version.provider.php

+ 14 - 24
admin/templates/default/analysis.new_version.provider.php

@@ -53,11 +53,7 @@
                 </td>
                 <th><label>通道选择</label></th>
                 <td>
-                    <div id="select_chnames">
-                        <select id="select_place">
-                            <option value="">请选择通道质量</option>
-                        </select>
-                    </div>
+                    <div id="select_chnames"></div>
                 </td>
                 <th><label>卡类型</label></th>
                 <td>
@@ -124,23 +120,19 @@
             type: 'datetime'
         });
 
-        let select_chnames
-        // $.get('index.php?act=refill_analysis&op=provider_data', function(data) {
-        //     data = JSON.parse(data)
-        //     select_chnames = xmSelect.render({
-        //         el: '#select_chnames',
-        //         size: 'mini',
-        //         filterable: true,
-        //         style: {
-        //             minHeight: '27px',
-        //             lineHeight: '27px',
-        //             marginLeft: '4px',
-        //             width: '250px'
-        //         },
-        //         language: 'zn',
-        //         data: data
-        //     })
-        // })
+        let select_chnames = xmSelect.render({
+            el: '#select_chnames',
+            size: 'mini',
+            filterable: true,
+            style: {
+                minHeight: '27px',
+                lineHeight: '27px',
+                marginLeft: '4px',
+                width: '250px'
+            },
+            language: 'zn',
+            data: []
+        })
 
         let select_cardtypes
         $.get('index.php?act=refill_analysis&op=card_type_data', function(data) {
@@ -214,7 +206,6 @@
         $('.querySelect').on('change', function() {
             console.log('querySelect', $(this).val());
             if ($(this).val()) {
-                $('#select_place').hide();
                 const qualityType = $(this).val();
                 $.get(`index.php?act=refill_analysis&op=provider_data&quality=${qualityType}`, function(data) {
                     console.log('querySelect', data);
@@ -234,7 +225,6 @@
                     })
                 })
             } else {
-                $('#select_place').show();
                 select_chnames = xmSelect.render({
                     el: '#select_chnames',
                     size: 'mini',