| | |
| | | :subtask="subtask" |
| | | :topTask="topTask" |
| | | ref="compProblemAddOrUpdRef" |
| | | @cancel="onProCanceled" |
| | | @submit="onProSubmited" |
| | | /> |
| | | <!-- 整改 --> |
| | |
| | | :subtask="subtask" |
| | | :month="month" |
| | | :oldChangeFileList="problem.mediafileList" |
| | | @cancel="onChangeCanceled" |
| | | @submit="onChangeSubmited" |
| | | /> |
| | | <!-- 问题复现 --> |
| | |
| | | import CompProRecent from './CompProRecent.vue'; |
| | | import { useCloned } from '@vueuse/core'; |
| | | export default { |
| | | emits: ['submmit'], |
| | | emits: ['check', 'submit', 'cancel'], |
| | | components: { |
| | | CompProblemAddOrUpd, |
| | | ComChangeEdit, |
| | |
| | | default: 1 |
| | | } |
| | | }, |
| | | emits: ['submit', 'updated'], |
| | | data() { |
| | | return { |
| | | changeDialogVisible: false, |
| | |
| | | } |
| | | }, |
| | | methods: { |
| | | onProCanceled() { |
| | | this.proAddOrUpdDialogVisible = false; |
| | | }, |
| | | onProSubmited(isOk) { |
| | | this.$emit('submit', isOk); |
| | | this.proAddOrUpdDialogVisible = false; |
| | | }, |
| | | onChangeCanceled() { |
| | | this.changeDialogVisible = false; |
| | | }, |
| | | onChangeSubmited(isOk) { |
| | | this.$emit('submit', isOk); |
| | |
| | | .checkProblem({ pId: pro.guid, action: action }) |
| | | .then((res) => { |
| | | if (res.success) { |
| | | this.$emit('submit', false); |
| | | pro.extension3 = status |
| | | this.$emit('check'); |
| | | } |
| | | }); |
| | | } |
| | |
| | | .checkProblem({ pId: pro.guid, action: action }) |
| | | .then((res) => { |
| | | if (res.success) { |
| | | this.$emit('submit', false); |
| | | pro.extension3 = status |
| | | this.$emit('check'); |
| | | } |
| | | }); |
| | | } |