| | |
| | | <a-form layout="inline" @keyup.enter.native="searchQuery"> |
| | | <a-row :gutter="24"> |
| | | <a-col :md="5" :sm="4"> |
| | | <a-form-item label="设备编码"> |
| | | <a-input placeholder="请输入设备编码" v-model="queryParam.num" /> |
| | | <a-form-item label="统一编码"> |
| | | <a-input placeholder="请输入统一编码" v-model="queryParam.num" /> |
| | | </a-form-item> |
| | | </a-col> |
| | | <a-col :md="5" :sm="4"> |
| | |
| | | </div> |
| | | <a-row :gutter="24"> |
| | | <a-col :md="16" :sm="12"> |
| | | <a-table ref="table" :scroll="{ x: true, y: true }" size="middle" rowKey="id" bordered :columns="columns" |
| | | <a-table ref="table" size="middle" rowKey="id" bordered :columns="columns" |
| | | :dataSource="dataSource" :pagination="false" :rowSelection="rowSelection" :loading="loading" |
| | | @change="handleTableChange"> |
| | | <template slot="equipmentPhoto" slot-scope="text,record"> |
| | |
| | | queryParam: {}, |
| | | columns: [ |
| | | { |
| | | title: '设备编码', |
| | | title: '统一编码', |
| | | align: 'center', |
| | | dataIndex: 'num', |
| | | width: 120, |
| | |
| | | width: 120, |
| | | ellipsis: true |
| | | }, |
| | | { |
| | | title: '资产编码', |
| | | align: 'center', |
| | | dataIndex: 'assetNumber', |
| | | width: 120 |
| | | }, |
| | | |
| | | { |
| | | title: '特种设备', |
| | | align: 'center', |
| | |
| | | ], |
| | | selectColumns: [ |
| | | { |
| | | title: '设备编码', |
| | | title: '统一编码', |
| | | align: 'center', |
| | | dataIndex: 'num', |
| | | width: 120, |