lin
2024-04-13 53e64e2d0f19e8237a8205db60ced0b3747b4cfb
居住证审核状态调整
4 files modified
22 ■■■■ changed files
pages/home/index.vue 4 ●●● patch | view | raw | blame | history
subPackage/reside/detail.vue 10 ●●●● patch | view | raw | blame | history
subPackage/reside/list.vue 4 ●●●● patch | view | raw | blame | history
subPackage/reside/record.vue 4 ●●●● patch | view | raw | blame | history
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) {
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;
subPackage/reside/list.vue
@@ -87,12 +87,12 @@
                    },
                    {
                        name: "审核通过",
                        status: 3,
                        status: 2,
                        type: 'success'
                    },
                    {
                        name: "已拒绝",
                        status: 4,
                        status: 3,
                        type: 'error'
                    },
                ],
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>