upgrade
This commit is contained in:
@@ -91,6 +91,15 @@ DBCust.onGetFilter = function(data)
|
||||
]]
|
||||
end
|
||||
|
||||
DBCust.getTaskName = function(taskId)
|
||||
local list = DBCust.getFilter(DBCust.FilterGroup.taskList)
|
||||
for i, v in ipairs(list) do
|
||||
if tostring(v.value) == tostring(taskId) then
|
||||
return v.name
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
DBCust.getFieldsByTask = function(taskValue)
|
||||
if not taskValue then
|
||||
return {}
|
||||
|
||||
Reference in New Issue
Block a user