|
|
|
|
@ -28,10 +28,15 @@
|
|
|
|
|
核销状态:
|
|
|
|
|
</div>
|
|
|
|
|
<div class="xy-table-item-content">
|
|
|
|
|
<div style="font-size: 32px;padding: 25px;width:400px">
|
|
|
|
|
<el-radio-group v-model="codeForm.type">
|
|
|
|
|
<el-radio :label="item.id" v-for="item in codeTypeList">{{item.value}}</el-radio>
|
|
|
|
|
</el-radio-group>
|
|
|
|
|
<div style="font-size: 32px;padding: 25px;width:400px">
|
|
|
|
|
<div v-for="item in codeTypeList">
|
|
|
|
|
<div v-if="item.id == codeForm.type">
|
|
|
|
|
{{item.value}}
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<!-- <el-radio-group v-model="codeForm.type">
|
|
|
|
|
<el-radio :label="item.id" >{{item.value}}</el-radio>
|
|
|
|
|
</el-radio-group> -->
|
|
|
|
|
<!-- {{form.audit_status_text}} -->
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
@ -131,7 +136,7 @@
|
|
|
|
|
<template v-slot:plate v-if="form.type==3">
|
|
|
|
|
<div class="xy-table-item">
|
|
|
|
|
<div class="xy-table-item-label">
|
|
|
|
|
停车区域:
|
|
|
|
|
车辆类型:
|
|
|
|
|
</div>
|
|
|
|
|
<div class="xy-table-item-content">
|
|
|
|
|
{{form.plate}}
|
|
|
|
|
@ -390,7 +395,10 @@
|
|
|
|
|
car_no: [],
|
|
|
|
|
person_no: []
|
|
|
|
|
}, // 核验
|
|
|
|
|
codeTypeList: [{
|
|
|
|
|
codeTypeList: [{
|
|
|
|
|
id:0,
|
|
|
|
|
value:'请提醒被访人签字'
|
|
|
|
|
},{
|
|
|
|
|
id: 1,
|
|
|
|
|
value: '入场'
|
|
|
|
|
}, {
|
|
|
|
|
@ -494,7 +502,7 @@
|
|
|
|
|
console.log(this.form)
|
|
|
|
|
this.codeForm.code = this.form.code
|
|
|
|
|
this.codeForm.admin_id = parseInt(this.gateAdminId)
|
|
|
|
|
this.codeForm.type = this.form.audit_status == 1 ? 1 : (this.form.audit_status == 3 ? 2 : '')
|
|
|
|
|
this.codeForm.type = this.form.audit_status == 1 ? 1 : (this.form.audit_status == 3 && this.form.accept_admin_sign ? 2 : 0)
|
|
|
|
|
if(this.codeForm.type==1){
|
|
|
|
|
this.codeForm.person_no.push({name:this.form.name,person_no:''})
|
|
|
|
|
for(var k of this.form.follw_people){
|
|
|
|
|
@ -510,7 +518,7 @@
|
|
|
|
|
for(var m of this.form.car_no){
|
|
|
|
|
this.codeForm.car_no.push(JSON.parse(m))
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
@ -594,7 +602,12 @@
|
|
|
|
|
codeSubmit() {
|
|
|
|
|
let that = this
|
|
|
|
|
console.log(this.codeForm)
|
|
|
|
|
console.log(this.codeForm.person_no)
|
|
|
|
|
console.log(this.codeForm.person_no)
|
|
|
|
|
if(this.codeForm.type==0){
|
|
|
|
|
this.$successMessage('请提醒被访人签字','','warning')
|
|
|
|
|
this.isShow = false
|
|
|
|
|
return
|
|
|
|
|
}
|
|
|
|
|
cancelCode({
|
|
|
|
|
...that.codeForm
|
|
|
|
|
}).then(res => {
|
|
|
|
|
|