parent
f9156e4f91
commit
079de81427
|
@ -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
|
||||
})
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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()
|
||||
},
|
||||
// 获取列表
|
||||
|
|
|
@ -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()
|
||||
},
|
||||
// 获取列表
|
||||
|
|
Loading…
Reference in New Issue