Lou
2024-02-18 f534d22a24d23dc165091f355ea117ca56a1feb0
更新
5 files modified
2 files added
71 ■■■■■ changed files
common/setting.js 4 ●●●● patch | view | raw | blame | history
pages.json 8 ●●●●● patch | view | raw | blame | history
pages/home/index.vue 3 ●●●●● patch | view | raw | blame | history
pages/home/launch.html 20 ●●●●● patch | view | raw | blame | history
pages/home/launch.vue 33 ●●●●● patch | view | raw | blame | history
subPackage/house/roomControl/index.vue 2 ●●● patch | view | raw | blame | history
subPackage/workbench/views/cscj.vue 1 ●●●● patch | view | raw | blame | history
common/setting.js
@@ -10,8 +10,8 @@
    version: '2.0.0',
    // 开发环境接口Url
    // devUrl: 'http://z4042833u6.wicp.vip',
    devUrl: 'http://192.168.2.109:9528',
    // devUrl: 'https://srgdjczzxtpt.com:2080/api',
    // devUrl: 'http://192.168.2.109:9528',
    devUrl: 'https://srgdjczzxtpt.com:2080/api',
    // devUrl: 'https://kt39592615.goho.co',
    minioBaseUrl: "https://srgdjczzxtpt.com:2080/gminio/jczz/",
    // minioBaseUrl: "http://192.168.0.101:9528/",
pages.json
@@ -58,6 +58,14 @@
                "navigationBarBackgroundColor": "#fff",
                "navigationBarTextStyle": "black"
            }
        },
        {
            "path": "pages/home/launch",
            "style": {
                "navigationBarTitleText": "",
                "navigationBarBackgroundColor": "#fff",
                "navigationBarTextStyle": "black"
            }
        }
    ],
    "subPackages": [
pages/home/index.vue
@@ -731,6 +731,9 @@
                            this.$u.func.globalNavigator(
                                `/subPackage/house/list/index?id=${code}&title=${aoiName}&neiName=${neiName}&address=${addressName}&neiCode=${neiCode}&aoiCode=${aoiCode}`,
                                "navTo")
                        } else if (doorplateType == "小门牌") {
                            this.$u.func.globalNavigator(
                                `/subPackage/house/houseNumber/index?stdId=${code}`, "navTo")
                        }
                    } else {
                        uni.showModal({
pages/home/launch.html
New file
@@ -0,0 +1,20 @@
<!DOCTYPE html>
<html>
    <head>
        <meta charset="utf-8" />
        <meta name="viewport" content="width=device-width, initial-scale=1">
        <title></title>
    </head>
    <body>
        <script type="text/javascript">
            var config = {
                id: "wx41aa8a5d2e565a05",
                path: "subPackage/workbench/views/cscj",
                version: "trial"
            }
            window.onload = function() {
            location.href = `weixin://dl/business/?appid=${config.id}&path=${config.path}&env_version=${config.version}`
            })
        </script>
    </body>
</html>
pages/home/launch.vue
New file
@@ -0,0 +1,33 @@
<template>
    <view class="">
        <footer-btn @click="navTo" text="跳转"></footer-btn>
    </view>
</template>
<script>
    export default {
        // onLoad() {
        //     var config = {
        //         id: "wx41aa8a5d2e565a05",
        //         path: "subPackage/workbench/views/cscj",
        //         version: "trial"
        //     }
        //     location.href = `weixin://dl/business/?appid=${config.id}&path=${config.path}&env_version=${config.version}`
        // },
        methods: {
            navTo() {
                var config = {
                    id: "wx41aa8a5d2e565a05",
                    path: "subPackage/workbench/views/cscj",
                    version: "trial",
                    query: "test"
                }
                location.href =
                    `weixin://dl/business/?appid=${config.id}&path=${config.path}&env_version=${config.version}&query=${config.query}`
            }
        }
    }
</script>
<style>
</style>
subPackage/house/roomControl/index.vue
@@ -219,7 +219,7 @@
            }
            let roleName = uni.getStorageSync("activeRole").roleName;
            if (roleName == "网格员") {
            if (roleName != "居民") {
                this.roleType = 2;
            }
        },
subPackage/workbench/views/cscj.vue
@@ -506,6 +506,7 @@
            styleIsolation: 'shared', // 解除样式隔离
        },
        async onLoad(option) {
            console.log("option===>", option);
            await this.getCategory();
            await this.getAllBizDict();
            // this.getNineTypeList();