峰峰执法平台简易案件程序板块 pad端
yang
2022-10-17 4107256a8d1fa9a2db0969122bfc760994b12421
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
<template>
  <el-dialog title="简易程序案件审核" :visible.sync="dialogFormVisible" :before-close="cancel" center>
    <el-form :model="form">
      <el-form-item label="审核意见" :label-width="formLabelWidth">
        <el-input type="textarea" :row="2" v-model="form.name" ></el-input>
      </el-form-item>
    </el-form>
    <div slot="footer" class="dialog-footer">
      <el-button @click="cancel">通过</el-button>
      <el-button type="primary" @click="cancel">驳回</el-button>
    </div>
  </el-dialog>
</template>
 
<script>
export default {
  name: "SunmaryProcedureForm",
  data(){
    return{
      dialogFormVisible: false,
      form: {
        name: '',
        region: '',
        date1: '',
        date2: '',
        delivery: false,
        type: [],
        resource: '',
        desc: ''
      },
      formLabelWidth: '120px'
    }
  },
  methods:{
    //接受传参
    init(id){
      this.form.id = id;
      this.$nextTick(() => {
        this.dialogFormVisible = true;
      })
    },
  //关闭弹框
    cancel(){
      this.dialogFormVisible = false
    }
  },
}
</script>
 
<style scoped>
 
</style>