| | |
| | | <span></span> |
| | | </div> |
| | | </div> |
| | | |
| | | <div class="dataChoose"> |
| | | <date-select :type="'nztrSelect'" v-if="trpOrNcp == 'ncp'"></date-select> |
| | | </div> |
| | | <div class="more" @click="popDetailedSupervise"> |
| | | 明细 |
| | | <img src="/img/icon/more.png" alt /> |
| | |
| | | initBar (dom) { |
| | | const that = this |
| | | const chartDom = document.getElementById(dom) |
| | | const myChart = this.$echarts.init(chartDom) |
| | | const myChart1 = this.$echarts.init(chartDom) |
| | | var y = [] |
| | | for (let i = 0; i < that.taskNum.length; i++) { |
| | | y.push(that.taskNum[i].count) |
| | |
| | | ], |
| | | } |
| | | |
| | | option && myChart.setOption(option) |
| | | option && myChart1.setOption(option) |
| | | window.addEventListener("resize", function () { |
| | | myChart1.resize() |
| | | }) |
| | | }, |
| | | |
| | | initTrpBar (dom) { |
| | |
| | | } |
| | | |
| | | option && myChart.setOption(option) |
| | | window.addEventListener("resize", function () { |
| | | myChart.resize() |
| | | }) |
| | | }, |
| | | initSymyBar (dom) { |
| | | const chartDom = document.getElementById(dom) |
| | |
| | | .echarts-box { |
| | | margin-top: 16px; |
| | | flex: 1; |
| | | width: 300px; |
| | | height: 600px; |
| | | } |
| | | } |
| | | |
| | |
| | | & > div:nth-child(2) { |
| | | margin-left: 60px; |
| | | } |
| | | .dataChoose { |
| | | margin-left: 40px; |
| | | width: 320px; |
| | | margin-top: -20px; |
| | | } |
| | | |
| | | .more { |
| | | position: absolute; |