TimeTrex/interface/html5/dist/attendance-job-JobGroupViewController.bundle.js

1 line
4.3 KiB
JavaScript

"use strict";(self.webpackChunktimetrex=self.webpackChunktimetrex||[]).push([["attendance-job-JobGroupViewController"],{6470:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"JobGroupViewController\": () => (/* binding */ JobGroupViewController)\n/* harmony export */ });\n/* provided dependency */ var _ = __webpack_require__(9050);\n/* provided dependency */ var $ = __webpack_require__(9755);\nclass JobGroupViewController extends BaseTreeViewController {\n\tconstructor( options = {} ) {\n\t\t_.defaults( options, {\n\t\t\tel: '#job_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 = 'JobGroupEditView.html';\n\t\tthis.permission_id = 'job';\n\t\tthis.viewId = 'JobGroup';\n\t\tthis.script_name = 'JobGroupView';\n\t\tthis.table_name_key = 'job_group';\n\t\tthis.context_menu_name = $.i18n._( 'Job Groups' );\n\t\tthis.grid_table_name = $.i18n._( 'Job Group' );\n\t\tthis.navigation_label = $.i18n._( 'Job Group' );\n\n\t\tthis.tree_mode = true;\n\t\tthis.primary_tab_label = $.i18n._( 'Job Group' );\n\t\tthis.primary_tab_key = 'tab_job_group';\n\n\t\tthis.api = TTAPI.APIJobGroup;\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\t\t],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