| | |
| | | <!-- 查询区域 --> |
| | | <div class="table-page-search-wrapper"> |
| | | <a-form layout="inline" @keyup.enter.native="searchQuery"> |
| | | <a-row :gutter="24" style="margin-bottom: 1%;"> |
| | | <a-col |
| | | :span="24" |
| | | > |
| | | <a-form-item |
| | | label="统一编号群" |
| | | :labelCol="labelCol" |
| | | :wrapperCol="wrapperCol" |
| | | > |
| | | <a-textarea |
| | | placeholder="请输入所有统一编码,须用空格隔开,否则可能查询出错误信息" |
| | | v-model="queryParam.nums" |
| | | :auto-size="{ minRows: 2, maxRows:2 }" |
| | | ></a-textarea> |
| | | </a-form-item> |
| | | </a-col> |
| | | </a-row> |
| | | <a-row :gutter="24"> |
| | | <a-col :span="6"> |
| | | <a-form-item |
| | |
| | | </a-upload> |
| | | <a-button :disabled="selectedRowKeys.length==0" @click="handleUpdateABC" type="primary" icon="font-colors" v-has="'equipmentAccount:add&delete&import&Edit'">ABC标识变更</a-button> |
| | | <a-button :disabled="selectedRowKeys.length==0" @click="handleUpdateWarranty" type="primary" icon="calendar" v-has="'equipmentAccount:add&delete&import&Edit'">质保期变更</a-button> |
| | | <a-button @click="handleUpdateKeyEquipment" type="primary" icon="calendar" v-has="'equipmentAccount:add&delete&import&Edit'">设置关键设备标识</a-button> |
| | | </div> |
| | | <!-- table区域-begin --> |
| | | <div> |
| | |
| | | <aBC-update-edit-model @ok="modalFormOk" :updateList="selectionRows" ref="updateABC"></aBC-update-edit-model> |
| | | <warranty-update-model :updateList="selectionRows" ref="updateWarranty"></warranty-update-model> |
| | | <EquipmentSparePartsModal ref="modalFormSpareParts" @ok="modalFormOk" /> |
| | | <key-equipment-update-model @ok="modalFormOk" :updateList="selectionRows" ref="keyEquipmentUpdate"></key-equipment-update-model> |
| | | </a-card> |
| | | </template> |
| | | |
| | |
| | | import EquipmentUpdateABCList from './modules/equipmentNew/EquipmentUpdateABCList' |
| | | import EquipmentUpdateWarrantyList from './modules/equipmentNew/EquipmentUpdateWarrantyList.vue' |
| | | import ABCUpdateEditModel from './modules/equipmentNew/edit/ABCUpdateEditModel' |
| | | import WarrantyUpdateModel from './modules/equipmentNew/edit/WarrantyUpdateModel.vue' |
| | | import WarrantyUpdateModel from './modules/equipmentNew/edit/WarrantyUpdateModel' |
| | | import EquipmentSpareParts from './modules/equipmentNew/EquipmentSpareParts' |
| | | import EquipmentSparePartsModal from './modules/equipmentNew/EquipmentSparePartsModal' |
| | | import StandardOfInspection from './modules/equipmentNew/StandardOfInspection.vue' |
| | |
| | | import DailyMaintenanceList from './modules/equipmentNew/DailyMaintenanceList.vue' |
| | | import SecondMaintenanceList from './modules/equipmentNew/SecondMaintenanceList.vue' |
| | | import ThirdMaintenanceList from './modules/equipmentNew/ThirdMaintenanceList.vue' |
| | | import KeyEquipmentUpdateModel from './modules/equipmentNew/edit/KeyEquipmentUpdateModel.vue' |
| | | |
| | | export default { |
| | | name: "EquipmentList", |
| | | mixins:[JeecgListMixin,mixinDevice], |
| | |
| | | DailyMaintenanceList, |
| | | SecondMaintenanceList, |
| | | ThirdMaintenanceList, |
| | | KeyEquipmentUpdateModel, |
| | | }, |
| | | data () { |
| | | return { |
| | |
| | | }, |
| | | handleEditSpareParts(record){ |
| | | this.$refs.modalFormSpareParts.edit(record); |
| | | } |
| | | |
| | | }, |
| | | handleUpdateKeyEquipment(){ |
| | | this.$refs.keyEquipmentUpdate.add(); |
| | | }, |
| | | } |
| | | } |
| | | </script> |