| | |
| | | </tr> |
| | | <tr v-for="(item,index) in n.angleList" :key="index + 'eee'"> |
| | | <td> |
| | | <el-input size="small" placeholder="角度" v-model="item.value" @blur="handleAngle(item.value,index)" :disabled="state>1"></el-input> |
| | | <el-input size="small" placeholder="角度" v-model="item.value" @blur="handleAngle(item.value,index,h.band)" :disabled="state>1"></el-input> |
| | | </td> |
| | | <td v-for="(m,i) in n.portList" :key="i+'ggg'"> |
| | | <el-input size="small" placeholder="最差值" v-model="n.value[index][i]" v-if="n.value[index]" :disabled="state>1"></el-input> |
| | |
| | | </tr> |
| | | <tr v-for="(item,index) in n.angleList" :key="index + 'eee'"> |
| | | <td> |
| | | <el-input size="small" placeholder="角度" v-model="item.value" :disabled="state>1" @blur="handleAngle(item.value,index)"></el-input> |
| | | <el-input size="small" placeholder="角度" v-model="item.value" :disabled="state>1" @blur="handleAngle(item.value,index,h.band)"></el-input> |
| | | </td> |
| | | <td v-for="(m,i) in n.portList" :key="i+'ggg'"> |
| | | <el-input size="small" placeholder="最差值" v-model="n.value[index][i]" v-if="n.value[index]" :disabled="state>1"></el-input> |
| | |
| | | </tr> |
| | | <tr v-for="(item,index) in n.angleList" :key="index + 'eee'"> |
| | | <td> |
| | | <el-input size="small" placeholder="角度" v-model="item.value" :disabled="state>1" @blur="handleAngle(item.value,index)"></el-input> |
| | | <el-input size="small" placeholder="角度" v-model="item.value" :disabled="state>1" @blur="handleAngle(item.value,index,h.band)"></el-input> |
| | | </td> |
| | | <td v-for="(m,i) in n.portList" :key="i+'ggg'"> |
| | | <el-input size="small" placeholder="最差值" v-model="n.value[index][i]" v-if="n.value[index]" :disabled="state>1"></el-input> |
| | |
| | | </tr> |
| | | <tr v-for="(item,index) in n.angleList" :key="index + 'eee'"> |
| | | <td> |
| | | <el-input size="small" placeholder="角度" v-model="item.value" :disabled="state>1" @blur="handleAngle(item.value,index)"></el-input> |
| | | <el-input size="small" placeholder="角度" v-model="item.value" :disabled="state>1" @blur="handleAngle(item.value,index,h.band)"></el-input> |
| | | </td> |
| | | <td> |
| | | <el-input size="small" placeholder="最差值" v-model="n.value[index][0]" :disabled="state>1"></el-input> |
| | |
| | | this.$delete(item, 'equipName') |
| | | this.$set(item, 'equipName', item.equipOptions.find(m=>m.value==item.equipValue).label) |
| | | }, |
| | | // 统一修改角度,如果角度没有带°,则拼接一个 |
| | | handleAngle(e,index){ |
| | | // 统一修改同一频段的角度,如果角度没有带°,则拼接一个 |
| | | handleAngle(e,index,band){ |
| | | if(!e){ |
| | | return |
| | | } |
| | |
| | | val = val + '°' |
| | | } |
| | | this.allBandList.forEach(item=>{ |
| | | item.projectList.forEach(m=>{ |
| | | m.angleList.forEach((n,i)=>{ |
| | | if(index==i){ |
| | | n.value = val |
| | | } |
| | | if(item.band==band){ |
| | | item.projectList.forEach(m=>{ |
| | | m.angleList.forEach((n,i)=>{ |
| | | if(index==i){ |
| | | n.value = val |
| | | } |
| | | }) |
| | | }) |
| | | }) |
| | | } |
| | | }) |
| | | }, |
| | | handlePort(n){ |