| | |
| | | <!--</a-row>--> |
| | | </a-form> |
| | | </a-spin> |
| | | <select-device-modal ref="selectDeviceModal" @selectFinished="selectOK" :title="'选择设备'"/> |
| | | <select-device-drawer ref="selectDeviceDrawer" @selectFinished="selectOK" :title="'选择设备'"/> |
| | | </a-modal> |
| | | </template> |
| | | |
| | |
| | | duplicateCheck |
| | | } from '@/api/api' |
| | | import Vue from 'vue' |
| | | import SelectDeviceModal from '../../../../system/modules/SelectDeviceModal' |
| | | import SelectDeviceDrawer from '../../../../system/modules/SelectDeviceDrawer' |
| | | |
| | | export default { |
| | | name: 'DeviceRepairModel', |
| | | components: { SelectDeviceModal, JDate }, |
| | | components: { SelectDeviceDrawer, JDate }, |
| | | props: { |
| | | equipmentId: { |
| | | type: String |
| | |
| | | // }) |
| | | }, |
| | | deviceSearch() { |
| | | this.$refs.selectDeviceModal.visible = true |
| | | this.$refs.selectDeviceModal.selectedRowKeys = [] |
| | | this.$refs.selectDeviceModal.selectedRows = [] |
| | | this.$refs.selectDeviceModal.checkedKeys = this.form.getFieldValue('equipmentIds') ? this.form.getFieldValue('equipmentIds').split(',') : [] |
| | | this.$refs.selectDeviceDrawer.visible = true |
| | | this.$refs.selectDeviceDrawer.selectedRowKeys = [] |
| | | this.$refs.selectDeviceDrawer.selectedRows = [] |
| | | this.$refs.selectDeviceDrawer.checkedKeys = this.form.getFieldValue('equipmentIds') ? this.form.getFieldValue('equipmentIds').split(',') : [] |
| | | }, |
| | | //级联框onChange事件 |
| | | // onChange(value) { |