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