|
@@ -1009,7 +1009,7 @@ export default {
|
|
},
|
|
},
|
|
submitAutoCase() {
|
|
submitAutoCase() {
|
|
if (this.autoTaskStatus == 'waiting' || this.autoTaskStatus == 'running') {
|
|
if (this.autoTaskStatus == 'waiting' || this.autoTaskStatus == 'running') {
|
|
- let plan = JSON.stringify(localStorage.getItem('autoCurrentTaskData'))
|
|
|
|
|
|
+ let plan = JSON.parse(localStorage.getItem('autoCurrentTaskData'))
|
|
let planId = plan.id || 0;
|
|
let planId = plan.id || 0;
|
|
this.$store.dispatch('caseList/cancelPlan', planId);
|
|
this.$store.dispatch('caseList/cancelPlan', planId);
|
|
clearInterval(this.autoPlanResultInterval)
|
|
clearInterval(this.autoPlanResultInterval)
|