From c4bcc6e78ecaec6e9ea68802be7c1d3a7b063512 Mon Sep 17 00:00:00 2001
From: riku <risaku@163.com>
Date: 星期四, 21 十一月 2024 13:08:07 +0800
Subject: [PATCH] Merge remote-tracking branch 'supervisionVue/hc-dataproduct-v1112' into lsf-dataproduct-1024

---
 src/views/fysp/check/components/CompProblemCard.vue |    9 +++++----
 1 files changed, 5 insertions(+), 4 deletions(-)

diff --git a/src/views/fysp/check/components/CompProblemCard.vue b/src/views/fysp/check/components/CompProblemCard.vue
index d97b17b..35697a3 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,
@@ -291,7 +291,6 @@
       this.proAddOrUpdDialogVisible = false;
     },
     onChangeCanceled() {
-      this.changeDialogVisible = false;
     },
     onChangeSubmited(isOk) {
       this.$emit('submit', isOk);
@@ -340,7 +339,8 @@
             .checkProblem({ pId: pro.guid, action: action })
             .then((res) => {
               if (res.success) {
-                this.$emit('submit', false);
+                pro.extension3 = status
+                this.$emit('check');
               }
             });
         }
@@ -361,7 +361,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