{
  "codeName" : "tooltipHtmlCompute",
  "dEFLogicMode" : "COMPUTE",
  "defaultParamName" : "DEFAULT",
  "dynaModelFilePath" : "PSMODULES/Test/PSDATAENTITIES/MapData/PSDEFLOGICS/tooltipHtmlCompute.json",
  "logicName" : "tooltipHtml属性计算逻辑",
  "logicSubType" : "DEFIELD",
  "name" : "tooltipHtml属性计算逻辑",
  "getPSDEField" : {
    "name" : "TOOLTIPHTML",
    "codeName" : "TooltipHtml"
  },
  "scriptCode" : "console.log(\"sdfdsf\",data);\nconst cityMap = {\n320900: \"盐城\"\n};\nconst cityName = cityMap[data.areacode];\nconst html = `<div style='display:flex;justify-content: center;'>\n                        <span>${cityName}</span>\n                      </div>\n                      <div style='display:flex;justify-content: space-between;'>\n                        <span style='margin-right: 16px;'>在岗人数/总人数</span>\n                        <span>${data.value}/${data.mapdataname}</span>\n                      </div>`;\nreturn {\ntooltiphtml: html\n}",
  "customCode" : true,
  "enableBackend" : false,
  "enableFront" : true
}