|
@@ -55,8 +55,10 @@
|
|
|
/>
|
|
|
</div>
|
|
|
</div>
|
|
|
- <el-dialog title="版本修改" width="400px" :visible.sync="sectionVisible" :before-close="reserForm">
|
|
|
+ <!-- -->
|
|
|
+ <el-dialog title="版本修改" width="400px" :visible.sync="sectionVisible" >
|
|
|
<el-form
|
|
|
+ v-if="sectionVisible"
|
|
|
:model="sectionForm"
|
|
|
ref="sectionForm"
|
|
|
:rules="sectionRules"
|
|
@@ -192,8 +194,7 @@ export default {
|
|
|
},
|
|
|
resetEdit(row){
|
|
|
this.isNew = false;
|
|
|
- // console.log(row)
|
|
|
- this.sectionForm = row;
|
|
|
+ this.sectionForm =row;
|
|
|
this.sectionVisible = true;
|
|
|
},
|
|
|
resetEdition(){
|
|
@@ -207,18 +208,6 @@ export default {
|
|
|
}
|
|
|
})
|
|
|
},
|
|
|
- reserForm(){
|
|
|
- this.sectionForm = {
|
|
|
- platform:'',
|
|
|
- version:'',
|
|
|
- isForceUpdate:'',
|
|
|
- downloadUrl:'',
|
|
|
- status:'',
|
|
|
- id:''
|
|
|
- }
|
|
|
- this.$refs.sectionForm.resetFields();
|
|
|
- this.sectionVisible = false;
|
|
|
- }
|
|
|
},
|
|
|
filters: {
|
|
|
statusFilter(val) {
|