pull/143/head
parent
43b8d2b507
commit
0e40f6be62
|
@ -51,7 +51,7 @@
|
|||
<input type="text" v-model="nowData.deviceId" placeholder="请输入设备code码">
|
||||
</div> -->
|
||||
<div class="manage-input-sel">
|
||||
<div class="input-title">关联气象站设备code码</div>
|
||||
<div class="input-title">设备code码</div>
|
||||
<el-dropdown @command="handleCommand">
|
||||
<div class="el-dropdown-link">
|
||||
<input v-model="nowData.deviceId" type="text" class="input-input" placeholder="请选择气象站设备code码">
|
||||
|
@ -116,6 +116,7 @@ export default {
|
|||
|
||||
if (res.data.code == 200) {
|
||||
this.tableData = res.data.data.bigDataControls
|
||||
this.typeSelList=[]
|
||||
res.data.data.devices.forEach((el, index) => {
|
||||
if (el.deviceName == 10) {
|
||||
this.typeSelList.push(el)
|
||||
|
|
|
@ -94,9 +94,10 @@ export default {
|
|||
|
||||
var user = JSON.parse(localStorage.getItem('userInfo'))
|
||||
this.api.selUserbyid(user.userid).then(res => {
|
||||
this.typeSelList=[]
|
||||
|
||||
if (res.data.code == 200) {
|
||||
this.tableData = res.data.data.equipments
|
||||
this.typeSelList=[]
|
||||
res.data.data.devices.forEach((el,index)=>{
|
||||
if(el.deviceName==10){
|
||||
this.typeSelList.push(el)
|
||||
|
|
Loading…
Reference in New Issue