From 9b54b971c3307d3db919b98e35d60ec000218d84 Mon Sep 17 00:00:00 2001 From: 16639036659 <577530412@qq.com> Date: 星期五, 17 三月 2023 23:17:22 +0800 Subject: [PATCH] 页面改动,改为固有风险 --- src/main/resources/templates/tr/riskCheckPoint/ledger.html | 72 ++++++++++++++++++----------------- 1 files changed, 37 insertions(+), 35 deletions(-) diff --git a/src/main/resources/templates/tr/riskCheckPoint/ledger.html b/src/main/resources/templates/tr/riskCheckPoint/ledger.html index 7874f94..a6d31ce 100644 --- a/src/main/resources/templates/tr/riskCheckPoint/ledger.html +++ b/src/main/resources/templates/tr/riskCheckPoint/ledger.html @@ -89,7 +89,7 @@ </select> </li> <li> - <label>剩余风险评价风险级别:</label> + <label>固有风险评价风险级别:</label> <select name="evaluationAfterFengxianJibie" > <option value="">所有</option> <option value="低">低</option> @@ -198,6 +198,42 @@ } }, + + { + field: 'evaluationAfterFengxianzhi', + title: '固有风险评价风险值' + }, + { + field: 'evaluationAfterJibie', + title: '固有风险评价级别' + }, + { + field: 'evaluationAfterFengxianJibie', + title: '固有风险评价风险级别' + }, + { + field: 'evaluationAfterFengxianse', + title: '固有风险评价风险色', + formatter: function(value, row, index) { + var actions = []; + if (row.evaluationAfterFengxianse=='红色'){ + actions.push('<a class="btn btn-warning btn-rounded" style="background-color: #ff0000;border-color: #ff0000;color: #000000;" href="#">红色</a> '); + }else if(row.evaluationAfterFengxianse=='橙色'){ + actions.push('<a class="btn btn-warning btn-rounded" style="background-color: #ff6100;border-color: #ff6100;color: #000000;" href="#">橙色</a> '); + }else if(row.evaluationAfterFengxianse=='黄色'){ + actions.push('<a class="btn btn-warning btn-rounded" style="background-color: #ffff00;border-color: #ffff00;color: #000000;" href="#">黄色</a> '); + + }else if(row.evaluationAfterFengxianse=='蓝色'){ + actions.push('<a class="btn btn-warning btn-rounded" style="background-color: #0000ff;border-color: #0000ff;color: #ffffff;" href="#">蓝色</a> '); + } + return actions.join(''); + } + }, + { + field: 'evaluationAfterGuankongCengji', + title: '固有风险评价管控层级' + }, + { field: 'evaluationNowFengxianzhi', title: '现有措施评价风险值' @@ -254,40 +290,6 @@ // title: '建议应急处置措施' // }, - { - field: 'evaluationAfterFengxianzhi', - title: '剩余风险评价风险值' - }, - { - field: 'evaluationAfterJibie', - title: '剩余风险评价级别' - }, - { - field: 'evaluationAfterFengxianJibie', - title: '剩余风险评价风险级别' - }, - { - field: 'evaluationAfterFengxianse', - title: '剩余风险评价风险色', - formatter: function(value, row, index) { - var actions = []; - if (row.evaluationAfterFengxianse=='红色'){ - actions.push('<a class="btn btn-warning btn-rounded" style="background-color: #ff0000;border-color: #ff0000;color: #000000;" href="#">红色</a> '); - }else if(row.evaluationAfterFengxianse=='橙色'){ - actions.push('<a class="btn btn-warning btn-rounded" style="background-color: #ff6100;border-color: #ff6100;color: #000000;" href="#">橙色</a> '); - }else if(row.evaluationAfterFengxianse=='黄色'){ - actions.push('<a class="btn btn-warning btn-rounded" style="background-color: #ffff00;border-color: #ffff00;color: #000000;" href="#">黄色</a> '); - - }else if(row.evaluationAfterFengxianse=='蓝色'){ - actions.push('<a class="btn btn-warning btn-rounded" style="background-color: #0000ff;border-color: #0000ff;color: #ffffff;" href="#">蓝色</a> '); - } - return actions.join(''); - } - }, - { - field: 'evaluationAfterGuankongCengji', - title: '剩余风险评价管控层级' - }, { field: 'reviewUser.userName', title: '审核负责人' -- Gitblit v1.9.2