diff --git a/pages/NursingNew/component/nurse/api.js b/pages/NursingNew/component/nurse/api.js
index 8b03e5a..da6e2b8 100644
--- a/pages/NursingNew/component/nurse/api.js
+++ b/pages/NursingNew/component/nurse/api.js
@@ -25,14 +25,14 @@ export const getServiceTree2 = () => {
// 查询表格
export const getNclist = (nuId,elderId) => {
return request({
- url: `${uni.getStorageSync('serverUrl')}/api/pad/care/directive/getNclist?nuId=${nuId}&elderId=${elderId}`,
+ url: `${uni.getStorageSync('serverUrl')}/api/pad/${uni.getStorageSync('rulerbase')}/directive/getNclist?nuId=${nuId}&elderId=${elderId}`,
method: 'get',
})
}
// 保存表格
export const addBatch = (params) => {
return request({
- url: `${uni.getStorageSync('serverUrl')}/api/pad/care/directive/addBatch`,
+ url: `${uni.getStorageSync('serverUrl')}/api/pad/${uni.getStorageSync('rulerbase')}/directive/addBatch`,
method: 'post',
data: params,
})
@@ -70,7 +70,7 @@ export const getNcPackagelist = (instructionTagId) => {
// 新增即时指令
export const addInstant = (params) => {
return request({
- url: `${uni.getStorageSync('serverUrl')}/api/pad/care/directive/addInstant`,
+ url: `${uni.getStorageSync('serverUrl')}/api/pad/${uni.getStorageSync('rulerbase')}/directive/addInstant`,
method: 'post',
data: params,
})
@@ -79,7 +79,7 @@ export const addInstant = (params) => {
// 新增情绪/体型标签
export const addElderTag = (params) => {
return request({
- url: `${uni.getStorageSync('serverUrl')}/api/pad/care/directive/addElderTag`,
+ url: `${uni.getStorageSync('serverUrl')}/api/pad/${uni.getStorageSync('rulerbase')}/directive/addElderTag`,
method: 'post',
data: params,
})
@@ -97,7 +97,7 @@ export const addElderTag = (params) => {
// 编排护理流程-删除即时服务指令
export const deleteInstant = (params) => {
return request({
- url: `${uni.getStorageSync('serverUrl')}//api/pad/care/directive/deleteInstant`,
+ url: `${uni.getStorageSync('serverUrl')}/api/pad/${uni.getStorageSync('rulerbase')}/directive/deleteInstant`,
method: 'post',
data: params,
})
@@ -106,7 +106,7 @@ export const deleteInstant = (params) => {
// 编排护理流程-删除情绪/体型标签
export const deleteElderTag = (params) => {
return request({
- url: `${uni.getStorageSync('serverUrl')}/api/pad/care/directive/deleteElderTag`,
+ url: `${uni.getStorageSync('serverUrl')}/api/pad/${uni.getStorageSync('rulerbase')}/directive/deleteElderTag`,
method: 'post',
data: params,
})
@@ -123,7 +123,7 @@ export const deleteElderTag = (params) => {
// 根据日期查询日程表
export const getDirectiveOrders = (date) => {
return request({
- url: `${uni.getStorageSync('serverUrl')}/api/pad/care/directive/getDirectiveOrders?nuId=${uni.getStorageSync('nuId')}&elderId=${uni.getStorageSync('elderId')}&queryDate=${date}`,
+ url: `${uni.getStorageSync('serverUrl')}/api/pad/${uni.getStorageSync('rulerbase')}/directive/getDirectiveOrders?nuId=${uni.getStorageSync('nuId')}&elderId=${uni.getStorageSync('elderId')}&queryDate=${date}`,
method: 'get',
})
}
@@ -131,15 +131,23 @@ export const getDirectiveOrders = (date) => {
// 新增服务指令
export const addDirective = (params) => {
return request({
- url: `${uni.getStorageSync('serverUrl')}/api/pad/care/directive/addDirective`,
+ url: `${uni.getStorageSync('serverUrl')}/api/pad/${uni.getStorageSync('rulerbase')}/directive/addDirective`,
method: 'post',
data: params,
})
}
+// // 编排护理流程-修改服务指令
+// export const editDirective = (params) => {
+// return request({
+// url: `${uni.getStorageSync('serverUrl')}/api/pad/invoicing/directive/editDirective`,
+// method: 'post',
+// data: params,
+// })
+// }
// 删除服务指令
export const deleteDirective = (params) => {
return request({
- url: `${uni.getStorageSync('serverUrl')}/api/pad/care/directive/deleteDirective`,
+ url: `${uni.getStorageSync('serverUrl')}/api/pad/${uni.getStorageSync('rulerbase')}/directive/deleteDirective`,
method: 'post',
data: params,
})
@@ -147,7 +155,7 @@ export const deleteDirective = (params) => {
// 修改服务指令
export const editDirective = (params) => {
return request({
- url: `${uni.getStorageSync('serverUrl')}/api/pad/care/directive/editDirective`,
+ url: `${uni.getStorageSync('serverUrl')}/api/pad/${uni.getStorageSync('rulerbase')}/directive/editDirective`,
method: 'post',
data: params,
})
diff --git a/pages/NursingNew/component/nurse/index.css b/pages/NursingNew/component/nurse/index.css
index aa59093..17fbe88 100644
--- a/pages/NursingNew/component/nurse/index.css
+++ b/pages/NursingNew/component/nurse/index.css
@@ -666,8 +666,8 @@
.check-box {
margin-left: 52rpx;
- width: 32rpx;
- height: 32rpx;
+ width: 38rpx;
+ height: 38rpx;
border: 2rpx solid #d5d5d5;
border-radius: 12rpx;
@@ -675,15 +675,15 @@
align-items: center;
justify-content: center;
- font-size: 15rpx;
- font-weight: 800;
+ font-size: 20rpx;
+ font-weight: 1000;
color: #d5d5d5;
}
.check-box-target {
margin-left: 52rpx;
- width: 32rpx;
- height: 32rpx;
+ width: 38rpx;
+ height: 38rpx;
border: 2rpx solid #0080FC;
border-radius: 12rpx;
@@ -691,8 +691,8 @@
align-items: center;
justify-content: center;
- font-size: 15rpx;
- font-weight: 800;
+ font-size: 20rpx;
+ font-weight: 1000;
color: #0080FC;
}
@@ -807,7 +807,7 @@
.blue-icon {
position: absolute;
right: 30rpx;
- top: 20rpx;
+ top: 21rpx;
width: 45rpx;
height: 45rpx;
}
@@ -1051,7 +1051,7 @@
.card-time {
position: absolute;
- bottom: 30rpx;
+ bottom: 25rpx;
left: 30rpx;
font-size: 30rpx;
}
@@ -1283,21 +1283,6 @@
transition: transform 1s cubic-bezier(.2, .9, .3, 1);
position: relative;
- .instant-close {
- width: 30rpx;
- height: 30rpx;
- border-radius: 50%;
- display: flex;
- /* background-color: #0184db; */
- justify-content: center;
- align-items: center;
- position: absolute;
- top: 20rpx;
- right: 20rpx;
- z-index: 10;
- color: #fff;
- }
-
.instant-icon {
width: 60rpx;
height: 60rpx;
@@ -1314,6 +1299,20 @@
}
}
+.instant-close {
+ width: 30rpx;
+ height: 30rpx;
+ border-radius: 50%;
+ display: flex;
+ justify-content: center;
+ align-items: center;
+ position: absolute;
+ top: 20rpx;
+ right: 20rpx;
+ z-index: 10;
+ color: #fff;
+}
+
/* iOS 风格抖动 */
@keyframes wiggle {
0% {
@@ -1340,7 +1339,7 @@
border-radius: 35rpx;
position: relative;
margin-top: 18rpx;
- padding-top: 30rpx;
+ padding-top: 10rpx;
.right-servers {
width: 100%;
@@ -1525,7 +1524,7 @@
/* background-color: red; */
.target-blue {
- /* color: #0089FE; */
+ color: #0089FE;
}
.target-shu {
@@ -1672,7 +1671,7 @@
.triangle {
position: absolute;
top: -8.34rpx;
- right: 250rpx;
+ right: 280rpx;
width: 0;
height: 0;
border-left: 14.44rpx solid transparent;
@@ -1850,6 +1849,21 @@
border-radius: 5rpx;
}
+.more-card {
+ position: absolute;
+ right: 25rpx;
+ top: 25rpx;
+ width: 25rpx;
+ height: 25rpx;
+ /* font-size: 24rpx; */
+ /* display: flex;
+ justify-content: center;
+ align-items: center; */
+ /* background-color: #4690FF; */
+ /* color: #fff; */
+ /* border-radius: 5rpx; */
+}
+
.forscroll {
width: 90%;
margin-left: 5%;
@@ -1988,6 +2002,8 @@
justify-content: center;
align-items: center;
flex-direction: column;
+ /* border: 1rpx solid black; */
+
/* white-space: nowrap; */
/* 不换行 */
/* overflow: hidden; */
@@ -2055,7 +2071,7 @@
/* background-color: red; */
.packtarget-blue {
- /* color: #0089FE; */
+ color: #0089FE;
}
.packtarget-shu {
@@ -2075,7 +2091,7 @@
.packtarget-detail {
width: 100%;
- height: 250rpx;
+ height: 220rpx;
.detail-father {
display: flex;
@@ -2086,7 +2102,7 @@
.details {
- height: 125rpx;
+ height: 110rpx;
min-width: 180rpx;
max-width: 180rpx;
/* border: 1rpx solid black; */
@@ -2098,6 +2114,7 @@
/* 不换行 */
/* overflow: hidden; */
font-size: 25rpx;
+ position: relative;
.detail-icon {
width: 50rpx;
@@ -2120,7 +2137,7 @@
.target-edit {
position: absolute;
right: 5rpx;
- bottom: 5rpx;
+ bottom: -20rpx;
width: 130rpx;
height: 60rpx;
display: flex;
@@ -2134,37 +2151,42 @@
}
.end-icon {
- width: 90rpx;
- height: 90rpx;
- margin-left: -5rpx;
+ width: 100rpx;
+ height: 100rpx;
+ margin-left: 20rpx;
margin-top: 5rpx;
- margin-right: 5rpx;
+ margin-right: 20rpx;
+ /* background-color: red; */
}
}
-.packtarget-title {
+.target-gray {
+ background-color: #F8F8FA;
+ border: 1rpx solid #D5D5D5;
+ display: flex;
+ height: 35rpx;
width: 100%;
+ /* align-items: center; */
+ /* padding: 0 10rpx; */
+ border-radius: 10rpx;
+ font-size: 23rpx;
+ color: #222222;
+ justify-content: center;
+ align-items: center;
+ margin-top: 10rpx;
+}
+
+.packtarget-title {
+ width: 350rpx;
height: 40rpx;
display: flex;
position: relative;
- .target-gray {
- background-color: #F8F8FA;
- border: 1rpx solid #D5D5D5;
- display: flex;
- height: 100%;
- align-items: center;
- padding: 0 10rpx;
- border-radius: 10rpx;
- font-size: 23rpx;
- color: #222222;
- }
-
.target-black {
position: absolute;
top: 2.5rpx;
- right: 0;
- font-size: 29rpx;
+ left: 0;
+ font-size: 31rpx;
/* margin-top: 3rpx; */
}
@@ -2177,11 +2199,18 @@
}
.packtarget-serviceContent {
- width: 430rpx;
- height: 100rpx;
+ width: 350rpx;
+ height: 70rpx;
margin-top: 10rpx;
font-size: 25rpx;
color: #666666;
+ display: -webkit-box;
+ /* background-color: red; */
+ -webkit-box-orient: vertical;
+ -webkit-line-clamp: 2;
+ /* 限制两行 */
+ overflow: hidden;
+ text-overflow: ellipsis;
}
/* 隐藏状态 */
@@ -2331,8 +2360,89 @@
color: #555555;
}
}
-.changerulertype{
+
+.changerulertype {
width: 100%;
- height: 125rpx;
- /* background-color: red; */
+ margin-top: 40rpx;
+ /* height: 125rpx; */
+ display: flex;
+ /* align-items: center; */
+ justify-content: center;
+
+ .typeitem {
+ width: 88%;
+ height: 70rpx;
+ background-color: #F2F7FE;
+ border-radius: 30rpx;
+ display: flex;
+ position: relative;
+
+ .typeitem-one {
+ min-width: 20%;
+ height: 100%;
+ display: flex;
+ justify-content: center;
+ align-items: center;
+ border-radius: 40rpx;
+ font-size: 29rpx;
+ z-index: 1;
+ }
+
+ .typeitem-one-blue {
+ position: absolute;
+ left: 0;
+ top: 0;
+ height: 100%;
+ width: 20%;
+ border-radius: 40rpx;
+ background-color: #0089FE;
+ transition: left 0.3s ease;
+ }
+ }
+}
+
+.typeitem-all {
+ display: flex;
+ width: 100%;
+ height: 100%;
+}
+.includestwo-father{
+ display: flex;
+ align-items: center;
+ margin-top: 5rpx;
+}
+.includestwo {
+
+ width: 110rpx;
+ height: 50rpx;
+ background-color: #0080FC;
+ border-radius: 15rpx;
+ display: flex;
+ font-size: 23rpx;
+ justify-content: center;
+ align-items: center;
+ color: #fff;
+}
+.includestwo-detail{
+ font-size: 25rpx;
+ margin-left: 10rpx;
+}
+.includestwo-image{
+ width: 12rpx;
+ height: 11rpx;
+ margin-left: 6rpx;
+}
+.target-gray-spec{
+ background-color: #F8F8FA;
+ border: 1rpx solid #D5D5D5;
+ display: flex;
+ height: 35rpx;
+ /* align-items: center; */
+ padding: 0 10rpx;
+ border-radius: 10rpx;
+ font-size: 25rpx;
+ color: #222222;
+ justify-content: center;
+ align-items: center;
+ /* margin-top: 10rpx; */
}
\ No newline at end of file
diff --git a/pages/NursingNew/component/nurse/newindex.vue b/pages/NursingNew/component/nurse/newindex.vue
index a02072c..6642d89 100644
--- a/pages/NursingNew/component/nurse/newindex.vue
+++ b/pages/NursingNew/component/nurse/newindex.vue
@@ -61,9 +61,12 @@
-
+
+
@@ -79,6 +82,16 @@
class="title-time-font-tags">
({{ item1.directiveName?splitString(item1.directiveName)[1]:""}})
+
+
+ 指令集合
+
+
+ 详情
+
+
+
+
@@ -111,7 +124,7 @@
情绪标签
-
@@ -182,17 +195,17 @@
✓
-
+ : (item.pic ? serverUrl + item.pic : noimageshow)" /> -->
+
-
+
{{ item.tagName }}
-
+
{{ item.describ }}
@@ -205,7 +218,7 @@
-
+
@@ -214,10 +227,10 @@
即时标签
-
-
+
@@ -247,7 +260,7 @@
-
+
@@ -309,11 +322,17 @@
-
+
-
+
+
+
+ 服务指令
+
+
+
+
+
-
-
+
- 双击服务指令可添加矩阵, 长按服务指令可拖动到即时指令区进行添加。
+ {{ ruleritem.includesarray?.length >1?`长按可进行删除操作。`:`双击服务指令可添加矩阵, 长按服务指令可拖动到即时指令区进行添加。` }}
+
@@ -391,7 +411,18 @@
-
+
+
+
+
+
+
+ {{ item }}
+
+
+
+
@@ -450,15 +481,15 @@
+ v-if="ruleritem.directiveName && ruleritem.includesarray?.length<2">
-
+
{{ ruleritem.categoryName }}
|
-
+
{{ ruleritem.typeName }}
@@ -479,7 +510,11 @@
|
-
+
+ {{ ruleritem.newtypename }}
+
+
{{ ruleritem.newtypename }}
@@ -496,38 +531,45 @@
{{ ruleritem.serviceContent }}
-
- 修改
+ 添加
-
+
+ 替换
+
+
-
+
-
{{ ruleritem.directiveName }}
-
+ -->
- {{ ruleritem.startTime }}
+ {{ ruleritem?.includesarray[packtargetindex]?.startTime }}
|
-
- {{ ruleritem.newtypename }}
+
+ {{ ruleritem?.includesarray[packtargetindex]?.newtypename }}
+
+ {{ ruleritem?.includesarray[packtargetindex]?.newtypename }}
+
+
|
- {{ ruleritem.serviceDuration }}分钟
+ {{ ruleritem?.includesarray[packtargetindex]?.serviceDuration }}分钟
@@ -535,64 +577,88 @@
-
+
- {{ splitString(item.directiveName)[0] }}
+ {{ shortText(item.directiveName,6) }}
-
+
+
+
+
-
-
+
+
+
+
+ {{ ruleritem?.includesarray[packtargetindex]?.categoryName }}
+
+
+ {{ ruleritem?.includesarray[packtargetindex]?.typeName }}
+
+
+
-
- {{ ruleritem?.directivesList[packtargetindex]?.categoryName }}
+
- {{ splitString(ruleritem?.directivesList[packtargetindex]?.directiveName)[0] }}
+ {{ splitString(ruleritem?.includesarray[packtargetindex]?.directiveName)[0] + (splitString(ruleritem?.includesarray[packtargetindex]?.directiveName)[1]?`(${splitString(ruleritem?.includesarray[packtargetindex]?.directiveName)[1]})`:"") }}
+
+
+
- {{ ruleritem?.directivesList[packtargetindex]?.serviceContent }}
+ {{ ruleritem?.includesarray[packtargetindex]?.serviceContent }}
-
修改
+ -->
+
+ 添加
-
+