|
|
|
@ -170,19 +170,19 @@ export default {
|
|
|
|
|
date: '',
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
RequestDataSet: [
|
|
|
|
|
{
|
|
|
|
|
e: 'data-01',
|
|
|
|
|
t: 4,
|
|
|
|
|
f: (e) => {
|
|
|
|
|
console.log(e)
|
|
|
|
|
let data = {
|
|
|
|
|
yNameOne: [],
|
|
|
|
|
yData: []
|
|
|
|
|
}
|
|
|
|
|
e.forEach((i, k) => {
|
|
|
|
|
data.yNameOne.push(i.COLUMN_A)
|
|
|
|
|
data.yData.push(i.COLUMN_B)
|
|
|
|
|
data.yNameOne.push(i['订单号'])
|
|
|
|
|
data.yData.push(i['完成率'])
|
|
|
|
|
})
|
|
|
|
|
const chart1Option = (data, id) => {
|
|
|
|
|
clearInterval(time1)
|
|
|
|
@ -352,7 +352,7 @@ export default {
|
|
|
|
|
axisTick: {
|
|
|
|
|
show: false,
|
|
|
|
|
},
|
|
|
|
|
data: e.map(v => v.COLUMN_A),
|
|
|
|
|
data: e.map(v => v['工序名称']),
|
|
|
|
|
},
|
|
|
|
|
],
|
|
|
|
|
yAxis: [
|
|
|
|
@ -428,7 +428,7 @@ export default {
|
|
|
|
|
color: '#72b3fe'
|
|
|
|
|
},
|
|
|
|
|
},
|
|
|
|
|
data: e.map(v => v.COLUMN_B),
|
|
|
|
|
data: e.map(v => v['质检数量']),
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
name: "合格率",
|
|
|
|
@ -462,7 +462,7 @@ export default {
|
|
|
|
|
tooltip: {
|
|
|
|
|
show: false,
|
|
|
|
|
},
|
|
|
|
|
data: e.map(v => v.COLUMN_C),
|
|
|
|
|
data: e.map(v => v['合格率']),
|
|
|
|
|
},
|
|
|
|
|
],
|
|
|
|
|
})
|
|
|
|
@ -510,7 +510,7 @@ export default {
|
|
|
|
|
axisTick: {
|
|
|
|
|
show: false,
|
|
|
|
|
},
|
|
|
|
|
data: e.map(v => v.COLUMN_A),
|
|
|
|
|
data: e.map(v => v['日期']),
|
|
|
|
|
},
|
|
|
|
|
],
|
|
|
|
|
yAxis: [
|
|
|
|
@ -586,7 +586,7 @@ export default {
|
|
|
|
|
color: '#9fe080'
|
|
|
|
|
},
|
|
|
|
|
},
|
|
|
|
|
data: e.map(v => v.COLUMN_B),
|
|
|
|
|
data: e.map(v => v['产量']),
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
name: "订单履约率",
|
|
|
|
@ -620,7 +620,7 @@ export default {
|
|
|
|
|
tooltip: {
|
|
|
|
|
show: false,
|
|
|
|
|
},
|
|
|
|
|
data: e.map(v => v.COLUMN_C),
|
|
|
|
|
data: e.map(v => v['履约率']),
|
|
|
|
|
},
|
|
|
|
|
],
|
|
|
|
|
})
|
|
|
|
@ -1082,7 +1082,13 @@ export default {
|
|
|
|
|
{
|
|
|
|
|
e: 'data-06',
|
|
|
|
|
t: 4,
|
|
|
|
|
f: (e) => {
|
|
|
|
|
f: (v) => {
|
|
|
|
|
let e = v.map(vv => {
|
|
|
|
|
return {
|
|
|
|
|
name: vv['缺陷名称'],
|
|
|
|
|
value: vv['缺陷数量'],
|
|
|
|
|
}
|
|
|
|
|
})
|
|
|
|
|
|
|
|
|
|
this.$refs.chart8.setData({
|
|
|
|
|
tooltip: {
|
|
|
|
@ -1195,7 +1201,7 @@ export default {
|
|
|
|
|
containLabel: true,
|
|
|
|
|
},
|
|
|
|
|
xAxis: {
|
|
|
|
|
data: e.map(v=>v.COLUMN_A),
|
|
|
|
|
data: e.map(v => v['日期']),
|
|
|
|
|
axisLine: {
|
|
|
|
|
lineStyle: {
|
|
|
|
|
color: "#0177d4",
|
|
|
|
@ -1261,7 +1267,7 @@ export default {
|
|
|
|
|
),
|
|
|
|
|
},
|
|
|
|
|
},
|
|
|
|
|
data: e.map(v=>v.COLUMN_B),
|
|
|
|
|
data: e.map(v => v['产量']),
|
|
|
|
|
}
|
|
|
|
|
],
|
|
|
|
|
})
|
|
|
|
@ -1293,7 +1299,7 @@ export default {
|
|
|
|
|
center: ["50%", "50%"],
|
|
|
|
|
data: [
|
|
|
|
|
{
|
|
|
|
|
value: e?.[0]?.COLUMN_B,
|
|
|
|
|
value: e?.[0]?.['数值'],
|
|
|
|
|
label: {
|
|
|
|
|
normal: {
|
|
|
|
|
rich: {
|
|
|
|
@ -1314,7 +1320,7 @@ export default {
|
|
|
|
|
"{a|" +
|
|
|
|
|
params.value +
|
|
|
|
|
"}" +
|
|
|
|
|
"\n{b|"+ e?.[0]?.COLUMN_A+"}"
|
|
|
|
|
"\n{b|" + e?.[0]?.['名称'] + "}"
|
|
|
|
|
);
|
|
|
|
|
},
|
|
|
|
|
position: "center",
|
|
|
|
@ -1372,7 +1378,7 @@ export default {
|
|
|
|
|
center: ["50%", "50%"],
|
|
|
|
|
data: [
|
|
|
|
|
{
|
|
|
|
|
value: e?.[1]?.COLUMN_B,
|
|
|
|
|
value: e?.[1]?.['数值'],
|
|
|
|
|
label: {
|
|
|
|
|
normal: {
|
|
|
|
|
rich: {
|
|
|
|
@ -1393,7 +1399,7 @@ export default {
|
|
|
|
|
"{a|" +
|
|
|
|
|
params.value +
|
|
|
|
|
"}" +
|
|
|
|
|
"\n{b|"+ e?.[1]?.COLUMN_A+"}"
|
|
|
|
|
"\n{b|" + e?.[1]?.['名称'] + "}"
|
|
|
|
|
);
|
|
|
|
|
},
|
|
|
|
|
position: "center",
|
|
|
|
@ -1451,7 +1457,7 @@ export default {
|
|
|
|
|
center: ["50%", "50%"],
|
|
|
|
|
data: [
|
|
|
|
|
{
|
|
|
|
|
value: e?.[2]?.COLUMN_B,
|
|
|
|
|
value: e?.[2]?.['数值'],
|
|
|
|
|
label: {
|
|
|
|
|
normal: {
|
|
|
|
|
rich: {
|
|
|
|
@ -1472,7 +1478,7 @@ export default {
|
|
|
|
|
"{a|" +
|
|
|
|
|
params.value +
|
|
|
|
|
"%}" +
|
|
|
|
|
"\n{b|"+ e?.[2]?.COLUMN_A+"}"
|
|
|
|
|
"\n{b|" + e?.[2]?.['名称'] + "}"
|
|
|
|
|
);
|
|
|
|
|
},
|
|
|
|
|
position: "center",
|
|
|
|
@ -1549,7 +1555,7 @@ export default {
|
|
|
|
|
color: "#F1F1F3",
|
|
|
|
|
},
|
|
|
|
|
},
|
|
|
|
|
data: e.map(v=>v.COLUMN_A),
|
|
|
|
|
data: e.map(v => v['日期']),
|
|
|
|
|
}
|
|
|
|
|
],
|
|
|
|
|
yAxis: [
|
|
|
|
@ -1599,7 +1605,7 @@ export default {
|
|
|
|
|
fontSize: 0.6 * vw
|
|
|
|
|
},
|
|
|
|
|
},
|
|
|
|
|
data: e.map(v=>v.COLUMN_B),
|
|
|
|
|
data: e.map(v => v['隐患数']),
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
name: '闭环数',
|
|
|
|
@ -1631,7 +1637,7 @@ export default {
|
|
|
|
|
color: true ? '#9ce375' : "#4FD3B9",
|
|
|
|
|
},
|
|
|
|
|
},
|
|
|
|
|
data: e.map(v=>v.COLUMN_C),
|
|
|
|
|
data: e.map(v => v['闭环数']),
|
|
|
|
|
},
|
|
|
|
|
]
|
|
|
|
|
})
|
|
|
|
@ -1681,7 +1687,7 @@ export default {
|
|
|
|
|
axisTick: {
|
|
|
|
|
show: false,
|
|
|
|
|
},
|
|
|
|
|
data: e.map(v=>v.COLUMN_A),
|
|
|
|
|
data: e.map(v => v['日期']),
|
|
|
|
|
},
|
|
|
|
|
],
|
|
|
|
|
yAxis: [
|
|
|
|
@ -1743,7 +1749,7 @@ export default {
|
|
|
|
|
tooltip: {
|
|
|
|
|
show: false,
|
|
|
|
|
},
|
|
|
|
|
data: e.map(v=>v.COLUMN_B),
|
|
|
|
|
data: e.map(v => v['当年市场不良率']),
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
name: "目标市场不良率",
|
|
|
|
@ -1776,7 +1782,7 @@ export default {
|
|
|
|
|
tooltip: {
|
|
|
|
|
show: false,
|
|
|
|
|
},
|
|
|
|
|
data: e.map(v=>v.COLUMN_C),
|
|
|
|
|
data: e.map(v => v['目标市场不良率']),
|
|
|
|
|
},
|
|
|
|
|
],
|
|
|
|
|
})
|
|
|
|
@ -1812,7 +1818,6 @@ export default {
|
|
|
|
|
}, 1000 * 10)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
echarts.registerMap('china', chinaMap);
|
|
|
|
|
this.$refs.chart12.setData({
|
|
|
|
|
tooltip: {},
|
|
|
|
|