From 56a18ab27ad881508fa2ab494d99d8ab877f3592 Mon Sep 17 00:00:00 2001
From: xiangpei <xiangpei@timesnew.cn>
Date: 星期五, 06 九月 2024 16:39:35 +0800
Subject: [PATCH] 点位在线率调整
---
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..4d30fa8 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 + '%' }}</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