代码调整
This commit is contained in:
parent
42112659c5
commit
215fb23f20
@ -197,7 +197,7 @@ export default {
|
||||
methods: {
|
||||
updateDetails(data) {
|
||||
this.editData = data;
|
||||
this.$emit('closeAllDialog', 'editDetails');
|
||||
this.$emit('closeAllDialog', 'designIndex');
|
||||
this.getStepList(data);
|
||||
this.showList = false;
|
||||
},
|
||||
|
@ -107,6 +107,9 @@ export default {
|
||||
changeTagIndex(index) {
|
||||
this.tagIndex = index;
|
||||
},
|
||||
doClose() {
|
||||
this.dialogVisible = false;
|
||||
},
|
||||
backStepList() {
|
||||
const tipPosition = {};
|
||||
if (this.stepDetail.operations[this.tagIndex] && this.trainingType === 'SINGLE') {
|
||||
@ -115,7 +118,7 @@ export default {
|
||||
tipPosition.operateIndex = this.tagIndex;
|
||||
}
|
||||
this.$emit('backStepList', { index: this.dataIndex, stepDetail: this.stepDetail, tipPosition: tipPosition });
|
||||
this.dialogVisible = false;
|
||||
this.doClose();
|
||||
this.stepDetail = {
|
||||
id: '',
|
||||
description: '',
|
||||
|
@ -34,7 +34,7 @@ export default {
|
||||
hoverBtn: false,
|
||||
btnWidth: -600,
|
||||
materialsList: [],
|
||||
refsList: ['create', 'editCondition', 'trackList'],
|
||||
refsList: ['create', 'editCondition', 'trackList', 'editOperate', 'designIndex'],
|
||||
editData: {}
|
||||
};
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user