<template>
    <el-dialog
        custom-class="party-dialog"
        title="上传安装包"
        :visible.sync="dialogVisible"
         width="468px"
        :before-close="handleClose">
        <div class="dialog-content">
            <el-form ref="form" :model="form" label-width="80px" label-position="top"  class="party-form">
                <el-form-item label="版本号:" >
                    <el-input v-model="form.name" placeholder="请填写"></el-input>
                </el-form-item>
                <el-form-item label="版本信息:" >
                    <el-input v-model="form.name" type="textarea"></el-input>
                </el-form-item>
                 <el-form-item label="更新内容:" >
                   <el-input v-model="form.name" type="textarea"></el-input>
                </el-form-item>
                   <el-form-item label=" 上传安装包:" >
                    <el-input v-model="form.name"></el-input>
                </el-form-item>
            </el-form>   
        </div>
            <div slot="footer" class="dialog-footer btn-group">
            <el-button @click="dialogVisible = false">取 消</el-button>
            <el-button type="primary" @click="dialogVisible = false">确 定</el-button>
        </div>
    </el-dialog>
</template>
<script>
export default {
    data(){
        return {
            dialogVisible: false,
            form:{
                name:'',
                date:''
            }
        }
    },
     methods:{
        // 弹窗关闭
        handleClose(){
          this.$confirm('确认关闭？')
          .then(_ => {
            done();
          })
          .catch(_ => {});
        }
    }
}
</script>
<style lang="less" scoped>

</style>