diff --git a/src/assets/css/global.css b/src/assets/css/global.css index 6ce1442..1a36848 100644 --- a/src/assets/css/global.css +++ b/src/assets/css/global.css @@ -1,18 +1,25 @@ -.el-table .warning-row { - background: rgb(240, 125, 125); +/* 表格行背景色样式 start */ +.el-table .warning { + background: #E6A23C; } - -.el-table .unCheck-row { +.el-table .danger { + background: #F56C6C; +} +.el-table .success { + background: #67C23A; +} +.el-table .primary { background: #409EFF; } - -.el-table .refuse-row { +.el-table .info { background: #909399; } .el-table .purple-row { background: rgb(255, 0, 255); } +/* 表格行背景色样式 end */ + .publicfontsize{ font-size: 18px; } \ No newline at end of file diff --git a/src/components/doctorCheck/RegisterCheckList.vue b/src/components/doctorCheck/RegisterCheckList.vue index 18deda8..17101d5 100644 --- a/src/components/doctorCheck/RegisterCheckList.vue +++ b/src/components/doctorCheck/RegisterCheckList.vue @@ -33,9 +33,9 @@ export default { tableRowClassName({row, rowIndex}) { //console.log('tableRowClassName',rowIndex,row) if (row.completeFlag === '0') { - return 'warning-row'; //未检 + return 'danger'; //未检 } else if (row.completeFlag === '2') { - return 'refuse-row'; //弃检 + return 'info'; //弃检 } return ''; @@ -86,11 +86,11 @@ export default { }; \ No newline at end of file diff --git a/src/views/doctorCheck/sumDoctorCheck.vue b/src/views/doctorCheck/sumDoctorCheck.vue index 0e2f2f2..3a3c8ce 100644 --- a/src/views/doctorCheck/sumDoctorCheck.vue +++ b/src/views/doctorCheck/sumDoctorCheck.vue @@ -217,6 +217,36 @@ export default { };