Commit 922dc848dcc03bea6a62f251cb1ecba2f5a3203e

Authored by pengye
1 parent aebe9749

no message

@@ -130,6 +130,7 @@ @@ -130,6 +130,7 @@
130 $("#device_call_lite").show(); 130 $("#device_call_lite").show();
131 var html = ''; 131 var html = '';
132 var is_checked_call = res.list.is_checked_call==1 ? 'checked' : ''; 132 var is_checked_call = res.list.is_checked_call==1 ? 'checked' : '';
  133 + var is_checked_app = res.list.is_checked_app==1 ? 'checked' : '';
133 if(res.list.user_info){ 134 if(res.list.user_info){
134 var title = 'title = 公众号+小程序+语音电话('+res.list.user_info.nick_name+'+'+res.list.user_info.phone+'+'+res.list.user_info.is_openid_wechat_str+')'; 135 var title = 'title = 公众号+小程序+语音电话('+res.list.user_info.nick_name+'+'+res.list.user_info.phone+'+'+res.list.user_info.is_openid_wechat_str+')';
135 var is_openid_wechat = (res.list.user_info.is_openid_wechat !=1 || res.list.user_info.phone_status==1) ? 'disabled' : ''; 136 var is_openid_wechat = (res.list.user_info.is_openid_wechat !=1 || res.list.user_info.phone_status==1) ? 'disabled' : '';
@@ -138,7 +139,7 @@ @@ -138,7 +139,7 @@
138 } 139 }
139 140
140 var is_checked_lite = res.list.is_checked_lite==1 ? 'checked' : ''; 141 var is_checked_lite = res.list.is_checked_lite==1 ? 'checked' : '';
141 - html +='<input type="checkbox" class="device_check" lay-filter="device_check" name="is_checked_call" lay-skin="primary" title="电话机+APP" '+is_checked_call+'> <input type="checkbox" class="device_check" lay-filter="device_check" name="is_checked_lite" lay-skin="primary" '+title+' '+is_checked_lite+' '+is_openid_wechat+'>'; 142 + html +='<input type="checkbox" class="device_check" lay-filter="device_check" name="is_checked_call" lay-skin="primary" title="电话机" '+is_checked_call+'><input type="checkbox" class="device_check" lay-filter="device_check" name="is_checked_app" lay-skin="primary" title="APP" '+is_checked_app+'><input type="checkbox" class="device_check" lay-filter="device_check" name="is_checked_lite" lay-skin="primary" '+title+' '+is_checked_lite+' '+is_openid_wechat+'>';
142 $("#device_call_lite").html(html); 143 $("#device_call_lite").html(html);
143 $("#device_call_lite").show(); 144 $("#device_call_lite").show();
144 }else{ 145 }else{