|
|
@ -1,5 +1,5 @@
|
|
|
|
<template>
|
|
|
|
<template>
|
|
|
|
<!-- 线表分析 -->
|
|
|
|
<!-- 线表情况 -->
|
|
|
|
<div class="lineTableAnalysis-container">
|
|
|
|
<div class="lineTableAnalysis-container">
|
|
|
|
<!-- 筛选 -->
|
|
|
|
<!-- 筛选 -->
|
|
|
|
<div class="formData-box">
|
|
|
|
<div class="formData-box">
|
|
|
@ -17,7 +17,7 @@
|
|
|
|
<div class="left-box">
|
|
|
|
<div class="left-box">
|
|
|
|
<div class="border-out">
|
|
|
|
<div class="border-out">
|
|
|
|
<div class="border-inner">
|
|
|
|
<div class="border-inner">
|
|
|
|
<!-- 线标分析-折线图 -->
|
|
|
|
<!-- 线标情况-折线图 -->
|
|
|
|
<div class="left-top-box">
|
|
|
|
<div class="left-top-box">
|
|
|
|
<div class="left-top-title">线表情况</div>
|
|
|
|
<div class="left-top-title">线表情况</div>
|
|
|
|
<div id="TableLine" class="TableLine"></div>
|
|
|
|
<div id="TableLine" class="TableLine"></div>
|
|
|
@ -26,7 +26,7 @@
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="border-out box-top">
|
|
|
|
<div class="border-out box-top">
|
|
|
|
<div class="border-inner">
|
|
|
|
<div class="border-inner">
|
|
|
|
<!-- 线标分析 -柱状图 -->
|
|
|
|
<!-- 线标情况 -柱状图 -->
|
|
|
|
<div class="left-bottom-box">
|
|
|
|
<div class="left-bottom-box">
|
|
|
|
<div class="left-bottom-title">线表与月度计划</div>
|
|
|
|
<div class="left-bottom-title">线表与月度计划</div>
|
|
|
|
<div id="TableBar" class="TableBar"></div>
|
|
|
|
<div id="TableBar" class="TableBar"></div>
|
|
|
@ -39,7 +39,7 @@
|
|
|
|
<div class="border-inner">
|
|
|
|
<div class="border-inner">
|
|
|
|
<!-- 完成量-与未完成量 -->
|
|
|
|
<!-- 完成量-与未完成量 -->
|
|
|
|
<div class="right-top-box">
|
|
|
|
<div class="right-top-box">
|
|
|
|
<div class="right-top-title">线表分析</div>
|
|
|
|
<div class="right-top-title">线表情况</div>
|
|
|
|
<div id="ShipBar" class="ShipBar"></div>
|
|
|
|
<div id="ShipBar" class="ShipBar"></div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
@ -94,9 +94,9 @@ export default {
|
|
|
|
});
|
|
|
|
});
|
|
|
|
this.xbjhList = res.data.xbjh;
|
|
|
|
this.xbjhList = res.data.xbjh;
|
|
|
|
this.ydjhList = ydjhList;
|
|
|
|
this.ydjhList = ydjhList;
|
|
|
|
// 线表分析折线图
|
|
|
|
// 线表情况折线图
|
|
|
|
this.TableLine();
|
|
|
|
this.TableLine();
|
|
|
|
// 线表分析柱状图
|
|
|
|
// 线表情况柱状图
|
|
|
|
this.TableBar();
|
|
|
|
this.TableBar();
|
|
|
|
});
|
|
|
|
});
|
|
|
|
},
|
|
|
|
},
|
|
|
@ -127,14 +127,14 @@ export default {
|
|
|
|
|
|
|
|
|
|
|
|
dataY.forEach((item) => {
|
|
|
|
dataY.forEach((item) => {
|
|
|
|
xbListCopy[item] = xbListCopy[item].filter((em) => {
|
|
|
|
xbListCopy[item] = xbListCopy[item].filter((em) => {
|
|
|
|
return em.zl >= 0;
|
|
|
|
return em.zl > 0;
|
|
|
|
});
|
|
|
|
});
|
|
|
|
ydListCopy[item] = ydListCopy[item].filter((em) => {
|
|
|
|
ydListCopy[item] = ydListCopy[item].filter((em) => {
|
|
|
|
return em.jhzl >= 0;
|
|
|
|
return em.jhzl > 0;
|
|
|
|
});
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
|
|
xbStartData.push(
|
|
|
|
xbStartData.push(
|
|
|
|
xbListCopy[item] && xbListCopy[item][0].yf
|
|
|
|
xbListCopy[item] && xbListCopy[item][0]?.yf
|
|
|
|
? new Date(
|
|
|
|
? new Date(
|
|
|
|
this.$moment().format("yyyy") +
|
|
|
|
this.$moment().format("yyyy") +
|
|
|
|
"/" +
|
|
|
|
"/" +
|
|
|
@ -177,7 +177,7 @@ export default {
|
|
|
|
: ""
|
|
|
|
: ""
|
|
|
|
);
|
|
|
|
);
|
|
|
|
});
|
|
|
|
});
|
|
|
|
// 船只分析甘特图
|
|
|
|
// 船只情况甘特图
|
|
|
|
this.ShipBar(dataY, xbStartData, xbEndData, ydStartData, ydEndData);
|
|
|
|
this.ShipBar(dataY, xbStartData, xbEndData, ydStartData, ydEndData);
|
|
|
|
});
|
|
|
|
});
|
|
|
|
},
|
|
|
|
},
|
|
|
@ -566,7 +566,7 @@ export default {
|
|
|
|
display: flex;
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
flex-direction: column;
|
|
|
|
justify-content: space-between;
|
|
|
|
justify-content: space-between;
|
|
|
|
// 线表分析折线图
|
|
|
|
// 线表情况折线图
|
|
|
|
.left-top-box {
|
|
|
|
.left-top-box {
|
|
|
|
height: 100%;
|
|
|
|
height: 100%;
|
|
|
|
.left-top-title {
|
|
|
|
.left-top-title {
|
|
|
@ -586,7 +586,7 @@ export default {
|
|
|
|
height: calc(100% - 24px);
|
|
|
|
height: calc(100% - 24px);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
// 线表分析柱状图
|
|
|
|
// 线表情况柱状图
|
|
|
|
.left-bottom-box {
|
|
|
|
.left-bottom-box {
|
|
|
|
height: 100%;
|
|
|
|
height: 100%;
|
|
|
|
.left-bottom-title {
|
|
|
|
.left-bottom-title {
|
|
|
@ -611,7 +611,7 @@ export default {
|
|
|
|
width: 50%;
|
|
|
|
width: 50%;
|
|
|
|
height: 100%;
|
|
|
|
height: 100%;
|
|
|
|
margin-left: 5px;
|
|
|
|
margin-left: 5px;
|
|
|
|
// 线表分析甘特图
|
|
|
|
// 线表情况甘特图
|
|
|
|
.right-top-box {
|
|
|
|
.right-top-box {
|
|
|
|
height: 100%;
|
|
|
|
height: 100%;
|
|
|
|
.right-top-title {
|
|
|
|
.right-top-title {
|
|
|
|