riku
2024-11-21 9b2b08c3b44de3d2f76069936dfe5ba0e0ece0aa
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');
              }
            });
        }