From 970e2e0e5b8210e3127382821ac3bb87fb368344 Mon Sep 17 00:00:00 2001
From: yangle <admin@YINMOU>
Date: 星期二, 21 三月 2023 17:17:28 +0800
Subject: [PATCH] 1
---
KB_ProductionEquipmentOutputAnalysis.html | 33 +++++++++++++++++++++------------
1 files changed, 21 insertions(+), 12 deletions(-)
diff --git a/KB_ProductionEquipmentOutputAnalysis.html b/KB_ProductionEquipmentOutputAnalysis.html
index 6e62140..93b01b8 100644
--- a/KB_ProductionEquipmentOutputAnalysis.html
+++ b/KB_ProductionEquipmentOutputAnalysis.html
@@ -399,17 +399,17 @@
$("#tb_order").bootstrapTable('refresh');
}, 10000);
//鏇存崲涓嬫媺妗嗚祫婧�
- setInterval(function () {
- if (SourceNum < SourceList.data.length) {
- LineCode = SourceList.data[SourceNum].HNumber;
- $("#hospitalCodeSelect").find("option[value='" + SourceList.data[SourceNum].HNumber + "']").attr("selected", true);//鏇存柊涓嬫媺妗嗛�変腑鏁版嵁
- $("#hospitalCodeSelect").selectpicker('refresh')//椤甸潰娓叉煋
- SourceNum += 1;
- } else {
- showHospitalCode();
- SourceNum = 0;
- }
- }, 30000);
+ //setInterval(function () {
+ // if (SourceNum < SourceList.data.length) {
+ // LineCode = SourceList.data[SourceNum].HNumber;
+ // $("#hospitalCodeSelect").find("option[value='" + SourceList.data[SourceNum].HNumber + "']").attr("selected", true);//鏇存柊涓嬫媺妗嗛�変腑鏁版嵁
+ // $("#hospitalCodeSelect").selectpicker('refresh')//椤甸潰娓叉煋
+ // SourceNum += 1;
+ // } else {
+ // showHospitalCode();
+ // SourceNum = 0;
+ // }
+ //}, 30000);
//鏍规嵁绐楀彛鐨勫ぇ灏忓彉鍔ㄥ浘琛� --- 閲嶇偣
window.onresize = function () {
mychart1.resize();
@@ -428,7 +428,8 @@
type: "Get",
data: { "LineCode": LineCode, "LineCodeList": LineCodeList },
success: function (data) {
-
+ hours = [];
+ hoursqty = [];
$.each(data.data[0], function (index, val) {
hours.push(val.hour + '鐐�');
hoursqty.push(parseFloat(val.Count).toFixed(2));
@@ -445,6 +446,9 @@
$("#LineStus").html(data.data[2][0].HICMOStatus);
}
+ LineName = [];
+ LineOrderQty = [];
+ LineOrderCloseQty = [];
//浠婃棩鍏ㄩ儴娴佹按绾夸骇閲忓姣�
$.each(data.data[3], function (index, val) {
LineName.push(val.FNAME);
@@ -946,6 +950,11 @@
//閫夋嫨浜嬩欢
function selectOnchang(obj) {
LineCode = obj.options[obj.selectedIndex].value;
+ var mychart1 = echarts.init(document.getElementById('mychart1'));
+ var mychart2 = echarts.init(document.getElementById('mychart2'));
+ var mychart3 = echarts.init(document.getElementById('mychart3'));
+ var mychart4 = echarts.init(document.getElementById('mychart4'));
+ var mychart5 = echarts.init(document.getElementById('mychart5'));
Chart(mychart1, mychart2, mychart3, mychart4, mychart5)
//DataTable();
$('#tb_order').bootstrapTable('refresh');
--
Gitblit v1.9.1