riku
2024-11-21 9b2b08c3b44de3d2f76069936dfe5ba0e0ece0aa
src/views/fysp/check/components/CompProblemCard.vue
@@ -139,6 +139,7 @@
    :subtask="subtask"
    :topTask="topTask"
    ref="compProblemAddOrUpdRef"
    @cancel="onProCanceled"
    @submit="onProSubmited"
  />
  <!-- 整改 -->
@@ -151,6 +152,7 @@
    :subtask="subtask"
    :month="month"
    :oldChangeFileList="problem.mediafileList"
    @cancel="onChangeCanceled"
    @submit="onChangeSubmited"
  />
  <!-- 问题复现 -->
@@ -173,7 +175,7 @@
import CompProRecent from './CompProRecent.vue';
import { useCloned } from '@vueuse/core';
export default {
  emits: ['submmit'],
  emits: ['check', 'submit', 'cancel'],
  components: {
    CompProblemAddOrUpd,
    ComChangeEdit,
@@ -210,7 +212,6 @@
      default: 1
    }
  },
  emits: ['submit', 'updated'],
  data() {
    return {
      changeDialogVisible: false,
@@ -282,9 +283,15 @@
    }
  },
  methods: {
    onProCanceled() {
      this.proAddOrUpdDialogVisible = false;
    },
    onProSubmited(isOk) {
      this.$emit('submit', isOk);
      this.proAddOrUpdDialogVisible = false;
    },
    onChangeCanceled() {
      this.changeDialogVisible = false;
    },
    onChangeSubmited(isOk) {
      this.$emit('submit', isOk);
@@ -333,7 +340,8 @@
            .checkProblem({ pId: pro.guid, action: action })
            .then((res) => {
              if (res.success) {
                this.$emit('submit', false);
                pro.extension3 = status
                this.$emit('check');
              }
            });
        }
@@ -354,7 +362,8 @@
            .checkProblem({ pId: pro.guid, action: action })
            .then((res) => {
              if (res.success) {
                this.$emit('submit', false);
                pro.extension3 = status
                this.$emit('check');
              }
            });
        }