配置管理修改固件升级bug

This commit is contained in:
admin-lmm
2023-07-04 13:11:05 +08:00
parent f563d8a9de
commit b0372e7cfd

View File

@@ -1,14 +1,14 @@
<template> <template>
<div style="margin-top:10px"> <div style="margin-top:10px">
<el-button type="primary" icon="el-icon-s-tools" round @click="dialogTableVisible = true">测试远程固件升级</el-button> <el-button type="primary" icon="el-icon-s-tools" round @click="dialogTableVisible = true">远程固件升级</el-button>
<el-dialog title="配件升级" :visible.sync="dialogTableVisible"> <el-dialog title="配件升级" :visible.sync="dialogTableVisible" :before-close="handleClose">
<el-table <el-table
:data="firmwareList" :data="firmwareList"
border border
stripe stripe
ref="firmwareList" ref="firmwareList"
@row-click="singleElection"> >
<el-table-column width="80" label="选择"> <el-table-column width="80" label="选择" @row-click="singleElection">
<template slot-scope="scope"> <template slot-scope="scope">
<el-radio class="radio" v-model="templateSelection" :label="scope.$index+1"> <el-radio class="radio" v-model="templateSelection" :label="scope.$index+1">
<p v-html>&nbsp;</p> <p v-html>&nbsp;</p>
@@ -77,6 +77,10 @@ export default {
this.templateRadioId = row.id; this.templateRadioId = row.id;
// console.log('this.templateRadio',this.templateRadioId) // console.log('this.templateRadio',this.templateRadioId)
}, },
handleClose(){
this.dialogTableVisible = false
this.templateSelection = ''
}
}, },
created() { created() {
// this.getList() // this.getList()