From 526cb02d5063d130375492fe6a001ee9354c22c9 Mon Sep 17 00:00:00 2001 From: wangweidong <850489345@qq.com> Date: Tue, 6 Jan 2026 16:37:04 +0800 Subject: [PATCH 1/2] =?UTF-8?q?=E5=90=8C=E6=AD=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/NursingNew/component/index.vue | 321 ++++++++++++++++++++++++++- pages/NursingNew/index.vue | 6 +- pages/procurement/outbound.vue | 2 +- static/index/card/bj.png | Bin 0 -> 1842 bytes static/index/card/zw.png | Bin 0 -> 14558 bytes 5 files changed, 317 insertions(+), 12 deletions(-) create mode 100644 static/index/card/bj.png create mode 100644 static/index/card/zw.png diff --git a/pages/NursingNew/component/index.vue b/pages/NursingNew/component/index.vue index 0a81b89..17ab767 100644 --- a/pages/NursingNew/component/index.vue +++ b/pages/NursingNew/component/index.vue @@ -73,7 +73,7 @@ - + 65 @@ -89,9 +89,37 @@ 即时 + + + + + + + 即时服务指令 + + + {{v}} + + + + + {{v}} + + + + + 暂无服务指令 + + + + + 取消 + 确定 + + - + - @@ -217,6 +245,7 @@ + 护理单元 @@ -242,13 +271,43 @@ + - + 长者标签 + + + + + + + + 体重标签 + + + + + {{v.tagName}} + + + + + + + 情绪标签 + + + + + {{v.tagName}} + + + + - + @@ -417,6 +476,7 @@ import { queryWorkCareList } from './api.js' // import {startOrder,endOrder} from './doctorask/api/api.js' import {queryCareList,queryCareInfoList,startOrder,endOrder,editSubPicPath,editSubMp4} from '../component/doctorask/api/api.js' + import { getNclist } from "./nurse/api.js"; const form = reactive({ pageNo: 1, @@ -665,7 +725,8 @@ } const start = (v) =>{ if(v.izStart!='N'){return} - startOrder({id:v.directiveId}).then(res=>{ + console.log(v) + startOrder({id:v.id}).then(res=>{ console.log(res) if(res.success){ v.izStart = "Y"; @@ -869,6 +930,34 @@ }, }); } + const jszlshow = ref(false) + + + const emotionTagList = ref([]); + const bodyTagList = ref([]); + const zzbqshow = ref(false) + const geteverything = () => { + if (uni.getStorageSync('nuId') && uni.getStorageSync('elderId')) { + emotionTagList.value = []; + bodyTagList.value = []; + getNclist(uni.getStorageSync('nuId'), uni.getStorageSync('elderId')).then((res : any) => { + res.result.emotionTagList.forEach(item=>{ + if(item.izSelected == 'Y'){ + emotionTagList.value.push(item) + } + }) + res.result.bodyTagList.forEach(item=>{ + if(item.izSelected == 'Y'){ + bodyTagList.value.push(item) + } + }) + zzbqshow.value = true; + // emotionTagList.value = res.result.emotionTagList; + // bodyTagList.value = res.result.bodyTagList; + console.log(res.result) + }) + } + } \ No newline at end of file diff --git a/pages/NursingNew/index.vue b/pages/NursingNew/index.vue index 9fc557a..0c91a3b 100644 --- a/pages/NursingNew/index.vue +++ b/pages/NursingNew/index.vue @@ -40,9 +40,7 @@ const listarr = ref([]); onMounted(() => { menuIndex.value = 0; - swipedex.value = 0; - nextTick(() => swipedex.value = 0) - + swipedex.value = 0; getServiceTree().then((res : any) => { //缓存护嘱菜单 uni.setStorageSync("saveTree", res) @@ -180,7 +178,7 @@ { name: '返回', url: '/static/shouye/sy/f0.png', urls: '/static/shouye/sy/f1.png' ,type:'back'} ] arrlist.value.push(...back); - navurl(0,arrlist.value[0]) + // navurl(0,arrlist.value[0]) })) } // 当前选中的菜单索引 diff --git a/pages/procurement/outbound.vue b/pages/procurement/outbound.vue index 06fdb5e..b933885 100644 --- a/pages/procurement/outbound.vue +++ b/pages/procurement/outbound.vue @@ -42,7 +42,7 @@ --> - + - + @@ -31,14 +34,16 @@ import outbound from "@/pages/procurement/outbound.vue"; import inventory from "@/pages/procurement/inventory.vue"; import retstock from "@/pages/procurement/retstock.vue"; + + import logistics from "@/pages/NursingNew/component/nurse/logistics.vue" + import doctorask from "@/pages/NursingNew/component/doctorask/doctorask.vue" + import nurse from "@/pages/NursingNew/component/nurse/index.vue" const tabbrarr = ref([ - { name: '采购', url: '/static/shouye/ck/c0.png', urls: '/static/shouye/ck/c1.png' ,type:'kf_cg'}, - { name: '拣货', url: '/static/shouye/ck/j0.png', urls: '/static/shouye/ck/j1.png' ,type:'kf_jh'}, - { name: '完结', url: '/static/shouye/ck/w0.png', urls: '/static/shouye/ck/w1.png' ,type:'kf_wj'}, - { name: '请领出库', url: '/static/shouye/ck/q0.png', urls: '/static/shouye/ck/q1.png' ,type:'kf_ql'}, - { name: '退货入库', url: '/static/shouye/ck/t0.png', urls: '/static/shouye/ck/t1.png' ,type:'kf_th'}, - { name: '库存盘点', url: '/static/shouye/ck/p0.png', urls: '/static/shouye/ck/p1.png' ,type:'kf_pd'}, + { name: '护理矩阵', url: '/static/shouye/sy/n0.png', urls: '/static/shouye/sy/n1.png' ,type:'kzgn_hljz'}, + { name: '医疗矩阵', url: '/static/shouye/sy/y0.png', urls: '/static/shouye/sy/y1.png' ,type:'kzgn_yljz'}, + { name: '后勤矩阵', url: '/static/shouye/sy/l0.png', urls: '/static/shouye/sy/l1.png' ,type:'kzgn_hqjz'}, + { name: '库房矩阵', url: '/static/shouye/sy/l0.png', urls: '/static/shouye/sy/l1.png' ,type:'kzgn_kfjz'}, ]) const menuop = ref(0) const swipdex = ref(0) @@ -98,6 +103,34 @@ menuop.value = 6 },100) break; + case 'kzgn_hljz': + swipdex.value = 7; + setTimeout(()=>{ + menuop.value =7; + },100) + console.log('护理矩阵') + break; + case 'kzgn_yljz': + swipdex.value = 8; + setTimeout(()=>{ + menuop.value = 8; + },100) + console.log('医疗矩阵') + break; + case 'kzgn_hqjz': + swipdex.value = 9; + setTimeout(()=>{ + menuop.value = 9; + },100) + console.log('后勤矩阵') + break; + case 'kzgn_kfjz': + swipdex.value = 7; + setTimeout(()=>{ + menuop.value =7; + },100) + console.log('库房') + break; case 'back': uni.navigateBack() break; @@ -107,18 +140,31 @@ } },10) } - const arrlist = ref([ - { name: '首页', url: '/static/shouye/ck/h0.png', urls: '/static/shouye/ck/h1.png' ,type:'sy'} - ]) + const arrlist = ref([ ]) const listarr = ref([]) const swip = ()=>{ + let nuId = uni.getStorageSync('nuId'); getPermissionList({employessId:uni.getStorageSync('userInfo').employessId}).then(res=>{ - listarr.value = res.result; + console.log(res) + console.log(nuId) + res.result.forEach(item=>{ + if(item.nuId == nuId){ + listarr.value = item.dataList + } + }) }) let nuName = uni.getStorageSync('nuName') queryPadPageList({'pageNo':-1,'nuName':nuName}).then((res => { let arr = res.result.records[0].permissionList; - arrlist.value = [{ name: '首页', url: '/static/shouye/ck/h0.png', urls: '/static/shouye/ck/h1.png' ,type:'sy'}]; + arrlist.value = [ + { name: '首页', url: '/static/shouye/ck/h0.png', urls: '/static/shouye/ck/h1.png' ,type:'sy'}, + { name: '采购', url: '/static/shouye/ck/c0.png', urls: '/static/shouye/ck/c1.png' ,type:'kf_cg'}, + { name: '拣货', url: '/static/shouye/ck/j0.png', urls: '/static/shouye/ck/j1.png' ,type:'kf_jh'}, + { name: '完结', url: '/static/shouye/ck/w0.png', urls: '/static/shouye/ck/w1.png' ,type:'kf_wj'}, + { name: '请领出库', url: '/static/shouye/ck/q0.png', urls: '/static/shouye/ck/q1.png' ,type:'kf_ql'}, + { name: '退货入库', url: '/static/shouye/ck/t0.png', urls: '/static/shouye/ck/t1.png' ,type:'kf_th'}, + { name: '库存盘点', url: '/static/shouye/ck/p0.png', urls: '/static/shouye/ck/p1.png' ,type:'kf_pd'}, + ]; let tbr = []; if(arr){ arr.forEach((v,i)=>{ diff --git a/unpackage/dist/dev/.nvue/pages/camera.js b/unpackage/dist/dev/.nvue/pages/camera.js index 12310ff..04100f2 100644 --- a/unpackage/dist/dev/.nvue/pages/camera.js +++ b/unpackage/dist/dev/.nvue/pages/camera.js @@ -574,7 +574,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) { ) ]); } -const camera = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["styles", [_style_0]], ["__file", "D:/hldy_app_mini/pages/camera.nvue"]]); +const camera = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["styles", [_style_0]], ["__file", "D:/项目/hldy_app_mini/pages/camera.nvue"]]); export { camera as default }; diff --git a/unpackage/dist/dev/.nvue/pages/fullcamera.js b/unpackage/dist/dev/.nvue/pages/fullcamera.js index a0a8c0f..f69ae1a 100644 --- a/unpackage/dist/dev/.nvue/pages/fullcamera.js +++ b/unpackage/dist/dev/.nvue/pages/fullcamera.js @@ -578,7 +578,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) { ) ]); } -const fullcamera = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["styles", [_style_0]], ["__file", "D:/hldy_app_mini/pages/fullcamera.nvue"]]); +const fullcamera = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["styles", [_style_0]], ["__file", "D:/项目/hldy_app_mini/pages/fullcamera.nvue"]]); export { fullcamera as default };