| | |
| | | <%@ Page Language="C#" MasterPageFile="~/Main.master" AutoEventWireup="true" CodeFile="GwClient.aspx.cs" Inherits="_GwClient" %> |
| | | |
| | | <asp:Content ID="Content1" ContentPlaceHolderID="head" runat="Server"> |
| | | <script type="text/javascript" src="/web/js/jquery.min.js?v=2.1.4"></script> |
| | | <%--<link href="css/plugins/bootstrap-fileinput/fileinput.min.css" rel="stylesheet"/> |
| | | <script src="js/plugins/bootstrap-fileinput/fileinput.min.js" type="text/javascript"></script>--%> |
| | | <script type="text/javascript"> |
| | | $(document).ready(function () { |
| | | $("textarea").numberedtextarea(); |
| | | |
| | | //全选 |
| | | $("#checkAll").click(function () { |
| | | $("input[name='checkbox']").prop("checked", $(this).is(":checked")); |
| | | }); |
| | | |
| | | $(document).on("click", ".action-query", function () { |
| | | loadPageList(); |
| | |
| | | //修改分配个性产品:修改确认 |
| | | $(document).on("click", ".action-updateProduct", function () { |
| | | var productIdArray = []; |
| | | mytek.confirm("是否需要修改客户分配个性产品?", "确认分配个性产品,请谨慎操作!", function (b) { |
| | | if (b) { |
| | | $("#updateProductDialog #_ProductId").each(function () { |
| | | if ($(this).is(":checked")) { |
| | | productIdArray.push($(this).val()); |
| | | } |
| | | }); |
| | | //mytek.confirm("是否需要修改客户分配个性产品?", "确认分配个性产品,请谨慎操作!", function (b) { |
| | | //if (b) { |
| | | if (confirm("是否需要修改客户分配个性产品?") == true) { |
| | | $("#updateProductDialog #_ProductId").each(function () { |
| | | if ($(this).is(":checked")) { |
| | | productIdArray.push($(this).val()); |
| | | } |
| | | }); |
| | | |
| | | //var clientId = $("#updateProductDialog").data("id"); |
| | | var clientId = $("#updateProductDialog input[name='clientID']").val(); |
| | | $.ajax({ |
| | | url: "GwClient.ashx", |
| | | type: "POST", |
| | | data: { action: "updateProduct", clientId: clientId, productIdArray: $.toJSON(productIdArray) }, |
| | | success: function (result) { |
| | | if (result.OK) { |
| | | $("#updateProductDialog").modal("hide"); |
| | | loadPageList(); |
| | | } else { |
| | | mytek.alert(result.Message, result.OK); |
| | | } |
| | | //var clientId = $("#updateProductDialog").data("id"); |
| | | var clientId = $("#updateProductDialog input[name='clientID']").val(); |
| | | $.ajax({ |
| | | url: "GwClient.ashx", |
| | | type: "POST", |
| | | data: { action: "updateProduct", clientId: clientId, productIdArray: $.toJSON(productIdArray) }, |
| | | success: function (result) { |
| | | if (result.OK) { |
| | | $("#updateProductDialog").modal("hide"); |
| | | loadPageList(); |
| | | } else { |
| | | mytek.alert(result.Message, result.OK); |
| | | } |
| | | }); |
| | | } |
| | | }); |
| | | |
| | | //swal.close(); |
| | | } |
| | | }); |
| | | //swal.close(); |
| | | //} |
| | | //}); |
| | | } |
| | | }); |
| | | |
| | | |
| | |
| | | return pwd; |
| | | } |
| | | |
| | | //全选 |
| | | $("#checkAll").click(function () { |
| | | $("input[name='checkbox']").prop("checked", $(this).is(":checked")); |
| | | }); |
| | | |
| | | |
| | | |
| | | |
| | | //批量分配个性产品:打开界面 |
| | | $(document).on("click", ".action-modal-setProduct", function () { |
| | |
| | | <select name="smsStatusReport" id="smsStatusReport" class="form-control"> |
| | | <option value="0" >不显示</option> |
| | | <option value="1" >只显示提交失败为发送失败状态</option> |
| | | <option value="2" >显示全部状态状态</option> |
| | | <option value="2" >显示全部状态</option> |
| | | </select> |
| | | </div> |
| | | </div> |