fy36
2025-05-14 a37aca60ff9914b0abb710f04118b22420f4f398
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
--[[
   编码: JX-800-00
   名称: 空白页面
   作者:
   日期:2025-1-29
 
   函数: GenerateViewHTML
   功能:
 
   更改记录:
 
--]]
 
json  = require ("json")
mobox = require ("OILua_JavelinExt")
m3 = require("oi_base_mobox")
 
function GenerateViewHTML( strLuaDEID )
    local action = {}
 
    local str_html = "<div></div>"
    
    action[1] = {
        action_type = "chart",
        value = {
            graphicType = "html",
            title = {
                text = "汇总测试空白html",
                align = "center",
                color = "#515a6e",
                font = "微软雅黑",
                fontSize = 12
            },
            html = str_html
        }
    }
 
    nRet, strRetInfo = mobox.setAction( strLuaDEID, lua.table2str(action)  )
    if ( nRet ~= 0 ) then lua.Error( strLuaDEID, debug.getinfo(1), "setAction失败! "..strRetInfo..' action = '..strAction ) end     
end