Эх сурвалжийг харах

历史任务页面修改下拉框

fuwencai 4 жил өмнө
parent
commit
5ad5cb8a6a

+ 4 - 0
src/web/templates/private/customer_history.html

@@ -374,14 +374,18 @@
             } else {
                 $('#pushSwitch').bootstrapSwitch('state', false);
             }
+            console.log(dataMap.i_pushmodel)
+            console.log(dataMap.i_pushtype)
             if (dataMap.i_pushmodel != undefined) {
                 $('#pushModelSelect').val(dataMap.i_pushmodel);
+                $("#pushModelSelect").selectpicker("refresh")
             }
             if (dataMap.i_extfieldstype != undefined) {
                 $('#extfiledselect').val(dataMap.i_extfieldstype);
             }
             if (dataMap.i_pushtype != undefined) {
                 $('#pushTypeSelect').val(dataMap.i_pushtype);
+                $("#pushTypeSelect").selectpicker("refresh")
             }
             // if (dataMap.i_pushtype == 0) {
             //     $('#pushTypeSelect').val(0)