峰峰执法平台简易案件程序板块 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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
<template>
   <div class="constraintexecute-form">
     <el-dialog
       title="责令(限期)罚款催缴通知书"
       :close-on-click-modal="false"
       :visible.sync="visible">
       <el-form :model="dataForm" :rules="dataRule" ref="dataForm" label-position="left">
         <div class="constraintexecute-form-box">
           <div class="bianhao-box">
             <div>馆综罚询通字</div>
             <el-form-item>
               [<el-input disabled v-model="dataForm.documentNum"></el-input>]
             </el-form-item>
             <div>第  号</div>
           </div>
           <div class="constraintexecute-main">
             <el-form-item label="案件" prop="processAjApprovalId">
               <el-select v-model="dataForm.processAjApprovalName" placeholder="请选择" @change="causeChange">
                 <el-option
                   v-for="item in processAjApprovalList"
                   :key="item.id"
                   :label="item.processAjCoverName"
                   :value="item">
                 </el-option>
               </el-select>
             </el-form-item>
             <div class="constraintexecute-line fayuan">
               <el-form-item prop="courtName">
                 <el-input v-model="dataForm.courtName" placeholder="法院名"></el-input>
               </el-form-item>
               <h1>人民法院:</h1>
             </div>
             <div class="shenqingren-introduce">
               <el-form-item label="申请人:" prop="applyName" label-width="120px">
                 <el-input v-model="dataForm.applyName" placeholder="申请人"></el-input>
               </el-form-item>
               <el-form-item label="申请人地址:" prop="applyAddress" label-width="120px">
                 <el-input v-model="dataForm.applyAddress" placeholder="申请人地址"></el-input>
               </el-form-item>
               <el-form-item label="电话:" prop="phone" label-width="120px">
                 <el-input v-model="dataForm.phone" placeholder="电话" label-width="120px"></el-input>
               </el-form-item>
               <el-form-item label="被申请人:" prop="respondentName" label-width="120px">
                 <el-input v-model="dataForm.respondentName" placeholder="被申请人"></el-input>
               </el-form-item>
               <el-form-item label="被申请人地址:" prop="respondentAddress" label-width="120px">
                 <el-input v-model="dataForm.respondentAddress" placeholder="被申请人地址"></el-input>
               </el-form-item>
               <el-form-item label="被申请人法定代表人:" prop="respondentLegalName" label-width="170px">
                 <el-input v-model="dataForm.respondentLegalName" placeholder="被申请人法定代表人"></el-input>
               </el-form-item>
             </div>
             <div class="constraintexecute-line">
               <h1>我单位于</h1>
               <el-form-item prop="startTime">
                 <el-date-picker
                   v-model="dataForm.startTime"
                   type="date"
                   placeholder="选择日期时间"
                   align="right"
                   value-format="yyyy-MM-dd"
                 >
                 </el-date-picker>
               </el-form-item>
             </div>
             <div class="constraintexecute-line zuochu-box">
               <h1>对被申请执行人作出</h1>
               <el-form-item prop="behavior">
                 <el-input v-model="dataForm.behavior" type="textarea" autosize placeholder="对被申请执行人作出行为"></el-input>
               </el-form-item>
             </div>
             <div class="constraintexecute-line">
               <h1>被申请执行人在法定期限内未申请行政复议或者提起行政诉讼,也未履行该行政决定。</h1>
             </div>
             <div class="constraintexecute-line">
               <h1>我单位于</h1>
               <el-form-item prop="executionTime">
                 <el-date-picker
                   v-model="dataForm.executionTime"
                   type="date"
                   placeholder="选择日期时间"
                   align="right"
                   value-format="yyyy-MM-dd"
                 >
                 </el-date-picker>
                 <!-- <el-input v-model="dataForm.executionTime" placeholder="执行时间"></el-input>-->
               </el-form-item>
               <h1>向被申请执行人送达了《行政决定履行催告书》</h1>
               <el-form-item prop="cuiZiHao">
                 <el-input v-model="dataForm.cuiZiHao" placeholder="催告书字号"></el-input>
               </el-form-item>
             </div>
             <div class="constraintexecute-line">
               <h1>但被申请执行人在规定期限内仍未履行行政决定。依据《中华人民共和国行政强制法》第五十三条、五十四条的规定,特依法申请你院强制执行。</h1>
             </div>
             <div class="constraintexecute-line zuochu-box">
               <el-form-item label="附件:" prop="accessory" label-width="100px">
                 <el-input v-model="dataForm.accessory" type="textarea" autosize placeholder="附件"></el-input>
               </el-form-item>
             </div>
             <div class="constraintexecute-line">
               <el-form-item label="联系人:" prop="contactsName" label-width="100px">
                 <el-input v-model="dataForm.contactsName" placeholder="联系人"></el-input>
               </el-form-item>
               <el-form-item label="电话:" prop="phone" label-width="100px">
                 <el-input v-model="dataForm.phone" placeholder="电话"></el-input>
               </el-form-item>
             </div>
             <div class="zhixingDate">
               <h1>馆陶县综合行政执法局(印章)</h1>
               <el-form-item prop="executionTime">
                 <el-date-picker
                   v-model="dataForm.executionTime"
                   type="date"
                   placeholder="选择日期时间"
                   align="right"
                   value-format="yyyy-MM-dd"
                 >
                 </el-date-picker>
                 <!-- <el-input v-model="dataForm.executionTime" placeholder="执行时间"></el-input>-->
               </el-form-item>
             </div>
           </div>
         </div>
       </el-form>
       <span slot="footer" class="dialog-footer">
          <el-button @click="visible = false">取消</el-button>
          <el-button type="primary" @click="dataFormSubmit()">确定</el-button>
        </span>
     </el-dialog>
   </div>
</template>
 
<script>
    import {getObj, addObj, putObj} from '@/api/constraintexecute'
    import {findAll} from '@/api/process/processajapproval'
    export default {
        name: "constraintexecute-form",
        data () {
            return {
                visible: false,
                processAjApprovalList: [],
                dataForm: {
                    id: 0,
                    createBy: '',
                    createTime: '',
                    updateBy: '',
                    updateTime: '',
                    accessory: '',
                    applyAddress: '',
                    applyName: '',
                    behavior: '',
                    contactsName: '',
                    courtName: '',
                    cuiZiHao: '',
                    documentNum: '',
                    endTime: '',
                    executionTime: '',
                    legalName: '',
                    legalPhone: '',
                    phone: '',
                    processAjApprovalId: '',
                    processAjApprovalName: '',
                    respondentAddress: '',
                    respondentLegalName: '',
                    respondentName: '',
                    startTime: '',
                    synthesizeMark: '',
                    tenantId: '',
                    ziHao: ''
                },
                dataRule: {
                    createBy: [
                        { required: true, message: '不能为空', trigger: 'blur' }
                    ],
                    createTime: [
                        { required: true, message: '不能为空', trigger: 'blur' }
                    ],
                    delFlag: [
                        { required: true, message: '不能为空', trigger: 'blur' }
                    ],
                    updateBy: [
                        { required: true, message: '不能为空', trigger: 'blur' }
                    ],
                    updateTime: [
                        { required: true, message: '不能为空', trigger: 'blur' }
                    ],
                    accessory: [
                        { required: true, message: '附件不能为空', trigger: 'blur' }
                    ],
                    applyAddress: [
                        { required: true, message: '申请人地址不能为空', trigger: 'blur' }
                    ],
                    applyName: [
                        { required: true, message: '申请人不能为空', trigger: 'blur' }
                    ],
                    behavior: [
                        { required: true, message: '对被申请执行人作出行为不能为空', trigger: 'blur' }
                    ],
                    contactsName: [
                        { required: true, message: '联系人不能为空', trigger: 'blur' }
                    ],
                    courtName: [
                        { required: true, message: '法院名不能为空', trigger: 'blur' }
                    ],
                    cuiZiHao: [
                        { required: true, message: '催告书字号不能为空', trigger: 'blur' }
                    ],
                    documentNum: [
                        { required: true, message: '序列号不能为空', trigger: 'blur' }
                    ],
                    endTime: [
                        { required: true, message: '截止时间不能为空', trigger: 'blur' }
                    ],
                    executionTime: [
                        { required: true, message: '执行时间不能为空', trigger: 'blur' }
                    ],
                    legalName: [
                        { required: true, message: '申请人不能为空', trigger: 'blur' }
                    ],
                    legalPhone: [
                        { required: true, message: '申请人地址不能为空', trigger: 'blur' }
                    ],
                    phone: [
                        { required: true, message: '电话不能为空', trigger: 'blur' }
                    ],
                    processAjApprovalId: [
                        { required: true, message: '立案审批表id不能为空', trigger: 'blur' }
                    ],
                    processAjApprovalName: [
                        { required: true, message: '案件名不能为空', trigger: 'blur' }
                    ],
                    respondentAddress: [
                        { required: true, message: '被申请人地址不能为空', trigger: 'blur' }
                    ],
                    respondentLegalName: [
                        { required: true, message: '被申请人法定代表人不能为空', trigger: 'blur' }
                    ],
                    respondentName: [
                        { required: true, message: '被申请人不能为空', trigger: 'blur' }
                    ],
                    startTime: [
                        { required: true, message: '开始时间不能为空', trigger: 'blur' }
                    ],
                    synthesizeMark: [
                        { required: true, message: '综合行政执法局章不能为空', trigger: 'blur' }
                    ],
                    tenantId: [
                        { required: true, message: '租户id不能为空', trigger: 'blur' }
                    ],
                    ziHao: [
                        { required: true, message: '(            [     ]    号)不能为空', trigger: 'blur' }
                    ]
                }
            }
        },
        methods: {
            init (id) {
                this.dataForm.id = id || 0
                this.visible = true
                this.$nextTick(() => {
                    this.$refs['dataForm'].resetFields()
                    if (this.dataForm.id) {
                        getObj(this.dataForm.id).then(response => {
                            this.dataForm = response.data.data
                        })
                    }
                })
                //获取所有案件
                this.findAllProcessAj();
            },
 
            //查询所有案件
            findAllProcessAj(){
                findAll().then(res => {
                    console.log(res.data.data)
                    this.processAjApprovalList = res.data.data
                });
            },
 
 
            //选择案件改变
            causeChange(item) {
                console.log(item);
                this.dataForm.processAjApprovalId = item.id
                this.dataForm.processAjApprovalName = item.processAjCoverName
                /* this.dataForm.subjectType = item.subjectType
                 this.dataForm.subjectName = item.subjectName*/
            },
 
 
            // 表单提交
            dataFormSubmit () {
                this.$refs['dataForm'].validate((valid) => {
                    if (valid) {
                        if (this.dataForm.id) {
                            putObj(this.dataForm).then(data => {
                                this.$message.success('修改成功')
                                this.visible = false
                                this.$emit('refreshDataList')
                            });
                        } else {
                            addObj(this.dataForm).then(data => {
                                this.$message.success('添加成功')
                                this.visible = false
                                this.$emit('refreshDataList')
                            })
                        }
                    }
                })
            }
        }
    }
</script>
 
<style>
  .constraintexecute-form .el-dialog__header{
    text-align: center;
    font-weight: 700;
  }
  .constraintexecute-line .el-input__inner,.shenqingren-introduce .el-input__inner{
    border:none;
    border-radius:0;
    background-color: transparent;
    border-bottom:1px solid #DCDFE6;
  }
  .constraintexecute-line .el-form-item{
    margin-bottom: 0;
  }
  .fayuan .el-input{
    width: 200px;
  }
  .zuochu-box .el-form-item{
   width: calc(100% - 120px);
  }
  .zuochu-box .el-textarea__inner{
    border:none;
    border-radius:0;
    background-color: transparent;
    border-bottom:1px solid #DCDFE6;
  }
</style>
<style scoped>
  .constraintexecute-form-box{
    position: relative;
    padding:0 20px;
  }
  .bianhao-box{
    position: absolute;
    right: 0px;
    top:0px;
    display: flex;
    align-items: center;
    z-index: 1;
  }
  .constraintexecute-line{
    display: flex;
    align-items: center;
    padding:10px 0;
  }
  .zhixingDate{
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    margin-top: 30px;
  }
</style>