From fafd81da4e812dd3f09659f3aa5a7bbb4f6a1330 Mon Sep 17 00:00:00 2001 From: dengbf Date: Wed, 3 Sep 2025 15:36:03 +0800 Subject: [PATCH] =?UTF-8?q?-=20[=E4=BF=AE=E5=A4=8D]=20=E6=A0=BC=E5=BC=8F?= =?UTF-8?q?=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/pages/autoexec/components/script/script-list.vue | 4 ++-- src/views/pages/autoexec/detail/action-detail.vue | 7 +++---- .../autoexec/detail/actionDetail/step/step-config.vue | 2 +- 3 files changed, 6 insertions(+), 7 deletions(-) diff --git a/src/views/pages/autoexec/components/script/script-list.vue b/src/views/pages/autoexec/components/script/script-list.vue index 3abb269c..05ad1c42 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 bb6c6821..f4ab4d1a 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 00779a74..87878ca5 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); } }, -- Gitee