国产视频中文字幕,精品国产_亚洲人成在线高清,亚洲天堂手机在线

產品中心 業內新聞 案例中心 視頻中心

低代碼腳本開發-人員選擇 低代碼腳本開發-人員選擇

低代碼腳本開發-人員選擇

分類:二次開發 產品中心 低代碼 523

Lua腳本【人員選擇前

json = require (“json”)

mobox = require (“OILua_JavelinExt”)

function BeforeSelectUser ( strLuaDEID )

local action = ‘[{“action_type”:”open_select_userdlg“,”value”:{“multi_choice “:false,”style”:”user“}}]’

?— user 的意思 只列出用戶選擇

nRet, strRetInfo = mobox.setAction( strLuaDEID, action )

if (nRet ~= 0) then error( strRetInfo ) end

end

Lua腳本【人員選擇后

json? = require (“json”)
mobox = require (“OILua_JavelinExt”)
function AfterSelectUser ( strLuaDEID )
? ? local? ?nRet, strUserLogin, strUserName
? ? — 獲取當前選擇數據
? ? nRet, strRetInfo = mobox.getInputParameter( strLuaDEID )
? ? if ( nRet ~= 0 or? strRetInfo == ”) then
? ? ? ? mobox.error( strLuaDEID, “無法獲取數據!”)
? ? ? ? return
? ? end
? ? local retJson = json.decode( strRetInfo )
? ? local input_parameter = retJson[“parameter”]
? ? strUserLogin = input_parameter[1].id
? ? strUserName =? input_parameter[1].name
? ? — 設置所選人員
? ? local setAttr = ‘[{“attr”:”S_MASTER”,”value”:”‘..strUserName..'”},{“attr”:”S_S_MASTER_Login”,”value”:”‘..strUserLogin..'”}]’
? ? mobox.setCurEditDataObjAttr( strLuaDEID,setAttr )
end
標簽:低代碼腳本 上一篇: 下一篇:
展開更多
預約軟件體驗

loading...

    <noscript id="7lhqw"><i id="7lhqw"><legend id="7lhqw"></legend></i></noscript>
    <u id="7lhqw"><optgroup id="7lhqw"><listing id="7lhqw"></listing></optgroup></u>
    1. <blockquote id="7lhqw"><center id="7lhqw"></center></blockquote>
      <address id="7lhqw"></address>
      主站蜘蛛池模板: 甘南县| 荥经县| 汝阳县| 高安市| 高州市| 乌恰县| 舞钢市| 合阳县| 肥乡县| 兰溪市| 泸定县| 高唐县| 阿坝县| 武平县| 开远市| 长宁区| 山西省| 望奎县| 天等县| 旺苍县| 曲靖市| 铜鼓县| 南澳县| 集贤县| 陇南市| 安丘市| 怀集县| 舟曲县| 浮山县| 乌拉特中旗| 福泉市| 镇巴县| 通化县| 蛟河市| 灵川县| 深水埗区| 三台县| 正阳县| 越西县| 遂宁市| 海伦市|