-
@@ -124,7 +124,6 @@ import { assignUsersPlayRoles } from '@/api/jointSimulation';
import Vue from 'vue';
import {covertMemberData} from '@/views/newMap/displayNew/utils';
import List from './list';
-import { getLocalStorage } from '@/utils/auth';
export default {
name: 'DesignIndex',
@@ -138,7 +137,6 @@ export default {
editData: {},
showList: true,
dialogWidth: '1100px',
- tabVisible: false,
dialogVisible: false,
roleList: [],
tableData: [],
@@ -196,15 +194,7 @@ export default {
this.roleList = list;
}
},
- created() {
- this.getTabShow();
- },
methods: {
- getTabShow() {
- let domConfig = getLocalStorage('domConfig') || `{}`;
- domConfig = JSON.parse(domConfig);
- this.tabVisible = domConfig.trainingDesign || false;
- },
updateDetails(data) {
this.editData = data;
this.$emit('closeAllDialog', 'editDetails');
@@ -329,7 +319,6 @@ export default {
doShow(data) {
// this.getStepList(data);
this.dialogVisible = true;
- this.tabVisible = true;
},
saveStepData() {
const list = [];