lzh
2025-06-19 3a6436e0c88042c6ce8dca2fe8adb0109f0ad9e4
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
--[[
   编码: GT-122-29
   名称: 
   作者:
   日期:2025-04-22
 
   函数: Initail
   功能:
 
   更改记录:
 
--]]
json  = require("json")
mobox = require("OILua_JavelinExt")
m3 = require( "oi_base_mobox" )
function Initail(strLuaDEID)
    local nRet, strRetInfo
    local setAttr = '[{"attr":"S_START_LOC","show":false},{"attr":"S_END_LOC","show":false}]'
    local action = {}
 
    action.action_type = "set_dlg_attr_show"
    action.value = json.decode(setAttr)
    nRet, strRetInfo = mobox.setAction(strLuaDEID, '[' .. lua.table2str(action) .. ']')
    if (nRet ~= 0) then lua.Error(strLuaDEID, debug.getinfo(1), "setAction失败! " .. strRetInfo) end
end