|
|
|
|
@ -868,14 +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"]); |
|
|
|
|
|
|
|
|
|
let listData = valData.sort((a, b) => Number(b["value"]) - Number(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"}, |
|
|
|
|
] |
|
|
|
|
|
|
|
|
|
console.log('option.value',option.value) |
|
|
|
|
mapDataList.value = tempMap.value.map(org => { |
|
|
|
|
return {name: org.OrganizeName, value: org.OrganizeID}; |
|
|
|
|
}) |
|
|
|
|
|