| | |
| | | myChart = echarts.init(chartDom); |
| | | let option; |
| | | let lineColor = "#35ddc74d"; |
| | | let spirit = "/cockpitPage/order-bg.png"; |
| | | if (data) { |
| | | option = { |
| | | color: ["#dcb018", "#00FFFF"], |
| | |
| | | ], |
| | | series: [ |
| | | { |
| | | type: "bar", |
| | | type: "pictorialBar", |
| | | name: "正品数量", |
| | | barWidth: "15", |
| | | itemStyle: { |
| | | normal: { |
| | | //柱形图圆角,初始化效果 |
| | | barBorderRadius: [4, 4, 0, 0], |
| | | }, |
| | | }, |
| | | symbol: spirit, |
| | | symbolRepeat: true, |
| | | symbolMargin: "25%", |
| | | symbolClip: true, |
| | | symbolSize: [17, 4], |
| | | barCategoryGap: "40%", |
| | | data: data.datay, |
| | | }, |
| | | { |
| | | type: "bar", |
| | | type: "pictorialBar", |
| | | name: "次品数量", |
| | | barWidth: "15", |
| | | itemStyle: { |
| | | normal: { |
| | | //柱形图圆角,初始化效果 |
| | | barBorderRadius: [4, 4, 0, 0], |
| | | }, |
| | | }, |
| | | symbol: spirit, |
| | | symbolRepeat: true, |
| | | symbolMargin: "25%", |
| | | symbolClip: true, |
| | | symbolSize: [17, 4], |
| | | barCategoryGap: "40%", |
| | | data: data.datay2, |
| | | }, |
| | | ], |
| | |
| | | myChart = echarts.init(chartDom); |
| | | let option; |
| | | let lineColor = "#35ddc74d"; |
| | | let spirit = "/cockpitPage/order-bg.png"; |
| | | if (data) { |
| | | option = { |
| | | color: ["#00FFFF", "#dcb018"], |
| | |
| | | ], |
| | | series: [ |
| | | { |
| | | type: "bar", |
| | | type: "pictorialBar", |
| | | name: "", |
| | | barWidth: "15", |
| | | symbol: spirit, |
| | | symbolRepeat: true, |
| | | symbolMargin: "25%", |
| | | symbolClip: true, |
| | | symbolSize: [4, 11], |
| | | barCategoryGap: "40%", |
| | | label: { |
| | | show: true, |
| | | position: "right", |
| | |
| | | myChart = echarts.init(chartDom); |
| | | let option; |
| | | let lineColor = "#35ddc74d"; |
| | | let spirit = "/cockpitPage/order-bg.png"; |
| | | if (data) { |
| | | option = { |
| | | color: ["#00FFFF", "#dcb018"], |
| | |
| | | yAxis: [ |
| | | { |
| | | type: "category", |
| | | inverse: true, |
| | | axisTick: { |
| | | show: false, |
| | | }, |
| | |
| | | ], |
| | | series: [ |
| | | { |
| | | type: "bar", |
| | | type: "pictorialBar", |
| | | name: "", |
| | | barWidth: "15", |
| | | symbol: spirit, |
| | | symbolRepeat: true, |
| | | symbolMargin: "25%", |
| | | symbolClip: true, |
| | | symbolSize: [4, 11], |
| | | barCategoryGap: "40%", |
| | | itemStyle: { |
| | | normal: { |
| | | //柱形图圆角,初始化效果 |
| | |
| | | <div class="left">{{ item.title }}</div> |
| | | <div class="middle" ref="middle"> |
| | | <el-progress |
| | | :stroke-width="20" |
| | | :stroke-width="18" |
| | | :text-inside="true" |
| | | :percentage="item.radio" |
| | | :define-back-color="'#083f55'" |
| | |
| | | } |
| | | .list-view { |
| | | height: calc(100% - 20px); |
| | | padding-right: 5px; |
| | | .table-bg-view { |
| | | display: flex; |
| | | align-items: center; |
| | |
| | | background: #083f55; |
| | | height: calc(20% - 10px); |
| | | width: 100%; |
| | | padding-right: 5px; |
| | | border-radius: 50px; |
| | | transition: all 1s ease-in-out 0s; |
| | | .left { |
| | |
| | | } |
| | | .el-progress-bar__inner { |
| | | position: relative; |
| | | // background: #552d08; |
| | | background: url("../../../../public/cockpitPage/order-bg.png") no-repeat |
| | | center center / cover; |
| | | } |
| | | .setTitle-complete .el-progress-bar__inner { |
| | | position: relative; |
| | | // background: #552d08; |
| | | background: url("../../../../public/cockpitPage/order-complete.png") |
| | | no-repeat center center / cover; |
| | | } |
| | |
| | | myChart = echarts.init(chartDom); |
| | | let option; |
| | | let lineColor = "#35ddc74d"; |
| | | let spirit = "/cockpitPage/order-bg.png"; |
| | | if (data) { |
| | | option = { |
| | | color: ["#00FFFF", "#dcb018"], |
| | |
| | | ], |
| | | series: [ |
| | | { |
| | | type: "bar", |
| | | type: "pictorialBar", |
| | | name: "", |
| | | barWidth: "15", |
| | | symbol: spirit, |
| | | symbolRepeat: true, |
| | | symbolMargin: "25%", |
| | | symbolClip: true, |
| | | symbolSize: [4, 11], |
| | | barCategoryGap: "40%", |
| | | label: { |
| | | show: true, |
| | | position: "right", |
| | |
| | | this.materialChartData.datax.push(item.Name); |
| | | this.materialChartData.datay.push(parseFloat(item.Value)); |
| | | }); |
| | | console.log(this.materialChartData.datay, "5555555555"); |
| | | }, |
| | | // 车间正品率 |
| | | setRightBlock3(data) { |