From 75bc98ff981323d6d4de86868a68f701acc19dee Mon Sep 17 00:00:00 2001
From: yangle <admin@YINMOU>
Date: 星期三, 14 九月 2022 15:55:46 +0800
Subject: [PATCH] Merge branch 'master' of http://101.37.171.70:10101/r/TV.kanbanUI
---
KB_ProductionEquipmentOutputAnalysis.html | 51 ++++++++++++++++++++++++++-------------------------
1 files changed, 26 insertions(+), 25 deletions(-)
diff --git a/KB_ProductionEquipmentOutputAnalysis.html b/KB_ProductionEquipmentOutputAnalysis.html
index a50a20a..238bdd5 100644
--- a/KB_ProductionEquipmentOutputAnalysis.html
+++ b/KB_ProductionEquipmentOutputAnalysis.html
@@ -17,6 +17,7 @@
<script src="js/jquery.SuperSlide.2.1.3.js"></script>
<script src='js/template.js'></script>
<script src="js/jquery.qrcode.min.js"></script>
+ <script src="js/webConfig.js"></script>
<style>
.clock0 {
font-family: 'BebasNeueRegular', Arial, Helvetica, sans-serif;
@@ -377,36 +378,36 @@
var mychart5 = echarts.init(document.getElementById('mychart5'));
Chart(mychart1, mychart2, mychart3, mychart4, mychart5);
DataTable();
- // 瀹氭椂鍣�
+ // 瀹氭椂鍣�
interval = setInterval(function () {
hours = [];
hoursqty = [];
- CloseProgress = 0; //瀹屽伐鐜�
- LineName = []; //娴佹按绾挎暟缁�
- LineOrderQty = []; //娴佹按绾垮綋澶╄鍗曟�讳换鍔℃暟閲忔暟缁�
- LineOrderCloseQty = []; //娴佹按绾垮綋澶╄鍗曟�诲畬鎴愭暟閲忔暟缁�
- Week = 0; //鏈懆鍒嗘瀽
- Month = 0; //鏈湀鍒嗘瀽
+ closeprogress = 0; //瀹屽伐鐜�
+ linename = []; //娴佹按绾挎暟缁�
+ lineorderqty = []; //娴佹按绾垮綋澶╄鍗曟�讳换鍔℃暟閲忔暟缁�
+ lineordercloseqty = []; //娴佹按绾垮綋澶╄鍗曟�诲畬鎴愭暟閲忔暟缁�
+ week = 0; //鏈懆鍒嗘瀽
+ month = 0; //鏈湀鍒嗘瀽
Chart(mychart1, mychart2, mychart3, mychart4, mychart5);
}, 20000);
setInterval(function () {
//num+=1;
- //$("#tb_order").bootstrapTable('refreshOptions',{offset:num}); // pageNumber:1, 鎸囧畾椤电爜涓虹1椤�
- $("#tb_order").bootstrapTable('refresh');
+ //$("#tb_order").bootstraptable('refreshoptions',{offset:num}); // pagenumber:1, 鎸囧畾椤电爜涓虹1椤�
+ $("#tb_order").bootstraptable('refresh');
}, 10000);
//鏍规嵁绐楀彛鐨勫ぇ灏忓彉鍔ㄥ浘琛� --- 閲嶇偣
window.onresize = function () {
- myChart1.resize();
- myChart2.resize();
- myChart3.resize();
- myChart4.resize();
- myChart5.resize();
+ mychart1.resize();
+ mychart2.resize();
+ mychart3.resize();
+ mychart4.resize();
+ mychart5.resize();
}
})
function Chart(mychart1, mychart2, mychart3, mychart4, mychart5) {
$.ajax({
- url: "http://localhost:12298/api/loaddata/KB_ProductData",
+ url: GetWEBURL() + "/loaddata/KB_ProductData",
dataType: "JSON",
async: false,//浣跨敤鍚屾鐨勬柟寮�,true涓哄紓姝ユ柟寮�
type: "Get",
@@ -840,7 +841,7 @@
function DataTable() {
$('#tb_order').bootstrapTable({
- url: 'http://localhost:12298/api/loaddata/KB_ProductTableData',
+ url: GetWEBURL() + '/loaddata/KB_ProductTableData',
//data: dataJson,
method: 'get', //璇锋眰鏂瑰紡锛�*锛�
dataType: "json",
@@ -925,27 +926,27 @@
};
return temp;
}
- //閫夋嫨浜嬩欢
- function selectOnchang(obj) {
- LineCode = obj.options[obj.selectedIndex].value;
- Chart(mychart1, mychart2, mychart3, mychart4, mychart5)
- //DataTable();
- $('#tb_order').bootstrapTable('refresh');
+ //閫夋嫨浜嬩欢
+ function selectOnchang(obj) {
+ LineCode = obj.options[obj.selectedIndex].value;
+ Chart(mychart1, mychart2, mychart3, mychart4, mychart5)
+ //DataTable();
+ $('#tb_order').bootstrapTable('refresh');
}
function showHospitalCode() {
$.ajax({
- url: "http://localhost:12298/api/loaddata/Gy_Source",//璺宠浆鍒版帶鍒跺櫒HospitalController
+ url: GetWEBURL() + "/loaddata/Gy_Source",//璺宠浆鍒版帶鍒跺櫒HospitalController
type: "get",
success: function (Data) {
var hospitals = JSON.parse(Data);//鍙嶅簭鍒楀寲
var content = '';
$.each(hospitals.data, function (i, n) {
- content += "<option value='" + n.HNumber + "'>" + n.HName + "</option>";
+ content += "<option value='" + n.HNumber + "'>" + n.HNumber + '-' + n.HName + "</option>";
});
$("#hospitalCodeSelect").append(content);//append 娣诲姞杩涘幓骞跺睍绀�
$("#hospitalCodeSelect").find("option[value='" + hospitals.data[0].HNumber + "']").attr("selected", true);
$("#hospitalCodeSelect").selectpicker('refresh');
-
+
}
})
}
--
Gitblit v1.9.1