| | |
| | | @cancel="close" |
| | | style="top:50px" |
| | | cancelText="关闭" |
| | | :width="1200" |
| | | :width="1400" |
| | | > |
| | | <a-card :bordered="false"> |
| | | <div class="table-page-search-wrapper"> |
| | |
| | | :md="8" |
| | | :sm="6" |
| | | > |
| | | <a-form-item label="统一编码"> |
| | | <a-form-item label="设备名称"> |
| | | <a-input |
| | | placeholder="请输入统一编码" |
| | | v-model="queryParam.num" |
| | | placeholder="设备名称" |
| | | v-model="queryParam.name" |
| | | /> |
| | | </a-form-item> |
| | | </a-col> |
| | |
| | | { |
| | | title: '统一编码', |
| | | align: 'center', |
| | | dataIndex: 'num' |
| | | }, |
| | | { |
| | | title: '资产编码', |
| | | align: 'center', |
| | | dataIndex: 'assetNumber' |
| | | }, |
| | | |
| | | { |
| | | title: '特种设备', |
| | | align: 'center', |
| | | dataIndex: 'specificEquipment_dictText' |
| | | dataIndex: 'num', |
| | | width:200 |
| | | }, |
| | | { |
| | | title: '设备名称', |
| | | align: 'center', |
| | | dataIndex: 'name' |
| | | dataIndex: 'name', |
| | | width:200 |
| | | }, |
| | | { |
| | | title: '设备型号', |
| | | align: 'center', |
| | | dataIndex: 'model' |
| | | dataIndex: 'model', |
| | | width:200 |
| | | }, |
| | | { |
| | | title: '设备规格', |
| | | align: 'center', |
| | | dataIndex: 'specification' |
| | | dataIndex: 'specification', |
| | | width:200 |
| | | }, |
| | | { |
| | | title: 'ABC标识', |
| | | align: "center", |
| | | dataIndex: 'equipmentImportanceId', |
| | | width:100 |
| | | }, |
| | | { |
| | | title: '关键设备标识', |
| | | align: "center", |
| | | dataIndex: 'specificEquipment_dictText', |
| | | width:100 |
| | | }, |
| | | { |
| | | title: '设备状态', |
| | | align: 'center', |
| | | dataIndex: 'equipmentStatus_dictText' |
| | | dataIndex: 'equipmentStatus_dictText', |
| | | width:100 |
| | | }, |
| | | { |
| | | title: '技术状态', |
| | | align: 'center', |
| | | dataIndex: 'technologyStatus_dictText' |
| | | dataIndex: 'technologyStatus_dictText', |
| | | width:100 |
| | | }, |
| | | |
| | | { |
| | | title: '设备图片', |
| | | align: 'center', |
| | | dataIndex: 'equipmentPhoto', |
| | | scopedSlots: { customRender: 'equipmentPhoto' } |
| | | }, |
| | | // { |
| | | // title:'设备图片', |
| | | // align:"center", |
| | | // dataIndex: 'equipmentPhoto', |
| | | // scopedSlots: {customRender: 'imgSlot'} |
| | | // }, |
| | | { |
| | | title: '位置', |
| | | align: 'center', |
| | | dataIndex: 'location' |
| | | }, |
| | | |
| | | { |
| | | title: '重要度', |
| | | align: 'center', |
| | | dataIndex: 'equipmentImportanceId_dictText' |
| | | } |
| | | |
| | | ], |
| | | selectedRowKeys: [], |
| | | oldSelectRows: [], |
| | |
| | | let that = this |
| | | this.loading = true |
| | | let params = this.getQueryParams()//查询条件 |
| | | params.equipmentStatus = '1' |
| | | // params.equipmentStatus = '1' |
| | | await getAction(this.url.list, params).then((res) => { |
| | | if (res.success) { |
| | | for (let i = 0; i < res.result.records.length; i++) { |
| | |
| | | this.loadData() |
| | | }, |
| | | handleSubmit() { |
| | | this.$bus.$emit('selectionRows', this.selectionRows) |
| | | this.$emit('selectionRows', this.selectionRows) |
| | | this.searchReset(0) |
| | | this.close() |
| | | }, |