| | |
| | | <div class="search"> |
| | | <div class="search_thing"> |
| | | <div class="search_label">状态:</div> |
| | | <el-select v-model="value" placeholder="全部"> |
| | | <el-select v-model="componentData.entity.status" placeholder="全部"> |
| | | <el-option |
| | | v-for="item in options" |
| | | :key="item.value" |
| | |
| | | <div class="search_thing"> |
| | | <div class="search_label">设备名称:</div> |
| | | <div class="search_input"><el-input size="small" placeholder="请输入" clearable |
| | | v-model="componentData.entity.laboratoryNumber" @keyup.enter.native="refreshTable()"></el-input></div> |
| | | v-model="componentData.entity.deviceName" @keyup.enter.native="refreshTable()"></el-input></div> |
| | | </div> |
| | | <div class="search_thing"> |
| | | <div class="search_thing"> |
| | | <div class="search_label">规格型号:</div> |
| | | <div class="search_input"><el-input size="small" placeholder="请输入" clearable |
| | | v-model="componentData.entity.head" @keyup.enter.native="refreshTable()"></el-input></div> |
| | | v-model="componentData.entity.internalCode" @keyup.enter.native="refreshTable()"></el-input></div> |
| | | </div> |
| | | <div class="search_thing"> |
| | | <div class="search_label">设备大类:</div> |
| | | <el-select v-model="value" placeholder="请选择"> |
| | | <div class="search_label">设备类型:</div> |
| | | <el-select v-model="componentData.entity.type" placeholder="请选择"> |
| | | <el-option |
| | | v-for="item in options" |
| | | :key="item.value" |
| | |
| | | mounted() { |
| | | this.entityCopy = this.HaveJson(this.componentData.entity) |
| | | this.getPower() |
| | | this.getAuthorizedPerson() |
| | | }, |
| | | methods: { |
| | | refreshTable() { |
| | |
| | | } |
| | | this.addPower = add |
| | | }, |
| | | // 获取授权人 |
| | | getAuthorizedPerson(){ |
| | | this.$axios.get(this.$api.deviceScope.authorizedPerson).then(res => { |
| | | console.log(11111,res) |
| | | let data = [] |
| | | res.data.forEach(a=>{ |
| | | data.push({ |
| | | label: a.laboratoryName, |
| | | value: a.laboratoryName |
| | | }) |
| | | }) |
| | | this.authorizerList = data |
| | | }) |
| | | }, |
| | | handleClose(){ |
| | | this.dialogVisible = false; |
| | | }, |