diff --git a/wuye-manager-uniapp/.gitignore b/wuye-manager-uniapp/.gitignore index 9c97877..573792f 100644 --- a/wuye-manager-uniapp/.gitignore +++ b/wuye-manager-uniapp/.gitignore @@ -66,3 +66,6 @@ tmp/ npm-debug.log* yarn-debug.log* yarn-error.log* + +# AI init +AGENTS.md diff --git a/wuye-manager-uniapp/manifest.json b/wuye-manager-uniapp/manifest.json index f9c794b..39f36d5 100644 --- a/wuye-manager-uniapp/manifest.json +++ b/wuye-manager-uniapp/manifest.json @@ -2,8 +2,8 @@ "name" : "花开管家", "appid" : "__UNI__5F224F3", "description" : "智慧社区管家端,专为小区物业管理人员打造,支持多小区灵活切换管理。集成账号密码、手机号密码双重登录模式,内置忘记密码找回功能,保障账号安全。涵盖消息通知、日常巡检、故障报修、一键开门、工单流转、投诉处理等核心办公功能,物业人员可在线完成巡检打卡、问题上报、工单派发跟进、投诉对接处理等日常工作,同时支持查看个人上报记录、巡检历史,便捷修改账号信息与登录密码。高效简化社区物业办公流程,提升小区服务与管理效率,打造便捷智能的社区管理服务平台。", - "versionName" : "1.0.0", - "versionCode" : "100", + "versionName" : "1.0.2", + "versionCode" : 102, "transformPx" : false, "app-plus" : { "usingComponents" : true, @@ -17,7 +17,6 @@ "useOriginalMsgbox" : true }, "modules" : { - "Geolocation" : {}, "Camera" : {}, "Push" : {}, "Bluetooth" : {}, @@ -49,8 +48,8 @@ "NSPhotoLibraryUsageDescription" : "需要访问手机相册,选取本地巡检记录照片、业主报修故障图、水电表二维码用于上传工单与巡检台账,仅读取当前业务所需图片,不会获取相册内其他无关照片。", "NSPhotoLibraryAddUsageDescription" : "需要相册写入权限,保存巡检凭证、报修工单至手机相册,方便线下核对查看,图片仅本地存储,不会上传至无关服务器。", "NSCameraUsageDescription" : "本应用需要使用相机,用于管家现场巡检拍摄点位记录、处理业主报修拍摄故障照片,扫描水电表二维码抄表,拍摄影像仅用于小区物业工单与巡检业务存档,不会私自留存、对外分享。", - "NSLocationWhenInUseUsageDescription" : "需要获取位置信息", - "NSLocationAlwaysAndWhenInUseUsageDescription" : "需要获取位置信息", + "NSLocationWhenInUseUsageDescription" : "", + "NSLocationAlwaysAndWhenInUseUsageDescription" : "", "NSBluetoothPeripheralUsageDescription" : "需要蓝牙权限连接小区智能门禁,实现蓝牙一键开门通行,仅用于小区门禁解锁业务,不采集蓝牙设备信息。", "NSBluetoothAlwaysUsageDescription" : "本应用需要蓝牙权限,用于扫描、连接小区蓝牙门禁设备实现一键开门,仅和本小区门禁硬件建立通信,不会扫描、连接无关蓝牙设备。" }, diff --git a/wuye-manager-uniapp/pageSubPack/instrument/addreplacement.vue b/wuye-manager-uniapp/pageSubPack/instrument/addreplacement.vue index df772d6..2a29bec 100644 --- a/wuye-manager-uniapp/pageSubPack/instrument/addreplacement.vue +++ b/wuye-manager-uniapp/pageSubPack/instrument/addreplacement.vue @@ -86,13 +86,12 @@ function handleClick() { function handleScan() { uni.scanCode({ scanType: ['barCode', 'qrCode', 'datamatrix', 'pdf417'], - autoZoom: true, // iOS 自动对焦优化 - onlyFromCamera: false, // 允许从相册选取图片识别码 + autoZoom: true, + onlyFromCamera: false, success: res => { formData.value.deviceCode = res.result }, fail: err => { - // 判断相机权限被拒场景 if (err.errMsg.includes('permission') || err.errMsg.includes('camera')) { uni.showModal({ title: '权限不足', @@ -100,7 +99,6 @@ function handleScan() { confirmText: '去设置', success: modalRes => { if (modalRes.confirm) { - // APP端跳转系统设置(iOS/安卓通用) plus.runtime.openURL('app-settings://') } } @@ -123,12 +121,14 @@ function handleSubmit() { icon: 'exception', title: '检查设备编号' }) + return } if (!formData.value.houseId.trim()) { uni.showToast({ icon: 'exception', title: '选择房屋' }) + return } const { villageId } = JSON.parse(uni.getStorageSync('currentVillage')) AddReplaceMainList({