Browse Source

fit:1、案件核查、信访投诉、公安部&国家信访 涉企涉冻多选筛选

master
pengwei 3 months ago
parent
commit
602fb323ee
  1. 6
      src/views/datav/Jwpy.vue

6
src/views/datav/Jwpy.vue

@ -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};
})

Loading…
Cancel
Save