|
@@ -12,9 +12,9 @@ import tools from '@tools/htmlToPdf.js'
|
|
// import flowerRes from '@/data/flower.json'
|
|
// import flowerRes from '@/data/flower.json'
|
|
// import lineChartRes from '@/data/lineNew.json'
|
|
// import lineChartRes from '@/data/lineNew.json'
|
|
/**配置参数 */
|
|
/**配置参数 */
|
|
-const treeHeight = ref(window.innerHeight - 140 + 'px') //tree高度
|
|
|
|
-const excelHeight = ref(window.innerHeight - 140 + 'px') //excel高度
|
|
|
|
-const tableHeight = ref(window.innerHeight - 140 + 'px')
|
|
|
|
|
|
+const treeHeight = ref(window.innerHeight - 150 + 'px') //tree高度
|
|
|
|
+const excelHeight = ref(window.innerHeight - 150 + 'px') //excel高度
|
|
|
|
+const tableHeight = ref(window.innerHeight - 150 + 'px')
|
|
/**excel 开始 */
|
|
/**excel 开始 */
|
|
const excelCheckIds = ref([])
|
|
const excelCheckIds = ref([])
|
|
const excelList = ref([])
|
|
const excelList = ref([])
|
|
@@ -194,15 +194,19 @@ const funSubmit = async () => {
|
|
xAxis: {
|
|
xAxis: {
|
|
type: 'category',
|
|
type: 'category',
|
|
boundaryGap: false,
|
|
boundaryGap: false,
|
|
- data: ['N','', 'N-E','', 'E','', 'S-E','', 'S','', 'S-W','', 'W','', 'W-N',''],
|
|
|
|
|
|
+ data: ['N','','','', 'N-E','','','', 'E','','','', 'S-E','','','', 'S','','','', 'S-W','','','', 'W','','','', 'W-N','','',''],
|
|
splitLine: {
|
|
splitLine: {
|
|
show: true
|
|
show: true
|
|
}
|
|
}
|
|
},
|
|
},
|
|
series: chart.count?.length? [...chart.count.map((o,index) => {
|
|
series: chart.count?.length? [...chart.count.map((o,index) => {
|
|
|
|
+ const dataArr = new Array(32).fill(0)
|
|
|
|
+ for(let i=0;i<o.length;i++){
|
|
|
|
+ dataArr[i*2] = o[i]
|
|
|
|
+ }
|
|
return {
|
|
return {
|
|
type: 'bar',
|
|
type: 'bar',
|
|
- data: o,
|
|
|
|
|
|
+ data: dataArr,
|
|
coordinateSystem: 'polar',
|
|
coordinateSystem: 'polar',
|
|
name: funText(index),
|
|
name: funText(index),
|
|
stack: 'a',
|
|
stack: 'a',
|