| | |
| | | :scroll="{ x: 'max-content' }" |
| | | :rowSelection="{selectedRowKeys: selectedRowKeys, onChange: onSelectChange}" |
| | | @change="handleTableChange"> |
| | | |
| | | <span slot="equipmentImportance" slot-scope="text"> |
| | | <lx-switch v-model="text" disabled checked-children='是' un-checked-children='否' /> |
| | | <lx-switch v-model="text" disabled checked-children="是" un-checked-children="否" /> |
| | | </span> |
| | | |
| | | <span slot="mdcFlag" slot-scope="text"> |
| | | <lx-switch v-model="text" disabled checked-children="是" un-checked-children="否" /> |
| | | </span> |
| | | <span slot="processParametersFlag" slot-scope="text"> |
| | | <lx-switch v-model="text" disabled checked-children="是" un-checked-children="否" /> |
| | | </span> |
| | | <span slot="precisionParametersFlag" slot-scope="text"> |
| | | <lx-switch v-model="text" disabled checked-children="是" un-checked-children="否" /> |
| | | </span> |
| | | <span slot="specialEquipment" slot-scope="text"> |
| | | <lx-switch v-model="text" disabled checked-children="是" un-checked-children="否" /> |
| | | </span> |
| | | <span slot="action" slot-scope="text, record"> |
| | | <a @click="handleEdit(record)">编辑</a> |
| | | |
| | |
| | | <a-dropdown> |
| | | <a class="ant-dropdown-link">更多 <a-icon type="down" /></a> |
| | | <a-menu slot="overlay"> |
| | | <a-menu-item> |
| | | <a href="javascript:;" @click="handleDetail(record)">详情</a> |
| | | </a-menu-item> |
| | | <a-menu-item> |
| | | <a-popconfirm title="确定删除吗?" @confirm="() => handleDelete(record.id)"> |
| | | <a>删除</a> |
| | |
| | | customRender: function(t, r, index) { |
| | | return parseInt(index) + 1 |
| | | }, |
| | | fixed: 'left', |
| | | fixed: 'left' |
| | | }, |
| | | { |
| | | title: '设备编号', |
| | |
| | | { |
| | | title: '关键设备标识', |
| | | align: 'center', |
| | | width : 100, |
| | | width: 100, |
| | | dataIndex: 'equipmentImportance', |
| | | scopedSlots: { customRender: 'equipmentImportance' } |
| | | }, |
| | | { |
| | | title: '技术状态', |
| | | align: 'center', |
| | | width : 100, |
| | | width: 100, |
| | | dataIndex: 'technologyStatus_dictText' |
| | | }, |
| | | { |
| | | title: '操作系统', |
| | | align: 'center', |
| | | width : 100, |
| | | width: 100, |
| | | dataIndex: 'operationSystem' |
| | | }, |
| | | { |
| | | title: '使用车间', |
| | | align: 'center', |
| | | width : 100, |
| | | dataIndex: 'orgId' |
| | | width: 100, |
| | | dataIndex: 'orgId_dictText' |
| | | }, |
| | | { |
| | | title: '设备管理员', |
| | | align: 'center', |
| | | width : 100, |
| | | dataIndex: 'equipmentManager' |
| | | width: 100, |
| | | dataIndex: 'equipmentManager_dictText' |
| | | }, |
| | | { |
| | | title: '设备分类', |
| | | align: 'center', |
| | | width : 100, |
| | | width: 100, |
| | | dataIndex: 'equipmentCategory_dictText' |
| | | }, |
| | | { |
| | | title: '设备型号', |
| | | align: 'center', |
| | | width : 100, |
| | | width: 100, |
| | | dataIndex: 'equipmentModel' |
| | | }, |
| | | { |
| | | title: '设备规格', |
| | | align: 'center', |
| | | width : 100, |
| | | width: 100, |
| | | dataIndex: 'equipmentSpecification' |
| | | }, |
| | | { |
| | | title: '主轴连接尺寸', |
| | | align: 'center', |
| | | width : 100, |
| | | width: 100, |
| | | dataIndex: 'spindleConnectDimension' |
| | | }, |
| | | { |
| | | title: '总功率', |
| | | align: 'center', |
| | | width : 100, |
| | | width: 100, |
| | | dataIndex: 'equipmentPower' |
| | | }, |
| | | { |
| | | title: '安装位置', |
| | | align: 'center', |
| | | width : 100, |
| | | width: 100, |
| | | dataIndex: 'installationPosition' |
| | | }, |
| | | { |
| | | title: '资产状态', |
| | | align: 'center', |
| | | width : 100, |
| | | width: 100, |
| | | dataIndex: 'assetStatus_dictText' |
| | | }, |
| | | { |
| | | title: '立项卡号', |
| | | align: 'center', |
| | | width : 100, |
| | | width: 100, |
| | | dataIndex: 'cardNumber' |
| | | }, |
| | | { |
| | | title: '出厂编号', |
| | | align: 'center', |
| | | width : 100, |
| | | width: 100, |
| | | dataIndex: 'factoryNumber' |
| | | }, |
| | | { |
| | | title: '机床厂家', |
| | | align: 'center', |
| | | width : 100, |
| | | width: 100, |
| | | dataIndex: 'manufacturingEnterprise' |
| | | }, |
| | | { |
| | | title: '来源国家', |
| | | align: 'center', |
| | | width : 100, |
| | | width: 100, |
| | | dataIndex: 'originCountry' |
| | | }, |
| | | { |
| | | title: '出厂日期', |
| | | align: 'center', |
| | | width : 100, |
| | | width: 100, |
| | | dataIndex: 'leaveFactoryDate' |
| | | }, |
| | | { |
| | | title: '验收日期', |
| | | align: 'center', |
| | | width : 100, |
| | | width: 100, |
| | | dataIndex: 'acceptanceCheckDate' |
| | | }, |
| | | { |
| | | title: '质保开始日期', |
| | | align: 'center', |
| | | width : 100, |
| | | width: 100, |
| | | dataIndex: 'warrantyStartDate' |
| | | }, |
| | | { |
| | | title: '质保结束日期', |
| | | align: 'center', |
| | | width : 100, |
| | | width: 100, |
| | | dataIndex: 'warrantyEndDate' |
| | | }, |
| | | { |
| | | title: '是否实施MDC', |
| | | align: 'center', |
| | | width : 100, |
| | | dataIndex: 'mdcFlag' |
| | | width: 100, |
| | | dataIndex: 'mdcFlag', |
| | | scopedSlots: { customRender: 'mdcFlag' } |
| | | }, |
| | | { |
| | | title: '是否有工艺参数', |
| | | title: '有无工艺参数', |
| | | align: 'center', |
| | | width : 100, |
| | | dataIndex: 'processParametersFlag' |
| | | width: 100, |
| | | dataIndex: 'processParametersFlag', |
| | | scopedSlots: { customRender: 'processParametersFlag' } |
| | | }, |
| | | { |
| | | title: '是否有精度参数', |
| | | title: '有无精度参数', |
| | | align: 'center', |
| | | width : 100, |
| | | dataIndex: 'precisionParametersFlag' |
| | | width: 100, |
| | | dataIndex: 'precisionParametersFlag', |
| | | scopedSlots: { customRender: 'precisionParametersFlag' } |
| | | }, |
| | | { |
| | | title: '是否为特种设备', |
| | | align: 'center', |
| | | width : 100, |
| | | dataIndex: 'specialEquipment' |
| | | width: 100, |
| | | dataIndex: 'specialEquipment', |
| | | scopedSlots: { customRender: 'specialEquipment' } |
| | | }, |
| | | { |
| | | title: '重量', |