掘地求升2官方下载入口-掘地求升2

掘地求升2官方下载入口-掘地求升2
浏览 (171)
  • 类型:
  • 更新:2024-07-17
  • 大小:356M
  • 所需权限:查看
  • 隐私政策:查看
返回 同一个套账号数据 不同日期返回,深证主力到货偏好丶! ,看这里要$("#servetype").val服务类型 if ($("#servetype").val() == "TSDAHOME") { materialObj.getAjaxWithPageForSerTime(serviceName); } else { materialObj.getAjaxWithPageForSerType(serviceName); } }, /** * 服务类型 下拉框返回数据 * @param {Object} serviceName */ getAjaxWithPageForSerType: function (serviceName) { var token = $("meta[name='_csrf']").attr("content"); var params = "&type=" + "FREE_APPLY,PRODUCT_APPLY" + "&startTime=" + $("#startDate").val() + "&endTime=" + $("#endDate").val(); $.ajax({ type: 'GET', url: "/dv/query", cache: false, data: params, dataType: "text", beforeSend: function (xhr) { xhr.setRequestHeader('X-CSRF-TOKEN', token); }, success: function (response) { // 调用handle方法,处理响应数据 materialObj.handResData(response, serviceName, materialObj.getPaginationForSerType); }, error: function () { } }); }, /** * 服务日期 下拉框返回数据 * @param {Object} serviceName */ getAjaxWithPageForSerTime: function (serviceName) { var token = $("meta[name='_csrf']").attr("content"); var params = "&productType=" + $("#lightSelect").val() + "&serviceType=" + $("#servetype").val(); $.ajax({ type: 'GET', url: "/market/attention/queryMaterialOrdersData", cache: false, data: params, dataType: "text", beforeSend: function (xhr) { xhr.setRequestHeader('X-CSRF-TOKEN', token); }, success: function (response) { // 调用handle方法,处理响应数据 materialObj.handResData(response, serviceName, materialObj.getPaginationForSerTime); }, error: function () { } }); }, /** * 获取分页数据 * @param {Object} response */ getPaginationForSerType: function (response) { console.log("分页数据展示"); var curPage = 1; $(".page-content-main").remove(); var html = '
'; $("#pagination_wrap_1").append(html); $(".page-content-main").append(response); $("#checkAll").attr('checked', false); $(".page-content-main").find('[type=checkbox]').each(function () { //alert('1'); $(this).prop('checked', false) }); materialObj.buildPic(sourceData, picData["resourceId"]); }, /** * 获取分页数据 * @param {Object} response */ getPaginationForSerTime: function (response) { console.log("分页数据展示"); var curPage = 1; $(".page-content-main").remove(); var html = '
'; $("#pagination_wrap_1").append(html); $(".page-content-main").append(response); $("#checkAll").attr('checked', false); materialObj.buildPic(sourceData, picData["resourceId"]); }, /** *勾选 全选框后 所有的选中框状态都和全选框状态一致; */ clickLineCheckBox: function () { $(this).closest("tr").find("[type=checkbox]").prop("checked", this.checked); }, /** *重置图片ID */ imgResetPicId: function (dataId) { dataId = dataId.substr("1"); picData["resourceId"] = []; if (picData["resourceId"].length != 0) { if ($.inArray(dataId, picData["resourceId"]) < 0) { picData["resourceId"].push(dataId); } else { picData["resourceId"].splice($.inArray(dataId, picData["resourceId"]), 1); } } else { picData["resourceId"].push(dataId); } //console.log(picData["resourceId"]); }, updateOrderOperationStatus: function () { var token = $("meta[name='_csrf']").attr("content"); var orderId = $("#orderId").val(); var operationStatus = materialObj._status; var note = $("#noteInfo").val(); var params = "orderId=" + orderId + "&operationStatus=" + operationStatus + "¬e=" + note; timer = null; $.ajax({ type: 'POST', url: "/market/attention/updateOrderOperationStatus", cache: false, async: false,// 同步 data: params, dataType: "text", contentType: "application/x-www-form-urlencoded", beforeSend: function (xhr) { xhr.setRequestHeader('X-CSRF-TOKEN', token); }, success: function (responseText, statusText) { // 调用钉钉 dingding("224764033964139996", responseText.custType, responseText.custName + "的" + responseText.orderType + "订单" + responseText.result + ",原因为:" + responseText.note, responseText.app) materialObj.errorResponse(responseText); }, error: function (responseText, statusText) { } }); }, /** * 禁用/中止订单 Method * @param orderId * @private */ updataStatus: function (orderId) { var token = $("meta[name='_csrf']").attr("content"); $.ajax({ type: 'POST', url: "/market/attention/invokeOrderOperationAction", cache: false, async: false, data: { "orderId": orderId }, dataType: "text", contentType: "application/x-www-form-urlencoded", beforeSend: function (xhr) { xhr.setRequestHeader('X-CSRF-TOKEN', token); }, success: function (response, statusText) { // 调用手动同步订单信息的方法 materialObj.updateOrderOperationStatus(); var syncStart = $('#startDate').val(); var syncEnd = $('#endDate').val(); var serviceName = ""; var params = "syncType=status"; // 重新刷新页面 materialObj.pagingForInit(params, null, syncStart, syncEnd, serviceName); // 刷新RDS页面 var paramsRds=""; materialObj.pagingForRDS(paramsRds, null, syncStart, syncEnd); }, error: function (response, statusText) { } }); }, /** * 手动同步订单信息 Method */ invokeOrderOperationAction: function () { var token = $("meta[name='_csrf']").attr("content"); var params = "syncType=manual"; $.ajax({ type: 'POST', url: "/market/attention/invokeOrderOperationAction", cache: false, data: params, dataType: "text", beforeSend: function (xhr) { xhr.setRequestHeader('X-CSRF-TOKEN', token); }, success: function (response, statusText) { var result = eval("(" + response + ")"); $("#wait").css('visibility', 'hidden'); _this.setImportProgress(100); $("#order-processing").removeAttr("disabled"); $("#order-syncManual").removeAttr("disabled"); $("#order-startSyncManual").removeAttr("disabled"); // 如果是同步成功状态,显示绿色箭头,反之则显示红色箭头 if (result.successCount == '0') { $(".showDraw").children(0).removeClass("aui-icon-correct").addClass("aui-icon-warn"); } else { $(".showDraw").children(0).removeClass("aui-icon-warn").addClass("aui-icon-correct"); } // 显示同步结果消息 $("#successMessage").html("本次同步共触发[" + result.allCount + "]条,成功[" + result.successCount + "]条!详情请查看订单同步历史!").css("visibility", "visible"); clearInterval(timmer); materialObj.refreshHistoryInfos(); // 关闭窗口代码 auiDialog.closeDialog(); // 同步成功后,需要刷新页面数据 var syncStart = $('#startDate').val(); var syncEnd = $('#endDate').val(); var serviceName = ""; var params = "syncType=manual"; // 重新刷新页面 materialObj.pagingForInit(params, null, syncStart, syncEnd, serviceName); // 刷新RDS页面 var paramsRds=""; materialObj.pagingForRDS(paramsRds, null, syncStart, syncEnd); }, error: function (response, statusText) { } }); }, /** * 获取手动同步订单执行结果 */ getStatus: function () { var
安卓版下载

同类推荐更多

专题合集更多>>

骑士世界安卓版下载安装-骑士世界安卓版 晴天大圣-情天大圣手游 迷你世界激活码2021年7月23日-迷你世界激活码2021 植物僵尸大作战2破解版下载-植物僵尸大作战