From 0d767e8f7d230fbffe293784d2d0e819423e3e9f Mon Sep 17 00:00:00 2001
From: 马宇豪 <978517621@qq.com>
Date: 星期二, 21 三月 2023 13:13:02 +0800
Subject: [PATCH] 表格描述
---
src/main/resources/templates/tr/riskCheckPoint/ledger.html | 78 +++++++++++++++++++-------------------
1 files changed, 39 insertions(+), 39 deletions(-)
diff --git a/src/main/resources/templates/tr/riskCheckPoint/ledger.html b/src/main/resources/templates/tr/riskCheckPoint/ledger.html
index a6d31ce..ece4079 100644
--- a/src/main/resources/templates/tr/riskCheckPoint/ledger.html
+++ b/src/main/resources/templates/tr/riskCheckPoint/ledger.html
@@ -200,20 +200,55 @@
{
- field: 'evaluationAfterFengxianzhi',
+ field: 'evaluationNowFengxianzhi',
title: '固有风险评价风险值'
},
{
- field: 'evaluationAfterJibie',
+ field: 'evaluationNowJibie',
title: '固有风险评价级别'
},
{
- field: 'evaluationAfterFengxianJibie',
+ field: 'evaluationNowFengxianJibie',
title: '固有风险评价风险级别'
},
{
- field: 'evaluationAfterFengxianse',
+ field: 'evaluationNowFengxianse',
title: '固有风险评价风险色',
+ formatter: function(value, row, index) {
+ var actions = [];
+ if (row.evaluationNowFengxianse=='红色'){
+ actions.push('<a class="btn btn-warning btn-rounded" style="background-color: #ff0000;border-color: #ff0000;color: #000000;" href="#">红色</a> ');
+ }else if(row.evaluationNowFengxianse=='橙色'){
+ actions.push('<a class="btn btn-warning btn-rounded" style="background-color: #ff6100;border-color: #ff6100;color: #000000;" href="#">橙色</a> ');
+ }else if(row.evaluationNowFengxianse=='黄色'){
+ actions.push('<a class="btn btn-warning btn-rounded" style="background-color: #ffff00;border-color: #ffff00;color: #000000;" href="#">黄色</a> ');
+
+ }else if(row.evaluationNowFengxianse=='蓝色'){
+ actions.push('<a class="btn btn-warning btn-rounded" style="background-color: #0000ff;border-color: #0000ff;color: #ffffff;" href="#">蓝色</a> ');
+ }
+ return actions.join('');
+ }
+ },
+ {
+ field: 'evaluationNowGuankongCengji',
+ title: '固有风险评价管控层级'
+ },
+
+ {
+ field: 'evaluationAfterFengxianzhi',
+ title: '现有措施评价风险值'
+ },
+ {
+ field: 'evaluationAfterJibie',
+ title: '现有措施评价级别'
+ },
+ {
+ field: 'evaluationAfterFengxianJibie',
+ title: '现有措施评价风险级别'
+ },
+ {
+ field: 'evaluationAfterFengxianse',
+ title: '现有措施评价风险色',
formatter: function(value, row, index) {
var actions = [];
if (row.evaluationAfterFengxianse=='红色'){
@@ -231,41 +266,6 @@
},
{
field: 'evaluationAfterGuankongCengji',
- title: '固有风险评价管控层级'
- },
-
- {
- field: 'evaluationNowFengxianzhi',
- title: '现有措施评价风险值'
- },
- {
- field: 'evaluationNowJibie',
- title: '现有措施评价级别'
- },
- {
- field: 'evaluationNowFengxianJibie',
- title: '现有措施评价风险级别'
- },
- {
- field: 'evaluationNowFengxianse',
- title: '现有措施评价风险色',
- formatter: function(value, row, index) {
- var actions = [];
- if (row.evaluationNowFengxianse=='红色'){
- actions.push('<a class="btn btn-warning btn-rounded" style="background-color: #ff0000;border-color: #ff0000;color: #000000;" href="#">红色</a> ');
- }else if(row.evaluationNowFengxianse=='橙色'){
- actions.push('<a class="btn btn-warning btn-rounded" style="background-color: #ff6100;border-color: #ff6100;color: #000000;" href="#">橙色</a> ');
- }else if(row.evaluationNowFengxianse=='黄色'){
- actions.push('<a class="btn btn-warning btn-rounded" style="background-color: #ffff00;border-color: #ffff00;color: #000000;" href="#">黄色</a> ');
-
- }else if(row.evaluationNowFengxianse=='蓝色'){
- actions.push('<a class="btn btn-warning btn-rounded" style="background-color: #0000ff;border-color: #0000ff;color: #ffffff;" href="#">蓝色</a> ');
- }
- return actions.join('');
- }
- },
- {
- field: 'evaluationNowGuankongCengji',
title: '现有措施评价管控层级'
},
--
Gitblit v1.9.2