|
|
|
@ -58,7 +58,7 @@ export default {
|
|
|
|
|
},
|
|
|
|
|
data() {
|
|
|
|
|
return {
|
|
|
|
|
currentStep: 0,
|
|
|
|
|
currentStep: -1,
|
|
|
|
|
modal_loading: false,
|
|
|
|
|
showUse: false
|
|
|
|
|
};
|
|
|
|
@ -75,6 +75,8 @@ export default {
|
|
|
|
|
watch: {
|
|
|
|
|
show() {
|
|
|
|
|
this.showUse = this.show;
|
|
|
|
|
this.currentStep = 0;
|
|
|
|
|
console.log(344, store.getters.useData);
|
|
|
|
|
},
|
|
|
|
|
schedule() {
|
|
|
|
|
store.getters.useData.scheduleId = this.schedule.id;
|
|
|
|
@ -84,7 +86,9 @@ export default {
|
|
|
|
|
methods: {
|
|
|
|
|
cancel() {
|
|
|
|
|
this.currentStep = 0;
|
|
|
|
|
store.commit("RSET_useData");
|
|
|
|
|
if (!this.isModify) {
|
|
|
|
|
store.commit("RSET_useData");
|
|
|
|
|
}
|
|
|
|
|
this.$emit("doShow", false);
|
|
|
|
|
this.modal_loading = false;
|
|
|
|
|
this.showUse = false;
|
|
|
|
|