This commit is contained in:
2020-08-26 19:56:45 +08:00
parent 7ff6b2ec35
commit 3ece010fc1
208 changed files with 14753 additions and 637 deletions

View File

@@ -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 {}