1 line
4.3 KiB
JavaScript
1 line
4.3 KiB
JavaScript
|
"use strict";(self.webpackChunktimetrex=self.webpackChunktimetrex||[]).push([["hr-kpi-KPIGroupViewController"],{1134:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"KPIGroupViewController\": () => (/* binding */ KPIGroupViewController)\n/* harmony export */ });\n/* provided dependency */ var _ = __webpack_require__(9050);\n/* provided dependency */ var $ = __webpack_require__(9755);\nclass KPIGroupViewController extends BaseTreeViewController {\n\tconstructor( options = {} ) {\n\t\t_.defaults( options, {\n\t\t\tel: '#kpi_group_view_container',\n\n\n\n\t\t\ttree_mode: null,\n\t\t\tgrid_table_name: null,\n\t\t\tgrid_select_id_array: null\n\t\t} );\n\n\t\tsuper( options );\n\t}\n\n\tinit( options ) {\n\t\t//this._super('initialize', options );\n\t\tthis.edit_view_tpl = 'KPIGroupEditView.html';\n\t\tthis.permission_id = 'kpi';\n\t\tthis.viewId = 'KPIGroup';\n\t\tthis.script_name = 'KPIGroupView';\n\t\tthis.table_name_key = 'kpi_group';\n\t\tthis.context_menu_name = $.i18n._( 'KPI Groups' );\n\t\tthis.grid_table_name = $.i18n._( 'KPI Groups' );\n\t\tthis.navigation_label = $.i18n._( 'KPI Group' );\n\n\t\tthis.tree_mode = true;\n\t\tthis.primary_tab_label = $.i18n._( 'KPI Group' );\n\t\tthis.primary_tab_key = 'tab_kpi_group';\n\n\t\tthis.api = TTAPI.APIKPIGroup;\n\t\tthis.grid_select_id_array = [];\n\n\t\tthis.render();\n\t\tthis.buildContextMenu();\n\t\tthis.initData();\n\t}\n\n\tgetCustomContextMenuModel() {\n\t\tvar context_menu_model = {\n\t\t\texclude: [\n\t\t\t\t'copy',\n\t\t\t\t'mass_edit',\n\t\t\t\t'delete_and_next',\n\t\t\t\t'save_and_continue',\n\t\t\t\t'save_and_next',\n\t\t\t\t'export_excel'\n\t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