gang.huang 2 лет назад
Родитель
Сommit
3a50334638
1 измененных файлов с 3 добавлено и 1 удалено
  1. 3 1
      admin/templates/default/analysis.new_version.provider.php

+ 3 - 1
admin/templates/default/analysis.new_version.provider.php

@@ -54,7 +54,7 @@
                 <th><label>通道选择</label></th>
                 <td>
                     <div id="select_chnames">
-                        <select>
+                        <select id="select_place">
                             <option value="">请选择通道质量</option>
                         </select>
                     </div>
@@ -214,6 +214,7 @@
         $('.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);
@@ -233,6 +234,7 @@
                     })
                 })
             } else {
+                $('#select_place').show();
                 select_chnames = xmSelect.render({
                     el: '#select_chnames',
                     size: 'mini',