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

- 门口门禁bug修复
pet_门口门禁
huangyuxuan 2025-02-07 14:12:00 +08:00
parent 0b7595c308
commit 1e887e6ea7
3 changed files with 38 additions and 14 deletions

View File

@ -189,7 +189,7 @@ export default {
console.log('---------------------') console.log('---------------------')
console.log('row.IS_AUDIT:', row.IS_AUDIT) // console.log('row.IS_AUDIT:', row.IS_AUDIT) //
console.log('this.IS_POLICE:', this.IS_POLICE) // console.log('this.IS_POLICE:', this.IS_POLICE) //
if (row.IS_AUDIT == null && this.IS_POLICE === '1') { if (row.IS_AUDIT === '1' && this.IS_POLICE === '1') {
return true return true
} else { } else {
return false return false
@ -204,10 +204,14 @@ export default {
this.$refs.sendUtil.init(row) this.$refs.sendUtil.init(row)
}, },
getType(AUDIT_TYPE) { getType(AUDIT_TYPE) {
if (AUDIT_TYPE === '0' || AUDIT_TYPE == null || AUDIT_TYPE === '') { if (AUDIT_TYPE === '1'){
return '待审核' return '待审核'
} else if (AUDIT_TYPE === '1' || AUDIT_TYPE === '2') { }else if (AUDIT_TYPE === '2'){
return '审核通过' return '审核通过'
}else if (AUDIT_TYPE === '0'){
return '审核驳回'
}else {
return '待申请'
} }
}, },
// //

View File

@ -13,16 +13,16 @@
<el-col :span="12"> <el-col :span="12">
<el-form-item prop="STATUS" label="是否通过: "> <el-form-item prop="STATUS" label="是否通过: ">
<el-select v-model="form.STATUS" filterable style="width: 300px" placeholder="请选择" @change="handleStatusChange"> <el-select v-model="form.STATUS" filterable style="width: 300px" placeholder="请选择" @change="handleStatusChange">
<el-option label="是" value="1"/> <el-option label="是" value="2"/>
<el-option label="否" value="2"/> <el-option label="否" value="0"/>
</el-select> </el-select>
</el-form-item> </el-form-item>
</el-col> </el-col>
</el-row> </el-row>
<el-row> <el-row>
<el-col v-if="form.STATUS === '2'" :span="24"> <el-col v-if="form.STATUS === '0'" :span="24">
<el-form-item v-if="form.STATUS === '2'" prop="OPINION" label="打回原因:"> <el-form-item v-if="form.STATUS === '0'" prop="OPINION" label="打回原因:">
<el-input v-model="form.OPINION" :rows="2" type="textarea" placeholder="填写审批意见"/> <el-input v-model="form.OPINION" :rows="2" type="textarea" placeholder="填写审批意见"/>
</el-form-item> </el-form-item>
</el-col> </el-col>

View File

@ -72,19 +72,39 @@
<el-input v-model="detailForm.EMISSION_STANDARDS" readonly /> <el-input v-model="detailForm.EMISSION_STANDARDS" readonly />
</el-form-item> </el-form-item>
<el-form-item label="驾驶证图片"> <el-form-item label="驾驶证图片">
<el-image :src="config.fileUrl + detailForm.DRIVING_LICENSE" style="width: 100px; height: 100px" /> <el-image
:src="config.fileUrl + detailForm.DRIVING_LICENSE"
style="width: 100px; height: 100px"
:preview-src-list="[config.fileUrl + detailForm.DRIVING_LICENSE]"
/>
</el-form-item> </el-form-item>
<el-form-item label="绿本图片"> <el-form-item label="绿本图片">
<el-image :src="config.fileUrl + detailForm.GREEN_BOOK" style="width: 100px; height: 100px" /> <el-image
:src="config.fileUrl + detailForm.GREEN_BOOK"
style="width: 100px; height: 100px"
:preview-src-list="[config.fileUrl + detailForm.GREEN_BOOK]"
/>
</el-form-item> </el-form-item>
<el-form-item label="环保随车清单图片"> <el-form-item label="环保随车清单图片">
<el-image :src="config.fileUrl + detailForm.ECO_FRIENDLY_CHECKLIST" style="width: 100px; height: 100px" /> <el-image
:src="config.fileUrl + detailForm.ECO_FRIENDLY_CHECKLIST"
style="width: 100px; height: 100px"
:preview-src-list="[config.fileUrl + detailForm.ECO_FRIENDLY_CHECKLIST]"
/>
</el-form-item> </el-form-item>
<el-form-item label="出厂合格证图片"> <el-form-item label="出厂合格证图片">
<el-image :src="config.fileUrl + detailForm.FACTORY_CERTIFICATE" style="width: 100px; height: 100px" /> <el-image
:src="config.fileUrl + detailForm.FACTORY_CERTIFICATE"
style="width: 100px; height: 100px"
:preview-src-list="[config.fileUrl + detailForm.FACTORY_CERTIFICATE]"
/>
</el-form-item> </el-form-item>
<el-form-item label="环保信息截图图片"> <el-form-item label="环保信息截图图片">
<el-image :src="config.fileUrl + detailForm.ENVIRONMENTAL_SCREENSHOTS" style="width: 100px; height: 100px" /> <el-image
:src="config.fileUrl + detailForm.ENVIRONMENTAL_SCREENSHOTS"
style="width: 100px; height: 100px"
:preview-src-list="[config.fileUrl + detailForm.ENVIRONMENTAL_SCREENSHOTS]"
/>
</el-form-item> </el-form-item>
<el-form-item label="访问起始时间"> <el-form-item label="访问起始时间">
<el-input v-model="detailForm.VISIT_START_TIME" readonly /> <el-input v-model="detailForm.VISIT_START_TIME" readonly />