This commit is contained in:
chenbin
2021-04-07 16:25:13 +08:00
parent 5a43e0d172
commit 5154e7d513
40 changed files with 870 additions and 1019 deletions

View File

@@ -86,7 +86,7 @@ end
-- 网络请求的回调cmd指命succ成功失败msg消息paras服务器下行数据
function CSPMain.procNetwork(cmd, succ, msg, paras)
if (succ == NetSuccess) then
if cmd == NetProto.cmds.readNotice then
if cmd == NetProto.cmds.readNotice or cmd == NetProto.cmds.wforder_cancel_reminder then
CSPMain.refreshBtns()
end
end

View File

@@ -79,6 +79,7 @@ function CSPMsg.onDragEnd()
if offset.y < -50 then
-- 刷数据
NetProto.send.announcement_query()
NetProto.send.wforder_expiry_reminder()
end
if isShowdDragFrefresh then
CSPMsg.repositon()
@@ -108,7 +109,7 @@ end
-- 网络请求的回调cmd指命succ成功失败msg消息paras服务器下行数据
function CSPMsg.procNetwork(cmd, succ, msg, paras)
if (succ == NetSuccess) then
if cmd == NetProto.cmds.readNotice then
if cmd == NetProto.cmds.readNotice or cmd == NetProto.cmds.wforder_cancel_reminder then
CSPMsg.setList()
end
end

View File

@@ -120,7 +120,12 @@ function TRPSysMsgList:onClickCell(cell, data)
end
end
)
getPanelAsy("PanelSysMsgDetail", onLoadedPanelTT, data)
NetProto.send.workFlowQuery({wfId = data.wfId}, "", 1,
function(params)
if(params.result and params.result.data) then
getPanelAsy("PanelOrderDetail", onLoadedPanelTT, params.result.data[1])
end
end)
else
printw("没有处理该消息类型", data.NOTICETYPE)
end