hejianhao
2025-03-19 e17445d48df086637d7bb4730974c40d919ebcdd
工单详情、党员身份判断按钮
1个文件已修改
22 ■■■■ 已修改文件
H5/pages/work-detail/work-detail.vue 22 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
H5/pages/work-detail/work-detail.vue
@@ -374,8 +374,8 @@
                scoreTopHeight: 0, //距离顶部多高
                userInfo: {}, //个人信息
                isParty: false, //这是党员
                userInfo: uni.getStorageSync('userInfo'), //个人信息
                isParty: false, //true 党员 false 管理员
            };
        },
        onPageScroll(e) {
@@ -396,15 +396,15 @@
            if (params.id) {
                this.id = params.id
            }
            getUserInfo().then(res => {
                if (res.data == null || res.data.accountLevel == 5) {
                    this.isParty = true
                }
                this.userInfo = {
                    ...res.data
                }
            })
            this.isParty = uni.getStorageSync('userInfo').identity == 1 ? true : false
            // getUserInfo().then(res => {
            //     if (res.data == null || res.data.accountLevel == 5) {
            //         this.isParty = true
            //     }
            //     this.userInfo = {
            //         ...res.data
            //     }
            // })
        },
        methods: {
            open() {},