[新增功能](hyx_门口门禁):

- 门口门禁相关页面联调
hyx_门口门禁
huangyuxuan 2025-01-10 16:20:30 +08:00
parent cb17fd5649
commit f15eb65426
5 changed files with 10 additions and 13 deletions

View File

@ -300,7 +300,7 @@ export default {
this.roleName = ''
this.listLoading = true
requestFN(
'vehiclemessage/getPageList?showCount=' + this.listQuery.limit + '&currentPage=' + this.listQuery.page,
'vehiclemessage/getXgfLongTimeCarAuditList?showCount=' + this.listQuery.limit + '&currentPage=' + this.listQuery.page,
{
...this.searchFrom,
'CORPINFO_ID': this.loginUserInfo.CORPINFO_ID,
@ -310,7 +310,7 @@ export default {
}
).then((data) => {
this.listLoading = false
this.varList = data.varList
this.varList = data.carList
this.total = data.page.totalResult
this.roleName = data.roleName
// this.hasButton()

View File

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

View File

@ -48,7 +48,7 @@
</el-table-column>
<el-table-column label="操作" align="left" width="110">
<template slot-scope="{row}">
<el-button v-if="showFirstButton(row.AUDITOR,row.IS_AUDIT)" 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>
</template>
</el-table-column>
</el-table>

View File

@ -47,7 +47,7 @@
</el-table-column>
<el-table-column label="操作" align="left" width="110">
<template slot-scope="{row}">
<el-button v-if="showFirstButton(row.AUDITOR,row.IS_AUDIT)" 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>
</template>
</el-table-column>
</el-table>
@ -99,9 +99,6 @@ export default{
approve(row) {
this.$refs.sendUtil.init(row)
},
showFirstButton(AUDITOR, IS_AUDIT) {
return AUDITOR === JSON.parse(sessionStorage.getItem('user')).USER_ID && IS_AUDIT === '1'
},
getType(AUDIT_TYPE) {
if (AUDIT_TYPE === '0') {
return '待交警支队审核'

View File

@ -12,8 +12,8 @@
<el-row :gutter="12">
<el-col :span="12">
<el-form-item prop="STATUS" label="是否通过: ">
<el-select v-model="form.STATUS" filterable style="width: 300px" placeholder="请选择" @change="clearInfo">
<el-option label="是" value="1"/>
<el-select v-model="form.STATUS" filterable style="width: 300px" placeholder="请选择">
<el-option label="是" value="2"/>
<el-option label="否" value="3"/>
</el-select>
</el-form-item>