[问题修复](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,6 +127,8 @@ export default {
this.$parent.activeName = 'List' this.$parent.activeName = 'List'
}, },
sendMessage() { sendMessage() {
this.$refs.form.validate(valid => {
if (valid) {
requestFN( requestFN(
'/vehiclemessage/auditChronicallyCar', '/vehiclemessage/auditChronicallyCar',
{ {
@ -141,6 +143,10 @@ export default {
}).catch((e) => { }).catch((e) => {
this.loading = false this.loading = false
}) })
} else {
return false
}
})
} }
} }
} }

View File

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

View File

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