Add CalculationDumpList tab for service users in Config page
This commit is contained in:
parent
a0db2c881c
commit
726dfd63bd
1 changed files with 7 additions and 0 deletions
|
|
@ -29,6 +29,7 @@ import {mapStores} from "pinia";
|
||||||
import {useActiveUserStore} from "@/store/activeuser.js";
|
import {useActiveUserStore} from "@/store/activeuser.js";
|
||||||
import Apps from "@/components/layout/config/Apps.vue";
|
import Apps from "@/components/layout/config/Apps.vue";
|
||||||
import Users from "@/components/layout/config/Users.vue";
|
import Users from "@/components/layout/config/Users.vue";
|
||||||
|
import CalculationDumpList from "@/components/layout/dev/CalculationDumpList.vue";
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
name: "Config",
|
name: "Config",
|
||||||
|
|
@ -56,6 +57,11 @@ export default {
|
||||||
component: markRaw(ErrorLog),
|
component: markRaw(ErrorLog),
|
||||||
props: {isSelected: false},
|
props: {isSelected: false},
|
||||||
},
|
},
|
||||||
|
calculationDump: {
|
||||||
|
title: 'Calculation dump',
|
||||||
|
component: markRaw(CalculationDumpList),
|
||||||
|
props: {isSelected: false},
|
||||||
|
},
|
||||||
materialsTab: {
|
materialsTab: {
|
||||||
title: 'Materials',
|
title: 'Materials',
|
||||||
component: markRaw(Materials),
|
component: markRaw(Materials),
|
||||||
|
|
@ -90,6 +96,7 @@ export default {
|
||||||
|
|
||||||
if (this.activeUserStore.isService) {
|
if (this.activeUserStore.isService) {
|
||||||
tabs.push(this.appsTab);
|
tabs.push(this.appsTab);
|
||||||
|
tabs.push(this.calculationDump);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (this.activeUserStore.isRightManagement) {
|
if (this.activeUserStore.isRightManagement) {
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue