fix
pyt
2025-03-20 c4c5af0f91d0efdbc81efdea6d94f527437a2b9a
fix
5个文件已修改
58 ■■■■ 已修改文件
H5/main.js 4 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
H5/manifest.json 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
H5/package-lock.json 39 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
H5/pages.json 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
H5/pages/index/index.vue 11 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
H5/main.js
@@ -5,7 +5,9 @@
import './uni.promisify.adaptor'
import CustomPopup from '@/components/customPopup.vue'
const jweixin = require('jweixin-module')
/*引入,注释可关闭*/
// import vconsole from "vconsole";
// Vue.prototype.vconsole = new vconsole();
Vue.config.productionTip = false
Vue.prototype.$store = store
Vue.prototype.$jweixin = jweixin
H5/manifest.json
@@ -1,6 +1,6 @@
{
    "name": "“三个身边”群众工作机制",
    "appid": "__UNI__DB035F5",
    "appid" : "__UNI__4B73B99",
    "description": "",
    "versionName": "1.0.0",
    "versionCode": "100",
H5/package-lock.json
@@ -2,10 +2,49 @@
  "requires": true,
  "lockfileVersion": 1,
  "dependencies": {
    "@babel/runtime": {
      "version": "7.26.10",
      "resolved": "https://registry.npmmirror.com/@babel/runtime/-/runtime-7.26.10.tgz",
      "integrity": "sha512-2WJMeRQPHKSPemqk/awGrAiuFfzBmOIPXKizAsVhWH9YJqLZ0H+HS4c8loHGgW6utJ3E/ejXQUsiGaQy2NZ9Fw==",
      "requires": {
        "regenerator-runtime": "^0.14.0"
      }
    },
    "copy-text-to-clipboard": {
      "version": "3.2.0",
      "resolved": "https://registry.npmmirror.com/copy-text-to-clipboard/-/copy-text-to-clipboard-3.2.0.tgz",
      "integrity": "sha512-RnJFp1XR/LOBDckxTib5Qjr/PMfkatD0MUCQgdpqS8MdKiNUzBjAQBEN6oUy+jW7LI93BBG3DtMB2KOOKpGs2Q=="
    },
    "core-js": {
      "version": "3.41.0",
      "resolved": "https://registry.npmmirror.com/core-js/-/core-js-3.41.0.tgz",
      "integrity": "sha512-SJ4/EHwS36QMJd6h/Rg+GyR4A5xE0FSI3eZ+iBVpfqf1x0eTSg1smWLHrA+2jQThZSh97fmSgFSU8B61nxosxA=="
    },
    "jweixin-module": {
      "version": "1.6.0",
      "resolved": "https://registry.npmmirror.com/jweixin-module/-/jweixin-module-1.6.0.tgz",
      "integrity": "sha512-dGk9cf+ipipHmtzYmKZs5B2toX+p4hLyllGLF6xuC8t+B05oYxd8fYoaRz0T30U2n3RUv8a4iwvjhA+OcYz52w=="
    },
    "mutation-observer": {
      "version": "1.0.3",
      "resolved": "https://registry.npmmirror.com/mutation-observer/-/mutation-observer-1.0.3.tgz",
      "integrity": "sha512-M/O/4rF2h776hV7qGMZUH3utZLO/jK7p8rnNgGkjKUw8zCGjRQPxB8z6+5l8+VjRUQ3dNYu4vjqXYLr+U8ZVNA=="
    },
    "regenerator-runtime": {
      "version": "0.14.1",
      "resolved": "https://registry.npmmirror.com/regenerator-runtime/-/regenerator-runtime-0.14.1.tgz",
      "integrity": "sha512-dYnhHh0nJoMfnkZs6GmmhFknAGRrLznOu5nc9ML+EJxGvrx6H7teuevqVqCuPcPK//3eDrrjQhehXVx9cnkGdw=="
    },
    "vconsole": {
      "version": "3.15.1",
      "resolved": "https://registry.npmmirror.com/vconsole/-/vconsole-3.15.1.tgz",
      "integrity": "sha512-KH8XLdrq9T5YHJO/ixrjivHfmF2PC2CdVoK6RWZB4yftMykYIaXY1mxZYAic70vADM54kpMQF+dYmvl5NRNy1g==",
      "requires": {
        "@babel/runtime": "^7.17.2",
        "copy-text-to-clipboard": "^3.0.1",
        "core-js": "^3.11.0",
        "mutation-observer": "^1.0.3"
      }
    }
  }
}
H5/pages.json
@@ -137,7 +137,7 @@
    ],
    "globalStyle": {
        "navigationBarTextStyle": "black",
        "navigationBarTitleText": "三个身边",
        "navigationBarTitleText": "“三个身边”群众工作机制",
        "navigationBarBackgroundColor": "#F8F8F8",
        "backgroundColor": "#F8F8F8"
    },
H5/pages/index/index.vue
@@ -370,14 +370,12 @@
                let res = await getCurrentUserInfo()
                // 获取身份信息
                let resp = await getappletcinfo()
                let index = resp.data.permissions.findIndex(item => item.identity == 1)
                if (resp.data.identity == 1 && index == -1) {
                    resp.data.identity = 2
                }
                let index = resp.data.permissions.findIndex(item => item.identity == 2)
                resp.data.isAdmin = index >= 0 ? 1 : 0
                if (resp.data.permissions.length > 0) {
                    resp.data.roleName = resp.data.permissions.find(item => item.identity == resp.data.identity).name
                    obj = resp.data.permissions.find(item => item.identity == resp.data.identity).name
                }
                resp.data.isAdmin = res.data ? 1 : 0
                this.userInfo = {
                    ...resp.data,
                    ...res.data
@@ -407,6 +405,7 @@
                    this.$refs.shenhePop.showPopup()
                    return
                }
                console.log(this.userInfo);
                if (!this.userInfo.isPartymember && this.userInfo.auditStatus === 2 && this.userInfo.identity != '2') {
                    // 审核拒绝
                    this.$refs.jujuePop.showPopup()