|
@@ -213,6 +213,7 @@ export default {
|
|
subjectId:'',
|
|
subjectId:'',
|
|
deviceType:'7',
|
|
deviceType:'7',
|
|
ipAddress:'',//ip地址
|
|
ipAddress:'',//ip地址
|
|
|
|
+ port:'',//ip地址
|
|
channels:4,//信道
|
|
channels:4,//信道
|
|
sessionIndex:0,//设备推送频率
|
|
sessionIndex:0,//设备推送频率
|
|
uniformPower:'',//设备推送频率
|
|
uniformPower:'',//设备推送频率
|
|
@@ -395,16 +396,16 @@ export default {
|
|
let _this=this;
|
|
let _this=this;
|
|
this.open = true;
|
|
this.open = true;
|
|
this.title = "修改识别器";
|
|
this.title = "修改识别器";
|
|
- this.form.id=row.id
|
|
|
|
- this.form.deviceType='7'
|
|
|
|
- this.form.deviceName=row.deviceName
|
|
|
|
- this.form.hardwareNum=row.hardwareNum
|
|
|
|
- this.form.subjectId=row.subjectId
|
|
|
|
- this.form.ipAddress=row.ipAddress
|
|
|
|
- this.form.port=row.port
|
|
|
|
- this.form.channels=row.channels+''
|
|
|
|
- this.form.sessionIndex=row.sessionIndex+''
|
|
|
|
- this.form.manufacturerType=row.manufacturerType+''
|
|
|
|
|
|
+ this.form.id=row.id;
|
|
|
|
+ this.form.deviceType='7';
|
|
|
|
+ this.form.deviceName=row.deviceName;
|
|
|
|
+ this.form.hardwareNum=row.hardwareNum;
|
|
|
|
+ this.form.subjectId=row.subjectId;
|
|
|
|
+ this.form.ipAddress=row.ipAddress;
|
|
|
|
+ this.form.port=row.port;
|
|
|
|
+ this.form.channels=row.channels+'';
|
|
|
|
+ this.form.sessionIndex=row.sessionIndex+'';
|
|
|
|
+ this.form.manufacturerType=row.manufacturerType+'';
|
|
//this.uniformPower=row.uniformPower.split(',')
|
|
//this.uniformPower=row.uniformPower.split(',')
|
|
this.antennaNum=[];
|
|
this.antennaNum=[];
|
|
this.uniformPower=[];
|
|
this.uniformPower=[];
|
|
@@ -419,7 +420,7 @@ export default {
|
|
_this.uniformPower.push(item.split(':')[0])
|
|
_this.uniformPower.push(item.split(':')[0])
|
|
_this.detection.push(item.split(':')[1])
|
|
_this.detection.push(item.split(':')[1])
|
|
})
|
|
})
|
|
-
|
|
|
|
|
|
+ this.$forceUpdate();
|
|
},
|
|
},
|
|
/** 提交按钮 */
|
|
/** 提交按钮 */
|
|
submitForm() {
|
|
submitForm() {
|