diff --git a/src/views/datav/Jwpy.vue b/src/views/datav/Jwpy.vue index d2d80e7..703adef 100644 --- a/src/views/datav/Jwpy.vue +++ b/src/views/datav/Jwpy.vue @@ -59,28 +59,10 @@ - - - - - - - - - - - - - - - - - - @@ -217,7 +199,7 @@ @@ -480,7 +462,7 @@ const option1 = ref({ xAxis: { type: "category", boundaryGap: true, - data: ['1月', '2月', '3月', '4月', '5月', '6月', '7月', '8月', '9月', '10月', '11月', '12月',], + data: ['1月', '2月', '3月', '4月', '5月', '6月', '7月', '8月', '9月', '10月', '11月', '12月'], axisLabel: { interval: 0, }, @@ -886,13 +868,14 @@ async function getData() { GetDITU(selectYear.value).then((res) => { tempMap.value = res let valData = mapOrgNameMapping(tableData2.value,"FinalRP") - + console.log('valData',valData) let listData = valData.sort((a, b) => b["value"] - a["value"]); option.value.visualMap.pieces=[ {min: listData[2].value, max: listData[0].value, label: "满意度前三", color: "#4987F6"}, {gte: listData[6].value, lte: listData[3].value, label: "满意度中等", color: "#F6A149"}, {gte: listData[listData.length - 1], label: "满意度较差", color: "#D34343"}, ] + mapDataList.value = tempMap.value.map(org => { return {name: org.OrganizeName, value: org.OrganizeID}; })