wzp
2022-10-25 1961452ebc018cf758924f26d9c7aa0b31495227
web/web/GwClient.aspx
@@ -224,33 +224,35 @@
            //修改分配个性产品:修改确认
            $(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();
                    //}
                    //});
                }
            });
@@ -714,7 +716,7 @@
                                    <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>