| | |
| | | $("#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) { |
| | | } |
| | |
| | | <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> |
| | | </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> |
| | | </div> |
| | | </div> |
| | | |
| | | <%--<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"> |
| | | 备注 |