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

- bug修复
pet_门口门禁
huangyuxuan 2025-02-08 10:16:27 +08:00
parent 074c8b983d
commit 7798fc0f87
5 changed files with 10 additions and 10 deletions

View File

@ -226,7 +226,6 @@ export default {
}
},
confirm() {
this.listLoading = true;
this.$refs.form.validate(valid => {
if (valid) {
requestFN(
@ -244,6 +243,7 @@ export default {
},
goBack() {
this.$parent.activeName = 'List'
window.location.reload();
}
}
}

View File

@ -36,6 +36,7 @@
align="center"/>
<el-table-column type="index" label="序号" width="50" align="center" />
<el-table-column prop="MOTORCADE_NAME" label="车队名称"/>
<el-table-column prop="CREATE_DATE" label="车队创建时间"/>
<el-table-column label="审核状态" align="center">
<template slot-scope="{row}">
{{ getAuditType(row.IS_AUDIT) }}
@ -44,7 +45,7 @@
<el-table-column label="操作" align="left" width="300">
<template slot-scope="{row}">
<el-button type="primary" icon="el-icon-view" size="mini" @click="handleEdit(row)"></el-button>
<el-button type="primary" icon="el-icon-view" size="mini" @click="getAuditInfo(row)"></el-button>
<el-button v-if="row.IS_AUDIT !== '2'" type="primary" icon="el-icon-view" size="mini" @click="getAuditInfo(row)"></el-button>
<el-button type="danger" icon="el-icon-delete" size="mini" @click="handleDelete(row)"></el-button>
</template>
</el-table-column>
@ -166,6 +167,7 @@ export default{
})
},
handleAdd(){
this.form.ADD_MOTORCADE_NAME = ''
this.addLoading = true
},
saveMotorcade(){

View File

@ -189,7 +189,6 @@
<el-input v-model="addForm.LICENCE_NO" type="text" maxlength="300" placeholder="这里输入车牌号..."
@blur="goCheckLicenceNoAdd()"/>
</el-form-item>
<!-- 白牌蓝牌黄牌绿牌黑牌 下拉框-->
<el-form-item :rules="[{required: true,message: '车牌类型不能为空',trigger: 'blur'}]" label="车牌类型" prop="LICENCE_TYPE">
<SelectTree
ref="selectTree_add2"
@ -386,8 +385,7 @@ export default {
//
vehicleDefaultProps: {
value: 'ID',
label: 'NAME',
children: 'nodes'
label: 'NAME'
}
}
},
@ -579,8 +577,6 @@ export default {
goEdit(row) {
this.editDialogVisible = true
this.addForm = {...row};
this.addForm.VEHICLE_TYPE = this.translateVehicleType(row.VEHICLE_TYPE)
this.addForm.LICENCE_TYPE = this.translateLicenceType(row.LICENCE_TYPE)
},
editDialogCancelBtn() {
this.editDialogVisible = false

View File

@ -93,6 +93,7 @@
</el-form-item>
<el-form-item label="审核人公司" prop="CORPINFO_ID" v-if="showCorpSelect">
<el-select
filterable
v-model="auditForm.CORPINFO_ID"
placeholder="请选择公司"
@change="handleCorpChange">
@ -106,6 +107,7 @@
</el-form-item>
<el-form-item label="审核人" prop="AUDITOR_ID">
<el-select
filterable
v-model="auditForm.AUDITOR_ID"
placeholder="请选择审核人">
<el-option

View File

@ -433,6 +433,7 @@ export default {
},
reapplyDialogVisible: false, //
reapplyForm: { //
VEHICLE_DEPARTMENT_ID: '',
LICENCE_NO: '',
LICENCE_TYPE: '',
VEHICLE_TYPE: '',
@ -641,10 +642,8 @@ export default {
console.log(row)
this.reapplyForm = { ...row }; // reapplyForm
this.reapplyForm.DEPT_NAME = row.DEPT_NAME
console.log('------------------------')
console.log(this.reapplyForm.DEPT_NAME)
this.reapplyForm.DEPARTMENT_ID = row.VEHICLE_DEPARTMENT_ID
this.reapplyForm.U_NAME = row.U_NAME
this.reapplyForm.VEHICLE_TYPE = this.translateVehicleType(row.VEHICLE_TYPE)
this.reapplyDialogVisible = true; //
console.log(this.reapplyForm)
},
@ -652,6 +651,7 @@ export default {
this.reapplyDialogVisible = false; //
},
reapplyDialogConfirmBtn() {
console.log()
//
this.$refs.reapplyForm.validate(valid => {
if (valid) {