changhong/lua_probject/base_project/Game/View/NewGroup/MngView/GroupMngPartnerStatView.lua

536 lines
21 KiB
Lua
Raw Normal View History

2025-06-30 11:20:34 +08:00
local TimeSettingPanel = import(".TimeSettingPanelTog")
2025-05-24 14:29:14 +08:00
local GroupPartnerStatMember = import(".GroupPartnerStatMember")
local GroupPartnerStatPlay = import(".GroupPartnerStatPlay")
local GroupNumberInputView = import(".GroupNumberInputView")
-- 开桌统计
local GroupMngPartnerStatView = {}
local M = GroupMngPartnerStatView
2025-06-30 11:20:34 +08:00
function GroupMngPartnerStatView.new(gid, rootView, player)
2025-05-24 14:29:14 +08:00
local self = M
self.class = "GroupMngPartnerStatView"
self.group_id = gid
2025-06-30 11:20:34 +08:00
self._data_choosePlayyer = player
2025-05-24 14:29:14 +08:00
self:InitView()
return self
end
function M:initData()
self.lst_record.numItems = 0
self.record_data = {}
2025-06-30 11:20:34 +08:00
self.ctr_search = self._view:GetController('search')
2025-05-24 14:29:14 +08:00
2025-06-30 11:20:34 +08:00
local now_time = os.date("*t", now)
local today = os.time({ year = now_time.year, month = now_time.month, day = now_time.day, hour = 0, min = 0, sec = 0 })
2025-05-24 14:29:14 +08:00
self.begin_time = today
self.end_time = today + 86400
2025-07-07 15:47:37 +08:00
-- print("lingmeng initData")
2025-05-24 14:29:14 +08:00
self:GetRecordData(0)
--self:ShowPeopleNum()
end
-- function M:ShowPeopleNum()
-- local fgCtr = ControllerManager.GetController(NewGroupController)
-- fgCtr:FG_GetMembersCount(self.group_id,function(res)
-- ViewUtil.CloseModalWait()
2025-06-30 11:20:34 +08:00
2025-05-24 14:29:14 +08:00
-- if res.ReturnCode == 0 then
-- self._view:GetChild('tex_memb_num').text = res.Data.member_num
-- self._view:GetChild('tex_total_hp').text = d2ad(res.Data.hp_num1+res.Data.otherHp)
-- end
-- end)
-- end
function M:InitView()
self._view = UIPackage.CreateObjectFromURL("ui://NewGroup/View_GroupPartnerStat")
-- if group.lev ~= 3 then
-- self._view:GetController("mng").selectedIndex = 1
-- end
2025-07-29 00:37:15 +08:00
local group = DataManager.groups:get(self.group_id)
2025-05-24 14:29:14 +08:00
local lst_mgr_index = self._view:GetChild("lst_mgr_index")
-- lst_mgr_index.visible = false
-- if group.lev == 1 then
-- lst_mgr_index.visible = true
-- end
self.lst_record = self._view:GetChild("lst_record")
2025-06-30 11:20:34 +08:00
self.lst_record:SetVirtual()
2025-05-24 14:29:14 +08:00
self.lst_record.itemRenderer = function(index, obj)
self:OnRenderRecordItem(index, obj)
end
2025-07-14 17:46:29 +08:00
self.lst_record.scrollPane.onPullUpRelease:Set(function()
self._data_index = self._data_index + 1
2025-07-15 21:02:51 +08:00
self:GetRecoedData(self._data_index * 33, self._data_selectedSortType)
2025-07-14 17:46:29 +08:00
end)
self.lst_record_find = self._view:GetChild("lst_member_find")
self.lst_record_find:SetVirtual()
self.lst_record_find.itemRenderer = function(index, obj)
self:OnRenderRecordItem(index, obj)
end
-- self.lst_record.scrollPane.onPullUpRelease:Set(function()
-- self:GetRecordData(self.lst_record.numItems)
-- end)
2025-06-30 11:20:34 +08:00
self.time_panel = TimeSettingPanel.new(self._view, self._view:GetChild("btn_date1"), self._view:GetChild("btn_date2"),
-308, 0, function()
self.begin_time, self.end_time = self.time_panel:GetDate()
self.record_data = {}
self.record_data.numItems = 0
self:GetRecordData(0)
2025-07-29 00:37:15 +08:00
end, { showDay = group.lev < 3 and 30 or 7 })
2025-05-24 14:29:14 +08:00
local ctr_page = self._view:GetController("type")
ctr_page.onChanged:Set(function()
self.record_data = {}
self.lst_record.numItems = 0
if ctr_page.selectedIndex == 0 then
2025-06-30 11:20:34 +08:00
local now_time = os.date("*t", now)
local today = os.time({ year = now_time.year, month = now_time.month, day = now_time.day, hour = 0, min = 0, sec = 0 })
2025-05-24 14:29:14 +08:00
self.begin_time = today
self.end_time = today + 86400
else
2025-06-30 11:20:34 +08:00
local now_time = os.date("*t", now)
local today = os.time({ year = now_time.year, month = now_time.month, day = now_time.day, hour = 0, min = 0, sec = 0 })
2025-05-24 14:29:14 +08:00
self.begin_time = today - 86400 * ctr_page.selectedIndex
self.end_time = today - 86400 * (ctr_page.selectedIndex - 1)
end
self:GetRecordData(0)
end)
-- self._view:GetChild("btn_search").onClick:Set(function()
-- self.record_data = {}
-- self.lst_record.numItems = 0
-- self.begin_time, self.end_time = self.time_panel:GetDate()
-- self:GetRecordData(0)
-- end)
-- 搜索玩家
local ctr_search = self._view:GetController('search')
self._view:GetChild('btn_search').onClick:Set(
function()
-- printlog("aaaaaaaaaa1111111111111111111111111111111111111111111111")
2025-05-24 14:29:14 +08:00
ViewUtil.ShowModalWait(nil)
local text = self._view:GetChild('tex_id').text
local qid, qnick
if text == "" then
ViewUtil.CloseModalWait()
ViewUtil.ErrorTip(nil, '输入不能为空')
return
end
self._view:GetChild('tex_id').text = ""
2025-05-24 14:29:14 +08:00
qid = tonumber(text) or 0
local fgCtr = ControllerManager.GetController(NewGroupController)
fgCtr:FG_GetMemberStat(self.group_id, qid, DataManager.SelfUser.account_id,
2025-07-14 17:46:29 +08:00
0, 6, 3, self.begin_time, self.end_time, 1,
2025-05-24 14:29:14 +08:00
function(res)
if res.ReturnCode == 0 then
local members = res.Data.members
self.record_data_find = {}
for i = 1, #members do
if members[i].round > 0 then
members[i].pump = 0 - members[i].pump
self.record_data_find[#self.record_data_find + 1] = members[i]
end
2025-05-24 14:29:14 +08:00
end
ctr_search.selectedIndex = 1
ViewUtil.CloseModalWait()
2025-07-07 15:47:37 +08:00
-- print("lingmeng record_data_find", #self.record_data_find)
self.lst_record_find.numItems = #self.record_data_find
else
ViewUtil.CloseModalWait()
ViewUtil.ErrorTip(res.ReturnCode)
return
2025-05-24 14:29:14 +08:00
end
end)
2025-05-24 14:29:14 +08:00
end
)
2025-06-30 11:20:34 +08:00
2025-05-24 14:29:14 +08:00
local btn_back = self._view:GetChild('btn_back')
btn_back.onClick:Set(
function()
ctr_search.selectedIndex = 0
2025-07-05 23:46:13 +08:00
table.sort(self.record_data, function(a, b)
return a.round > b.round
2025-07-05 23:46:13 +08:00
end)
2025-05-24 14:29:14 +08:00
self.lst_record.numItems = #self.record_data
end
)
2025-06-30 11:20:34 +08:00
self.btn_totalWin = self._view:GetChild('btn_totalWin')
self.btn_totalWin.onClick:Set(
function()
2025-07-14 17:46:29 +08:00
-- self.btn_totalRound:GetController("type").selectedIndex = 0
-- self.btn_total:GetController("type").selectedIndex = 0
-- self.btn_reward:GetController("type").selectedIndex = 0
-- local type = self.btn_totalWin:GetController("type")
-- type.selectedIndex = type.selectedIndex == 0 and 1 or 3 - type.selectedIndex
2025-06-30 11:20:34 +08:00
local type = self.btn_totalWin:GetController("type")
2025-07-14 17:46:29 +08:00
if type.selectedIndex == 0 then
self._data_selectedSortType = 1
else
self._data_selectedSortType = 3 - self._data_selectedSortType
2025-06-30 11:20:34 +08:00
end
2025-07-14 17:46:29 +08:00
-- if type.selectedIndex == 1 then
-- table.sort(self.record_data, function(a, b)
-- return a.score > b.score
-- end)
-- elseif type.selectedIndex == 2 then
-- table.sort(self.record_data, function(a, b)
-- return a.score < b.score
-- end)
-- end
-- self.lst_record:RefreshVirtualList()
self:GetRecoedData(0, self._data_selectedSortType)
2025-06-30 11:20:34 +08:00
end
)
2025-05-24 14:29:14 +08:00
2025-06-30 11:20:34 +08:00
self.btn_totalRound = self._view:GetChild('btn_totalRound')
self.btn_totalRound.onClick:Set(
function()
2025-07-14 17:46:29 +08:00
-- self.btn_totalWin:GetController("type").selectedIndex = 0
-- self.btn_total:GetController("type").selectedIndex = 0
-- self.btn_reward:GetController("type").selectedIndex = 0
-- local type = self.btn_totalRound:GetController("type")
-- type.selectedIndex = type.selectedIndex == 0 and 1 or 3 - type.selectedIndex
2025-06-30 11:20:34 +08:00
local type = self.btn_totalRound:GetController("type")
2025-07-14 17:46:29 +08:00
if type.selectedIndex == 0 then
self._data_selectedSortType = 3
else
self._data_selectedSortType = 7 - self._data_selectedSortType
2025-06-30 11:20:34 +08:00
end
2025-07-14 17:46:29 +08:00
-- if type.selectedIndex == 1 then
-- table.sort(self.record_data, function(a, b)
-- return a.round > b.round
-- end)
-- elseif type.selectedIndex == 2 then
-- table.sort(self.record_data, function(a, b)
-- return a.round < b.round
-- end)
-- end
-- self.lst_record:RefreshVirtualList()
self:GetRecoedData(0, self._data_selectedSortType)
2025-06-30 11:20:34 +08:00
end
)
2025-05-24 14:29:14 +08:00
2025-06-30 11:20:34 +08:00
self.btn_total = self._view:GetChild('btn_total')
self.btn_total.onClick:Set(
function()
2025-07-14 17:46:29 +08:00
-- self.btn_totalWin:GetController("type").selectedIndex = 0
-- self.btn_totalRound:GetController("type").selectedIndex = 0
-- self.btn_reward:GetController("type").selectedIndex = 0
-- local type = self.btn_total:GetController("type")
-- type.selectedIndex = type.selectedIndex == 0 and 1 or 3 - type.selectedIndex
2025-06-30 11:20:34 +08:00
local type = self.btn_total:GetController("type")
2025-07-14 17:46:29 +08:00
if type.selectedIndex == 0 then
self._data_selectedSortType = 5
else
self._data_selectedSortType = 11 - self._data_selectedSortType
2025-06-30 11:20:34 +08:00
end
2025-07-14 17:46:29 +08:00
-- if type.selectedIndex == 1 then
-- table.sort(self.record_data, function(a, b)
-- return a.win > b.win
-- end)
-- elseif type.selectedIndex == 2 then
-- table.sort(self.record_data, function(a, b)
-- return a.win < b.win
-- end)
-- end
-- self.lst_record:RefreshVirtualList()
self:GetRecoedData(0, self._data_selectedSortType)
2025-06-30 11:20:34 +08:00
end
)
2025-05-24 14:29:14 +08:00
2025-06-30 11:20:34 +08:00
self.btn_reward = self._view:GetChild('btn_reward')
self.btn_reward.onClick:Set(
function()
2025-07-14 17:46:29 +08:00
-- self.btn_totalWin:GetController("type").selectedIndex = 0
-- self.btn_totalRound:GetController("type").selectedIndex = 0
-- self.btn_total:GetController("type").selectedIndex = 0
2025-06-30 11:20:34 +08:00
local type = self.btn_reward:GetController("type")
2025-07-14 17:46:29 +08:00
if type.selectedIndex == 0 then
self._data_selectedSortType = 7
else
self._data_selectedSortType = 15 - self._data_selectedSortType
2025-06-30 11:20:34 +08:00
end
2025-07-14 17:46:29 +08:00
-- if type.selectedIndex == 1 then
-- table.sort(self.record_data, function(a, b)
-- return a.pump > b.pump
-- end)
-- elseif type.selectedIndex == 2 then
-- table.sort(self.record_data, function(a, b)
-- return a.pump < b.pump
-- end)
-- end
-- self.lst_record:RefreshVirtualList()
self:GetRecoedData(0, self._data_selectedSortType)
2025-06-30 11:20:34 +08:00
end
)
end
2025-05-24 14:29:14 +08:00
2025-06-30 11:20:34 +08:00
function M:GetRecordData(index)
local group = DataManager.groups:get(self.group_id)
2025-07-05 23:46:13 +08:00
-- pt("lingmeng GetRecordData", self.group_id, self._data_choosePlayyer, group.lev)
2025-06-30 11:20:34 +08:00
-- if group.lev == 1 and self._data_choosePlayyer.uid == DataManager.SelfUser.account_id then
-- self:RecursionGetRankData(0)
-- else
2025-07-14 17:46:29 +08:00
self:GetRecoedData(0, 5)
2025-06-30 11:20:34 +08:00
-- end
end
function M:RefrenRecordData(data)
self._data_choosePlayyer = data
local group = DataManager.groups:get(self.group_id)
2025-07-05 23:46:13 +08:00
-- pt("lingmeng GetRecordData2", self.group_id, self._data_choosePlayyer, group.lev)
2025-07-14 17:46:29 +08:00
self:GetRecoedData(0, 5)
2025-06-30 11:20:34 +08:00
end
2025-05-24 14:29:14 +08:00
2025-06-30 11:20:34 +08:00
function M:RecursionGetRecoedData(index)
ViewUtil.ShowModalWait("正在获取数据中")
local fgCtr = ControllerManager.GetController(NewGroupController)
fgCtr:FG_GetMemberStat(self.group_id, 0, self._data_choosePlayyer.uid,
2025-07-14 17:46:29 +08:00
index * 67, 67, 3, self.begin_time, self.end_time, 5,
2025-07-06 00:53:24 +08:00
function(res)
2025-06-30 11:20:34 +08:00
if res.ReturnCode == 0 then
local members = res.Data.members
if members and #members > 0 then
for i = 1, #members do
if members[i].round > 0 then
members[i].pump = 0 - members[i].pump
self.record_data[#self.record_data + 1] = members[i]
end
2025-06-30 11:20:34 +08:00
end
self:RecursionGetRecoedData(index + 1)
else
ViewUtil.CloseModalWait()
2025-07-06 00:53:24 +08:00
self.btn_totalRound:GetController("type").selectedIndex = 1
self.btn_totalWin:GetController("type").selectedIndex = 0
self.btn_total:GetController("type").selectedIndex = 0
self.btn_reward:GetController("type").selectedIndex = 0
2025-07-14 17:46:29 +08:00
-- table.sort(self.record_data, function(a, b)
-- return a.round > b.round
-- end)
self.lst_record.numItems = #self.record_data
end
else
ViewUtil.CloseModalWait()
ViewUtil.ErrorTip(res.ReturnCode)
return
end
end)
end
function M:GetRecoedData(index, type)
2025-07-15 21:02:51 +08:00
if index == 0 then
self._data_index = 0
self.record_data = {}
self.lst_record.numItems = 0
end
2025-07-14 17:46:29 +08:00
ViewUtil.ShowModalWait("正在获取数据中")
local fgCtr = ControllerManager.GetController(NewGroupController)
fgCtr:FG_GetMemberStat(self.group_id, 0, self._data_choosePlayyer.uid,
2025-07-15 21:02:51 +08:00
index, 33, 3, self.begin_time, self.end_time, type,
2025-07-14 17:46:29 +08:00
function(res)
if res.ReturnCode == 0 then
local members = res.Data.members
ViewUtil.CloseModalWait()
if members and #members > 0 then
for i = 1, #members do
if members[i].round > 0 then
members[i].pump = 0 - members[i].pump
self.record_data[#self.record_data + 1] = members[i]
end
end
self.btn_totalRound:GetController("type").selectedIndex = 0
self.btn_totalWin:GetController("type").selectedIndex = 0
self.btn_total:GetController("type").selectedIndex = 0
self.btn_reward:GetController("type").selectedIndex = 0
self._data_selectedSortType = 0
if type / 2 <= 1 then
if type <= 0 then
ViewUtil.ErrorTip(nil, "排序种类出错")
return
end
self.btn_totalWin:GetController("type").selectedIndex = 2 - type % 2
elseif type / 2 <= 2 then
self.btn_totalRound:GetController("type").selectedIndex = 2 - type % 2
elseif type / 2 <= 3 then
self.btn_total:GetController("type").selectedIndex = 2 - type % 2
elseif type / 2 <= 4 then
self.btn_reward:GetController("type").selectedIndex = 2 - type % 2
else
ViewUtil.ErrorTip(nil, "排序种类出错")
return
end
self._data_selectedSortType = type
2025-06-30 11:20:34 +08:00
self.lst_record.numItems = #self.record_data
2025-07-14 17:46:29 +08:00
else
self._data_index = self._data_index - 1
2025-06-30 11:20:34 +08:00
end
else
ViewUtil.CloseModalWait()
ViewUtil.ErrorTip(res.ReturnCode)
return
end
end)
end
2025-05-24 14:29:14 +08:00
2025-06-30 11:20:34 +08:00
function M:RecursionGetRankData(index)
ViewUtil.ShowModalWait()
local fgCtr = ControllerManager.GetController(NewGroupController)
fgCtr:FG_GetMemberRank(self.group_id, 0, index * 67, 67, self.begin_time, self.end_time, 0, function(res)
2025-05-24 14:29:14 +08:00
if res.ReturnCode == 0 then
2025-06-30 11:20:34 +08:00
local ranks = res.Data.ranks
if ranks and #ranks > 0 then
for i = 1, #ranks do
-- ranks[i].pump = 0 - ranks[i].pump
2025-06-30 11:20:34 +08:00
self.record_data[#self.record_data + 1] = ranks[i]
end
self:RecursionGetRankData(index + 1)
else
ViewUtil.CloseModalWait()
2025-07-05 23:46:13 +08:00
table.sort(self.record_data, function(a, b)
return a.round > b.round
2025-07-05 23:46:13 +08:00
end)
2025-06-30 11:20:34 +08:00
self.lst_record.numItems = #self.record_data
2025-05-24 14:29:14 +08:00
end
2025-06-30 11:20:34 +08:00
else
ViewUtil.CloseModalWait()
ViewUtil.ErrorTip(res.ReturnCode)
return
2025-05-24 14:29:14 +08:00
end
end)
end
-- 显示奖励
local function __showRewardsValue(rtype, cur_value, max_value, mng)
local str = ""
if not mng then
str = string.format("%s%%/%s%%", cur_value, max_value)
else
str = string.format("%s%%", cur_value)
end
return str
end
function M:FillRecordItem(data, obj)
2025-06-30 11:20:34 +08:00
local group = DataManager.groups:get(self.group_id)
2025-05-24 14:29:14 +08:00
2025-06-30 11:20:34 +08:00
obj:GetChild("tex_name").text = ViewUtil.stringEllipsis(data.nick) .. "(" .. data.total .. ")"
obj:GetChild("tex_id").text = "ID:" .. data.uid
2025-05-24 14:29:14 +08:00
2025-06-30 11:20:34 +08:00
local tex_total_score = obj:GetChild("tex_total_score")
local ctr_show_total = obj:GetController("show_total")
if data._total_hp then
2025-05-24 14:29:14 +08:00
tex_total_score.text = data._total_hp
2025-06-30 11:20:34 +08:00
ctr_show_total.selectedIndex = 1
else
ctr_show_total.selectedIndex = 0
2025-05-24 14:29:14 +08:00
end
2025-06-30 11:20:34 +08:00
obj:GetChild("tex_round_valid").text = d2ad(data.pump + data.score) --d2ad(data.pump) --data.valid_round / 100
obj:GetChild("tex_round_total").text = data.round
obj:GetChild("tex_total").text = d2ad(data.score)
2025-05-24 14:29:14 +08:00
obj:GetChild("tex_round_youxiao").text = data.valid_round / 100
local btn_check_members = obj:GetChild("btn_check_members")
btn_check_members.onClick:Set(function()
ViewUtil.ShowModalWait(self._root_view)
local fgCtr = ControllerManager.GetController(NewGroupController)
fgCtr:FG_GetTotalHp(self.group_id, data.uid, function(res)
ViewUtil.CloseModalWait()
if res.ReturnCode == 0 then
2025-06-30 11:20:34 +08:00
local hp = d2ad(res.Data.hp)
tex_total_score.text = hp
data._total_hp = hp
data.total = res.Data.total_member - 1
obj:GetChild("tex_name").text = data.nick .. "(" .. data.total .. ")"
ctr_show_total.selectedIndex = 1
2025-05-24 14:29:14 +08:00
end
end)
end)
local btn_award = obj:GetChild("btn_award")
btn_award.text = d2ad(data.pump) --d2ad(data.pump+data.score)
2025-05-24 14:29:14 +08:00
btn_award.onClick:Set(function()
local time_type = self._view:GetController("type").selectedIndex
2025-06-30 11:20:34 +08:00
local gniv = GroupPartnerStatPlay.new(self.group_id, data.uid, data.partnerLev, DataManager.SelfUser.account_id,
time_type, self.begin_time, self.end_time)
gniv:Show()
2025-05-24 14:29:14 +08:00
end)
local btn_detail = obj:GetChild("btn_detail")
btn_detail.onClick:Set(function()
local time_type = self._view:GetController("type").selectedIndex
--printlog("ccccccccccwwwwwwwwwwwwwwwwwwwwwwwwwwww ",self.begin_time," ",self.end_time)
2025-06-30 11:20:34 +08:00
local gniv = GroupPartnerStatMember.new(self.group_id, data.uid, 0, self.begin_time, self.end_time)
gniv:Show()
2025-05-24 14:29:14 +08:00
end)
local btnMen = obj:GetChild("btnMen")
2025-06-30 11:20:34 +08:00
-- btnMen.text = d2ad(data.autoscore)
2025-05-24 14:29:14 +08:00
local menControl = obj:GetController("menkan")
2025-06-30 11:20:34 +08:00
if group.lev == 1 or (group.lev == 3 and group.partnerLev > 0) then
2025-05-24 14:29:14 +08:00
if (DataManager.SelfUser.account_id ~= data.uid) then
menControl.selectedIndex = 1
btnMen.text = d2ad(data.autoscore)
btnMen.touchable = true
else
btnMen.text = d2ad(data.autoscore)
menControl.selectedIndex = 1
btnMen.touchable = false
end
2025-06-30 11:20:34 +08:00
else
2025-05-24 14:29:14 +08:00
menControl.selectedIndex = 0
end
2025-06-30 11:20:34 +08:00
2025-05-24 14:29:14 +08:00
btnMen.onClick:Set(function()
2025-06-30 11:20:34 +08:00
local gfiv = GroupNumberInputView.new(self._root_view, function(num)
local fgCtr = ControllerManager.GetController(NewGroupController)
fgCtr:FG_SetPartnerThreshold(self.group_id, data.uid, num, function(res)
2025-05-24 14:29:14 +08:00
ViewUtil.CloseModalWait()
2025-06-30 11:20:34 +08:00
if res.ReturnCode ~= 0 then
ViewUtil.ErrorTip(res.ReturnCode, "设置失败")
2025-05-24 14:29:14 +08:00
else
ViewUtil.ShowBannerOnScreenCenter("设置成功")
2025-06-30 11:20:34 +08:00
btnMen.text = num
data.autoscore = ad2d(num)
2025-05-24 14:29:14 +08:00
end
end)
end, 0)
gfiv:Show()
end)
end
2025-06-30 11:20:34 +08:00
function M:FillRecordItem2(data, obj)
obj:GetChild('tex_name').text = data.nick
obj:GetChild('tex_id').text = data.uid
obj:GetChild('tex_total').text = d2ad(data.score)
obj:GetChild('tex_round_total').text = data.round
obj:GetChild('tex_win').text = data.win or 0
obj:GetChild('tex_reward').text = d2ad(data.pump)
2025-06-30 11:20:34 +08:00
end
2025-05-24 14:29:14 +08:00
function M:OnRenderRecordItem(index, obj)
local dataList = self.record_data
if self._view:GetController('search').selectedIndex == 1 then
dataList = self.record_data_find
end
2025-07-07 15:47:37 +08:00
-- print("lingmeng dataList", #dataList)
local data = dataList[index + 1]
2025-06-30 11:20:34 +08:00
self:FillRecordItem2(data, obj)
2025-05-24 14:29:14 +08:00
end
2025-06-30 11:20:34 +08:00
return M