提交 4a6dbd8a 编写于 作者: ibizdev's avatar ibizdev

lxm1993 发布系统代码 [TrainSys,网页端]

上级 85d07bc8
...@@ -1597,7 +1597,7 @@ ...@@ -1597,7 +1597,7 @@
"logicName" : "tooltipHtml属性计算逻辑", "logicName" : "tooltipHtml属性计算逻辑",
"logicSubType" : "DEFIELD", "logicSubType" : "DEFIELD",
"name" : "tooltipHtml属性计算逻辑", "name" : "tooltipHtml属性计算逻辑",
"scriptCode" : "console.log(\"sdfdsf\",data);\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.zgrs}/${data.yzrs}</span>\n </div>`;\nreturn {\ntooltiphtml: html\n}", "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, "customCode" : true,
"enableBackend" : false, "enableBackend" : false,
"enableFront" : true "enableFront" : true
......
...@@ -10,7 +10,7 @@ ...@@ -10,7 +10,7 @@
"name" : "TOOLTIPHTML", "name" : "TOOLTIPHTML",
"codeName" : "TooltipHtml" "codeName" : "TooltipHtml"
}, },
"scriptCode" : "console.log(\"sdfdsf\",data);\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.zgrs}/${data.yzrs}</span>\n </div>`;\nreturn {\ntooltiphtml: html\n}", "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, "customCode" : true,
"enableBackend" : false, "enableBackend" : false,
"enableFront" : true "enableFront" : true
......
...@@ -969,7 +969,7 @@ ...@@ -969,7 +969,7 @@
"name" : "TOOLTIPHTML", "name" : "TOOLTIPHTML",
"codeName" : "TooltipHtml" "codeName" : "TooltipHtml"
}, },
"scriptCode" : "console.log(\"sdfdsf\",data);\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.zgrs}/${data.yzrs}</span>\n </div>`;\nreturn {\ntooltiphtml: html\n}", "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, "customCode" : true,
"enableBackend" : false, "enableBackend" : false,
"enableFront" : true "enableFront" : true
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册