| | |
| | | :pagination="ipagination" |
| | | :loading="loading" |
| | | :rowSelection="{selectedRowKeys: selectedRowKeys, onChange: onSelectChange}" |
| | | class="j-table-force-nowrap" |
| | | :rowClassName="setRowClassName" |
| | | @change="handleTableChange"> |
| | | |
| | | <template slot="htmlSlot" slot-scope="text"> |
| | |
| | | }, |
| | | }, |
| | | methods: { |
| | | setRowClassName(record,index){ |
| | | |
| | | //判断并返回行的样式名称 |
| | | if(record){ |
| | | return "bg-blue" |
| | | } |
| | | }, |
| | | initDictConfig(){ |
| | | }, |
| | | getSuperFieldList(){ |
| | |
| | | </script> |
| | | <style scoped> |
| | | @import '~@assets/less/common.less'; |
| | | </style> |
| | | ::v-deep .bg-blue{ |
| | | |
| | | background-color:#C1194E; |
| | | |
| | | } |
| | | </style> |