2019-10-24 01:06:54 +08:00
|
|
|
import Controller from "@ember/controller";
|
2020-05-14 04:23:41 +08:00
|
|
|
import I18n from "I18n";
|
2019-03-29 09:59:08 +08:00
|
|
|
export const DEFAULT_PERIOD = "yearly";
|
|
|
|
|
2023-03-15 17:42:12 +08:00
|
|
|
export default class AdminSearchLogsIndexController extends Controller {
|
|
|
|
loading = false;
|
|
|
|
period = DEFAULT_PERIOD;
|
|
|
|
searchType = "all";
|
|
|
|
searchTypeOptions = [
|
|
|
|
{
|
|
|
|
id: "all",
|
|
|
|
name: I18n.t("admin.logs.search_logs.types.all_search_types"),
|
|
|
|
},
|
|
|
|
{ id: "header", name: I18n.t("admin.logs.search_logs.types.header") },
|
|
|
|
{
|
|
|
|
id: "full_page",
|
|
|
|
name: I18n.t("admin.logs.search_logs.types.full_page"),
|
|
|
|
},
|
|
|
|
];
|
|
|
|
}
|