diff --git a/wuye-manager-uniapp/api/BaseUrl.js b/wuye-manager-uniapp/api/BaseUrl.js index eeee3c9..2315a9e 100644 --- a/wuye-manager-uniapp/api/BaseUrl.js +++ b/wuye-manager-uniapp/api/BaseUrl.js @@ -3,13 +3,13 @@ * @Author: Zy * @Date: 2026-05-18 15:36:10 * @LastEditor: Zy - * @LastEditTime: 2026-05-18 15:36:21 + * @LastEditTime: 2026-05-30 16:53:07 */ let baseUrl = '' if (process.env.NODE_ENV === 'development') { baseUrl = 'http://192.168.0.239:8080' // 开发环境 } else { - baseUrl = 'http://192.168.0.239:8080' // 生产环境 + baseUrl = 'http://wuyeapi.ckdzkj.com' // 生产环境 } export default baseUrl; diff --git a/wuye-manager-uniapp/components/filePicker/filePicker.vue b/wuye-manager-uniapp/components/filePicker/filePicker.vue index a27deb6..62a71b7 100644 --- a/wuye-manager-uniapp/components/filePicker/filePicker.vue +++ b/wuye-manager-uniapp/components/filePicker/filePicker.vue @@ -174,7 +174,6 @@ async function uploadSingle(filePath) { } }, fail: err => { - console.error('上传失败', err) remove(innerList.value.findIndex(item => item.url === filePath)) emit('fail', err) reject(err) diff --git a/wuye-manager-uniapp/main.js b/wuye-manager-uniapp/main.js index c1caf36..38422bc 100644 --- a/wuye-manager-uniapp/main.js +++ b/wuye-manager-uniapp/main.js @@ -12,11 +12,13 @@ app.$mount() // #endif // #ifdef VUE3 -import { createSSRApp } from 'vue' +import { + createSSRApp +} from 'vue' export function createApp() { const app = createSSRApp(App) return { app } } -// #endif \ No newline at end of file +// #endif diff --git a/wuye-manager-uniapp/manifest.json b/wuye-manager-uniapp/manifest.json index d1373ed..faf9e7f 100644 --- a/wuye-manager-uniapp/manifest.json +++ b/wuye-manager-uniapp/manifest.json @@ -1,81 +1,81 @@ { - "name" : "花开物业管家端", - "appid" : "__UNI__29C3D60", - "description" : "智慧社区管家端,专为小区物业管理人员打造,支持多小区灵活切换管理。集成账号密码、手机号密码双重登录模式,内置忘记密码找回功能,保障账号安全。涵盖消息通知、日常巡检、故障报修、一键开门、工单流转、投诉处理等核心办公功能,物业人员可在线完成巡检打卡、问题上报、工单派发跟进、投诉对接处理等日常工作,同时支持查看个人上报记录、巡检历史,便捷修改账号信息与登录密码。高效简化社区物业办公流程,提升小区服务与管理效率,打造便捷智能的社区管理服务平台。", - "versionName" : "1.0.0", - "versionCode" : "100", - "transformPx" : false, - /* 5+App特有相关 */ - "app-plus" : { - "usingComponents" : true, - "nvueStyleCompiler" : "uni-app", - "compilerVersion" : 3, - "splashscreen" : { - "alwaysShowBeforeRender" : true, - "waiting" : true, - "autoclose" : true, - "delay" : 0 - }, - /* 模块配置 */ - "modules" : {}, - /* 应用发布信息 */ - "distribute" : { - /* android打包配置 */ - "android" : { - "permissions" : [ - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "" - ] - }, - /* ios打包配置 */ - "ios" : { - "dSYMs" : false - }, - /* SDK配置 */ - "sdkConfigs" : { - "push" : {} - }, - "splashscreen" : { - "useOriginalMsgbox" : true - } - } + "name": "花开物业管家端", + "appid": "__UNI__29C3D60", + "description": "智慧社区管家端,专为小区物业管理人员打造,支持多小区灵活切换管理。集成账号密码、手机号密码双重登录模式,内置忘记密码找回功能,保障账号安全。涵盖消息通知、日常巡检、故障报修、一键开门、工单流转、投诉处理等核心办公功能,物业人员可在线完成巡检打卡、问题上报、工单派发跟进、投诉对接处理等日常工作,同时支持查看个人上报记录、巡检历史,便捷修改账号信息与登录密码。高效简化社区物业办公流程,提升小区服务与管理效率,打造便捷智能的社区管理服务平台。", + "versionName": "1.0.0", + "versionCode": "100", + "transformPx": false, + /* 5+App特有相关 */ + "app-plus": { + "usingComponents": true, + "nvueStyleCompiler": "uni-app", + "compilerVersion": 3, + "splashscreen": { + "alwaysShowBeforeRender": true, + "waiting": true, + "autoclose": true, + "delay": 0 }, - /* 快应用特有相关 */ - "quickapp" : {}, - /* 小程序特有相关 */ - "mp-weixin" : { - "appid" : "wx40625124315d2de1", - "usingComponents" : true, - "lazyCodeLoading" : "requiredComponents" - }, - "mp-alipay" : { - "usingComponents" : true - }, - "mp-baidu" : { - "usingComponents" : true - }, - "mp-toutiao" : { - "usingComponents" : true - }, - "uniStatistics" : { - "enable" : false - }, - "vueVersion" : "3", - "locale" : "zh-Hans", - "fallbackLocale" : "zh-Hans" + /* 模块配置 */ + "modules": {}, + /* 应用发布信息 */ + "distribute": { + /* android打包配置 */ + "android": { + "permissions": [ + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "" + ] + }, + /* ios打包配置 */ + "ios": { + "dSYMs": false + }, + /* SDK配置 */ + "sdkConfigs": { + "push": {} + }, + "splashscreen": { + "useOriginalMsgbox": true + } + } + }, + /* 快应用特有相关 */ + "quickapp": {}, + /* 小程序特有相关 */ + "mp-weixin": { + "appid": "wx40625124315d2de1", + "usingComponents": true, + "lazyCodeLoading": "requiredComponents" + }, + "mp-alipay": { + "usingComponents": true + }, + "mp-baidu": { + "usingComponents": true + }, + "mp-toutiao": { + "usingComponents": true + }, + "uniStatistics": { + "enable": false + }, + "vueVersion": "3", + "locale": "zh-Hans", + "fallbackLocale": "zh-Hans" } -/* ios打包配置 *//* SDK配置 */ - +/* ios打包配置 */ +/* SDK配置 */ diff --git a/wuye-manager-uniapp/pageSubPack/inspection/inspection_upload.vue b/wuye-manager-uniapp/pageSubPack/inspection/inspection_upload.vue index dc3b988..39555da 100644 --- a/wuye-manager-uniapp/pageSubPack/inspection/inspection_upload.vue +++ b/wuye-manager-uniapp/pageSubPack/inspection/inspection_upload.vue @@ -18,13 +18,13 @@ 巡检时间: - 07:00:00 - 09:00:00 + {{ info.taskTime }} 巡检小区: {{ info.villageName }} - + 巡检路线: {{ item.routeName }} @@ -74,9 +74,7 @@ @@ -190,15 +188,16 @@ function init() { } onLoad(options => { taskid.value = options.id - // taskid.value = '2044684785371725826' init() }) // ---------------------------------------------- -const uploadParams = ref({}) -function onUploadFail(e) { - console.log('上传失败', e) +function onUploadFail() { + uni.showToast({ + icon: 'error', + title: '上传失败!' + }) } /** 提交巡检点 检查情况 */ @@ -246,12 +245,7 @@ const isComputed = computed(() => { */ function previewImages(images, currentIndex) { uni.previewImage({ - urls: [ - 'https://picsum.photos/80', - 'https://picsum.photos/80', - 'https://picsum.photos/80', - 'https://picsum.photos/80' - ], + urls: images, current: currentIndex }) } diff --git a/wuye-manager-uniapp/pageSubPack/instrument/addreplacement.vue b/wuye-manager-uniapp/pageSubPack/instrument/addreplacement.vue index 2fc34a4..9242160 100644 --- a/wuye-manager-uniapp/pageSubPack/instrument/addreplacement.vue +++ b/wuye-manager-uniapp/pageSubPack/instrument/addreplacement.vue @@ -24,21 +24,6 @@ - - - - - - - diff --git a/wuye-manager-uniapp/pageSubPack/instrument/checkouthouse.vue b/wuye-manager-uniapp/pageSubPack/instrument/checkouthouse.vue index a6212df..33801b3 100644 --- a/wuye-manager-uniapp/pageSubPack/instrument/checkouthouse.vue +++ b/wuye-manager-uniapp/pageSubPack/instrument/checkouthouse.vue @@ -21,8 +21,13 @@ /> - - + + - - 暂无数据 - + + 暂无数据 + @@ -204,6 +209,7 @@ function handleSelecthouse() { margin-top: 20rpx; box-sizing: border-box; overflow: hidden; + justify-content: center; .search_item { height: 116rpx; margin-bottom: 20rpx; @@ -236,13 +242,13 @@ function handleSelecthouse() { border: 1rpx solid #4d5dfa; } } - } - .noData { - text-align: center; - color: rgba(0, 0, 0, 0.26); - font-size: larger; - padding-top: 50rpx; - letter-spacing: 10rpx; + .noData { + text-align: center; + color: rgba(0, 0, 0, 0.26); + font-size: larger; + padding-top: 50rpx; + letter-spacing: 10rpx; + } } .action_btn { diff --git a/wuye-manager-uniapp/pageSubPack/ticket/repairCompleted.vue b/wuye-manager-uniapp/pageSubPack/ticket/repairCompleted.vue index beab798..9f9d39b 100644 --- a/wuye-manager-uniapp/pageSubPack/ticket/repairCompleted.vue +++ b/wuye-manager-uniapp/pageSubPack/ticket/repairCompleted.vue @@ -25,9 +25,8 @@ -->