| | |
| | | :rowSelection='{selectedRowKeys: selectedRowKeys, onChange: onSelectChange}' |
| | | class='j-table-force-nowrap' |
| | | @change='handleTableChange'> |
| | | <template slot="description" slot-scope="text" > |
| | | <a-tooltip placement="top" :title="text" trigger="hover"> |
| | | <div> |
| | | <template slot="title"> </template> |
| | | <p style="cusor:pointer; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; width: 130px;">{{ text }}</p> |
| | | </div> |
| | | </a-tooltip> |
| | | </template> |
| | | <template slot="num" slot-scope="text" > |
| | | <a-tooltip placement="top" :title="text" trigger="hover"> |
| | | <div> |
| | | <template slot="title"> </template> |
| | | <p style="cusor:pointer; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; width: 130px;">{{ text }}</p> |
| | | </div> |
| | | </a-tooltip> |
| | | </template> |
| | | <template slot="measure" slot-scope="text" > |
| | | <a-tooltip placement="top" :title="text" trigger="hover"> |
| | | <div> |
| | | <template slot="title"> </template> |
| | | <p style="cusor:pointer; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; width: 130px;">{{ text }}</p> |
| | | </div> |
| | | </a-tooltip> |
| | | </template> |
| | | |
| | | <template slot='htmlSlot' slot-scope='text'> |
| | | <div v-html='text'></div> |
| | |
| | | { |
| | | title: ' 危险源编码', |
| | | align: 'center', |
| | | dataIndex: 'num' |
| | | dataIndex: 'num', |
| | | scopedSlots: { customRender: 'num' }, |
| | | ellipsis: true, |
| | | }, |
| | | { |
| | | title: '危险源名称', |
| | |
| | | { |
| | | title: '危险描述', |
| | | align: 'center', |
| | | dataIndex: 'description' |
| | | dataIndex: 'description', |
| | | scopedSlots: { customRender: 'description' }, |
| | | width: 100, |
| | | ellipsis: true, |
| | | }, |
| | | { |
| | | title: '防控措施', |
| | | align: 'center', |
| | | dataIndex: 'measure' |
| | | dataIndex: 'measure', |
| | | scopedSlots: { customRender: 'measure' }, |
| | | width: 100, |
| | | ellipsis: true, |
| | | }, |
| | | { |
| | | title: '创建人', |