From 9e8d1bd0b6fb495920921214775b84d490e032a3 Mon Sep 17 00:00:00 2001 From: fuliqi <fuliqi@qq.com> Date: 星期五, 06 九月 2024 16:43:53 +0800 Subject: [PATCH] Merge remote-tracking branch 'origin/master' --- src/views/system/check/result/detail/detail.vue | 12 +++++++++--- 1 files changed, 9 insertions(+), 3 deletions(-) diff --git a/src/views/system/check/result/detail/detail.vue b/src/views/system/check/result/detail/detail.vue index 67b6417..f5b8242 100644 --- a/src/views/system/check/result/detail/detail.vue +++ b/src/views/system/check/result/detail/detail.vue @@ -37,6 +37,7 @@ type="text" icon="el-icon-edit" @click="handleRuleUpdate(item)" + v-hasPermi="['check:template:edit']" >淇敼 </el-button> </div> @@ -88,6 +89,7 @@ icon="el-icon-download" size="mini" @click="handleExport" + v-hasPermi="['check:result:detail:export']" >瀵煎嚭 </el-button> </el-col> @@ -182,7 +184,7 @@ width="180px" > <template slot-scope="scope"> - <span>{{ scope.row[item.ruleIndex] }}</span> + <span>{{ (scope.row[item.ruleIndex] * 100).toFixed(2) + '%'}}</span> </template> </el-table-column> </template> @@ -344,7 +346,8 @@ id: null, date: null, quarter: null, - examineTag: null + examineTag: null, + deptId: null }, // 琛ㄥ崟鏍¢獙 rules: {}, @@ -362,6 +365,9 @@ //鑰冩牳鎴愮哗璇︽儏璺宠浆鍙傛暟鎺ユ敹 if (this.$route.query.id) { this.queryParams.id = this.$route.query.id; + } + if(this.$route.query.deptId){ + this.queryParams.deptId = this.$route.query.deptId; } let examineTag = this.$route.query.examineTag; this.activeIndex = examineTag; @@ -496,7 +502,7 @@ /** 瀵煎嚭鎸夐挳鎿嶄綔 */ handleExport() { this.download( - "/check/score/export", + "/check/score/detailExport", { ...this.queryParams, }, -- Gitblit v1.8.0