diff --git a/src/views/pages/autoexec/components/script/script-list.vue b/src/views/pages/autoexec/components/script/script-list.vue index 3abb269c0220324410b3767486dc16cb26fa737d..05ad1c424164098c67ee0239d3912ab1cd9daa37 100644 --- a/src/views/pages/autoexec/components/script/script-list.vue +++ b/src/views/pages/autoexec/components/script/script-list.vue @@ -464,10 +464,10 @@ export default { }, validPhaseOperationUuidList: { handler(val) { - if(!this.$utils.isEmpty(val)) { + if (!this.$utils.isEmpty(val)) { val.forEach(item => { mutationsScript.setCombopPhaseShowMap(item, true); - }) + }); } }, deep: true diff --git a/src/views/pages/autoexec/detail/action-detail.vue b/src/views/pages/autoexec/detail/action-detail.vue index bb6c68214cee9cc8af2d72bc85f9e8ceeb8a6403..f4ab4d1ab34b8e69db04d43fc01d9fdae996563b 100644 --- a/src/views/pages/autoexec/detail/action-detail.vue +++ b/src/views/pages/autoexec/detail/action-detail.vue @@ -733,7 +733,7 @@ export default { this.currentStep = null; let data = this.getData(); this.$set(data, 'status', 'draft'); - this.loading =true; + this.loading = true; await this.$api.autoexec.action .saveActionVersion(data) .then(res => { @@ -1058,12 +1058,12 @@ export default { let stepItem = this.stepList.find(c => c.uuid == this.currentStep); stepItem && (groupUuid = stepItem.groupUuid); groupUuid && (this.currentGroupConfig = this.combopGroupList.find(g => g.uuid == groupUuid)); - if(!this.$utils.isEmpty(config.config.operationUuid)) { + if (!this.$utils.isEmpty(config.config.operationUuid)) { this.validPhaseOperationUuidList = config.config.operationUuid; } this.$nextTick(() => { this.$refs.stepConfig && this.$refs.stepConfig.valid(config.config); - if(!this.$utils.isEmpty(config.config.id)) { + if (!this.$utils.isEmpty(config.config.id)) { this.$nextTick(() => { this.$utils.jumpTo(config.config.id); }); @@ -1409,7 +1409,6 @@ export default { stepName: step.name, validComponent: 'operation', stepUuid: step.uuid, - operationUuid: p.uuid, operationUuid: validUuidList, id: '#id_' + step.uuid + '_' + p.uuid } diff --git a/src/views/pages/autoexec/detail/actionDetail/step/step-config.vue b/src/views/pages/autoexec/detail/actionDetail/step/step-config.vue index 00779a7404c49b8051552395b4d106376b06b188..87878ca5100f58131724d937f4cd2c2ff83a1253 100644 --- a/src/views/pages/autoexec/detail/actionDetail/step/step-config.vue +++ b/src/views/pages/autoexec/detail/actionDetail/step/step-config.vue @@ -225,7 +225,7 @@ export default { this.$el && (this.height = this.$el.getBoundingClientRect().top); }, valid(config) { - if (this.$refs.list) { + if (this.$refs.list) { this.$refs.list.valid(config); } },