From 94ada33570ee530dea1d7567671bbb804a75458e Mon Sep 17 00:00:00 2001 From: riku <risaku@163.com> Date: 星期三, 13 十一月 2024 09:02:47 +0800 Subject: [PATCH] 1. 修复任务管理中,场景分类数量统计错误问题 --- src/views/fysp/check/ProCheck.vue | 12 +++++------- 1 files changed, 5 insertions(+), 7 deletions(-) diff --git a/src/views/fysp/check/ProCheck.vue b/src/views/fysp/check/ProCheck.vue index 0554694..d5e6803 100644 --- a/src/views/fysp/check/ProCheck.vue +++ b/src/views/fysp/check/ProCheck.vue @@ -63,11 +63,11 @@ </ArbitraryPhoto> </el-dialog> <el-drawer - :direction="rtl" + direction="ltr" v-model="deviceShowDialog" :before-close="beforeDeviceShowDialogclose" title="璁炬柦璁惧" - size="65%" + size="45%" > <CompDeviceShowTest v-if="deviceShowDialog" ref="deviceShowRef"> </CompDeviceShowTest> </el-drawer> @@ -311,12 +311,10 @@ }); }, // 闂鍗$墖缁勪欢涓诲姩鍙戣捣鍒锋柊鐖剁粍浠舵暟鎹� - updateSubtask(isOk) { + updateSubtask() { + this.curSubtask.data.proCheckedNum++; this.curSubtask.type = this.getSubtaskType(this.curSubtask.data); - if (!isOk) { - return; - } this.refreshCurrSubtask(); }, onProSubmited(isOk) { @@ -324,7 +322,7 @@ if (!isOk) { return; } - this.updateSubtask(isOk); + this.updateSubtask(); }, newProSubmit(isOk) { this.proAddOrUpdDialogVisible = false; -- Gitblit v1.9.3