Commit 922dc848dcc03bea6a62f251cb1ecba2f5a3203e

Authored by pengye
1 parent aebe9749

no message

... ... @@ -130,6 +130,7 @@
$("#device_call_lite").show();
var html = '';
var is_checked_call = res.list.is_checked_call==1 ? 'checked' : '';
var is_checked_app = res.list.is_checked_app==1 ? 'checked' : '';
if(res.list.user_info){
var title = 'title = 公众号+小程序+语音电话('+res.list.user_info.nick_name+'+'+res.list.user_info.phone+'+'+res.list.user_info.is_openid_wechat_str+')';
var is_openid_wechat = (res.list.user_info.is_openid_wechat !=1 || res.list.user_info.phone_status==1) ? 'disabled' : '';
... ... @@ -138,7 +139,7 @@
}
var is_checked_lite = res.list.is_checked_lite==1 ? 'checked' : '';
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+'>';
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+'>';
$("#device_call_lite").html(html);
$("#device_call_lite").show();
}else{
... ...