| | |
| | | icon="plus" |
| | | >新增</a-button> --> |
| | | <a-button |
| | | v-has="'equipmentCategory:import&outport'" |
| | | type="primary" |
| | | icon="download" |
| | | @click="handleExportXls('设备分类报表')" |
| | | >导出</a-button> |
| | | <a-dropdown v-if="selectedRowKeys.length > 0"> |
| | | <a-dropdown v-if="selectedRowKeys.length > 0" v-has="'equipmentCategory:add&Edit&delete'"> |
| | | <a-button style="margin-left: 8px"> |
| | | 批量操作 |
| | | <a-icon type="down" /> |
| | |
| | | :loading="loading" |
| | | :rowSelection="{selectedRowKeys: selectedRowKeys, onChange: onSelectChange, getCheckboxProps:getCheckboxProps}" |
| | | @change="handleTableChange" |
| | | :scroll="{ x: true, y: 900 }" |
| | | :scroll="{ x: true}" |
| | | > |
| | | |
| | | <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> |
| | | <!--状态栏个性展示--> |
| | | <!-- <span |
| | | slot="status" |
| | |
| | | title: '分类编码', |
| | | align: "center", |
| | | dataIndex: 'num', |
| | | width: 200 , |
| | | scopedSlots: { customRender: 'num' }, |
| | | width: 100, |
| | | ellipsis: true, |
| | | // scopedSlots: { |
| | | // customRender: 'num', |
| | | // }, |
| | |
| | | |
| | | align: "center", |
| | | dataIndex: 'name', |
| | | width: 200 , |
| | | |
| | | // scopedSlots: { |
| | | // customRender: 'name', |
| | | // }, |
| | |
| | | // customRender: 'name', |
| | | // }, |
| | | // sorter: true, |
| | | width: 200 , |
| | | |
| | | }, |
| | | { |
| | | title: '技术状态鉴定周期', |
| | |
| | | // customRender: 'name', |
| | | // }, |
| | | // sorter: true, |
| | | width: 200 , |
| | | |
| | | }, |
| | | { |
| | | title: '创建人', |
| | | align: "center", |
| | | dataIndex: 'createBy', |
| | | width: 200 , |
| | | }, |
| | | { |
| | | title: '创建时间', |
| | | align: "center", |
| | | dataIndex: 'createTime', |
| | | width: 200 , |
| | | |
| | | }, |
| | | { |
| | | title: '修改人', |
| | | align: "center", |
| | | dataIndex: 'updateBy', |
| | | width: 200 , |
| | | |
| | | }, |
| | | { |
| | | title: '创建时间', |
| | | align: "center", |
| | | dataIndex: 'createTime', |
| | | |
| | | }, |
| | | |
| | | { |
| | | title: '修改时间', |
| | | align: "center", |
| | | dataIndex: 'updateTime', |
| | | width: 200 , |
| | | |
| | | }, |
| | | |
| | | // { |