| | |
| | | <div class="show-wrap"> |
| | | <MyProcess v-if="activeIndex === 1" :handlePassVo="handlePassVo" :baseCase="baseCase"></MyProcess> |
| | | <MyFilePicture v-else-if="activeIndex === 2" :filesPictureVo="filesPictureVo" ></MyFilePicture> |
| | | <MySovleProblem v-else-if="activeIndex === 3" :baseCase="baseCase" :problemProVo="problemProVo"></MySovleProblem> |
| | | <MySovleProblem v-else-if="activeIndex === 3" :handlePassVo="handlePassVo" :baseCase="baseCase"></MySovleProblem> |
| | | <MyScene v-else :currentSitVo="currentSitVo" :baseCase="baseCase"></MyScene> |
| | | </div> |
| | | </div> |
| | |
| | | handlePassVo: {}, |
| | | currentSitVo: {}, |
| | | problemProVo: {}, |
| | | filesPictureVo: {} |
| | | |
| | | filesPictureVo: {}, |
| | | } |
| | | }, |
| | | created() { |
| | | const { info } = this; |
| | | const { info} = this; |
| | | this.baseCase = info.baseCase; |
| | | this.handlePassVo = info.handlePassVo; |
| | | this.currentSitVo = info.currentSitVo; |
| | |
| | | this.activeIndex = index; |
| | | }, |
| | | // 提交审核意见 |
| | | handleSubmit(mystatus) { |
| | | // this.getUserLoginInfo(); |
| | | handleSubmit(index) { |
| | | const { baseCase } = this; |
| | | this.$refs.viewForm.validate((valid) => { |
| | | if (valid) { |
| | |
| | | data: { |
| | | baseCaseId: baseCase.id, |
| | | checkOpinion: baseCase.auditOpinion, |
| | | currentUser: baseCase.createUser, |
| | | status: mystatus, |
| | | result:index === 0 ? '驳回':'通过', |
| | | } |
| | | }) |
| | | .then(res => { |
| | |
| | | if (res.code === 200) { |
| | | this.$message({ |
| | | type: 'success', |
| | | message: mystatus === 0 ? '驳回成功' : '审核通过' |
| | | message: index === 0 ? '驳回成功' : '审核通过' |
| | | }) |
| | | this.$emit('closeDialog', { flag: false }); |
| | | } |
| | |
| | | .then(res => { |
| | | console.log(res); |
| | | }) |
| | | } |
| | | }, |
| | | }, |
| | | props: ['info', 'closeDialog'] |
| | | } |