From 0fe24ea848c3a845bc151fb760343b47bcfc1f94 Mon Sep 17 00:00:00 2001
From: wangweidong <850489345@qq.com>
Date: Wed, 8 Apr 2026 17:19:39 +0800
Subject: [PATCH] =?UTF-8?q?=E5=90=8C=E6=AD=A5?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
manifest.json | 4 +-
pages/NursingNew/component/index.vue | 33 ++++-
.../component/leftcontent/leftcontent.vue | 4 +-
.../component/leftcontent/serveswipe.vue | 120 +++++++++++++++---
.../component/leftcontent/swipecard.vue | 7 +
pages/NursingNew/component/nurse/newindex.vue | 15 ++-
pages/NursingNew/index.vue | 2 +-
pages/login/login.vue | 1 +
pages/watch/settings/settings.vue | 4 +-
request/index.js | 1 +
10 files changed, 157 insertions(+), 34 deletions(-)
diff --git a/manifest.json b/manifest.json
index f82e002..63290e8 100644
--- a/manifest.json
+++ b/manifest.json
@@ -2,8 +2,8 @@
"name" : "护理单元",
"appid" : "__UNI__FB2D473",
"description" : "护理单元",
- "versionName" : "1.0.041",
- "versionCode" : 10041,
+ "versionName" : "1.0.042",
+ "versionCode" : 10042,
"transformPx" : false,
/* 5+App特有相关 */
"app-plus" : {
diff --git a/pages/NursingNew/component/index.vue b/pages/NursingNew/component/index.vue
index ee6a2f0..2b7b0b8 100644
--- a/pages/NursingNew/component/index.vue
+++ b/pages/NursingNew/component/index.vue
@@ -120,9 +120,10 @@
@click="zldex(i)">
- {{v.directiveName?.substring(0,5)}}
- {{v.directiveName?.substring(5,12)}}
+
+ {{v.obj.mainName}}
+
+ ( {{v.obj.subName}} )
{
let data = {
@@ -428,15 +429,35 @@
instructionTagId: e
}
queryAll(data).then(res => {
- // console.log(res)
fwzlarr.value = res.result.jsList;
+ fwzlarr.value.forEach(item=>{
+ item.obj = parseDirectiveName(item.directiveName)
+ })
+ console.log(fwzlarr.value)
})
}
+ const parseDirectiveName=(directiveName)=> {
+ if (!directiveName) return { mainName: '', subName: '' }
+ const reg = /^(.+)((.+))$/
+ const match = directiveName.match(reg)
+ if (match) {
+ return {
+ mainName: match[1].trim(), // 协助饮水
+ subName: match[2].trim() // 饮水
+ }
+ } else {
+ return {
+ mainName: directiveName.trim(),
+ subName: ''
+ }
+ }
+ }
const shtab = (e) => {
fwzlindex.value = e;
zlfunc(typearra.value[e].instructionType)
fwzldex.value = -1
}
+
const zldex = (e) => {
if (e > -1 && e == fwzldex.value) {
fwzldex.value = -1
@@ -465,7 +486,7 @@
})
setTimeout(()=>{
inits(uni.getStorageSync('nuId'))
- },800)
+ },1500)
} else {
error.value = true;
msg.value = res.message
diff --git a/pages/NursingNew/component/leftcontent/leftcontent.vue b/pages/NursingNew/component/leftcontent/leftcontent.vue
index a390cce..92e67b2 100644
--- a/pages/NursingNew/component/leftcontent/leftcontent.vue
+++ b/pages/NursingNew/component/leftcontent/leftcontent.vue
@@ -31,7 +31,7 @@
url:'/pages/watch/settings/settings'
})">
-
+
{{uni.getStorageSync('realname')}}
@@ -41,6 +41,7 @@