修改界面

master
夜笙歌 4 years ago
parent cb79263347
commit 385d26d758

@ -150,7 +150,6 @@ $(() => {
yieldTabs() yieldTabs()
tableAnimation('#trackEvents') tableAnimation('#trackEvents')
setInterval(request, INTERVAL) setInterval(request, INTERVAL)
console.log()
}) })
let yieldType = '0' let yieldType = '0'
let targetTopRaw = { let targetTopRaw = {

@ -134,7 +134,7 @@ $(() => {
}) })
// 三日订单执行情况 // 三日订单执行情况
autoUpdate(url + "/inStore3d", INTERVAL, data => { autoUpdate(url + "/selectOrderInfoBy3d", INTERVAL, data => {
console.log(data) console.log(data)
horizontalRoundedBarChartWithBackgroundTwo({ horizontalRoundedBarChartWithBackgroundTwo({
yNameOne: data.map(val => val.name), yNameOne: data.map(val => val.name),
@ -143,6 +143,10 @@ $(() => {
}, document.getElementById("IQC")) }, document.getElementById("IQC"))
}) })
autoUpdate(url + "/mtk_selectOrderInfoBy3dTatle", INTERVAL, data => {
console.log(data)
Tips(data.find(val => val.name === '订单数量').qty, data.find(val => val.name === '完成数量').qty, data.find(val => val.name === '清单率').qty, '#Tips')
})
// 设备功率 // 设备功率
// autoUpdate(url + "/inStore3d", INTERVAL, data => { // autoUpdate(url + "/inStore3d", INTERVAL, data => {
singleVerticalBarChart({ singleVerticalBarChart({

@ -209,7 +209,7 @@ const horizontalRoundedBarChartWithBackgroundTwo = function (data, id) {
type: "bar", type: "bar",
yAxisIndex: 0, yAxisIndex: 0,
data: data.yData, data: data.yData,
barWidth: vw, barWidth: '80%',
itemStyle: { itemStyle: {
normal: { normal: {
barBorderRadius: 30, barBorderRadius: 30,
@ -226,7 +226,7 @@ const horizontalRoundedBarChartWithBackgroundTwo = function (data, id) {
yAxisIndex: 1, yAxisIndex: 1,
barGap: "-100%", barGap: "-100%",
data: bgBar, data: bgBar,
barWidth: 1.2 * vw, barWidth: '90%',
itemStyle: { itemStyle: {
normal: { normal: {
color: "none", color: "none",

Loading…
Cancel
Save