| | |
| | | filterable |
| | | style="width: 200px" |
| | | placeholder="请选择" |
| | | @focus="getWorkShopSelect" |
| | | > |
| | | <!-- @focus="getWorkShopSelect"--> |
| | | <el-option |
| | | v-for="item in WorkShopArr" |
| | | :key="item.code" |
| | |
| | | style="width: 200px" |
| | | filterable |
| | | placeholder="请选择" |
| | | @focus="getDeviceTypeSelect" |
| | | |
| | | @change="deviceTypeChange" |
| | | > |
| | | <!-- @focus="getDeviceTypeSelect"--> |
| | | <el-option |
| | | v-for="item in DeviceTypeArr" |
| | | :key="item.code" |
| | |
| | | <el-button type="primary" icon="el-icon-circle-plus-outline" @click="add('add')">新增</el-button> |
| | | <el-button type="primary" icon="el-icon-c-scale-to-original" @click="deviceTypeButton">设备类型</el-button> |
| | | <el-button type="primary" icon="el-icon-document-copy" @click="deviceGroupButton">设备组</el-button> |
| | | <el-button type="primary" icon="el-icon-upload2" @click="upload">导入</el-button> |
| | | <!-- <el-button type="primary" icon="el-icon-upload2" @click="upload">导入</el-button>--> |
| | | </div> |
| | | <el-divider /> |
| | | <div class="elTableDiv"> |
| | |
| | | placeholder="请选择" |
| | | @change="workshopcodeChange" |
| | | > |
| | | <!-- @focus="getWorkShopSelect"--> |
| | | |
| | | <el-option |
| | | v-for="item in WorkShopArr" |
| | | :key="item.code" |
| | |
| | | // 获取设备清单列表 |
| | | this.getDeviceMangerSearch() |
| | | // 获取设备类型下拉 |
| | | // this.getDeviceTypeSelect() |
| | | this.getDeviceTypeSelect() |
| | | // 获取所属车间下拉 |
| | | // this.getWorkShopSelect() |
| | | this.getWorkShopSelect() |
| | | }, |
| | | mounted() { |
| | | window.addEventListener('resize', this.getHeight) |