From 9b2b08c3b44de3d2f76069936dfe5ba0e0ece0aa Mon Sep 17 00:00:00 2001 From: riku <risaku@163.com> Date: 星期四, 21 十一月 2024 13:08:01 +0800 Subject: [PATCH] 1. 修改审核后左侧列表状态和顶部统计数据的 --- src/views/fysp/check/components/CompProblemCard.vue | 8 +++++--- 1 files changed, 5 insertions(+), 3 deletions(-) diff --git a/src/views/fysp/check/components/CompProblemCard.vue b/src/views/fysp/check/components/CompProblemCard.vue index d97b17b..224c591 100644 --- a/src/views/fysp/check/components/CompProblemCard.vue +++ b/src/views/fysp/check/components/CompProblemCard.vue @@ -175,7 +175,7 @@ import CompProRecent from './CompProRecent.vue'; import { useCloned } from '@vueuse/core'; export default { - emits: ['submmit', 'cancel'], + emits: ['check', 'submit', 'cancel'], components: { CompProblemAddOrUpd, ComChangeEdit, @@ -340,7 +340,8 @@ .checkProblem({ pId: pro.guid, action: action }) .then((res) => { if (res.success) { - this.$emit('submit', false); + pro.extension3 = status + this.$emit('check'); } }); } @@ -361,7 +362,8 @@ .checkProblem({ pId: pro.guid, action: action }) .then((res) => { if (res.success) { - this.$emit('submit', false); + pro.extension3 = status + this.$emit('check'); } }); } -- Gitblit v1.9.3