refs #5334 routes index fix
gitea/salix/pipeline/head There was a failure building this commit Details

This commit is contained in:
Carlos Satorres 2023-05-16 08:54:54 +02:00
parent 443821b5c2
commit fd4d04756a
9 changed files with 8 additions and 15 deletions

View File

@ -45,7 +45,6 @@ export default class LeftMenu {
if (acl && !this.aclService.hasAny(acl))
continue;
}
console.log(state, item);
let myItem = {
icon: item.icon,
description: item.description || state.description,

View File

@ -1,4 +1,4 @@
import ngModule from '../module';
import ngModule from '../../module';
import Section from 'salix/components/section';
class Controller extends Section {

View File

@ -1,4 +1,4 @@
import ngModule from '../module';
import ngModule from '../../module';
import ModuleCard from 'salix/components/module-card';
class Controller extends ModuleCard {

View File

@ -1,4 +1,4 @@
import ngModule from '../module';
import ngModule from '../../module';
import Descriptor from 'salix/components/descriptor';
class Controller extends Descriptor {

View File

@ -3,6 +3,6 @@ import './index/';
import './summary';
import './card';
import './descriptor';
import './create';
// import './create';
import './basic-data';
import './search-panel';
// import './search-panel';

View File

@ -1,4 +1,4 @@
import ngModule from '../module';
import ngModule from '../../module';
import ModuleMain from 'salix/components/module-main';
export default class Department extends ModuleMain {}

View File

@ -1,4 +1,4 @@
import ngModule from '../module';
import ngModule from '../../module';
import Summary from 'salix/components/summary';
class Controller extends Summary {

View File

@ -11,7 +11,7 @@ import './search-panel';
import './basic-data';
import './pbx';
import './pda';
import './department/index';
import './department';
import './calendar';
import './time-control';
import './log';

View File

@ -129,12 +129,6 @@
"component": "vn-worker-department-card",
"abstract": true,
"description": "Detail"
}, {
"url" : "/index",
"state": "worker.department.index",
"component": "vn-worker-department-index",
"description": "Department",
"acl": ["hr"]
}, {
"url" : "/summary",
"state": "worker.department.card.summary",