From 53e64e2d0f19e8237a8205db60ced0b3747b4cfb Mon Sep 17 00:00:00 2001
From: lin <sbla5888@163.com>
Date: Sat, 13 Apr 2024 10:19:47 +0800
Subject: [PATCH] 居住证审核状态调整
---
subPackage/reside/list.vue | 4 ++--
subPackage/reside/detail.vue | 10 +++++-----
pages/home/index.vue | 4 +++-
subPackage/reside/record.vue | 4 ++--
4 files changed, 12 insertions(+), 10 deletions(-)
diff --git a/pages/home/index.vue b/pages/home/index.vue
index 99724cd..fc8f583 100644
--- a/pages/home/index.vue
+++ b/pages/home/index.vue
@@ -655,6 +655,7 @@
console.log("*******status*****", uni.getStorageSync("userInfo").status)
this.getRealTimeLocaltion()
}
+ // this.getBanner();
},
onShareAppMessage() {
@@ -816,7 +817,8 @@
getBanner() {
getBannerList({
current: 1,
- size: 5
+ size: 5,
+ aoiCode: uni.getStorageSync("siteInfo").aoiCode
}).then(res => {
let data = res.data.records;
if (data.length) {
diff --git a/subPackage/reside/detail.vue b/subPackage/reside/detail.vue
index 07b7ce8..12f73cd 100644
--- a/subPackage/reside/detail.vue
+++ b/subPackage/reside/detail.vue
@@ -32,11 +32,11 @@
<view class="item-row flex j-c-s-b a-i-c">
<text>审核状态</text>
<text class="item-content" v-if="info.confirmFlag == 1">待审核</text>
- <text class="item-content" v-if="info.confirmFlag == 3">审核通过</text>
- <text class="item-content" v-if="info.confirmFlag == 4">审核驳回</text>
+ <text class="item-content" v-if="info.confirmFlag == 2">审核通过</text>
+ <text class="item-content" v-if="info.confirmFlag == 3">审核驳回</text>
</view>
- <view class="item-row flex j-c-s-b a-i-c" v-if="info.confirmFlag == 4">
+ <view class="item-row flex j-c-s-b a-i-c" v-if="info.confirmFlag == 3">
<text>驳回原因</text>
<text>{{info.confirmNotion}}</text>
</view>
@@ -48,7 +48,7 @@
<audit-action @handle="submit" v-if="roleType == 2 && info.confirmFlag == 1"></audit-action>
- <footer-btn v-if="roleType == 1 && info.confirmFlag == 4" text="编辑" @click="navToEdit" />
+ <footer-btn v-if="roleType == 1 && info.confirmFlag == 3" text="编辑" @click="navToEdit" />
</view>
@@ -105,7 +105,7 @@
submit(val) {
let data = {
id: this.info.id,
- confirmFlag: val.type == 2 ? 3 : 4,
+ confirmFlag: val.type == 2 ? 2 : 3,
}
if (val.type == 3) {
data.confirmNotion = val.remark;
diff --git a/subPackage/reside/list.vue b/subPackage/reside/list.vue
index fa6d049..628893b 100644
--- a/subPackage/reside/list.vue
+++ b/subPackage/reside/list.vue
@@ -87,12 +87,12 @@
},
{
name: "审核通过",
- status: 3,
+ status: 2,
type: 'success'
},
{
name: "已拒绝",
- status: 4,
+ status: 3,
type: 'error'
},
],
diff --git a/subPackage/reside/record.vue b/subPackage/reside/record.vue
index e0eae4f..57bbbc1 100644
--- a/subPackage/reside/record.vue
+++ b/subPackage/reside/record.vue
@@ -6,8 +6,8 @@
<!-- <text class="f-32 fw" v-if="i.type == 7">消防检查</text> -->
<text class="f-32 fw">{{i.name}}</text>
<u-tag v-if="i.confirmFlag == 1" text="待审批" type="warning" plain plainFill></u-tag>
- <u-tag v-if="i.confirmFlag == 3" text="审核通过" type="success" plain plainFill></u-tag>
- <u-tag v-if="i.confirmFlag == 4" text="审核拒绝" type="error" plain plainFill></u-tag>
+ <u-tag v-if="i.confirmFlag == 2" text="审核通过" type="success" plain plainFill></u-tag>
+ <u-tag v-if="i.confirmFlag == 3" text="审核拒绝" type="error" plain plainFill></u-tag>
</view>
<view class="item-row flex a-i-c j-c-s-b">
<text class="f-28">时间</text>
--
Gitblit v1.9.3