mirror of
https://gitlink.org.cn/Gitlink/forgeplus.git
synced 2026-05-02 19:30:48 +08:00
update pm project statistics
This commit is contained in:
@@ -46,9 +46,9 @@ class Api::Pm::ProjectsController < Api::Pm::BaseController
|
|||||||
}
|
}
|
||||||
end
|
end
|
||||||
open_data = {
|
open_data = {
|
||||||
"1": type_status_data[1][1] + type_status_data[1][2],
|
"1": type_status_data[1][1].to_i + type_status_data[1][2].to_i,
|
||||||
"2": type_status_data[2][1] + type_status_data[2][2],
|
"2": type_status_data[2][1].to_i + type_status_data[2][2].to_i,
|
||||||
"3": type_status_data[3][1] + type_status_data[3][2],
|
"3": type_status_data[3][1].to_i + type_status_data[3][2].to_i,
|
||||||
}
|
}
|
||||||
data = {
|
data = {
|
||||||
pie_chart: type_count_data,
|
pie_chart: type_count_data,
|
||||||
|
|||||||
Reference in New Issue
Block a user