mirror of
https://codeup.aliyun.com/67c68d4e484ca2f0a13ac3c1/ydc/jsowell-charger-web.git
synced 2026-04-20 19:15:35 +08:00
修改
This commit is contained in:
@@ -53,7 +53,7 @@ export default {
|
||||
// console.log('接收传递的 pileSn',this.pileSn,this.templateRadioId);
|
||||
const data = {
|
||||
pileSns: [this.pileSn],
|
||||
firmwareId: this.templateRadioId
|
||||
firmwareId: this.firmwareList[this.templateRadioId-1].id
|
||||
};
|
||||
console.log("远程升级固件:", data);
|
||||
updateFirmware(data).then((response) => {
|
||||
@@ -73,14 +73,16 @@ export default {
|
||||
this.loading = false;
|
||||
});
|
||||
},
|
||||
// 选择单选框的点击事件
|
||||
singleElection (row) {
|
||||
this.templateSelection = this.firmwareList.indexOf(row);
|
||||
console.log('this.templateSelection',this.templateSelection)
|
||||
this.templateRadioId = row.id;
|
||||
// console.log('this.templateRadio',this.templateRadioId)
|
||||
console.log(this.templateRadioId,'this.templateRadioId');
|
||||
},
|
||||
handleClose(){
|
||||
this.dialogTableVisible = false
|
||||
this.templateSelection = ''
|
||||
this.templateRadioId = ''
|
||||
}
|
||||
},
|
||||
created() {
|
||||
|
||||
Reference in New Issue
Block a user