From a3aaf7dd4e4b7d93da475593d3afd4e3d346afb3 Mon Sep 17 00:00:00 2001 From: merak1237 <1036673629@qq.com> Date: Mon, 15 Sep 2025 18:11:33 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E9=A1=B5=E9=9D=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- common/config.js | 4 ++-- package.json | 2 +- pages.json | 2 +- pages/sys/home/home.vue | 10 ++++++++++ pages/sys/workbench/unitManagement/unitManagement.vue | 2 +- pages/sys/workbench/workbench.vue | 10 +++++----- 6 files changed, 20 insertions(+), 10 deletions(-) diff --git a/common/config.js b/common/config.js index 8281903..3511ef5 100644 --- a/common/config.js +++ b/common/config.js @@ -28,10 +28,10 @@ const config = { // config.baseUrl = 'http://tc.cqsznc.com:7080/api'; //本地 -config.baseUrl = '/js'; +// config.baseUrl = '/js'; //正式 -// config.baseUrl = 'http://183.230.235.66:11010/api'; +config.baseUrl = 'http://183.230.235.66:11010/api'; // config.baseUrl = 'http://378a061a.r28.cpolar.top' export default config; diff --git a/package.json b/package.json index 508ba3f..9fc08f4 100644 --- a/package.json +++ b/package.json @@ -1,5 +1,5 @@ { - "name": "Aidex", + "name": "智慧南川", "version": "2.3.0", "description": "Aidex 移动端快速开发框架", "main": "main.js", diff --git a/pages.json b/pages.json index 1946383..231fc15 100644 --- a/pages.json +++ b/pages.json @@ -301,7 +301,7 @@ }, "globalStyle": { "navigationBarTextStyle": "black", - "navigationBarTitleText": "Aidex", + "navigationBarTitleText": "智慧南川", "navigationBarBackgroundColor": "#ffffff" }, "easycom": { diff --git a/pages/sys/home/home.vue b/pages/sys/home/home.vue index 4dcdeb1..af8a76a 100644 --- a/pages/sys/home/home.vue +++ b/pages/sys/home/home.vue @@ -89,6 +89,16 @@ text: '报事报修', url:'/pages/sys/user/myRepair/myRepair' }, + { + icon: '/static/aaa_dw.png', + text: '单位管理', + url:'/pages/sys/workbench/unitManagement/unitManagement' + }, + { + icon: '/static/aaa_yq.png', + text: '访客管理', + url:'/pages/sys/user/myVisitor/myVisitor' + }, ], newsList: [ '数智南川|最新资讯1', diff --git a/pages/sys/workbench/unitManagement/unitManagement.vue b/pages/sys/workbench/unitManagement/unitManagement.vue index 29016ac..762435c 100644 --- a/pages/sys/workbench/unitManagement/unitManagement.vue +++ b/pages/sys/workbench/unitManagement/unitManagement.vue @@ -116,7 +116,7 @@ export default { // 获取uQRCode实例 var qr = new uQRCode(); // 设置二维码内容 - qr.data = `http://183.230.235.66:11010/parkH5/pages/sys/workbench/unitManagement/employeeAdd?unitId=${uni.getStorageSync('lifeData').vuex_user.unitId} + qr.data = `http://183.230.235.66:11010/parkH5?unitId=${uni.getStorageSync('lifeData').vuex_user.unitId} & unitName=${uni.getStorageSync('lifeData').vuex_user.unitName} & tenantId=${uni.getStorageSync('lifeData').vuex_user.tenantId}`; // 设置二维码大小,必须与canvas设置的宽高一致 diff --git a/pages/sys/workbench/workbench.vue b/pages/sys/workbench/workbench.vue index 442e0bc..7cc5406 100644 --- a/pages/sys/workbench/workbench.vue +++ b/pages/sys/workbench/workbench.vue @@ -59,11 +59,11 @@ // url:'/pages/sys/workbench/camera' // }, - { - icon: '/static/aaaa_gd.png', - text: '工单', - url:'/pages/sys/workbench/order/order' - }, + { + icon: '/static/aaaa_bsbx.png', + text: '报事报修', + url:'/pages/sys/user/myRepair/myRepair' + }, // { // icon: '/static/aaaa_yjcl.png', // text: '预警处理',