| | |
| | | @click="searchReset" |
| | | icon="reload" |
| | | >重置</a-button> |
| | | <a-button |
| | | <!-- <a-button |
| | | @click="handleAdd" |
| | | type="primary" |
| | | icon="plus" |
| | | >新增</a-button> |
| | | >新增</a-button> --> |
| | | <a-button |
| | | type="primary" |
| | | icon="download" |
| | | @click="handleExportXls('工厂')" |
| | | @click="handleExportXls('设备分类报表')" |
| | | >导出</a-button> |
| | | <a-dropdown v-if="selectedRowKeys.length > 0"> |
| | | <a-button style="margin-left: 8px"> |
| | |
| | | :loading="loading" |
| | | :rowSelection="{selectedRowKeys: selectedRowKeys, onChange: onSelectChange, getCheckboxProps:getCheckboxProps}" |
| | | @change="handleTableChange" |
| | | :scroll="{ x: 'calc(1200px + 50%)', y: 900 }" |
| | | :scroll="{ x: true, y: 900 }" |
| | | > |
| | | |
| | | <!--状态栏个性展示--> |
| | |
| | | <a-icon type="down" /> |
| | | </a> |
| | | <a-menu slot="overlay"> |
| | | <a-menu-item> |
| | | <!-- <a-menu-item> |
| | | <a @click="handleEdit(record)">编辑</a> |
| | | </a-menu-item> |
| | | </a-menu-item> --> |
| | | |
| | | <a-menu-item v-if="record.equipmentCategoryDtlList.length==0"> |
| | | <a-popconfirm |
| | |
| | | </span> |
| | | |
| | | </a-table> |
| | | <equipment-category-model |
| | | <!-- <equipment-category-model |
| | | ref="modalForm" |
| | | @ok="modalFormOk" |
| | | ></equipment-category-model> |
| | | ></equipment-category-model> --> |
| | | </a-card> |
| | | </template> |
| | | |
| | |
| | | name: 'EquipmentCategory2List.', |
| | | mixins: [JeecgListMixin], |
| | | components: { |
| | | EquipmentCategoryModel, |
| | | // EquipmentCategoryModel, |
| | | JInput, |
| | | JEllipsis, |
| | | }, |
| | |
| | | dataIndex: 'parentName', |
| | | }, */ |
| | | { |
| | | title: '设备分类编码', |
| | | title: '分类编码', |
| | | align: "center", |
| | | dataIndex: 'num', |
| | | width: 200 , |
| | | // scopedSlots: { |
| | | // customRender: 'num', |
| | | // }, |
| | | // sorter: true, |
| | | }, |
| | | { |
| | | title: '设备分类名称', |
| | | title: '分类名称', |
| | | |
| | | align: "center", |
| | | dataIndex: 'name', |
| | | width: 200 , |
| | | // scopedSlots: { |
| | | // customRender: 'name', |
| | | // }, |
| | | // sorter: true, |
| | | }, |
| | | { |
| | | title: '分类标识', |
| | | |
| | | align: "center", |
| | | dataIndex: 'equipmentCategoryUda1_dictText', |
| | | // scopedSlots: { |
| | | // customRender: 'name', |
| | | // }, |
| | | // sorter: true, |
| | | width: 200 , |
| | | }, |
| | | { |
| | | title: '技术状态鉴定周期', |
| | | |
| | | align: "center", |
| | | dataIndex: 'equipmentCategoryUda2_dictText', |
| | | // scopedSlots: { |
| | | // 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: 'updateTime', |
| | | width: 200 , |
| | | }, |
| | | |
| | | // { |
| | |
| | | // sorter: true, |
| | | // width: 100, |
| | | // }, |
| | | { |
| | | title: '操作', |
| | | align: "center", |
| | | dataIndex: 'action', |
| | | scopedSlots: { |
| | | customRender: 'action', |
| | | }, |
| | | width: 150, |
| | | fixed: 'right', |
| | | }, |
| | | // { |
| | | // title: '操作', |
| | | // align: "center", |
| | | // dataIndex: 'action', |
| | | // scopedSlots: { |
| | | // customRender: 'action', |
| | | // }, |
| | | // }, |
| | | ], |
| | | url: { |
| | | list: "/eam/equipmentCategory/list", |
| | |
| | | this.queryParam = {}; |
| | | this.queryParam.id = this.nodeSelected.key; |
| | | this.loadData(1); |
| | | } |
| | | |
| | | }, |
| | | mounted() { |
| | | this.$bus.$on('loadData', (data) => { |
| | | this.loadData(); |
| | | }) |
| | | }, |
| | | |
| | | } |
| | | </script> |