仿真里面的prdtype调整

This commit is contained in:
joylink_cuiweidong 2019-12-27 14:20:29 +08:00
parent 493aab5409
commit 59f4a8d253
3 changed files with 2 additions and 9 deletions

View File

@ -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(`获取实训步骤数据失败`);

View File

@ -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 {

View File

@ -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();