实训编制预览调整
This commit is contained in:
parent
a981965452
commit
42cb54bf72
@ -43,7 +43,7 @@
|
||||
<el-divider direction="vertical" />
|
||||
<el-button size="small" type="text" @click="resetTraining">重置</el-button>
|
||||
<el-divider direction="vertical" />
|
||||
<el-button size="small" type="text" @click="showMode = 'draftTrainingList'">返回列表</el-button>
|
||||
<el-button size="small" type="text" @click="goBackList">返回列表</el-button>
|
||||
</div>
|
||||
<div>
|
||||
<el-divider content-position="center">实训背景</el-divider>
|
||||
@ -130,6 +130,7 @@ import EditOperate from './editOperate';
|
||||
import CreateDraftTraining from './createDraftTraining';
|
||||
import GradeRules from './gradeRules';
|
||||
import TrackList from './trackList';
|
||||
import { EventBus } from '@/scripts/event-bus';
|
||||
|
||||
export default {
|
||||
name: 'DesignIndex',
|
||||
@ -217,6 +218,15 @@ export default {
|
||||
});
|
||||
},
|
||||
methods: {
|
||||
goBackList() {
|
||||
const qObj = {...this.$route.query};
|
||||
qObj.record = false;
|
||||
this.$router.replace({ query:{...qObj}});
|
||||
this.showMode = 'draftTrainingList';
|
||||
this.$nextTick(() => {
|
||||
EventBus.$emit('viewLoading', false);
|
||||
});
|
||||
},
|
||||
computedRoleDisabled(role) {
|
||||
if (!this.editData.client) {
|
||||
return false;
|
||||
|
Loading…
Reference in New Issue
Block a user