mirror of
https://codeup.aliyun.com/67c68d4e484ca2f0a13ac3c1/ydc/jsowell-charger-web.git
synced 2026-05-10 13:00:02 +08:00
配置管理修改固件升级bug
This commit is contained in:
@@ -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> </p>
|
<p v-html> </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()
|
||||||
|
|||||||
Reference in New Issue
Block a user