[问题修复](pet_门口门禁):

- bug修复
pet_门口门禁
huangyuxuan 2025-02-06 14:43:55 +08:00
parent f9156e4f91
commit 079de81427
3 changed files with 21 additions and 33 deletions

View File

@ -127,19 +127,25 @@ export default {
this.$parent.activeName = 'List'
},
sendMessage() {
requestFN(
'/vehiclemessage/auditChronicallyCar',
{
FIRST_AUDIT_USER_ID: JSON.parse(sessionStorage.getItem('user')).USER_ID,
IS_AUDIT: this.form.STATUS,
VEHICLE_ID: this.VEHICLE_ID,
REMARK: this.form.OPINION
this.$refs.form.validate(valid => {
if (valid) {
requestFN(
'/vehiclemessage/auditChronicallyCar',
{
FIRST_AUDIT_USER_ID: JSON.parse(sessionStorage.getItem('user')).USER_ID,
IS_AUDIT: this.form.STATUS,
VEHICLE_ID: this.VEHICLE_ID,
REMARK: this.form.OPINION
}
).then((data) => {
this.visible = false
this.$emit('refresh', '')
}).catch((e) => {
this.loading = false
})
} else {
return false
}
).then((data) => {
this.visible = false
this.$emit('refresh', '')
}).catch((e) => {
this.loading = false
})
}
}

View File

@ -54,7 +54,7 @@
{{ getType(row.IS_AUDIT) }}
</template>
</el-table-column>
<el-table-column label="操作" align="left" width="110">
<el-table-column label="操作" align="left" width="200">
<template slot-scope="{row}">
<el-button type="primary" icon="el-icon-view" size="mini" @click="detail(row)"></el-button>
<el-button v-if="row.IS_AUDIT === '1'" type="success" icon="el-icon-view" size="mini" @click="approve(row)"></el-button>
@ -206,16 +206,7 @@ export default {
},
//
reset() {
this.form = {
USER_NAME: '',
PHONE: '',
ID_CARD: '',
CORPINFO_NAME: '',
DEPARTMENT_NAME: '',
VISIT_START_TIME: '',
VISIT_END_TIME: '',
DOOR_NAME: ''
}
this.form.LICENCE_NO = ''
this.getList()
},
//

View File

@ -201,16 +201,7 @@ export default{
},
//
reset() {
this.form = {
USER_NAME: '',
PHONE: '',
ID_CARD: '',
CORPINFO_NAME: '',
DEPARTMENT_NAME: '',
VISIT_START_TIME: '',
VISIT_END_TIME: '',
DOOR_NAME: ''
}
this.form.LICENCE_NO = ''
this.getList()
},
//