From 75f8513f4b904d2f1b7d5378381dd275f67b9f3c Mon Sep 17 00:00:00 2001 From: wangweidong <850489345@qq.com> Date: Wed, 7 Jan 2026 17:14:33 +0800 Subject: [PATCH] tj --- manifest.json | 281 +++++++++--------- pages/NursingNew/component/index.vue | 48 ++- .../component/leftcontent/leftcontent.vue | 5 +- pages/Warehouse/index/component/index.vue | 194 +++++++++++- pages/watch/settings/api.js | 10 +- pages/watch/settings/settings.vue | 156 +++++++++- static/index/card/zanw.png | Bin 0 -> 3814 bytes 7 files changed, 529 insertions(+), 165 deletions(-) create mode 100644 static/index/card/zanw.png diff --git a/manifest.json b/manifest.json index f46461b..98ef1f7 100644 --- a/manifest.json +++ b/manifest.json @@ -1,143 +1,142 @@ { - "name": "护理单元", - "appid": "__UNI__FB2D473", - "description": "护理单元", - "versionName": "1.0.021", - "versionCode": 10021, - "transformPx": false, - /* 5+App特有相关 */ - "app-plus": { - "usingComponents": true, - "nvueStyleCompiler": "uni-app", - "compilerVersion": 3, - - "screenOrientation": [ - // "portrait-primary", // 竖屏 - "landscape-primary", // 横屏(home 键在右侧) - "landscape-secondary" // 横屏(home 键在左侧) - ], - "splashscreen": { - "alwaysShowBeforeRender": true, - "waiting": true, - "autoclose": true, - "delay": 0 - }, - /* 模块配置 */ - "modules": { - "Share": {}, - "VideoPlayer": {}, - "Camera": {} - }, - /* 应用发布信息 */ - "distribute": { - /* android打包配置 */ - "android": { - "permissions": [ - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "" - ], - "abiFilters": ["armeabi-v7a", "arm64-v8a", "x86"], - "minSdkVersion": 22 - }, - /* ios打包配置 */ - "ios": { - "dSYMs": false - }, - /* SDK配置 */ - "sdkConfigs": { - "share": { - "weixin": { - "appid": "wxda748470da82886e", - "UniversalLinks": "" - } - }, - "allowOldSDK": true - }, - "icons": { - "android": { - "hdpi": "unpackage/res/icons/72x72.png", - "xhdpi": "unpackage/res/icons/96x96.png", - "xxhdpi": "unpackage/res/icons/144x144.png", - "xxxhdpi": "unpackage/res/icons/192x192.png" - }, - "ios": { - "appstore": "unpackage/res/icons/1024x1024.png", - "ipad": { - "app": "unpackage/res/icons/76x76.png", - "app@2x": "unpackage/res/icons/152x152.png", - "notification": "unpackage/res/icons/20x20.png", - "notification@2x": "unpackage/res/icons/40x40.png", - "proapp@2x": "unpackage/res/icons/167x167.png", - "settings": "unpackage/res/icons/29x29.png", - "settings@2x": "unpackage/res/icons/58x58.png", - "spotlight": "unpackage/res/icons/40x40.png", - "spotlight@2x": "unpackage/res/icons/80x80.png" - }, - "iphone": { - "app@2x": "unpackage/res/icons/120x120.png", - "app@3x": "unpackage/res/icons/180x180.png", - "notification@2x": "unpackage/res/icons/40x40.png", - "notification@3x": "unpackage/res/icons/60x60.png", - "settings@2x": "unpackage/res/icons/58x58.png", - "settings@3x": "unpackage/res/icons/87x87.png", - "spotlight@2x": "unpackage/res/icons/80x80.png", - "spotlight@3x": "unpackage/res/icons/120x120.png" - } - } - } - }, - "nativePlugins": { - "MonitorModule": { - "__plugin_info__": { - "name": "MonitorModule", - "description": "bugly升级", - "platforms": "Android", - "url": "", - "android_package_name": "", - "ios_bundle_id": "", - "isCloud": false, - "bought": -1, - "pid": "", - "parameters": {} - } - } - } - }, - /* 快应用特有相关 */ - "quickapp": {}, - /* 小程序特有相关 */ - "mp-weixin": { - "appid": "wx8fc3e4305d2fbf0b", - "setting": { - "urlCheck": false - }, - "usingComponents": true - }, - "mp-alipay": { - "usingComponents": true - }, - "mp-baidu": { - "usingComponents": true - }, - "mp-toutiao": { - "usingComponents": true - }, - "uniStatistics": { - "enable": false - }, - "vueVersion": "3" + "name" : "护理单元", + "appid" : "__UNI__FB2D473", + "description" : "护理单元", + "versionName" : "1.0.022", + "versionCode" : 10022, + "transformPx" : false, + /* 5+App特有相关 */ + "app-plus" : { + "usingComponents" : true, + "nvueStyleCompiler" : "uni-app", + "compilerVersion" : 3, + "screenOrientation" : [ + // "portrait-primary", // 竖屏 + "landscape-primary", // 横屏(home 键在右侧) + "landscape-secondary" // 横屏(home 键在左侧) + ], + "splashscreen" : { + "alwaysShowBeforeRender" : true, + "waiting" : true, + "autoclose" : true, + "delay" : 0 + }, + /* 模块配置 */ + "modules" : { + "Share" : {}, + "VideoPlayer" : {}, + "Camera" : {} + }, + /* 应用发布信息 */ + "distribute" : { + /* android打包配置 */ + "android" : { + "permissions" : [ + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "" + ], + "abiFilters" : [ "armeabi-v7a", "arm64-v8a", "x86" ], + "minSdkVersion" : 22 + }, + /* ios打包配置 */ + "ios" : { + "dSYMs" : false + }, + /* SDK配置 */ + "sdkConfigs" : { + "share" : { + "weixin" : { + "appid" : "wxda748470da82886e", + "UniversalLinks" : "" + } + }, + "allowOldSDK" : true + }, + "icons" : { + "android" : { + "hdpi" : "unpackage/res/icons/72x72.png", + "xhdpi" : "unpackage/res/icons/96x96.png", + "xxhdpi" : "unpackage/res/icons/144x144.png", + "xxxhdpi" : "unpackage/res/icons/192x192.png" + }, + "ios" : { + "appstore" : "unpackage/res/icons/1024x1024.png", + "ipad" : { + "app" : "unpackage/res/icons/76x76.png", + "app@2x" : "unpackage/res/icons/152x152.png", + "notification" : "unpackage/res/icons/20x20.png", + "notification@2x" : "unpackage/res/icons/40x40.png", + "proapp@2x" : "unpackage/res/icons/167x167.png", + "settings" : "unpackage/res/icons/29x29.png", + "settings@2x" : "unpackage/res/icons/58x58.png", + "spotlight" : "unpackage/res/icons/40x40.png", + "spotlight@2x" : "unpackage/res/icons/80x80.png" + }, + "iphone" : { + "app@2x" : "unpackage/res/icons/120x120.png", + "app@3x" : "unpackage/res/icons/180x180.png", + "notification@2x" : "unpackage/res/icons/40x40.png", + "notification@3x" : "unpackage/res/icons/60x60.png", + "settings@2x" : "unpackage/res/icons/58x58.png", + "settings@3x" : "unpackage/res/icons/87x87.png", + "spotlight@2x" : "unpackage/res/icons/80x80.png", + "spotlight@3x" : "unpackage/res/icons/120x120.png" + } + } + } + }, + "nativePlugins" : { + "MonitorModule" : { + "__plugin_info__" : { + "name" : "MonitorModule", + "description" : "bugly升级", + "platforms" : "Android", + "url" : "", + "android_package_name" : "", + "ios_bundle_id" : "", + "isCloud" : false, + "bought" : -1, + "pid" : "", + "parameters" : {} + } + } + } + }, + /* 快应用特有相关 */ + "quickapp" : {}, + /* 小程序特有相关 */ + "mp-weixin" : { + "appid" : "wx8fc3e4305d2fbf0b", + "setting" : { + "urlCheck" : false + }, + "usingComponents" : true + }, + "mp-alipay" : { + "usingComponents" : true + }, + "mp-baidu" : { + "usingComponents" : true + }, + "mp-toutiao" : { + "usingComponents" : true + }, + "uniStatistics" : { + "enable" : false + }, + "vueVersion" : "3" } diff --git a/pages/NursingNew/component/index.vue b/pages/NursingNew/component/index.vue index c031f1b..ac51c3c 100644 --- a/pages/NursingNew/component/index.vue +++ b/pages/NursingNew/component/index.vue @@ -291,6 +291,7 @@ {{v.tagName}} + @@ -303,6 +304,7 @@ {{v.tagName}} + @@ -483,19 +485,30 @@ pageSize: 10, employeeId:uni.getStorageSync('userInfo').employessId, nuId:uni.getStorageSync('nuId') + }) const plsbuy = ref([]) - const firstgetqueryCgdList = () => { + const firstgetqueryCgdList = (nuId) => { + form.nuId = nuId; + console.log(form) queryOrderList(form).then(res => { - plsbuy.value.push(...res.result.records); - if(form.pageNo==1){ - clickLeftMenu(0,plsbuy.value[0]) + console.log(res) + // plsbuy.value.push(...res.result.records); + if(res.result.records.length>0){ + clickLeftMenu(0,res.result.records[0]) + }else{ + indexmessage.value = []; } }) } const clickLeftMenu = (index : any, item : object) => { queryOrderInfoList({ mainId: item.id }).then(res => { - indexmessage.value = res.result[0] + console.log(res) + if(res.result.length>0){ + indexmessage.value = res.result[0] + }else{ + indexmessage.value = []; + } }) } const open = ref(0) @@ -704,7 +717,8 @@ uni.setStorageSync('nuName', data.nuName); uni.setStorageSync('elderId', data.elderInfo ? data.elderInfo?.id : null); uni.setStorageSync('NUall', data); - getgif(); + console.log(data.nuId) + firstgetqueryCgdList(data.nuId); emit('swip') } const tagarray = ["市医保", "半失能", "正常计费"] @@ -737,15 +751,17 @@ }) } const end = (v)=>{ - if(v.izStart!='Y'&& v.izFinish!='N'){return} - endOrder({id:v.directiveId}).then(res=>{ + console.log(v) + if(v.izStart=='Y'&& v.izFinish=='N'){ + endOrder({id:v.id}).then(res=>{ + console.log(res) if(res.success){ - v.izStart = "N"; - v.izFinish = "Y"; + firstgetqueryCgdList(uni.getStorageSync('nuId')) }else{ } - }) + })} + } // 通用的生成函数 function genPaths(base, prefix, count, ext = 'png', startIndex = 0, pad = false) { @@ -898,11 +914,11 @@ workType: 5 } console.log("看看图",data) - queryWorkOrderList(data).then((res : any) => { - console.log("看看图",res) - indexmessage.value = res.result.records[0]; - console.log("看看图",'https://www.focusnu.com/media/upFiles/'+indexmessage.value.previewFile) - }) + // queryWorkOrderList(data).then((res : any) => { + // console.log("看看图",res) + // indexmessage.value = res.result.records[0]; + // console.log("看看图",'https://www.focusnu.com/media/upFiles/'+indexmessage.value.previewFile) + // }) } const lanjie = ref(false); const gotolook = () => { diff --git a/pages/NursingNew/component/leftcontent/leftcontent.vue b/pages/NursingNew/component/leftcontent/leftcontent.vue index db4bab5..b745d12 100644 --- a/pages/NursingNew/component/leftcontent/leftcontent.vue +++ b/pages/NursingNew/component/leftcontent/leftcontent.vue @@ -15,7 +15,7 @@ @@ -33,6 +33,8 @@ type:String } }); + const serverUrl = ref(uni.getStorageSync('serverUrl')) + const userInfo = uni.getStorageSync('userInfo'); const emit = defineEmits(['navurl']) const dexleft = ref(0); @@ -129,6 +131,7 @@ .tp image{ width: 100%; height: 100%; + border-radius: 50%; } .guodu { transition: .4s; diff --git a/pages/Warehouse/index/component/index.vue b/pages/Warehouse/index/component/index.vue index b4f1793..ec6bffe 100644 --- a/pages/Warehouse/index/component/index.vue +++ b/pages/Warehouse/index/component/index.vue @@ -26,7 +26,7 @@ - + 65 @@ -42,7 +42,36 @@ 即时 + + + + + + + 即时服务指令 + + + {{v}} + + + + + {{v}} + + + + + 暂无服务指令 + + + + + 取消 + 确定 + + + @@ -248,7 +277,7 @@