| | |
| | | $("#clientDialog #telephone").val(r.Message.Telephone); |
| | | $("#clientDialog #chargeType").val(r.Message.ChargeType); |
| | | $("#clientDialog #smsStatusReport").val(r.Message.SmsStatusReport); |
| | | $("#clientDialog #mmsStatusReport").val(r.Message.MmsStatusReport); |
| | | $("#clientDialog #customerManager").val(r.Message.CustomerManager); |
| | | $("#clientDialog #smsBillType").val(r.Message.SmsBillType); |
| | | //$("#clientDialog #mmsStatusReport").val(r.Message.MmsStatusReport); |
| | | //$("#clientDialog #customerManager").val(r.Message.CustomerManager); |
| | | $("#clientDialog #salesman").val(r.Message.Salesman); |
| | | $("#clientDialog #supportStaff").val(r.Message.SupportStaff); |
| | | $("#clientDialog #financialStaff").val(r.Message.FinancialStaff); |
| | | //$("#clientDialog #financialStaff").val(r.Message.FinancialStaff); |
| | | $("#clientDialog #remark").val(r.Message.Remark); |
| | | var permissionData = $.evalJSON(r.Message.PermissionData); |
| | | $("#clientDialog input[name=permissionData]").iCheck("uncheck"); |
| | | $.each(permissionData, function (i) { |
| | | $("#clientDialog input[name=permissionData][value='" + this + "']").iCheck("check"); |
| | | }); |
| | | |
| | | //$("#clientDialog #isEnableWhite").val(r.Message.IsEnableWhite); |
| | | $("#clientDialog input[name=isEnableSub]").iCheck("uncheck"); |
| | | $("#clientDialog input[name=isEnableSub][value='" + r.Message.IsEnableSub + "']").iCheck("check"); |
| | | |
| | | $("#clientDialog input[name=isEnableWhite]").iCheck("uncheck"); |
| | | $("#clientDialog input[name=isEnableWhite][value='" + r.Message.IsEnableWhite + "']").iCheck("check"); |
| | | |
| | | //$("#clientDialog #isEnableBlack").val(r.Message.IsEnableBlack); |
| | | $("#clientDialog input[name=isEnableBlack]").iCheck("uncheck"); |
| | | $("#clientDialog input[name=isEnableBlack][value='" + r.Message.IsEnableBlack + "']").iCheck("check"); |
| | | //$("#clientDialog #isRemoteLoginNotice").val(r.Message.IsRemoteLoginNotice); |
| | | $("#clientDialog input[name=isRemoteLoginNotice]").iCheck("uncheck"); |
| | | $("#clientDialog input[name=isRemoteLoginNotice][value='" + r.Message.IsRemoteLoginNotice + "']").iCheck("check"); |
| | | //$("#clientDialog #isMobileCaptcha").val(r.Message.IsMobileCaptcha); |
| | | $("#clientDialog input[name=isMobileCaptcha]").iCheck("uncheck"); |
| | | $("#clientDialog input[name=isMobileCaptcha][value='" + r.Message.IsMobileCaptcha + "']").iCheck("check"); |
| | | //$("#clientDialog #isHideMobile").val(r.Message.IsHideMobile); |
| | | $("#clientDialog input[name=isHideMobile]").iCheck("uncheck"); |
| | | $("#clientDialog input[name=isHideMobile][value='" + r.Message.IsHideMobile + "']").iCheck("check"); |
| | | //$("#clientDialog #isDisplayStatus").val(r.Message.IsDisplayStatus); |
| | | $("#clientDialog input[name=isDisplayStatus]").iCheck("uncheck"); |
| | | $("#clientDialog input[name=isDisplayStatus][value='" + r.Message.IsDisplayStatus + "']").iCheck("check"); |
| | | //$("#clientDialog #isLoginIpRestrict").val(r.Message.IsLoginIpRestrict); |
| | | $("#clientDialog input[name=isLoginIpRestrict]").iCheck("uncheck"); |
| | | $("#clientDialog input[name=isLoginIpRestrict][value='" + r.Message.IsLoginIpRestrict + "']").iCheck("check"); |
| | | //$("#clientDialog input[name=isRemoteLoginNotice]").iCheck("uncheck"); |
| | | //$("#clientDialog input[name=isRemoteLoginNotice][value='" + r.Message.IsRemoteLoginNotice + "']").iCheck("check"); |
| | | ////$("#clientDialog #isMobileCaptcha").val(r.Message.IsMobileCaptcha); |
| | | //$("#clientDialog input[name=isMobileCaptcha]").iCheck("uncheck"); |
| | | //$("#clientDialog input[name=isMobileCaptcha][value='" + r.Message.IsMobileCaptcha + "']").iCheck("check"); |
| | | ////$("#clientDialog #isHideMobile").val(r.Message.IsHideMobile); |
| | | //$("#clientDialog input[name=isHideMobile]").iCheck("uncheck"); |
| | | //$("#clientDialog input[name=isHideMobile][value='" + r.Message.IsHideMobile + "']").iCheck("check"); |
| | | ////$("#clientDialog #isDisplayStatus").val(r.Message.IsDisplayStatus); |
| | | //$("#clientDialog input[name=isDisplayStatus]").iCheck("uncheck"); |
| | | //$("#clientDialog input[name=isDisplayStatus][value='" + r.Message.IsDisplayStatus + "']").iCheck("check"); |
| | | ////$("#clientDialog #isLoginIpRestrict").val(r.Message.IsLoginIpRestrict); |
| | | //$("#clientDialog input[name=isLoginIpRestrict]").iCheck("uncheck"); |
| | | //$("#clientDialog input[name=isLoginIpRestrict][value='" + r.Message.IsLoginIpRestrict + "']").iCheck("check"); |
| | | |
| | | $("#clientDialog #isLoginIpAllowGather").val(r.Message.IsLoginIpAllowGather); |
| | | //$("#clientDialog #isLoginCityRestrict").val(r.Message.IsLoginCityRestrict); |
| | | $("#clientDialog input[name=isLoginCityRestrict]").iCheck("uncheck"); |
| | | $("#clientDialog input[name=isLoginCityRestrict][value='" + r.Message.IsLoginCityRestrict + "']").iCheck("check"); |
| | | $("#clientDialog #isLoginCityAllowGather").val(r.Message.IsLoginCityAllowGather); |
| | | //$("#clientDialog #isLoginIpAllowGather").val(r.Message.IsLoginIpAllowGather); |
| | | ////$("#clientDialog #isLoginCityRestrict").val(r.Message.IsLoginCityRestrict); |
| | | //$("#clientDialog input[name=isLoginCityRestrict]").iCheck("uncheck"); |
| | | //$("#clientDialog input[name=isLoginCityRestrict][value='" + r.Message.IsLoginCityRestrict + "']").iCheck("check"); |
| | | //$("#clientDialog #isLoginCityAllowGather").val(r.Message.IsLoginCityAllowGather); |
| | | } |
| | | catch (e) { |
| | | } |
| | |
| | | } |
| | | } |
| | | }); |
| | | |
| | | //swal.close(); |
| | | //} |
| | | //}); |
| | | } |
| | | }); |
| | | |
| | |
| | | document.execCommand('copy'); |
| | | element.remove ? element.remove() : element.removeNode(true); |
| | | } |
| | | mytek.alert("复制成功!", false); |
| | | mytek.alert("复制成功!", true); |
| | | |
| | | }); |
| | | |
| | |
| | | <div class="col-sm-4"> |
| | | <input type="text" name="clientID" id="clientID" value="" class="form-control" /> |
| | | </div> |
| | | <!--<span class="help-block m-b-none"><i class="fa fa-exclamation-triangle"></i>请输入公司单位名称</span>--> |
| | | </div> |
| | | |
| | | <div class="form-group"> |
| | |
| | | <div class="col-sm-4"> |
| | | <input type="text" name="company" id="company" value="" class="form-control" /> |
| | | </div> |
| | | <!--<span class="help-block m-b-none"><i class="fa fa-exclamation-triangle"></i>请输入公司单位名称</span>--> |
| | | </div> |
| | | |
| | | |
| | |
| | | </div> |
| | | <div class="form-group"> |
| | | <label class="control-label col-sm-2"> |
| | | 计费方式 <span style="color:red">*</span> |
| | | 结算方式 <span style="color:red">*</span> |
| | | </label> |
| | | <div class="col-sm-4"> |
| | | <select name="chargeType" id="chargeType" class="form-control"> |
| | | <option value="" ></option> |
| | | <option value="1" >预付费</option> |
| | | <option value="2" >后付费</option> |
| | | </select> |
| | | </div> |
| | | </div> |
| | | |
| | | |
| | | <div class="form-group"> |
| | | <label class="control-label col-sm-2"> |
| | | 短信是否支持显示状态报告 <span style="color:red">*</span> |
| | | 计费方式 <span style="color:red">*</span> |
| | | </label> |
| | | <div class="col-sm-4"> |
| | | <select name="smsStatusReport" id="smsStatusReport" class="form-control"> |
| | | <option value="0" >不显示</option> |
| | | <option value="1" >只显示提交失败为发送失败状态</option> |
| | | <option value="2" >显示全部状态</option> |
| | | <select name="smsBillType" id="smsBillType" class="form-control"> |
| | | <option value="0" >提交计费</option> |
| | | <option value="1" >成功+未知计费</option> |
| | | <option value="2" >成功计费</option> |
| | | </select> |
| | | </div> |
| | | </div> |
| | | <!-- |
| | | |
| | | |
| | | <div class="form-group"> |
| | | <label class="control-label col-sm-2"> |
| | | 彩信是否支持显示状态报告 <span style="color:red">*</span> |
| | | 短信状态开放 <span style="color:red">*</span> |
| | | </label> |
| | | <div class="col-sm-4"> |
| | | <select name="mmsStatusReport" id="mmsStatusReport" class="form-control"> |
| | | <option value="0" >不显示</option> |
| | | <option value="1" >只显示提交失败为发送失败状态</option> |
| | | <select name="smsStatusReport" id="smsStatusReport" class="form-control"> |
| | | <option value="0" >不开放状态</option> |
| | | <option value="1" >只显示系统拦截失败状态</option> |
| | | <option value="2" >显示全部状态状态</option> |
| | | </select> |
| | | </div> |
| | | </div> |
| | | --> |
| | | <!-- |
| | | <div class="form-group"> |
| | | <label class="control-label col-sm-2"> |
| | | 归属业务员 |
| | | </label> |
| | | <div class="col-sm-4"> |
| | | <input type="text" name="agent" id="agent" value="" class="form-control" /> |
| | | </div> |
| | | </div> |
| | | --> |
| | | <div class="form-group"> |
| | | |
| | | <%--<div class="form-group"> |
| | | <label class="control-label col-sm-2"> |
| | | 归属客户经理 <span style="color:red">*</span> |
| | | </label> |
| | |
| | | <%=customerManagerOptions(0)%> |
| | | </select> |
| | | </div> |
| | | </div> |
| | | </div>--%> |
| | | <div class="form-group"> |
| | | <label class="control-label col-sm-2"> |
| | | 归属业务员 <span style="color:red">*</span> |
| | |
| | | </select> |
| | | </div> |
| | | </div> |
| | | |
| | | |
| | | <div class="form-group"> |
| | | <label class="control-label col-sm-2"> |
| | | 是否允许开子账户 |
| | | </label> |
| | | <div class="col-sm-4"> |
| | | <input type="radio" class="icheck-me" name="isEnableSub" value="0" checked="checked" /><label>禁用</label> |
| | | <input type="radio" class="icheck-me" name="isEnableSub" value="1" /><label>启用</label> |
| | | </div> |
| | | </div> |
| | | |
| | | <%--<div class="form-group"> |
| | | <label class="control-label col-sm-2"> |
| | | 归属财务人员 <span style="color:red">*</span> |
| | | </label> |
| | |
| | | <%=financialStaffOptions(0)%> |
| | | </select> |
| | | </div> |
| | | </div> |
| | | <div class="form-group"> |
| | | </div>--%> |
| | | <%-- <div class="form-group"> |
| | | <label class="control-label col-sm-2">营业执照</label> |
| | | <div class="col-sm-4"> |
| | | <input type="file" name="txt_file" id="txt_file" class="file-loading" /> |
| | | </div> |
| | | </div> |
| | | </div>--%> |
| | | <!-- |
| | | <div class="form-group"> |
| | | <label class="control-label col-sm-2"> |
| | |
| | | <input type="radio" class="icheck-me" name="isEnableBlack" value="1" /><label>启用</label> |
| | | </div> |
| | | </div> |
| | | <div class="form-group"> |
| | | <%--<div class="form-group"> |
| | | <label class="control-label col-sm-2"> |
| | | 是否异地登录通知 |
| | | </label> |
| | |
| | | <input type="radio" class="icheck-me" name="isHideMobile" value="0" checked="checked" /><label>禁用</label> |
| | | <input type="radio" class="icheck-me" name="isHideMobile" value="1" /><label>启用</label> |
| | | </div> |
| | | </div> |
| | | <div class="form-group"> |
| | | </div>--%> |
| | | <%--<div class="form-group"> |
| | | <label class="control-label col-sm-2"> |
| | | 是否显示状态接口 |
| | | </label> |
| | | <div class="col-sm-8"> |
| | | <input type="radio" class="icheck-me" name="isDisplayStatus" value="0" checked="checked" /><label>不显示</label> |
| | | <input type="radio" class="icheck-me" name="isDisplayStatus" value="1" /><label>只显示提交失败为发送失败状态</label> |
| | | <input type="radio" class="icheck-me" name="isDisplayStatus" value="0" checked="checked" /><label>不开放状态</label> |
| | | <input type="radio" class="icheck-me" name="isDisplayStatus" value="1" /><label>只显示系统拦截失败状态</label> |
| | | <input type="radio" class="icheck-me" name="isDisplayStatus" value="2" /><label>显示全部状态状态</label> |
| | | </div> |
| | | </div> |
| | | <div class="form-group"> |
| | | </div>--%> |
| | | <%--<div class="form-group"> |
| | | <label class="control-label col-sm-2"> |
| | | 是否启用登录IP限制 |
| | | </label> |
| | |
| | | <!--<span class="help-block m-b-none">配合是否启用登录城市限制一起使用,多个限制地区时,按半角逗号","分隔。 </span>--> |
| | | <span class="help-block m-b-none">配合是否启用登录城市限制一起使用,多个限制地区时,每一行为1个地区(城市)。 </span> |
| | | </div> |
| | | </div> |
| | | </div>--%> |
| | | <div class="form-group"> |
| | | <label class="control-label col-sm-2"> |
| | | 备注 |
| | |
| | | <form name="queryForm" method="post" id="queryForm" class="form-inline"> |
| | | <div class="form-group"> |
| | | <div class="input-group m-b"> |
| | | <span class="input-group-addon">客户账号</span> |
| | | <span class="input-group-addon">客户账户</span> |
| | | <input type="text" name="ClientID" id="ClientID" class="form-control" /> |
| | | </div> |
| | | </div> |
| | |
| | | <div class="form-group"> |
| | | <div class="input-group m-b"> |
| | | <input type="button" value="查询" class="btn btn-primary action-query" />  |
| | | <input class="btn btn-success action-modal-create" value="创建客户" type="button" />  |
| | | |
| | | <% if(IsEnable==1) { %> |
| | | <input class="btn btn-success action-modal-create" value="创建客户" type="button" />  |
| | | <%} %> |
| | | </div> |
| | | |
| | | </div> |
| | |
| | | <input class="btn btn-danger action-modal-setProduct" value="批量分配个性产品" type="button" /> |
| | | <%} %> |
| | | <input class="btn btn-info action-export" value="导出数据" type="button" /> |
| | | <table class="table table-striped table-bordered table-hover" id="gwclientTable"> |
| | | <table class="table table-striped table-bordered table-hover" id="gwclientTable" style="margin:10px 0 0 0;"> |
| | | <thead> |
| | | <tr class="header"> |
| | | <th> |
| | | <input type='checkbox' name='checkAll' id='checkAll' /> |
| | | </th> |
| | | <th>客户账号 |
| | | <th>客户账户 |
| | | </th> |
| | | <th>公司名称</th> |
| | | <th>联系人 |
| | |
| | | |
| | | </table> |
| | | </div> |
| | | <div id="pager"> |
| | | <div id="pager" style="margin:10px 0 0 0;"> |
| | | </div> |
| | | |
| | | <!--批量修改个性产品 --> |
| | |
| | | <div class="modal-header"> |
| | | <span class="title"><h3>批量分配个性产品</h3></span><a class="close" data-dismiss="modal" aria-hidden="true">×</a> |
| | | <span class="text-muted"> |
| | | 批量分配个性产品将会更新所有选中的账号的客户,<br /> |
| | | 批量分配个性产品将会更新所有选中的账户的客户,<br /> |
| | | 确定分配不能取消,请谨慎操作!<br /> |
| | | </span> |
| | | </div> |