| | |
| | | icon="download" |
| | | @click="handleExportXls('设备分类报表')" |
| | | >导出</a-button> |
| | | <a-dropdown v-if="selectedRowKeys.length > 0" v-has="'equipmentCategory:add&Edit&delete'"> |
| | | <a-dropdown |
| | | v-if="selectedRowKeys.length > 0" |
| | | v-has="'equipmentCategory:add&Edit&delete'" |
| | | > |
| | | <a-button style="margin-left: 8px"> |
| | | 批量操作 |
| | | <a-icon type="down" /> |
| | |
| | | @change="handleTableChange" |
| | | :scroll="{ x: true}" |
| | | > |
| | | <template slot="num" slot-scope="text" > |
| | | <a-tooltip placement="top" :title="text" trigger="hover"> |
| | | <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> |
| | |
| | | }, |
| | | width: 50, |
| | | }, |
| | | /* { |
| | | title: '上级设备分类编码', |
| | | align: "center", |
| | | dataIndex: 'parentNum', |
| | | customRender:function(text, record){ |
| | | return record.parentName+text; |
| | | } |
| | | }, |
| | | |
| | | { |
| | | title: '上级设备分类名称', |
| | | align: "center", |
| | | dataIndex: 'parentName', |
| | | }, */ |
| | | /* { |
| | | title: '上级设备分类编码', |
| | | align: "center", |
| | | dataIndex: 'parentNum', |
| | | customRender:function(text, record){ |
| | | return record.parentName+text; |
| | | } |
| | | }, |
| | | |
| | | { |
| | | title: '上级设备分类名称', |
| | | align: "center", |
| | | dataIndex: 'parentName', |
| | | }, */ |
| | | { |
| | | title: '分类编码', |
| | | align: "center", |
| | | dataIndex: 'num', |
| | | scopedSlots: { customRender: 'num' }, |
| | | width: 100, |
| | | ellipsis: true, |
| | | // scopedSlots: { customRender: 'num' }, |
| | | // width: 100, |
| | | // ellipsis: true, |
| | | // scopedSlots: { |
| | | // customRender: 'num', |
| | | // }, |
| | |
| | | // }, |
| | | // sorter: true, |
| | | }, |
| | | { |
| | | title: '分类标识', |
| | | // { |
| | | // title: '分类标识', |
| | | |
| | | align: "center", |
| | | dataIndex: 'equipmentCategoryUda1_dictText', |
| | | // scopedSlots: { |
| | | // customRender: 'name', |
| | | // }, |
| | | // sorter: true, |
| | | // align: "center", |
| | | // dataIndex: 'equipmentCategoryUda1_dictText', |
| | | // // scopedSlots: { |
| | | // // customRender: 'name', |
| | | // // }, |
| | | // // sorter: true, |
| | | |
| | | }, |
| | | { |
| | | title: '技术状态鉴定周期', |
| | | // }, |
| | | // { |
| | | // title: '技术状态鉴定周期', |
| | | |
| | | align: "center", |
| | | dataIndex: 'equipmentCategoryUda2_dictText', |
| | | // scopedSlots: { |
| | | // customRender: 'name', |
| | | // }, |
| | | // sorter: true, |
| | | // align: "center", |
| | | // dataIndex: 'equipmentCategoryUda2_dictText', |
| | | // // scopedSlots: { |
| | | // // customRender: 'name', |
| | | // // }, |
| | | // // sorter: true, |
| | | |
| | | }, |
| | | // }, |
| | | { |
| | | title: '创建人', |
| | | align: "center", |
| | | dataIndex: 'createBy', |
| | | |
| | | }, |
| | | { |
| | | title: '创建时间', |
| | | align: "center", |
| | | dataIndex: 'createTime', |
| | | }, |
| | | { |
| | | title: '修改人', |
| | |
| | | |
| | | }, |
| | | { |
| | | title: '创建时间', |
| | | align: "center", |
| | | dataIndex: 'createTime', |
| | | |
| | | }, |
| | | |
| | | { |
| | | title: '修改时间', |
| | | align: "center", |
| | | dataIndex: 'updateTime', |
| | | |
| | | }, |
| | | |
| | | // { |