From d95905057a66cd7823ade2a22e1b2debfcd20220 Mon Sep 17 00:00:00 2001
From: admin <weikou2014>
Date: 星期三, 03 四月 2024 18:00:03 +0800
Subject: [PATCH] 前端代码修改

---
 kp_html/kp/js/page.js |   15 +++++++++------
 1 files changed, 9 insertions(+), 6 deletions(-)

diff --git a/kp_html/kp/js/page.js b/kp_html/kp/js/page.js
index 9feca26..80692bd 100644
--- a/kp_html/kp/js/page.js
+++ b/kp_html/kp/js/page.js
@@ -76,7 +76,7 @@
 
 
 	setInterval(function() {
-		if (is_trade_time() || true) {
+		if (is_trade_time()) {
 			app.get_kpl_market_feelings();
 		}
 	}, 3000, 3000);
@@ -434,7 +434,8 @@
 				},
 				get_score_data: function(code, name, callback) {
 					console.log("鑾峰彇鍒嗘暟鏁版嵁锛�", code, name);
-					http_util.get_score_data(code, name, function(res) {
+					var date=$("#date").val();
+					http_util.get_score_data(code, name,date, function(res) {
 						res = JSON.parse(res)
 						console.log("鍒嗘暟璇锋眰缁撴灉锛�", res)
 						if (res.code == 0) {
@@ -495,7 +496,8 @@
 					});
 				},
 				get_limit_up_list: function(code, is_auto_refresh) {
-					http_util.get_limit_up_list(code, function(res) {
+					day = $("#date").val();
+					http_util.get_limit_up_list(code,day, function(res) {
 						res = JSON.parse(res)
 						if (res.code == 0) {
 							app.first_info = res.data
@@ -547,7 +549,7 @@
 					// }
 					http_util.cancel_order(app.code, function() {
 						//鎾ゅ崟鎴愬姛锛屽埛鏂颁唬鐮�
-						app.get_score_data(app.code, null);
+						app.get_score_data(app.code,null,null);
 					});
 				},
 				forbidden_plate: function(plate, type) {
@@ -731,8 +733,8 @@
 						return;
 					}
 					app.last_show_dialog = Date.now()
-
-					http_util.get_plate_codes(plate, function(result) {
+                    var day = $("#date").val(); 
+					http_util.get_plate_codes(plate,day, function(result) {
 						result = JSON.parse(result);
 						console.log("娑ㄥ仠鍘熷洜鎴愬垎鑲¤繑鍥烇細", result);
 						var datas = result.data;
@@ -836,6 +838,7 @@
 		app.get_industry_data(app.industry_data_type);
 		app.get_jingxuan_data(app.jingxuan_data_type);
 		app.get_limit_up_list(app.code, false);
+		app.get_kpl_market_feelings();
 	}
 
 	$(".market .child-title").click(function() {

--
Gitblit v1.8.0