!103 feat(bpm): 列表行根据督办状态显示不同背景色
* feat(bpm): 列表行根据督办状态显示不同背景色 * fix(bpm): defaultCc 改为 provide/inject 传递,修复默认抄送不生效
This commit is contained in:
@@ -49,7 +49,7 @@
|
||||
</a-form>
|
||||
</div>
|
||||
<!--引用表格-->
|
||||
<BasicTable @register="registerTable" :rowSelection="rowSelection" @fetch-success="onFetchSuccess">
|
||||
<BasicTable @register="registerTable" :rowSelection="rowSelection" @fetch-success="onFetchSuccess" :rowClassName="(r) => r.bpmStatus ? 'status-row-' + r.bpmStatus : ''">
|
||||
<!--插槽:table标题-->
|
||||
<template #tableTitle>
|
||||
<a-button type="primary" v-auth="'dqinspecttask:dq_inspect_task:add'" @click="handleAdd" preIcon="ant-design:plus-outlined"> 新增</a-button>
|
||||
@@ -647,4 +647,14 @@
|
||||
width: 100%;
|
||||
}
|
||||
}
|
||||
|
||||
:deep(.status-row-1 td) {
|
||||
background: #fffbe6 !important;
|
||||
}
|
||||
:deep(.status-row-2 td) {
|
||||
background: #fff1f0 !important;
|
||||
}
|
||||
:deep(.status-row-3 td) {
|
||||
background: #f6ffed !important;
|
||||
}
|
||||
</style>
|
||||
|
||||
Reference in New Issue
Block a user