From 68270bc858a465bc482820586a7ccb534b6c3565 Mon Sep 17 00:00:00 2001 From: “dzb” <2632970487@qq.com> Date: 星期一, 17 十月 2022 18:40:57 +0800 Subject: [PATCH] 新增日志管理 --- src/views/operate/management/myIndex/components/examine/index.vue | 17 +++++++---------- 1 files changed, 7 insertions(+), 10 deletions(-) diff --git a/src/views/operate/management/myIndex/components/examine/index.vue b/src/views/operate/management/myIndex/components/examine/index.vue index 6bd340d..bd96ba7 100644 --- a/src/views/operate/management/myIndex/components/examine/index.vue +++ b/src/views/operate/management/myIndex/components/examine/index.vue @@ -86,7 +86,7 @@ <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> @@ -142,12 +142,11 @@ handlePassVo: {}, currentSitVo: {}, problemProVo: {}, - filesPictureVo: {} - + filesPictureVo: {}, } }, created() { - const { info } = this; + const { info} = this; this.baseCase = info.baseCase; this.handlePassVo = info.handlePassVo; this.currentSitVo = info.currentSitVo; @@ -159,8 +158,7 @@ this.activeIndex = index; }, // 鎻愪氦瀹℃牳鎰忚 - handleSubmit(mystatus) { - // this.getUserLoginInfo(); + handleSubmit(index) { const { baseCase } = this; this.$refs.viewForm.validate((valid) => { if (valid) { @@ -170,8 +168,7 @@ data: { baseCaseId: baseCase.id, checkOpinion: baseCase.auditOpinion, - currentUser: baseCase.createUser, - status: mystatus, + result:index === 0 ? '椹冲洖':'閫氳繃', } }) .then(res => { @@ -179,7 +176,7 @@ if (res.code === 200) { this.$message({ type: 'success', - message: mystatus === 0 ? '椹冲洖鎴愬姛' : '瀹℃牳閫氳繃' + message: index === 0 ? '椹冲洖鎴愬姛' : '瀹℃牳閫氳繃' }) this.$emit('closeDialog', { flag: false }); } @@ -205,7 +202,7 @@ .then(res => { console.log(res); }) - } + }, }, props: ['info', 'closeDialog'] } -- Gitblit v1.8.0