From 0c7d2e6f5d16f85166888159ee7810de5c9e97a0 Mon Sep 17 00:00:00 2001 From: fuliqi <fuliqi@qq.com> Date: 星期三, 06 十一月 2024 10:05:56 +0800 Subject: [PATCH] 查询统一 --- src/views/system/check/result/detail/index.vue | 15 ++++++++------- 1 files changed, 8 insertions(+), 7 deletions(-) diff --git a/src/views/system/check/result/detail/index.vue b/src/views/system/check/result/detail/index.vue index e078471..895d76d 100644 --- a/src/views/system/check/result/detail/index.vue +++ b/src/views/system/check/result/detail/index.vue @@ -72,7 +72,7 @@ size="mini" type="text" icon="el-icon-view" - @click="handleDetail(scope.row.id)" + @click="handleDetail(scope.row)" >璇︾粏 </el-button> </div> @@ -155,11 +155,11 @@ this.date = year + '-' + month; this.queryParams.date = this.date; let examineTag = this.$route.query.examineTag; - if (examineTag === '2') { - examineTag = '0' - } - if (examineTag === '3') { + if (examineTag === '2' || examineTag === '3') { examineTag = '1' + } + if (examineTag === '4' || examineTag === '5') { + examineTag = '2' } this.queryParams.examineTag = examineTag; this.queryParamsList.examineTag = examineTag; @@ -246,12 +246,13 @@ handleCurrentChange(val) { console.log(`褰撳墠椤�: ${val}`); }, - handleDetail(id) { + handleDetail(row) { this.$router.push({ path: '/check/detail/detail', query: { - id: id, + id: row.id, examineTag: this.activeIndex, + examineCategory: row.examineCategory, deptId: this.queryParamsList.deptId } }) -- Gitblit v1.8.0