仿真里面的prdtype调整
This commit is contained in:
parent
493aab5409
commit
59f4a8d253
@ -363,7 +363,7 @@ export default {
|
||||
const resp = await getTrainingDetail(this.trainingId);
|
||||
if (resp && resp.code == 200) {
|
||||
const detail = resp.data;
|
||||
await this.$store.dispatch('training/setPrdType', detail.type);
|
||||
await this.$store.dispatch('training/setPrdType', this.prdTypeMap[detail.prdType]);
|
||||
await this.loadMapDataById(this.mapId);
|
||||
} else {
|
||||
this.$messageBox(`获取实训步骤数据失败`);
|
||||
|
@ -7,7 +7,7 @@
|
||||
|
||||
<script>
|
||||
import { getCommodityList, delCommodity, setCommodityStatus } from '@/api/management/goods';
|
||||
import { UrlConfig } from '@/router/index';
|
||||
// import { UrlConfig } from '@/router/index';
|
||||
import Edit from './edit';
|
||||
|
||||
export default {
|
||||
|
@ -7,7 +7,6 @@
|
||||
|
||||
<script>
|
||||
import { listUserPermision } from '@/api/management/author';
|
||||
import { UrlConfig } from '@/router/index';
|
||||
import { superAdmin, admin } from '@/router';
|
||||
import selectRole from './selectRole/list';
|
||||
import LangStorage from '@/utils/lang';
|
||||
@ -112,9 +111,6 @@ export default {
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
actions: [
|
||||
// { text: this.$t('permission.permissionPack'), btnCode: 'employee_insert', handler: this.handlePermissionPack } //后端逻辑调整,暂时注销该功能。
|
||||
]
|
||||
}
|
||||
};
|
||||
@ -172,9 +168,6 @@ export default {
|
||||
}
|
||||
return listUserPermision(params);
|
||||
},
|
||||
handlePermissionPack() {
|
||||
this.$router.push({ path: `${UrlConfig.trainingPlatform.draft}` });
|
||||
},
|
||||
reloadTable() {
|
||||
if (this.queryList && this.queryList.reload) {
|
||||
this.queryList.reload();
|
||||
|
Loading…
Reference in New Issue
Block a user