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

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

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

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

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

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>
      主站蜘蛛池模板: 瓮安县| 金门县| 平乐县| 满洲里市| 栾城县| 兴和县| 建始县| 临洮县| 出国| 南部县| 蒲城县| 兴宁市| 高尔夫| 陆丰市| 西乌| 洪泽县| 淅川县| 志丹县| 志丹县| 浏阳市| 许昌县| 吴旗县| 云阳县| 西和县| 襄城县| 普兰县| 额敏县| 银川市| 巴东县| 牡丹江市| 深圳市| 仙游县| 泗洪县| 彰化市| 敖汉旗| 江津市| 怀柔区| 安多县| 凤山市| 通城县| 广饶县|