diff --git a/pages/NursingNew/component/index.vue b/pages/NursingNew/component/index.vue index 344dc18..9298fb0 100644 --- a/pages/NursingNew/component/index.vue +++ b/pages/NursingNew/component/index.vue @@ -323,7 +323,7 @@ 岁 - {{ uni.getStorageSync('NUall').elderInfo?.startTime }} + {{ uni.getStorageSync('NUall').elderInfo?.checkinTime.replace(/-/g, '.') }} diff --git a/pages/NursingNew/component/invoicing/api.js b/pages/NursingNew/component/invoicing/api.js new file mode 100644 index 0000000..9fd40b8 --- /dev/null +++ b/pages/NursingNew/component/invoicing/api.js @@ -0,0 +1,96 @@ +// 引入 request 文件 +import request from '@/request/index.js' + +// 以下 api 为博主项目示例,实际与项目相匹配 + +// 查询服务类型 +export const getServiceTree = () => { + return request({ + url: `${uni.getStorageSync('serverUrl')}/api/pad/invoicing/directive/getServiceTree`, + method: 'get', + }) +} +// 查询表格 +export const getNclist = (nuId,elderId) => { + return request({ + url: `${uni.getStorageSync('serverUrl')}/api/pad/invoicing/directive/getNclist?nuId=${nuId}&elderId=${elderId}`, + method: 'get', + }) +} +// 保存表格 +export const addBatch = (params) => { + return request({ + url: `${uni.getStorageSync('serverUrl')}/api/pad/invoicing/directive/addBatch`, + method: 'post', + data: params, + }) +} +// 查询指令包 +export const getNcPackagelist = (nuId,elderId) => { + return request({ + url: `${uni.getStorageSync('serverUrl')}/api/pad/invoicing/directive/getNcPackagelist`, + method: 'get', + }) +} + +// 新增服务指令 +export const addDirective = (params) => { + return request({ + url: `${uni.getStorageSync('serverUrl')}/api/pad/invoicing/directive/addDirective`, + method: 'post', + data: params, + }) +} + +// 新增即时指令 +export const addInstant = (params) => { + return request({ + url: `${uni.getStorageSync('serverUrl')}/api/pad/invoicing/directive/addInstant`, + method: 'post', + data: params, + }) +} + +// 新增情绪/体型标签 +export const addElderTag = (params) => { + return request({ + url: `${uni.getStorageSync('serverUrl')}/api/pad/invoicing/directive/addElderTag`, + method: 'post', + data: params, + }) +} + +// 编排护理流程-删除服务指令 +export const deleteDirective = (params) => { + return request({ + url: `${uni.getStorageSync('serverUrl')}/api/pad/invoicing/directive/deleteDirective`, + method: 'post', + data: params, + }) +} + +// 编排护理流程-删除即时服务指令 +export const deleteInstant = (params) => { + return request({ + url: `${uni.getStorageSync('serverUrl')}//api/pad/invoicing/directive/deleteInstant`, + method: 'post', + data: params, + }) +} + +// 编排护理流程-删除情绪/体型标签 +export const deleteElderTag = (params) => { + return request({ + url: `${uni.getStorageSync('serverUrl')}/api/pad/invoicing/directive/deleteElderTag`, + method: 'post', + data: params, + }) +} +// 编排护理流程-修改服务指令 +export const editDirective = (params) => { + return request({ + url: `${uni.getStorageSync('serverUrl')}/api/pad/invoicing/directive/editDirective`, + method: 'post', + data: params, + }) +} \ No newline at end of file diff --git a/pages/NursingNew/component/invoicing/index.css b/pages/NursingNew/component/invoicing/index.css new file mode 100644 index 0000000..87da581 --- /dev/null +++ b/pages/NursingNew/component/invoicing/index.css @@ -0,0 +1,2048 @@ +.super-card { + display: flex; + /* justify-content: center; */ + + width: 100%; + /* height: calc(100% - 400rpx); */ + + .scroll-x { + height: 100%; + width: 100%; + } + + .right-cards { + width: 550rpx; + height: 1280rpx; + + .scroll-box { + width: 100%; + height: 150rpx; + margin-top: 10rpx; + /* padding-right: 20rpx; */ + + .right-box { + height: 150rpx; + display: flex; + flex-direction: column; + flex-wrap: wrap; + align-content: flex-start; + /* padding-right: 10rpx; */ + + .right-box-item { + margin: 10rpx 10rpx 0 20rpx; + width: 250rpx; + height: 120rpx; + border-radius: 20rpx; + background-color: #fff; + position: relative; + display: flex; + justify-content: center; + align-items: center; + flex-direction: column; + + .right-box-img { + width: 60rpx; + height: 60rpx; + } + + .right-box-font { + font-size: 30rpx; + /* margin-top: 7rpx; */ + /* margin-left: 10rpx; */ + } + + .right-box-items { + display: flex; + justify-content: space-around; + align-items: center; + + .right-box-items-button { + width: 25rpx; + height: 25rpx; + margin: 0 3rpx; + } + } + } + + .title-time-button { + position: absolute; + top: 0rpx; + right: 0rpx; + width: 200rpx; + height: 100rpx; + /* background-color: red; */ + } + + .title-time-font { + position: absolute; + top: 5rpx; + right: 3rpx; + font-size: 17rpx; + color: #fff; + } + } + } + } + + .time-father { + border-radius: 20rpx; + height: 97%; + width: 95%; + margin-top: 6%; + margin-left: 6%; + background-color: rgba(255, 255, 255, 0.3); + + .time-button { + width: 140rpx; + height: 60rpx; + margin-top: 30rpx; + margin-left: 30rpx; + border-radius: 20rpx; + background-color: rgb(54, 159, 239); + border: 5rpx solid rgb(54, 159, 239); + display: flex; + + .time-button-month { + width: 50%; + height: 100%; + color: #fff; + display: flex; + justify-content: center; + align-items: center; + } + + .time-button-month-target { + width: 50%; + height: 100%; + background-color: #fff; + color: rgb(54, 159, 239); + display: flex; + justify-content: center; + align-items: center; + border-bottom-left-radius: 15rpx; + border-top-left-radius: 15rpx; + } + + .time-button-week-target { + width: 50%; + height: 100%; + display: flex; + justify-content: center; + align-items: center; + color: #fff; + } + + .time-button-week { + width: 50%; + height: 100%; + color: rgb(54, 159, 239); + display: flex; + justify-content: center; + align-items: center; + background-color: #fff; + border-bottom-right-radius: 15rpx; + border-top-right-radius: 15rpx; + } + } + } + + .under-button { + width: 520rpx; + height: 95rpx; + margin-left: 35rpx; + margin-top: 0rpx; + border-radius: 20rpx; + /* background-color: rgb(229, 233, 249); */ + display: flex; + align-items: center; + position: relative; + + .under-button-black { + transition: all 1s; + position: absolute; + width: 300rpx; + height: 100rpx; + border-radius: 20rpx; + padding-left: 10rpx; + background-color: rgb(77, 77, 77); + top: -100rpx; + left: 0rpx; + color: #fff; + display: flex; + justify-content: center; + align-items: center; + + .under-button-three { + position: absolute; + right: 13rpx; + bottom: -17rpx; + /* 元素本身不占任何宽高 */ + width: 0; + height: 0; + + /* 左右边框透明,宽度各 50px */ + border-left: 15rpx solid transparent; + border-right: 15rpx solid transparent; + + /* 上边框实色(高度 100px),形成向下的“倒三角” */ + border-top: 20rpx solid rgb(77, 77, 77); + } + } + + .other-father { + width: 100%; + height: 100%; + background-color: #fff; + display: flex; + flex-direction: column; + justify-content: center; + align-items: center; + } + + .white-circle-click-father-spec { + position: absolute; + top: -160rpx; + right: 10rpx; + overflow: hidden; + /* background-color: #fff; */ + /* 重要:让伪元素在圆角内显示 */ + margin-left: 10rpx; + height: 130rpx; + width: 130rpx; + border-radius: 50%; + --color: #99C9FD; + --thick: 2px; + --radius: 50%; + border: var(--thick) dashed var(--color); + border-radius: var(--radius); + + background: + /* 上边 */ + repeating-linear-gradient(90deg, var(--color) 0 var(--dash), transparent 0 calc(var(--dash) + var(--gap))) top left / 100% var(--thick) no-repeat, + /* 下边 */ + repeating-linear-gradient(90deg, var(--color) 0 var(--dash), transparent 0 calc(var(--dash) + var(--gap))) bottom left / 100% var(--thick) no-repeat, + /* 左边 */ + repeating-linear-gradient(0deg, var(--color) 0 var(--dash), transparent 0 calc(var(--dash) + var(--gap))) top left / var(--thick) 100% no-repeat, + /* 右边 */ + repeating-linear-gradient(0deg, var(--color) 0 var(--dash), transparent 0 calc(var(--dash) + var(--gap))) top right / var(--thick) 100% no-repeat; + + + } + + .white-circle-click-father { + position: relative; + overflow: hidden; + /* 重要:让伪元素在圆角内显示 */ + margin-left: 10rpx; + height: 75rpx; + width: 150rpx; + border-radius: 40rpx; + background: linear-gradient(to bottom, #e7f4ff, #c5e5ff); + border: 2rpx solid #9AD1FF; + color: #007CFF; + display: flex; + justify-content: center; + align-items: center; + -webkit-tap-highlight-color: transparent; + } + + /* 文本层级高于伪元素 */ + .white-circle-click-father .label { + position: relative; + z-index: 2; + } + + /* 伪元素作为点击时的覆盖渐变 */ + .white-circle-click-father::before { + content: ""; + position: absolute; + inset: 0; + z-index: 1; + pointer-events: none; + background: linear-gradient(to bottom, #bfe9ff, #4aa8ff); + /* 点击后的渐变(可替换) */ + opacity: 0; + /* transform: scale(1.02); */ + } + + /* anim 类触发 1s 动画(淡入→停留→淡出) */ + .white-circle-click-father.anim::before { + + animation: coverFade 1s ease-in-out forwards; + } + + + + /* keyframes:0-20% 淡入,20-80% 保持,80-100% 淡出 */ + @keyframes coverFade { + 0% { + opacity: 0; + } + + 20% { + opacity: 1; + } + + 80% { + opacity: 1; + } + + 100% { + opacity: 0; + } + } + + .white-circle { + width: 70rpx; + height: 70rpx; + border-radius: 50%; + margin-left: 15rpx; + background-color: #fff; + display: flex; + justify-content: center; + align-items: center; + z-index: 99; + + .white-circle-img { + width: 40rpx; + height: 40rpx; + } + } + } + + .middle-box { + width: 100%; + height: 840rpx; + /* background-color: red; */ + display: flex; + overflow: hidden; + + .middle-left-box { + margin-left: 0rpx; + width: 380rpx; + height: 800rpx; + /* background-color: red; */ + border-radius: 20rpx; + /* background-color: rgb(229, 233, 249); */ + display: flex; + + .first-contant { + height: 100%; + width: 190rpx; + + .right-box-item { + margin: 10rpx 0 0 20rpx; + width: 170rpx; + height: 120rpx; + border-radius: 20rpx; + background-color: rgba(255, 255, 255, 0.3); + position: relative; + display: flex; + justify-content: center; + align-items: center; + flex-direction: column; + white-space: nowrap; + /* 防止文本换行 */ + overflow: hidden; + /* 超出部分隐藏 */ + text-overflow: ellipsis; + /* 超出部分显示省略号 */ + + .right-box-img { + width: 60rpx; + height: 60rpx; + } + + .title-time-button { + position: absolute; + top: -4rpx; + right: -4rpx; + width: 70rpx; + height: 40rpx; + + } + + .title-time-button-font { + color: #1083f8; + position: absolute; + top: 2rpx; + right: 8rpx; + font-size: 19rpx; + z-index: 99; + } + + .right-box-font { + font-size: 23rpx; + /* margin-top: 10rpx; */ + } + + .title-time-zhejiao { + position: absolute; + top: 0rpx; + left: 5rpx; + width: 40rpx; + height: 40rpx; + } + + .title-time-font { + position: absolute; + top: 3rpx; + right: 5rpx; + font-size: 20rpx; + color: #fff; + z-index: 999; + } + + .right-box-items { + display: flex; + justify-content: space-around; + align-items: center; + + .right-box-items-button { + width: 25rpx; + height: 25rpx; + margin: 0 3rpx; + } + } + } + } + + .second-contant { + height: 100%; + width: 210rpx; + + .downList-box-target { + display: flex; + justify-content: center; + align-items: center; + background-color: #fff; + margin-left: 15rpx; + width: 160rpx; + height: 120rpx; + border-radius: 20rpx; + /* margin-left: 10rpx; */ + margin-top: 10rpx; + + flex-direction: column; + /* box-shadow: 2rpx 2rpx 4rpx 2rpx rgba(54, 159, 239, 0.1); + border: 2rpx solid rgb(54, 159, 239); */ + white-space: nowrap; + /* 防止文本换行 */ + overflow: hidden; + /* 超出部分隐藏 */ + text-overflow: ellipsis; + /* 超出部分显示省略号 */ + + .downList-box-img { + height: 50rpx; + width: 50rpx; + } + + .downList-box-text { + font-size: 26rpx; + color: rgb(54, 159, 239); + } + } + + .downList-box { + display: flex; + justify-content: center; + align-items: center; + margin-left: 15rpx; + border-radius: 20rpx; + background-color: rgba(255, 255, 255, 0.5); + width: 160rpx; + height: 120rpx; + /* border-radius: 20rpx; */ + /* margin-left: 10rpx; */ + /* margin-bottom: 20rpx; */ + margin-top: 10rpx; + flex-direction: column; + white-space: nowrap; + /* 防止文本换行 */ + overflow: hidden; + /* 超出部分隐藏 */ + text-overflow: ellipsis; + /* 超出部分显示省略号 */ + /* box-shadow: 2rpx 2rpx 4rpx 2rpx rgba(0, 0, 0, 0.1); */ + + .downList-box-img { + height: 50rpx; + width: 50rpx; + } + + .downList-box-text { + font-size: 25rpx; + } + } + } + } + + .middle-right-box { + height: 780rpx; + width: 90rpx; + + /* overflow-y: hidden; */ + .doctorsay-container-card { + position: relative; + display: flex; + /* flex-direction: column; */ + justify-content: center; + align-items: center; + background-color: #fff; + width: 160rpx; + height: 100rpx; + /* margin: 0 0rpx 0rpx 0rpx; */ + border-radius: 50rpx; + /* border-radius: 20rpx; + border: 2rpx solid rgb(221, 234, 250); + box-shadow: 5px 5px 10px rgba(105, 129, 178, 0.2); */ + margin-left: 10rpx; + margin-top: 30rpx; + + /* 右下角阴影 */ + .doctorsay-container-card-img { + width: 55rpx; + height: 55rpx; + } + + .doctorsay-container-card-font { + font-size: 30rpx; + /* margin-top: 20rpx; */ + } + + } + + .doctorsay-container-card-target { + position: relative; + display: flex; + flex-direction: column; + justify-content: center; + align-items: center; + background: linear-gradient(to left, #fff, rgb(229, 233, 249)); + width: 115rpx; + height: 122rpx; + margin: 0 18rpx 10rpx 0rpx; + /* margin-left: -15rpx; */ + /* border: 2rpx solid #fff; */ + /* box-shadow: 5px 5px 10px rgba(105, 129, 178,0.2); */ + border-top-right-radius: 20rpx; + border-bottom-right-radius: 20rpx; + /* border-radius: 20rpx; */ + margin-left: -15rpx; + + /* 右下角阴影 */ + .doctorsay-container-card-img { + width: 55rpx; + height: 55rpx; + margin-left: 25rpx; + } + + + + } + + /* background-color: rgb(229,233,249); */ + } + } + + .super-card-container { + background-blend-mode: screen; + isolation: isolate; + overflow: hidden; + margin-left: 10rpx; + width: 1300rpx; + height: 1350rpx; + border-left: 0; + position: relative; + } + + .super-card-time { + display: flex; + justify-content: center; + align-items: center; + + height: 80rpx; + width: 259rpx; + border-bottom: 1rpx solid transparent; + border-image: repeating-linear-gradient(90deg, #A9ACB1 0px, #A9ACB1 6rpx, transparent 6rpx, transparent 12rpx) 1; + /* font-weight: 700; */ + z-index: -1; + font-size: 25rpx; + color: #A9ACB1; + } + + .super-card-time-und { + display: flex; + justify-content: center; + align-items: center; + width: 259rpx; + flex-direction: column; + border-right: 1rpx solid transparent; + border-image: repeating-linear-gradient(180deg, #A9ACB1 0px, #A9ACB1 6rpx, transparent 6rpx, transparent 12rpx) 1; + + .title-time-img { + width: 65rpx; + height: 65rpx; + margin-top: -5rpx; + } + + .title-time-font-rel { + font-size: 23rpx; + margin-bottom: 5rpx; + overflow: hidden; + text-overflow: ellipsis; + white-space: nowrap; + color: #888888; + } + + .title-time-items { + display: flex; + justify-content: space-around; + align-items: center; + + .right-box-items-button { + width: 35rpx; + height: 35rpx; + margin: 0 5rpx; + } + } + } + + .super-card-time-card { + display: flex; + justify-content: center; + align-items: center; + height: 200rpx; + width: calc(100%); + transition: all 0.8s; + border-image: repeating-linear-gradient(90deg, #A9ACB1 0px, #A9ACB1 6rpx, transparent 6rpx, transparent 12rpx) 1; + flex-direction: column; + position: relative; + } +} + +.right-container { + width: calc(100% - 260rpx); + height: 100vh; + transition: opacity 1s ease; + position: relative; + + .joystick { + position: absolute; + bottom: 200rpx; + left: 20rpx; + width: 300rpx; + height: 300rpx; + z-index: 9999; + } + + .outer-circle { + width: 100%; + height: 100%; + border-radius: 50%; + background-color: rgba(127, 127, 127, 0.1); + position: relative; + } + + .inner-circle { + width: 120rpx; + height: 120rpx; + border-radius: 50%; + background-color: rgba(127, 127, 127, 0.3); + position: absolute; + top: 50%; + left: 50%; + transform: translate(-50%, -50%); + } + + .doctorsay-container-view { + width: 100%; + height: 1350rpx; + display: flex; + /* background-color: red; */ + /* margin-top: 10rpx; */ + + .doctorsay-container-container { + width: 100%; + overflow: hidden; + + .doctorsay-container-title { + width: 100%; + height: 105rpx; + display: flex; + align-items: center; + justify-content: space-between; + + .doctorsay-container-left { + display: flex; + } + } + + } + } + + .right-container-title-nav { + /* margin-top: 75rpx; */ + margin-bottom: 20rpx; + /* margin-left: 20rpx; */ + + .right-icons { + display: flex; + align-items: center; + float: right; + height: 70rpx; + margin-right: 40rpx; + + .right-icons-font { + margin-left: 10rpx; + margin-right: 10rpx; + font-size: 35rpx; + margin-top: -30rpx; + } + + .right-icons-img { + width: 80rpx; + height: 80rpx; + margin-left: 10rpx; + margin-right: 10rpx; + margin-top: -40rpx; + + } + + .right-icons-img-icon { + width: 60rpx; + height: 80rpx; + margin-top: -10rpx; + margin-left: 8rpx; + } + } + + .right-container-title-class { + font-size: 35rpx; + font-weight: 800; + margin-left: 20rpx; + } + + .right-container-title-class-dark { + font-size: 35rpx; + font-weight: 800; + margin-left: 20rpx; + background: linear-gradient(to bottom, #FFFFFF, #B2C8E2); + -webkit-background-clip: text; + color: transparent; + } + } +} + +.title-time-delete { + width: 55rpx; + height: 55rpx; + border-radius: 50%; + display: flex; + background-color: #fff; + justify-content: center; + align-items: center; + position: absolute; + top: 0rpx; + right: 0rpx; + z-index: 10; + background-color: #02abfe; + color: #fff; + z-index: 999; + font-size: 50rpx; +} + +.title-time-blue { + /* 你的定位与尺寸保持不变 */ + position: absolute; + top: 50%; + left: 50%; + transform: translate(-50%, -50%); + width: 90%; + height: 88%; + z-index: 10; + + --color: #99C9FD; + --thick: 2px; + --radius: 16px; + + border: var(--thick) dashed var(--color); + border-radius: var(--radius); + + background: + /* 上边 */ + repeating-linear-gradient(90deg, var(--color) 0 var(--dash), transparent 0 calc(var(--dash) + var(--gap))) top left / 100% var(--thick) no-repeat, + /* 下边 */ + repeating-linear-gradient(90deg, var(--color) 0 var(--dash), transparent 0 calc(var(--dash) + var(--gap))) bottom left / 100% var(--thick) no-repeat, + /* 左边 */ + repeating-linear-gradient(0deg, var(--color) 0 var(--dash), transparent 0 calc(var(--dash) + var(--gap))) top left / var(--thick) 100% no-repeat, + /* 右边 */ + repeating-linear-gradient(0deg, var(--color) 0 var(--dash), transparent 0 calc(var(--dash) + var(--gap))) top right / var(--thick) 100% no-repeat; +} + + +.time-button-orange-spe { + transition: all 1s; + position: absolute; + width: 280rpx; + height: 100rpx; + /* padding-left: 10rpx; */ + padding: 0 20rpx; + border-radius: 20rpx; + border-top-right-radius: 0rpx; + border: 2rpx solid #e8e9eb; + /* background-color: #55555555; */ + background-color: #fff; + color: #545569; + bottom: -100rpx; + left: -130rpx; + /* color: #fff; */ + display: flex; + justify-content: center; + align-items: center; + z-index: 999; + /* box-shadow: 0 2px 6px #6981b2 ; */ + + +} + +.time-button-orange { + transition: all 1s; + position: absolute; + + width: 280rpx; + height: 100rpx; + border-radius: 20rpx; + padding: 0 20rpx; + border: 2rpx solid #e8e9eb; + border-bottom-right-radius: 0rpx; + background-color: #fff; + top: -90rpx; + left: -130rpx; + color: #545569; + display: flex; + justify-content: center; + align-items: center; + z-index: 999; + +} + +.title-time { + display: flex; + width: 100%; + position: relative; + + .title-time-time { + font-size: 32rpx; + margin: 0 auto; + font-weight: 600; + /* margin-left: 10rpx; */ + /* margin-top: 12rpx; */ + } + + .title-time-button { + position: absolute; + top: -6rpx; + right: -4rpx; + width: 55rpx; + height: 40rpx; + } + + .title-time-zhejiao { + position: absolute; + top: 0rpx; + left: 5rpx; + width: 40rpx; + height: 40rpx; + } + + .title-time-font { + position: absolute; + top: 0rpx; + right: 4rpx; + font-size: 20rpx; + color: #1083f8; + } +} + +.popup-say { + position: fixed; + top: 0; + left: 0; + right: 0; + bottom: 0; + display: flex; + justify-content: center; + align-items: center; + backdrop-filter: blur(1rpx); + background-color: rgba(236, 237, 241, 0.4); + /* 添加毛玻璃效果 */ + z-index: 999; + + .popup-say-content { + position: absolute; + right: 65rpx; + bottom: 170rpx; + display: flex; + flex-direction: column; + width: 450rpx; + /* height: 800rpx; */ + background-color: #fff; + border: 2rpx solid #fff; + border-radius: 30rpx; + box-shadow: 10rpx 10rpx 20rpx rgba(0, 0, 0, 0.1); + transition: opacity 0.4s ease; + + + + .popup-say-content-flex { + display: flex; + margin-top: 7rpx; + margin-bottom: 10rpx; + + .popup-say-content-gun { + margin-left: 40rpx; + margin-right: 20rpx; + width: 13rpx; + height: 35rpx; + background: linear-gradient(to bottom, #04BCED, #0160CE); + border-radius: 10rpx; + } + + .popup-say-content-font { + font-size: 30rpx; + font-weight: 700; + } + } + + + .popup-say-three { + position: absolute; + left: 173rpx; + bottom: -39rpx; + /* 元素本身不占任何宽高 */ + width: 0; + height: 0; + + /* 左右边框透明,宽度各 50px */ + border-left: 30rpx solid transparent; + border-right: 30rpx solid transparent; + + /* 上边框实色(高度 100px),形成向下的“倒三角” */ + border-top: 40rpx solid #fff; + } + } +} + + + +.popup-overlay { + position: fixed; + top: 0; + left: 0; + right: 0; + bottom: 0; + display: flex; + justify-content: center; + align-items: center; + /* 添加毛玻璃效果 */ + z-index: 999; + + .popup-overlay-content { + position: absolute; + display: flex; + // justify-content: center; + align-items: center; + width: 800rpx; + + background-color: #fff; + border-radius: 30rpx; + box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.1); + opacity: 0; + transition: opacity 0.4s ease; + overflow: hidden; + + .popup-overlay-content-left { + // background-color: red; + height: 100%; + width: 350rpx; + display: flex; + justify-content: center; + align-items: center; + flex-direction: column; + + .popup-overlay-content-left-img { + width: 280rpx; + height: 240rpx; + margin-top: 0rpx; + } + + .popup-overlay-content-left-font { + // margin-top: 20rpx; + font-size: 30rpx; + } + } + + .popup-overlay-content-right { + height: 100%; + width: 450rpx; + position: relative; + + .time-font { + font-size: 60rpx; + margin-top: 80rpx; + margin-bottom: 10rpx; + font-weight: 700; + background: linear-gradient(to bottom, #7080A1, #263556); + -webkit-background-clip: text; + color: transparent; + } + + .time-text { + margin-left: 10rpx; + font-size: 32rpx; + // font-weight: 700; + width: 400rpx; + margin-bottom: 50rpx; + line-height: 35rpx; + + } + + .right-richang { + background-color: #FFC363; + position: absolute; + top: 108rpx; + right: 50rpx; + padding: 5rpx; + border-radius: 10rpx; + } + + .right-richangnot { + background-color: #7B61FF; + position: absolute; + top: 108rpx; + right: 50rpx; + padding: 5rpx; + border-radius: 10rpx; + color: #fff; + } + + .right-crush { + position: absolute; + top: 20rpx; + right: 20rpx; + width: 70rpx; + height: 70rpx; + animation: shake 0.5s 3; + } + } + } +} + +.ri-img { + position: absolute; + top: -4rpx; + right: -4rpx; + width: 60rpx; + height: 60rpx; +} + +.time-father { + display: flex; + width: 100%; + flex-wrap: wrap; + margin-left: 30rpx; + margin-right: 30rpx; + + .time-one { + width: 100rpx; + height: 100rpx; + margin-left: 20rpx; + margin-top: 20rpx; + background-color: rgb(241, 245, 252); + border-radius: 20rpx; + border: 1rpx solid rgb(109, 131, 179); + display: flex; + justify-content: center; + align-items: center; + font-size: 29rpx; + box-shadow: 5rpx 5rpx 10rpx rgba(105, 129, 178, 0.4) + } + + .time-one-target { + width: 100rpx; + height: 100rpx; + margin-left: 20rpx; + margin-top: 20rpx; + background: linear-gradient(to right, #00c9ff, #0076ff); + color: #fff; + border-radius: 20rpx; + border: 1rpx solid #fff; + display: flex; + justify-content: center; + align-items: center; + font-size: 29rpx; + box-shadow: 5rpx 5rpx 10rpx rgba(105, 129, 178, 0.4) + } + + .time-one-hui { + width: 100rpx; + height: 100rpx; + margin-left: 20rpx; + margin-top: 20rpx; + background-color: #c2c9d3; + // color: #fff; + border-radius: 20rpx; + border: 1rpx solid #fff; + display: flex; + justify-content: center; + align-items: center; + font-size: 29rpx; + box-shadow: 5rpx 5rpx 10rpx rgba(105, 129, 178, 0.4) + } +} + +.items-card { + width: 100%; + height: 80rpx; + display: flex; + justify-content: center; + align-items: center; +} + +.items-card-target { + width: 100%; + height: 80rpx; + display: flex; + justify-content: center; + align-items: center; + color: rgb(54, 159, 239); + background: linear-gradient(to right, + rgba(54, 159, 239, 0) 0%, + rgba(54, 159, 239, 0.5) 50%, + rgba(54, 159, 239, 0) 100%); +} + +.button-father { + height: 200rpx; + width: calc(100% - 80rpx); + display: flex; + justify-content: center; + align-items: center; + margin-left: 40rpx; + margin-right: 40rpx; + margin-top: 20rpx; + border-top: 1rpx solid rgb(230, 230, 230); + + .button-father-right { + background: linear-gradient(to right, #00c9ff, #0076ff); + width: 200rpx; + height: 80rpx; + border-radius: 40rpx; + display: flex; + justify-content: center; + align-items: center; + color: #fff; + + } + + .button-father-wrong { + background-color: #c2c9d3; + width: 200rpx; + height: 80rpx; + border-radius: 40rpx; + display: flex; + justify-content: center; + align-items: center; + + } +} + +.month-father { + display: flex; + width: calc(100% - 60rpx); + flex-wrap: wrap; + margin-left: 30rpx; + margin-right: 30rpx; + margin-top: 20rpx; + margin-bottom: 30rpx; + + .month-one { + width: 75rpx; + height: 75rpx; + margin-left: 20rpx; + margin-top: 20rpx; + background-color: rgb(241, 245, 252); + border-radius: 20rpx; + border: 1rpx solid rgb(109, 131, 179); + display: flex; + justify-content: center; + align-items: center; + font-size: 29rpx; + } + + .month-one-target { + width: 75rpx; + height: 75rpx; + margin-left: 20rpx; + margin-top: 20rpx; + background: linear-gradient(to right, #00c9ff, #0076ff); + color: #fff; + border-radius: 20rpx; + border: 1rpx solid #fff; + display: flex; + justify-content: center; + align-items: center; + font-size: 29rpx; + } +} + +.week-father { + display: flex; + width: 100%; + flex-wrap: wrap; + margin-left: 30rpx; + margin-right: 30rpx; + margin-top: 20rpx; + margin-bottom: 30rpx; + + .week-one { + width: 200rpx; + height: 100rpx; + margin-left: 20rpx; + margin-top: 20rpx; + background-color: rgb(241, 245, 252); + border-radius: 20rpx; + border: 1rpx solid rgb(109, 131, 179); + display: flex; + justify-content: center; + align-items: center; + font-size: 29rpx; + } + + .week-one-target { + width: 200rpx; + height: 100rpx; + margin-left: 20rpx; + margin-top: 20rpx; + background: linear-gradient(to right, #00c9ff, #0076ff); + color: #fff; + border-radius: 20rpx; + border: 1rpx solid #fff; + display: flex; + justify-content: center; + align-items: center; + font-size: 29rpx; + } +} + +.radio-father { + display: flex; + width: 100%; + flex-wrap: wrap; + margin-left: 75rpx; + margin-right: 30rpx; + /* margin-bottom: 30rpx; */ + + .radio-circle { + margin-top: 2rpx; + width: 30rpx; + height: 30rpx; + border-radius: 50%; + border: 2rpx solid black; + background-color: transparent; + } + + .radio-circle-target { + position: relative; + margin-top: 2rpx; + width: 30rpx; + height: 30rpx; + border-radius: 50%; + border: 2rpx solid rgb(2, 171, 254); + background-color: transparent; + } + + .radio-circle-target::after { + content: ""; + position: absolute; + top: 50%; + left: 50%; + transform: translate(-50%, -50%); + width: 20rpx; + height: 20rpx; + background-color: rgb(2, 171, 254); + border-radius: 50%; + } + + .radio-font { + margin-left: 15rpx; + margin-right: 60rpx; + font-size: 29rpx; + } + + .radio-font-target { + color: rgb(2, 171, 254); + ; + margin-left: 15rpx; + margin-right: 60rpx; + font-size: 29rpx; + } +} + +.title-time-border { + margin-top: 4rpx; + margin-left: 4rpx; + // border: 1rpx solid black; + width: calc(100% - 8rpx); + height: calc(100% - 8rpx); + border-radius: 20rpx; + display: flex; + // justify-content: center; + align-items: center; + flex-direction: column; +} + + +.title-time-border-big { + transform: scale(1.3); + transform-origin: top; + /* 将页面内容放大1.2倍 */ + border-top: 0rpx solid #fff; + transition: transform 0.5s ease-out, opacity 0.5s ease-out; + z-index: 999; + display: flex; + justify-content: center; + align-items: center; + height: 200rpx; + width: calc(100%); + border-image: repeating-linear-gradient(90deg, #0184db 0px, #0184db 6rpx, transparent 6rpx, transparent 12rpx) 1; + flex-direction: column; + position: relative; +} + +.title-time-border-big-top { + transform: scale(1.3); + transform-origin: top; + /* 将页面内容放大1.2倍 */ + border-top: 0rpx solid #fff; + transition: transform 0.5s ease-out, opacity 0.5s ease-out; + z-index: 999; + display: flex; + justify-content: center; + align-items: center; + height: 200rpx; + width: calc(100%); + border-image: repeating-linear-gradient(90deg, #0184db 0px, #0184db 6rpx, transparent 6rpx, transparent 12rpx) 1; + flex-direction: column; + position: relative; +} + +.title-time-border-yellow { + margin: 10rpx; + border: 2rpx solid transparent; + /* background: linear-gradient(to bottom, #fff1db, #ffe2b2); */ + width: calc(100% - 40rpx); + height: calc(100% - 40rpx); + border-radius: 20rpx; + display: flex; + align-items: center; + background-color: rgba(255, 255, 255, 0.5); + flex-direction: column; + /* box-shadow: 8rpx 8rpx 16rpx rgba(255, 138, 0, 0.7); */ +} + +.title-time-border-yellow-active-transparent { + margin: 10rpx; + /* border: 4rpx dashed rgb(255, 138, 0); */ + /* background: linear-gradient(to bottom, #fff1db, #ffe2b2); */ + width: calc(100% - 40rpx); + height: calc(100% - 40rpx); + border-radius: 20rpx; + display: flex; + align-items: center; + flex-direction: column; + opacity: 0.3; + background-color: rgba(255, 255, 255, 0.5); + /* box-shadow: 8rpx 8rpx 16rpx rgba(255, 138, 0, 0.7); */ +} + +.title-time-border-yellow-active { + margin: 10rpx; + border: 1rpx solid #dae8fa; + /* background: linear-gradient(to bottom, #fff1db, #ffe2b2); */ + width: calc(100% - 40rpx); + height: calc(100% - 40rpx); + border-radius: 20rpx; + display: flex; + align-items: center; + flex-direction: column; + animation: shakesmall 0.8s infinite; + background-color: rgba(255, 255, 255, 0.5); +} + +.down-icons { + margin-top: 17rpx; + width: 100%; + height: 60rpx; + background-color: rgb(255, 216, 126); + display: flex; + justify-content: center; + align-items: center; + + .icon { + margin: 0 5rpx; + font-size: 20rpx; + padding: 5rpx 10rpx; + background-color: rgb(255, 138, 0); + color: #fff; + border-radius: 5rpx; + } +} + +.super-end-items-img-father { + /* width: 60rpx; */ + /* height: 60rpx; */ + border-radius: 50%; + display: flex; + justify-content: center; + align-items: center; + text-align: center; + flex-direction: column; +} + +.super-end-items-img-father-active { + text-align: center; + /* height: 60rpx; */ + border-radius: 50%; + display: flex; + justify-content: center; + align-items: center; + flex-direction: column; + animation: shake 0.5s infinite; +} + +@keyframes shake { + 0% { + transform: rotate(-10deg); + } + + 25% { + transform: rotate(10deg); + } + + 50% { + transform: rotate(-10deg); + } + + 75% { + transform: rotate(10deg); + } + + 100% { + transform: rotate(-10deg); + } +} + +.super-end-items-father-close-father { + width: 40rpx; + height: 40rpx; + border-radius: 50%; + display: flex; + background-color: #0184db; + justify-content: center; + align-items: center; + position: absolute; + top: 0rpx; + right: 0rpx; + z-index: 10; + color: #fff; +} + +@keyframes shakesmall { + 0% { + transform: rotate(-2deg); + } + + 25% { + transform: rotate(2deg); + } + + 50% { + transform: rotate(-2deg); + } + + 75% { + transform: rotate(2deg); + } + + 100% { + transform: rotate(-2deg); + } +} + + + +.boom-father { + position: absolute; + top: 220rpx; + left: -17rpx; + width: 60rpx; + height: 1000rpx; + margin-top: 10rpx; + /* background-color: red; */ + overflow: hidden; + z-index: 999; + /* background: linear-gradient(to bottom, #c4dbf4, #c9c2ef, #c6dcf3); */ + /* border-bottom: 2rpx solid #fff; */ + /* border-left: 2rpx solid #fff; */ + /* border-bottom-left-radius: 20rpx; */ +} + +.doctorsay-container-card-font-dark { + font-size: 31rpx; + color: rgb(54, 159, 239); + /* margin-left: 25rpx; */ + /* margin-top: 20rpx; */ +} + +.boom { + height: 2500rpx; + display: flex; + flex-direction: column; + /* // justify-content: center; */ + /* align-items: center; */ + overflow: hidden; + z-index: 0; + + + .boom-son { + height: 200rpx; + width: 60rpx; + font-size: 30rpx; + display: flex; + justify-content: center; + align-items: center; + text-align: center; + z-index: 10; + font-size: 25rpx; + color: #A9ACB1; + + .boom-text { + /* padding: 5rpx; */ + width: 40rpx; + height: 40rpx; + border: 1rpx solid #A9ACB1; + border-radius: 50%; + display: flex; + justify-content: center; + align-items: center; + z-index: 1; + background-color: #eff0f4; + } + + /* border: 1rpx solid #A9ACB1; + border-radius: 50%; */ + /* font-weight: 700; */ + /* border-top: 1rpx solid transparent; */ + /* border-right: 1rpx solid transparent; */ + /* border-image: repeating-linear-gradient(90deg, #A9ACB1 0px, #A9ACB1 6rpx, transparent 6rpx, transparent 12rpx) 1; */ + } + + .boom-son-target { + height: 250rpx; + width: 60rpx; + font-size: 30rpx; + display: flex; + justify-content: center; + align-items: center; + text-align: center; + z-index: 10; + font-weight: 700; + font-size: 25rpx; + color: #A9ACB1; + + /* border-top: 1rpx solid transparent; + border-bottom: 1rpx solid transparent; */ + /* border-image: repeating-linear-gradient(90deg, #0184db 0px, #0184db 6rpx, transparent 6rpx, transparent 12rpx) 1; */ + /* 确保文字在容器内居中 */ + background: linear-gradient(to bottom, #ff8a00, #eceaff); + /* border-bottom-right-radius: 40rpx; + border-top-right-radius: 40rpx; */ + } +} + +.popup-share { + position: fixed; + top: 0; + left: 0; + right: 0; + bottom: 0; + display: flex; + justify-content: center; + align-items: center; + backdrop-filter: blur(1rpx); + background-color: rgba(236, 237, 241, 0.4); + /* 添加毛玻璃效果 */ + z-index: 999; + + + .share-other { + z-index: 1; + width: 100%; + height: 100%; + } + + .share-title { + padding-left: 50rpx; + height: 150rpx; + display: flex; + align-items: center; + } + + .share-others { + display: flex; + justify-content: center; + align-items: center; + flex-direction: column; + + .other-img { + width: 150rpx; + height: 150rpx; + margin-left: 100rpx; + } + } + + .popup-share-content { + position: absolute; + display: flex; + flex-direction: column; + width: 800rpx; + height: 450rpx; + background-color: #fff; + border-radius: 30rpx; + transition: opacity 0.4s ease; + + .popup-share-title { + margin: 30rpx 30rpx; + font-size: 40rpx; + position: relative; + + .popup-share-img { + position: absolute; + top: 0; + right: 0; + width: 200rpx; + height: 200rpx; + } + } + + .popup-share-upcontent { + margin: 0 30rpx; + display: flex; + justify-content: space-between; + + .popup-share-font { + font-size: 35rpx; + color: gray; + } + + } + + .popup-share-gray { + background-color: #D3D3D3; + width: calc(100% - 60rpx); + height: 2rpx; + margin: 110rpx 30rpx 0 30rpx; + } + + .popup-share-downcontent { + display: flex; + justify-content: space-between; + align-items: center; + height: 100%; + margin: 0 30rpx; + + .popup-downcontent-img { + width: 70rpx; + height: 70rpx; + } + + .popup-downcontent-font { + font-size: 27rpx; + margin-left: 20rpx; + } + + .popup-share-downcontent-left { + display: flex; + align-items: center; + } + + .popup-share-downcontent-button { + background: linear-gradient(to right bottom, #00c9ff, #0076ff); + color: #fff; + display: flex; + justify-content: center; + align-items: center; + padding: 15rpx 30rpx; + border-radius: 20rpx; + font-size: 32rpx; + } + } + + } + +} + +.tags-father { + display: flex; + flex-direction: column; + justify-content: center; + /* margin-left: 23rpx; */ + margin: 10rpx 14rpx; + margin-left: 30rpx; + /* margin-top: 15rpx; */ + align-items: center; + width: 100rpx; + height: 110rpx; + + + .tags-font { + font-size: 25rpx; + } +} + +.tags-img { + width: 50rpx; + height: 50rpx; + margin-bottom: 10rpx; +} + +.specia-onshow { + background-color: rgb(241, 245, 252); + width: 100%; + height: 100%; + padding: 20rpx; + + .specia-title { + width: 100%; + height: 100rpx; + font-size: 40rpx; + font-weight: 600; + display: flex; + justify-content: center; + align-items: center; + } + + .specia-cards { + width: 100%; + display: flex; + flex-wrap: wrap; + } +} + +/* 容器默认隐藏,透明度为 0,不接受点击 */ +.neuro-wrapper { + position: fixed; + inset: 0; + display: flex; + justify-content: center; + align-items: center; + z-index: 999; + opacity: 0; + pointer-events: none; + transition: opacity 0.3s ease; +} + +/* 显示时透明度过渡到 1,可接受点击 */ +.neuro-wrapper.is-active { + opacity: 1; + pointer-events: auto; +} + +/* 遮罩层,半透明黑色 */ +.neuro-mask { + position: absolute; + inset: 0; + background-color: rgba(0, 0, 0, 0.3); +} + +/* 拟态框 固定尺寸 + 阴影样式 + 相对定位于 wrapper */ +.neuro-box { + position: relative; + width: 600rpx; + height: 450rpx; + border-radius: 30rpx; + background-color: #fff; + display: flex; + flex-direction: column; + align-items: center; + z-index: 1; + padding: 0 5%; +} + +.button { + width: 47%; + background-color: #ddf0ff; + display: flex; + justify-content: center; + align-items: center; + color: #007CFF; + border: 1rpx solid #007CFF; + font-size: 25rpx; + border-radius: 30rpx; +} + +.title { + margin-top: 70rpx; + font-size: 33rpx; + font-weight: 600; +} + +.card-font { + margin-top: 70rpx; + width: 600rpx; + justify-content: center; + display: flex; +} + +.button-white { + width: 47%; + border: 2rpx solid #c3cacd; + background: linear-gradient(to bottom, #f3f3f5, #dee4e9); + display: flex; + justify-content: center; + align-items: center; + font-size: 25rpx; + border-radius: 30rpx; +} + +.delete-button-father { + position: absolute; + bottom: 60rpx; + left: 50%; + transform: translateX(-50%); + width: 100%; + height: 70rpx; + display: flex; + justify-content: space-between; + padding: 0 50rpx; +} + + .right-container-title-nav { + margin-top: 60rpx; + display: flex; + align-items: center; + height: 60rpx; + position: relative; + font-size: 28rpx; + + .new-weight { + margin-left: 30rpx; + font-weight: 600; + } + + .right-icons { + position: absolute; + right: 0; + top: 0; + display: flex; + align-items: center; + margin-top: -5rpx; + } + } + + .white-button { + width: 160rpx; + height: 70rpx; + border-radius: 40rpx; + background-color: #E6E7EB; + margin-left: 20rpx; + margin-top: 10rpx; + display: flex; + justify-content: center; + align-items: center; + + .white-img { + width: 35rpx; + height: 35rpx; + margin-right: 10rpx; + } + } + + .left-top { + border-top-left-radius: 0 !important; + } + + .right-top { + border-top-right-radius: 0 !important; + } + + .left-bottom { + border-bottom-left-radius: 0 !important + } + + .right-bottom { + border-bottom-right-radius: 0 !important; + } + + .mark { + font-size: 29rpx; + position: relative; + } + + .marknone { + font-size: 29rpx; + color: #999; + display: flex; + margin-top: 5rpx; + } + + .tri-down { + width: 0; + height: 0; + border-left: 10rpx solid transparent; + /* s/2 */ + border-right: 10rpx solid transparent; + /* s/2 */ + border-top: 17.32rpx solid #999; + /* 0.866 * s */ + margin: 0rpx 0rpx 0 15rpx; + position: relative; + } + + .mark-bgc { + position: absolute; + top: 20rpx; + right: 0; + width: 450rpx; + background-color: #fff; + z-index: 999; + border-radius: 30rpx; + padding-bottom: 30rpx; + transition: opacity 0.3s ease; + } + + .blue-button { + margin-top: 60rpx; + width: 150rpx; + height: 70rpx; + border-radius: 40rpx; + display: flex; + justify-content: center; + align-items: center; + color: #007CFF; + font-size: 30rpx; + background: linear-gradient(to bottom, #e7f4ff, #c5e5ff); + border: 2rpx solid #9AD1FF; + } + + .firsttarget { + --color: #99C9FD; + --thick: 2px; + --radius: 50rpx; + --outline-offset: 10rpx; + /* 外扩多少 */ + /* 内层虚线(你现在用的) */ + border-radius: var(--radius); + /* 内部背景 */ + animation: scalePulse 360ms cubic-bezier(.2, .8, .2, 1); + /* 外层虚线:放在 outline(不会影响元素尺寸) */ + outline: var(--thick) dashed var(--color); + outline-offset: var(--outline-offset); + /* 保证文本 / 子元素在最上层 */ + position: relative; + z-index: 999; + } + + .secondtarget { + --color: #99C9FD; + --thick: 2px; + --radius: 10rpx; + --outline-offset: 0rpx; + /* 外扩多少 */ + /* 内层虚线(你现在用的) */ + border-radius: var(--radius); + /* 内部背景 */ + animation: scalePulse 360ms cubic-bezier(.2, .8, .2, 1); + /* 外层虚线:放在 outline(不会影响元素尺寸) */ + outline: var(--thick) dashed var(--color); + outline-offset: var(--outline-offset); + /* 保证文本 / 子元素在最上层 */ + position: relative; + z-index: 999; + } + + .xian-bian { + height: 100%; + position: absolute; + top: 0; + left: 0; + z-index: 999; + border-right: 1rpx solid transparent; + border-image: repeating-linear-gradient(180deg, #A9ACB1 0px, #A9ACB1 6rpx, transparent 6rpx, transparent 12rpx) 1; + } + + .pulic-time { + width: 100%; + height: 100%; + display: flex; + justify-content: center; + align-items: center; + color: #99C9FD; + font-size: 35rpx; + font-weight: 600; + } + + .zhiling-card { + width: calc(100% - 20rpx); + height: 200rpx; + background-color: rgba(255, 255, 255, 0.3); + margin-left: 20rpx; + border-radius: 30rpx; + border: 2rpx solid rgb(229, 233, 249); + position: relative; + margin-bottom: 10rpx; + padding: 20rpx 30rpx; + overflow: hidden; + + .zhiling-card-button { + position: absolute; + top: 0rpx; + right: 0rpx; + width: 120rpx; + height: 50rpx; + } + + .zhiling-card-font { + position: absolute; + top: 5rpx; + right: 20rpx; + /* width: 100rpx; */ + /* height: 40rpx; */ + display: flex; + justify-content: center; + align-items: center; + color: #1083f8; + font-size: 22rpx; + } + + .bag { + display: flex; + flex-wrap: wrap; + margin-top: 20rpx; + + .bag-one { + // margin-right: 10rpx; + } + } + } + + .overlay { + position: fixed; + inset: 0; + background-color: rgba(236, 237, 241, 0.4); + /* 半透明黑色 */ + z-index: 999; + } \ No newline at end of file diff --git a/pages/NursingNew/component/nurse/logistics.vue b/pages/NursingNew/component/invoicing/index.vue similarity index 99% rename from pages/NursingNew/component/nurse/logistics.vue rename to pages/NursingNew/component/invoicing/index.vue index 96c5732..c447b14 100644 --- a/pages/NursingNew/component/nurse/logistics.vue +++ b/pages/NursingNew/component/invoicing/index.vue @@ -782,6 +782,7 @@ if (timearr.value[saveEditIndex.value.index0].children[saveEditIndex.value.index1].id) { deleteDirective(timearr.value[saveEditIndex.value.index0].children[saveEditIndex.value.index1]).then((res : any) => { doChangeNew() + }) } else { doChangeNew() @@ -1237,6 +1238,7 @@ const reldata = ref([]); const deleteRuler = (index0 : number, index1 : number) => { deleteDirective(timearr.value[index0].children[index1]).then((res : any) => { + console.log("删除",res) if (res.success) { geteverything() } @@ -1664,6 +1666,7 @@ const geteverything = () => { if (uni.getStorageSync('nuId') && uni.getStorageSync('elderId')) { getNclist(uni.getStorageSync('nuId'), uni.getStorageSync('elderId')).then((res : any) => { + console.log("啥啊",res) timearr.value = Array.from({ length: 24 }, (_, hour) => ({ positioning: hour.toString(), children: minuteArr.map(time => ({ @@ -1696,7 +1699,7 @@ const savePackagelist = ref([]); onMounted(() => { savePackagelist.value = uni.getStorageSync('Packagelist') || [] - let res = uni.getStorageSync('saveTree') + let res = uni.getStorageSync('saveTree2') let goodArray = [] myArray.forEach((element : any) => { element.children.forEach((element1 : any) => { diff --git a/pages/NursingNew/component/invoicing/yaoshandiao.js b/pages/NursingNew/component/invoicing/yaoshandiao.js new file mode 100644 index 0000000..f4a9b36 --- /dev/null +++ b/pages/NursingNew/component/invoicing/yaoshandiao.js @@ -0,0 +1,1880 @@ +// 通用的生成函数 +function genPaths(base, prefix, count, ext = 'png', startIndex = 0, pad = false) { + return Array.from({ + length: count + }, (_, i) => { + const idx = pad ? + String(i + startIndex).padStart(2, '0') : + i + startIndex + return `${base}/${prefix}${idx}.${ext}` + }) +} + +export const myArray = [{ + "children": [{ + "children": [{ + "cycleType": "日常护理", + "levle": "3", + "serviceDuration": "5", + "id": "1900421622979706886", + "title": "协助喂药", + "tagName": null + }, + { + "cycleType": "日常护理", + "levle": "3", + "serviceDuration": "5", + "id": "1902604232524795905", + "title": "鼻饲喂药", + "tagName": null + }, + { + "cycleType": "日常护理", + "levle": "3", + "serviceDuration": "5", + "id": "1902604428667228162", + "title": "注射器/吸管喂药", + "tagName": "头部,大体重" + } + ], + "levle": "2", + "title": "协助喂药", + "key": "1900114812020310017", + "parentId": "1900112597427793921", + "url": genPaths( + '/static/index/diet', + 'medicine_', + 7, // 张数 + 'png', + 1, // 起始索引 + false // 不补零 + ) + }, + { + "children": [{ + "cycleType": "日常护理", + "levle": "3", + "serviceDuration": "5", + "id": "1902605892869394433", + "title": "一级压疮防护", + "tagName": null + }, + { + "cycleType": "日常护理", + "levle": "3", + "serviceDuration": "5", + "id": "1902606105021485058", + "title": "二级压疮防护", + "tagName": null + }, + { + "cycleType": "日常护理", + "levle": "3", + "serviceDuration": "5", + "id": "1902606339931869185", + "title": "三级压疮防护", + "tagName": null + }, + { + "cycleType": "日常护理", + "levle": "3", + "serviceDuration": "5", + "id": "1902606614344208386", + "title": "一级压疮防护", + "tagName": "大体重" + }, + { + "cycleType": "日常护理", + "levle": "3", + "serviceDuration": "5", + "id": "1902606869953482753", + "title": "二级压疮防护", + "tagName": "大体重" + }, + { + "cycleType": "日常护理", + "levle": "3", + "serviceDuration": "5", + "id": "1902607023431454722", + "title": "三级压疮防护", + "tagName": "大体重" + } + ], + "levle": "2", + "title": "压疮防护", + "key": "1900115034452639746", + "parentId": "1900112597427793921", + "url": genPaths( + '/static/index/diet', + 'knead_', + 4, // 张数 + 'png', + 1, // 起始索引 + false // 不补零 + ) + }, + { + "children": [{ + "cycleType": "日常护理", + "levle": "3", + "serviceDuration": "5", + "id": "1900421622979706887", + "title": "床椅转移", + "tagName": null + }, + { + "cycleType": "日常护理", + "levle": "3", + "serviceDuration": "5", + "id": "1900421622979706888", + "title": "床椅转移", + "tagName": "大体重" + }, + { + "cycleType": "即时护理", + "levle": "3", + "serviceDuration": "5", + "id": "1902605073730211842", + "title": "床椅转移", + "tagName": null + }, + { + "cycleType": "即时护理", + "levle": "3", + "serviceDuration": "5", + "id": "1902605223185846273", + "title": "床椅转移", + "tagName": "大体重" + }, + { + "cycleType": "日常护理", + "levle": "3", + "serviceDuration": "5", + "id": "1902605365393723393", + "title": "协助床椅转移", + "tagName": null + }, + { + "cycleType": "即时护理", + "levle": "3", + "serviceDuration": "5", + "id": "1902605496071458818", + "title": "协助床椅转移", + "tagName": null + } + ], + "levle": "2", + "title": "床椅转移", + "key": "1902248363784159233", + "parentId": "1900112597427793921", + "url": genPaths( + '/static/index/diet', + 'chair_', + 8, // 张数 + 'png', + 1, // 起始索引 + false // 不补零 + ) + }, + { + "children": [{ + "cycleType": "日常护理", + "levle": "3", + "serviceDuration": "5", + "id": "1902607507626102786", + "title": "轮椅防护", + "tagName": null + }, + { + "cycleType": "日常护理", + "levle": "3", + "serviceDuration": "5", + "id": "1902607677415723010", + "title": "轮椅防护", + "tagName": "大体重" + }, + { + "cycleType": "即时护理", + "levle": "3", + "serviceDuration": "5", + "id": "1902607817589362689", + "title": "轮椅防护", + "tagName": null + }, + { + "cycleType": "即时护理", + "levle": "3", + "serviceDuration": "5", + "id": "1902608061588803585", + "title": "轮椅防护", + "tagName": "大体重" + } + ], + "levle": "2", + "title": "轮椅防护", + "key": "1902280900178886657", + "parentId": "1900112597427793921", + "url": genPaths( + '/static/index/diet', + 'wheelchair_', + 10, // 张数 + 'png', + 1, // 起始索引 + false // 不补零 + ) + }, + { + "children": [{ + "cycleType": "日常护理", + "levle": "3", + "serviceDuration": "5", + "id": "1902608564582322178", + "title": "约束位按摩", + "tagName": "手" + }, + { + "cycleType": "日常护理", + "levle": "3", + "serviceDuration": "5", + "id": "1902608974609092610", + "title": "约束位按摩", + "tagName": "足" + }, + { + "cycleType": "日常护理", + "levle": "3", + "serviceDuration": "5", + "id": "1902618507855237121", + "title": "约束位按摩", + "tagName": "全" + }, + { + "cycleType": "日常护理", + "levle": "3", + "serviceDuration": "5", + "id": "1902618751548493825", + "title": "防护网约束", + "tagName": null + } + ], + "levle": "2", + "title": "约束防护", + "key": "1902280933364219906", + "parentId": "1900112597427793921", + "url": genPaths( + '/static/index/diet', + 'constraint_', + 4, // 张数 + 'png', + 1, // 起始索引 + false // 不补零 + ) + }, + { + "children": [{ + "cycleType": "日常护理", + "levle": "3", + "serviceDuration": "5", + "id": "1902620309090701314", + "title": "协助行走", + "tagName": null + }, + { + "cycleType": "日常护理", + "levle": "3", + "serviceDuration": "5", + "id": "1902620486044192769", + "title": "放松按摩", + "tagName": null + }, + { + "cycleType": "日常护理", + "levle": "3", + "serviceDuration": "30", + "id": "1902625161569079298", + "title": "心灵慰藉", + "tagName": null + }, + { + "cycleType": "日常护理", + "levle": "3", + "serviceDuration": "10", + "id": "1902625402468929537", + "title": "狂躁", + "tagName": null + } + ], + "levle": "2", + "title": "按摩保健", + "key": "1902564031454744577", + "parentId": "1900112597427793921", + "url": genPaths( + '/static/index/diet', + 'massage_', + 5, // 张数 + 'png', + 1, // 起始索引 + false // 不补零 + ) + }, + { + "children": [{ + "cycleType": "日常护理", + "levle": "3", + "serviceDuration": "5", + "id": "1902625872432304130", + "title": "准备衣物", + "tagName": null + }, + { + "cycleType": "日常护理", + "levle": "3", + "serviceDuration": "5", + "id": "1902626005538541569", + "title": "协助更换", + "tagName": null + }, + { + "cycleType": "日常护理", + "levle": "3", + "serviceDuration": "5", + "id": "1902626664711163905", + "title": "肢体障碍", + "tagName": "半侧" + }, + { + "cycleType": "日常护理", + "levle": "3", + "serviceDuration": "5", + "id": "1902626800510144513", + "title": "肢体障碍", + "tagName": "全身" + }, + { + "cycleType": "即时护理", + "levle": "3", + "serviceDuration": "5", + "id": "1902627064688381953", + "title": "准备衣物", + "tagName": null + }, + { + "cycleType": "即时护理", + "levle": "3", + "serviceDuration": "5", + "id": "1902627280716009474", + "title": "协助更换", + "tagName": null + }, + { + "cycleType": "即时护理", + "levle": "3", + "serviceDuration": "5", + "id": "1902627416598876161", + "title": "肢体障碍", + "tagName": "半侧" + }, + { + "cycleType": "即时护理", + "levle": "3", + "serviceDuration": "5", + "id": "1902627522404388866", + "title": "肢体障碍", + "tagName": "全身" + }, + { + "cycleType": "日常护理", + "levle": "3", + "serviceDuration": "5", + "id": "1902627711806574593", + "title": "协助更换", + "tagName": "大体重" + }, + { + "cycleType": "日常护理", + "levle": "3", + "serviceDuration": "5", + "id": "1902628058591629313", + "title": "肢体障碍", + "tagName": "半侧,大体重" + }, + { + "cycleType": "日常护理", + "levle": "3", + "serviceDuration": "5", + "id": "1902628650718302209", + "title": "肢体障碍", + "tagName": "大体重,全测" + }, + { + "cycleType": "即时护理", + "levle": "3", + "serviceDuration": "5", + "id": "1902628837725540354", + "title": "肢体障碍", + "tagName": "大体重,全测" + }, + { + "cycleType": "即时护理", + "levle": "3", + "serviceDuration": "5", + "id": "1902628966847188993", + "title": "肢体障碍", + "tagName": "大体重,半侧" + }, + { + "cycleType": "即时护理", + "levle": "3", + "serviceDuration": "5", + "id": "1902629129879785474", + "title": "协助更换", + "tagName": "大体重" + } + ], + "levle": "2", + "title": "更换衣物", + "key": "1902564088417587201", + "parentId": "1900112597427793921", + "url": genPaths( + '/static/index/diet', + 'replace_', + 4, // 张数 + 'png', + 1, // 起始索引 + false // 不补零 + ) + }, + { + "children": [{ + "cycleType": "日常护理", + "levle": "3", + "serviceDuration": "5", + "id": "1902629344456183809", + "title": "坐起", + "tagName": null + }, + { + "cycleType": "日常护理", + "levle": "3", + "serviceDuration": "5", + "id": "1902629492301205506", + "title": "躺下", + "tagName": null + } + ], + "levle": "2", + "title": "调整坐卧", + "key": "1902564199830884354", + "parentId": "1900112597427793921", + "url": genPaths( + '/static/index/diet', + 'adjust_', + 7, // 张数 + 'png', + 1, // 起始索引 + false // 不补零 + ) + }, + { + "children": [{ + "cycleType": "日常护理", + "levle": "3", + "serviceDuration": "55", + "id": "1902630862769065985", + "title": "遗体净身", + "tagName": null + }, + { + "cycleType": "日常护理", + "levle": "3", + "serviceDuration": "55", + "id": "1902631162275926017", + "title": "遗体穿衣", + "tagName": null + }, + { + "cycleType": "日常护理", + "levle": "3", + "serviceDuration": "30", + "id": "1902631422431825921", + "title": "遗体转移", + "tagName": null + }, + { + "cycleType": "日常护理", + "levle": "3", + "serviceDuration": "30", + "id": "1902631602463936514", + "title": "床位消毒", + "tagName": null + } + ], + "levle": "2", + "title": "殡仪服务", + "key": "1902564263743688705", + "parentId": "1900112597427793921", + "url": genPaths( + '/static/index/diet', + 'exequy_', + 4, // 张数 + 'png', + 1, // 起始索引 + false // 不补零 + ) + }, + { + "children": [{ + "cycleType": "周期护理", + "levle": "3", + "serviceDuration": "5", + "id": "1902631830441136129", + "title": "更换床上用品", + "tagName": "全部" + }, + { + "cycleType": "即时护理", + "levle": "3", + "serviceDuration": "5", + "id": "1902632063828987905", + "title": "隔尿褥子更换", + "tagName": null + } + ], + "levle": "2", + "title": "更换床上用品", + "key": "1902564446648897538", + "parentId": "1900112597427793921", + "url": genPaths( + '/static/index/diet', + 'change_', + 6, // 张数 + 'png', + 1, // 起始索引 + false // 不补零 + ) + }, + { + "children": [{ + "cycleType": "即时护理", + "levle": "3", + "serviceDuration": "5", + "id": "1902632288270389250", + "title": "临终护理", + "tagName": null + }], + "levle": "2", + "title": "临终服务", + "key": "1902564503783706625", + "parentId": "1900112597427793921", + "url": genPaths( + '/static/index/diet', + 'funeral_', + 5, // 张数 + 'png', + 1, // 起始索引 + false // 不补零 + ) + }, + { + "children": [{ + "cycleType": "日常护理", + "levle": "3", + "serviceDuration": "40", + "id": "1902632678701371393", + "title": "制氧机吸氧", + "tagName": null + }, + { + "cycleType": "日常护理", + "levle": "3", + "serviceDuration": "5", + "id": "1902632799853842433", + "title": "制氧机维护", + "tagName": null + } + ], + "levle": "2", + "title": "制氧机应用", + "key": "1902564586101116930", + "parentId": "1900112597427793921", + "url": genPaths( + '/static/index/diet', + 'oxygen_', + 6, // 张数 + 'png', + 1, // 起始索引 + false // 不补零 + ) + } + ], + "levle": "1", + "title": "1 日常照料", + "key": "1900112597427793921" + }, + { + "children": [{ + "children": [{ + "cycleType": "日常护理", + "levle": "3", + "serviceDuration": "5", + "id": "1900376187661553665", + "title": "准备洁具", + "tagName": "口腔" + }, + { + "cycleType": "日常护理", + "levle": "3", + "serviceDuration": "5", + "id": "1900420873478553602", + "title": "棉球清洁", + "tagName": "口腔" + }, + { + "cycleType": "日常护理", + "levle": "3", + "serviceDuration": "5", + "id": "1900421622979706881", + "title": "协助清洁", + "tagName": "口腔" + }, + { + "cycleType": "日常护理", + "levle": "3", + "serviceDuration": "5", + "id": "1900421622979706885", + "title": "义齿清洁", + "tagName": "口腔" + } + ], + "levle": "2", + "title": "口腔清洁", + "key": "1902597070889127938", + "parentId": "1900112615777873921", + "url": genPaths( + '/static/index/diet', + 'oral_', + 7, // 张数 + 'png', + 1, // 起始索引 + false // 不补零 + ) + }, + { + "children": [{ + "cycleType": "周期护理", + "levle": "3", + "serviceDuration": "5", + "id": "1902636771540963329", + "title": "准备洁具", + "tagName": "头部" + }, + { + "cycleType": "周期护理", + "levle": "3", + "serviceDuration": "20", + "id": "1902637623425077250", + "title": "协助洗头", + "tagName": null + }, + { + "cycleType": "周期护理", + "levle": "3", + "serviceDuration": "20", + "id": "1902637985234128898", + "title": "卧式洗头", + "tagName": null + }, + { + "cycleType": "日常护理", + "levle": "3", + "serviceDuration": "5", + "id": "1902638122949906433", + "title": "擦头", + "tagName": null + }, + { + "cycleType": "日常护理", + "levle": "3", + "serviceDuration": "10", + "id": "1902638304739430401", + "title": "刮头", + "tagName": null + } + ], + "levle": "2", + "title": "头部清洁", + "key": "1902597497344987137", + "parentId": "1900112615777873921", + "url": genPaths( + '/static/index/diet', + 'head_', + 5, // 张数 + 'png', + 1, // 起始索引 + false // 不补零 + ) + }, + { + "children": [{ + "cycleType": "日常护理", + "levle": "3", + "serviceDuration": "5", + "id": "1902641763073101826", + "title": "准备洁具", + "tagName": "面部" + }, + { + "cycleType": "日常护理", + "levle": "3", + "serviceDuration": "5", + "id": "1902642254465175553", + "title": "协助洁面", + "tagName": null + } + ], + "levle": "2", + "title": "面部清洁", + "key": "1902597651405967361", + "parentId": "1900112615777873921", + "url": genPaths( + '/static/index/diet', + 'wash_', + 4, // 张数 + 'png', + 1, // 起始索引 + false // 不补零 + ) + }, + { + "children": [{ + "cycleType": "日常护理", + "levle": "3", + "serviceDuration": "5", + "id": "1902642508145070081", + "title": "准备洁具", + "tagName": "躯干" + }, + { + "cycleType": "日常护理", + "levle": "3", + "serviceDuration": "5", + "id": "1902642672796667905", + "title": "协助清洁", + "tagName": "躯干" + }, + { + "cycleType": "日常护理", + "levle": "3", + "serviceDuration": "5", + "id": "1902642822885642242", + "title": "卧床清洁", + "tagName": "躯干" + } + ], + "levle": "2", + "title": "躯干清洁", + "key": "1902597718082818050", + "parentId": "1900112615777873921", + "url": genPaths( + '/static/index/diet', + 'limbs_', + 4, // 张数 + 'png', + 1, // 起始索引 + false // 不补零 + ) + }, + { + "children": [{ + "cycleType": "日常护理", + "levle": "3", + "serviceDuration": "5", + "id": "1902643318811758594", + "title": "准备洁具", + "tagName": "四肢" + }, + { + "cycleType": "日常护理", + "levle": "3", + "serviceDuration": "5", + "id": "1902643483320750082", + "title": "协助清洁", + "tagName": "四肢" + }, + { + "cycleType": "日常护理", + "levle": "3", + "serviceDuration": "5", + "id": "1902643630888947713", + "title": "卧床清洁", + "tagName": "四肢" + }, + { + "cycleType": "日常护理", + "levle": "3", + "serviceDuration": "5", + "id": "1902643837525528578", + "title": "肌张力高", + "tagName": "清洁" + } + ], + "levle": "2", + "title": "四肢清洁", + "key": "1902597811565465601", + "parentId": "1900112615777873921", + "url": genPaths( + '/static/index/diet', + 'torso_', + 6, // 张数 + 'png', + 1, // 起始索引 + false // 不补零 + ) + }, + { + "children": [{ + "cycleType": "日常护理", + "levle": "3", + "serviceDuration": "5", + "id": "1902645148199391234", + "title": "会阴清洁", + "tagName": "男" + }, + { + "cycleType": "日常护理", + "levle": "3", + "serviceDuration": "5", + "id": "1902645295457210369", + "title": "会阴清洁", + "tagName": "女" + } + ], + "levle": "2", + "title": "会阴清洁", + "key": "1902597873964126209", + "parentId": "1900112615777873921", + "url": genPaths( + '/static/index/diet', + 'perineum_', + 5, // 张数 + 'png', + 1, // 起始索引 + false // 不补零 + ) + }, + { + "children": [{ + "cycleType": "日常护理", + "levle": "3", + "serviceDuration": "5", + "id": "1902645493185089537", + "title": "肛周清洁", + "tagName": null + }], + "levle": "2", + "title": "肛周清洁", + "key": "1902597930020999170", + "parentId": "1900112615777873921", + "url": genPaths( + '/static/index/diet', + 'perianal_', + 7, // 张数 + 'png', + 1, // 起始索引 + false // 不补零 + ) + }, + { + "children": [{ + "cycleType": "日常护理", + "levle": "3", + "serviceDuration": "5", + "id": "1902645693211447298", + "title": "洗手", + "tagName": null + }, + { + "cycleType": "日常护理", + "levle": "3", + "serviceDuration": "5", + "id": "1902647316134465538", + "title": "泡手", + "tagName": null + }, + { + "cycleType": "日常护理", + "levle": "3", + "serviceDuration": "5", + "id": "1902647529817477122", + "title": "准备洁具", + "tagName": null + }, + { + "cycleType": "日常护理", + "levle": "3", + "serviceDuration": "5", + "id": "1902647673212342274", + "title": "协助洗手", + "tagName": null + }, + { + "cycleType": "日常护理", + "levle": "3", + "serviceDuration": "5", + "id": "1902647905878773762", + "title": "强直屈曲洗手", + "tagName": null + } + ], + "levle": "2", + "title": "手清洁", + "key": "1902597991698239489", + "parentId": "1900112615777873921", + "url": genPaths( + '/static/index/diet', + 'hands_', + 5, // 张数 + 'png', + 1, // 起始索引 + false // 不补零 + ) + }, + { + "children": [{ + "cycleType": "日常护理", + "levle": "3", + "serviceDuration": "5", + "id": "1902648101203316737", + "title": "泡脚", + "tagName": null + }, + { + "cycleType": "日常护理", + "levle": "3", + "serviceDuration": "5", + "id": "1902648239091060737", + "title": "卧式泡脚", + "tagName": null + } + ], + "levle": "2", + "title": "足清洁", + "key": "1902598178588037121", + "parentId": "1900112615777873921", + "url": genPaths( + '/static/index/diet', + 'feet_', + 4, // 张数 + 'png', + 1, // 起始索引 + false // 不补零 + ) + }, + { + "children": [{ + "cycleType": "周期护理", + "levle": "3", + "serviceDuration": "5", + "id": "1902648426383511553", + "title": "修睫毛", + "tagName": null + }, + { + "cycleType": "日常护理", + "levle": "3", + "serviceDuration": "5", + "id": "1902648548777496577", + "title": "剃须", + "tagName": null + } + ], + "levle": "2", + "title": "剃须", + "key": "1902598258573414401", + "parentId": "1900112615777873921", + "url": genPaths( + '/static/index/diet', + 'shave_', + 6, // 张数 + 'png', + 1, // 起始索引 + false // 不补零 + ) + }, + { + "children": [{ + "cycleType": "周期护理", + "levle": "3", + "serviceDuration": "5", + "id": "1902648962444922882", + "title": "角质增生", + "tagName": "修甲" + }, + { + "cycleType": "周期护理", + "levle": "3", + "serviceDuration": "5", + "id": "1902649132536532994", + "title": "灰指甲", + "tagName": "修甲" + }, + { + "cycleType": "周期护理", + "levle": "3", + "serviceDuration": "5", + "id": "1902649302149992449", + "title": "正常", + "tagName": "修甲" + } + ], + "levle": "2", + "title": "修甲", + "key": "1902598354606198785", + "parentId": "1900112615777873921", + "url": genPaths( + '/static/index/diet', + 'clippers_', + 6, // 张数 + 'png', + 1, // 起始索引 + false // 不补零 + ) + }, + { + "children": [{ + "cycleType": "周期护理", + "levle": "3", + "serviceDuration": "20", + "id": "1902649683919736834", + "title": "理发", + "tagName": null + }, + { + "cycleType": "周期护理", + "levle": "3", + "serviceDuration": "25", + "id": "1902649860344745985", + "title": "理发", + "tagName": "颅骨缺损" + } + ], + "levle": "2", + "title": "理发", + "key": "1902598400382832642", + "parentId": "1900112615777873921", + "url": genPaths( + '/static/index/diet', + 'haircut_', + 5, // 张数 + 'png', + 1, // 起始索引 + false // 不补零 + ) + }, + { + "children": [{ + "cycleType": "周期护理", + "levle": "3", + "serviceDuration": "5", + "id": "1902650121280786434", + "title": "床上沐浴", + "tagName": null + }, + { + "cycleType": "周期护理", + "levle": "3", + "serviceDuration": "55", + "id": "1902650408884211713", + "title": "深度清洁", + "tagName": null + }, + { + "cycleType": "周期护理", + "levle": "3", + "serviceDuration": "55", + "id": "1902650763722330113", + "title": "浴间洗浴", + "tagName": null + }, + { + "cycleType": "周期护理", + "levle": "3", + "serviceDuration": "30", + "id": "1902651229122301954", + "title": "床上沐浴", + "tagName": "大体重" + }, + { + "cycleType": "周期护理", + "levle": "3", + "serviceDuration": "55", + "id": "1902651366317985794", + "title": "深度清洁", + "tagName": "大体重" + }, + { + "cycleType": "周期护理", + "levle": "3", + "serviceDuration": "55", + "id": "1902651555363655682", + "title": "浴间洗浴", + "tagName": "大体重" + } + ], + "levle": "2", + "title": "沐浴", + "key": "1902598454782955522", + "parentId": "1900112615777873921", + "url": genPaths( + '/static/index/diet', + 'bathe_', + 9, // 张数 + 'png', + 1, // 起始索引 + false // 不补零 + ) + }, + { + "children": [{ + "cycleType": "日常护理", + "levle": "3", + "serviceDuration": "10", + "id": "1902651778777452545", + "title": "内套管清洁", + "tagName": null + }, + { + "cycleType": "日常护理", + "levle": "3", + "serviceDuration": "10", + "id": "1902651924047171586", + "title": "更换气切纱布", + "tagName": null + }, + { + "cycleType": "即时护理", + "levle": "3", + "serviceDuration": "10", + "id": "1902652055928672258", + "title": "更换气切纱布", + "tagName": null + } + ], + "levle": "2", + "title": "气切消毒", + "key": "1902598509522817026", + "parentId": "1900112615777873921", + "url": genPaths( + '/static/index/diet', + 'omy_', + 4, // 张数 + 'png', + 1, // 起始索引 + false // 不补零 + ) + } + ], + "levle": "1", + "title": "2 清洁照料", + "key": "1900112615777873921" + }, + { + "children": [{ + "children": [{ + "cycleType": "日常护理", + "levle": "3", + "serviceDuration": "5", + "id": "1902898057679966209", + "title": "准备餐具", + "tagName": null + }, + { + "cycleType": "日常护理", + "levle": "3", + "serviceDuration": "5", + "id": "1902898202668666881", + "title": "协助进餐", + "tagName": null + }, + { + "cycleType": "日常护理", + "levle": "3", + "serviceDuration": "5", + "id": "1902898339931459586", + "title": "协助进餐", + "tagName": "超时" + }, + { + "cycleType": "日常护理", + "levle": "3", + "serviceDuration": "5", + "id": "1902898472584712194", + "title": "鼻胃管进餐", + "tagName": null + }, + { + "cycleType": "日常护理", + "levle": "3", + "serviceDuration": "5", + "id": "1902898590658564097", + "title": "胃肠管进餐", + "tagName": null + }, + { + "cycleType": "即时护理", + "levle": "3", + "serviceDuration": "5", + "id": "1902898719952179201", + "title": "准备餐具", + "tagName": null + }, + { + "cycleType": "即时护理", + "levle": "3", + "serviceDuration": "5", + "id": "1902898979948695554", + "title": "协助进餐", + "tagName": null + }, + { + "cycleType": "即时护理", + "levle": "3", + "serviceDuration": "5", + "id": "1902899086840532993", + "title": "协助进餐", + "tagName": "超时" + }, + { + "cycleType": "即时护理", + "levle": "3", + "serviceDuration": "5", + "id": "1902899214838108162", + "title": "鼻胃管进餐", + "tagName": null + }, + { + "cycleType": "即时护理", + "levle": "3", + "serviceDuration": "5", + "id": "1902899325014085633", + "title": "胃肠管进餐", + "tagName": null + }, + { + "cycleType": "即时护理", + "levle": "3", + "serviceDuration": "5", + "id": "1902899587028062210", + "title": "食物加工", + "tagName": null + } + ], + "levle": "2", + "title": "加餐饮食", + "key": "1902596129720864770", + "parentId": "1902280495747317762", + "url": genPaths( + '/static/index/diet', + 'snack_', + 7, // 张数 + 'png', + 1, // 起始索引 + false // 不补零 + ) + }, + { + "children": [{ + "cycleType": "日常护理", + "levle": "3", + "serviceDuration": "5", + "id": "1902281139677839362", + "title": "准备餐具", + "tagName": null + }, + { + "cycleType": "日常护理", + "levle": "3", + "serviceDuration": "10", + "id": "1902281522340970498", + "title": "鼻胃管进餐", + "tagName": null + }, + { + "cycleType": "日常护理", + "levle": "3", + "serviceDuration": "5", + "id": "1902281654100836354", + "title": "协助进餐", + "tagName": "超时" + }, + { + "cycleType": "日常护理", + "levle": "3", + "serviceDuration": "5", + "id": "1902281870434648066", + "title": "协助进餐", + "tagName": "正常" + }, + { + "cycleType": "日常护理", + "levle": "3", + "serviceDuration": "5", + "id": "1902654960639381506", + "title": "鼻肠管进餐", + "tagName": null + }, + { + "cycleType": "日常护理", + "levle": "3", + "serviceDuration": "5", + "id": "1902655101874180097", + "title": "轮椅进餐", + "tagName": "大体重" + }, + { + "cycleType": "日常护理", + "levle": "3", + "serviceDuration": "5", + "id": "1902892199009030145", + "title": "轮椅进餐", + "tagName": null + } + ], + "levle": "2", + "title": "正餐饮食", + "key": "1902601263850950657", + "parentId": "1902280495747317762", + "url": genPaths( + '/static/index/diet', + 'dinner_', + 8, // 张数 + 'png', + 1, // 起始索引 + false // 不补零 + ) + }, + { + "children": [{ + "cycleType": "日常护理", + "levle": "3", + "serviceDuration": "5", + "id": "1902893231608926209", + "title": "准备餐具", + "tagName": null + }, + { + "cycleType": "日常护理", + "levle": "3", + "serviceDuration": "5", + "id": "1902893551978254337", + "title": "协助进餐", + "tagName": "正常" + }, + { + "cycleType": "日常护理", + "levle": "3", + "serviceDuration": "5", + "id": "1902893716466274306", + "title": "协助进餐", + "tagName": "超时" + }, + { + "cycleType": "日常护理", + "levle": "3", + "serviceDuration": "5", + "id": "1902894369850757122", + "title": "鼻胃管进餐", + "tagName": null + }, + { + "cycleType": "日常护理", + "levle": "3", + "serviceDuration": "5", + "id": "1902894528533860354", + "title": "鼻肠管进餐", + "tagName": null + } + ], + "levle": "2", + "title": "辅餐饮食", + "key": "1902601382595891202", + "parentId": "1902280495747317762", + "url": genPaths( + '/static/index/diet', + 'food_', + 6, // 张数 + 'png', + 1, // 起始索引 + false // 不补零 + ) + }, + { + "children": [{ + "cycleType": "日常护理", + "levle": "3", + "serviceDuration": "5", + "id": "1902894832176304129", + "title": "准备餐具", + "tagName": null + }, + { + "cycleType": "日常护理", + "levle": "3", + "serviceDuration": "5", + "id": "1902894954117304322", + "title": "协助进餐", + "tagName": "正常" + }, + { + "cycleType": "日常护理", + "levle": "3", + "serviceDuration": "5", + "id": "1902895077522116609", + "title": "协助进餐", + "tagName": "超时" + }, + { + "cycleType": "日常护理", + "levle": "3", + "serviceDuration": "5", + "id": "1902895233407619073", + "title": "鼻胃管进餐", + "tagName": null + }, + { + "cycleType": "日常护理", + "levle": "3", + "serviceDuration": "5", + "id": "1902895569912434689", + "title": "鼻肠管进餐", + "tagName": null + } + ], + "levle": "2", + "title": "果汁饮食", + "key": "1902601427168759809", + "parentId": "1902280495747317762", + "url": genPaths( + '/static/index/diet', + 'juice_', + 9, // 张数 + 'png', + 1, // 起始索引 + false // 不补零 + ) + }, + { + "children": [{ + "cycleType": "日常护理", + "levle": "3", + "serviceDuration": "5", + "id": "1902895878508351489", + "title": "准备水杯", + "tagName": null + }, + { + "cycleType": "日常护理", + "levle": "3", + "serviceDuration": "5", + "id": "1902895984053817346", + "title": "协助饮水", + "tagName": null + }, + { + "cycleType": "日常护理", + "levle": "3", + "serviceDuration": "5", + "id": "1902896136835534850", + "title": "协助饮水", + "tagName": "超时" + }, + { + "cycleType": "日常护理", + "levle": "3", + "serviceDuration": "5", + "id": "1902896508421509122", + "title": "鼻胃管饮水", + "tagName": null + }, + { + "cycleType": "日常护理", + "levle": "3", + "serviceDuration": "5", + "id": "1902896636553302017", + "title": "鼻肠管饮水", + "tagName": null + }, + { + "cycleType": "即时护理", + "levle": "3", + "serviceDuration": "5", + "id": "1902896855802155010", + "title": "准备水杯", + "tagName": null + }, + { + "cycleType": "即时护理", + "levle": "3", + "serviceDuration": "5", + "id": "1902897018344017921", + "title": "协助饮水", + "tagName": null + }, + { + "cycleType": "即时护理", + "levle": "3", + "serviceDuration": "5", + "id": "1902897464936730626", + "title": "协助饮水", + "tagName": "超时" + }, + { + "cycleType": "即时护理", + "levle": "3", + "serviceDuration": "5", + "id": "1902897675813752834", + "title": "鼻胃管饮水", + "tagName": null + }, + { + "cycleType": "即时护理", + "levle": "3", + "serviceDuration": "5", + "id": "1902897803417063426", + "title": "鼻肠管饮水", + "tagName": null + } + ], + "levle": "2", + "title": "饮水饮食", + "key": "1902601487625457665", + "parentId": "1902280495747317762", + "url": genPaths( + '/static/index/diet', + 'drink_', + 5, // 张数 + 'png', + 1, // 起始索引 + false // 不补零 + ) + } + ], + "levle": "1", + "title": "3 饮食照料", + "key": "1902280495747317762" + }, + { + "children": [{ + "children": [{ + "cycleType": "日常护理", + "levle": "3", + "serviceDuration": "5", + "id": "1902653177363927041", + "title": "巡视", + "tagName": null + }], + "levle": "2", + "title": "巡视", + "key": "1902564741860790273", + "parentId": "1902560466095017986", + "url": genPaths( + '/static/index/diet', + 'posture_', + 6, // 张数 + 'png', + 1, // 起始索引 + false // 不补零 + ) + }, + { + "children": [{ + "cycleType": "即时护理", + "levle": "3", + "serviceDuration": "5", + "id": "1902653325481578497", + "title": "防坠床", + "tagName": null + }, + { + "cycleType": "即时护理", + "levle": "3", + "serviceDuration": "5", + "id": "1902653497066360833", + "title": "被褥调整", + "tagName": null + }, + { + "cycleType": "即时护理", + "levle": "3", + "serviceDuration": "5", + "id": "1902653650917625857", + "title": "睡姿调整", + "tagName": null + } + ], + "levle": "2", + "title": "体位调整", + "key": "1902564818838851585", + "parentId": "1902560466095017986", + "url": genPaths( + '/static/index/diet', + 'visitation_', + 5, // 张数 + 'png', + 1, // 起始索引 + false // 不补零 + ) + } + ], + "levle": "1", + "title": "4 睡眠照料", + "key": "1902560466095017986" + }, + { + "children": [{ + "children": [{ + "cycleType": "即时护理", + "levle": "3", + "serviceDuration": "5", + "id": "1902904277308510210", + "title": "更换尿袋", + "tagName": null + }, + { + "cycleType": "即时护理", + "levle": "3", + "serviceDuration": "5", + "id": "1902904458779267073", + "title": "更换隔尿垫", + "tagName": null + }, + { + "cycleType": "即时护理", + "levle": "3", + "serviceDuration": "5", + "id": "1902905631242424322", + "title": "使用尿盆", + "tagName": null + }, + { + "cycleType": "即时护理", + "levle": "3", + "serviceDuration": "5", + "id": "1902905824973131777", + "title": "使用尿壶", + "tagName": null + }, + { + "cycleType": "即时护理", + "levle": "3", + "serviceDuration": "5", + "id": "1902906220483416065", + "title": "协助入厕", + "tagName": null + }, + { + "cycleType": "即时护理", + "levle": "3", + "serviceDuration": "5", + "id": "1902906459051233281", + "title": "坐便椅", + "tagName": null + }, + { + "cycleType": "即时护理", + "levle": "3", + "serviceDuration": "5", + "id": "1902906610562076674", + "title": "留置尿袋", + "tagName": null + }, + { + "cycleType": "即时护理", + "levle": "3", + "serviceDuration": "5", + "id": "1902906783325458434", + "title": "更换纸尿裤", + "tagName": null + }, + { + "cycleType": "即时护理", + "levle": "3", + "serviceDuration": "5", + "id": "1902908406344945665", + "title": "热敷抚触排尿", + "tagName": null + }, + { + "cycleType": "即时护理", + "levle": "3", + "serviceDuration": "5", + "id": "1902908523827400705", + "title": "协助坐便椅", + "tagName": null + }, + { + "cycleType": "即时护理", + "levle": "3", + "serviceDuration": "5", + "id": "1902909645401067522", + "title": "更换尿片", + "tagName": null + } + ], + "levle": "2", + "title": "小便", + "key": "1902596314152800257", + "parentId": "1902560510768549889", + "url": genPaths( + '/static/index/diet', + 'urinate_', + 4, // 张数 + 'png', + 1, // 起始索引 + false // 不补零 + ) + }, + { + "children": [{ + "cycleType": "即时护理", + "levle": "3", + "serviceDuration": "5", + "id": "1902909835331735554", + "title": "床上排便", + "tagName": null + }, + { + "cycleType": "即时护理", + "levle": "3", + "serviceDuration": "5", + "id": "1902910002671882242", + "title": "协助坐便椅", + "tagName": null + }, + { + "cycleType": "即时护理", + "levle": "3", + "serviceDuration": "5", + "id": "1902910156154048514", + "title": "协助入厕", + "tagName": null + }, + { + "cycleType": "即时护理", + "levle": "3", + "serviceDuration": "5", + "id": "1902910361008050178", + "title": "人工取便", + "tagName": null + }, + { + "cycleType": "即时护理", + "levle": "3", + "serviceDuration": "5", + "id": "1902910524623654913", + "title": "造瘘袋", + "tagName": null + }, + { + "cycleType": "即时护理", + "levle": "3", + "serviceDuration": "5", + "id": "1902910700176248834", + "title": "坐便椅", + "tagName": null + } + ], + "levle": "2", + "title": "大便", + "key": "1902596399423000577", + "parentId": "1902560510768549889", + "url": genPaths( + '/static/index/diet', + 'stool_', + 3, // 张数 + 'png', + 1, // 起始索引 + false // 不补零 + ) + }, + { + "children": [{ + "cycleType": "即时护理", + "levle": "3", + "serviceDuration": "5", + "id": "1902910899565072385", + "title": "口腔吸痰", + "tagName": null + }, + { + "cycleType": "即时护理", + "levle": "3", + "serviceDuration": "5", + "id": "1902911047405899778", + "title": "气切吸痰", + "tagName": null + } + ], + "levle": "2", + "title": "吸痰", + "key": "1902596461238652930", + "parentId": "1902560510768549889", + "url": genPaths( + '/static/index/diet', + 'Sputuma_', + 7, // 张数 + 'png', + 1, // 起始索引 + false // 不补零 + ) + }, + { + "children": [{ + "cycleType": "即时护理", + "levle": "3", + "serviceDuration": "5", + "id": "1902911232974491650", + "title": "呕吐", + "tagName": null + }], + "levle": "2", + "title": "呕吐", + "key": "1902596886771765250", + "parentId": "1902560510768549889", + "url": genPaths( + '/static/index/diet', + 'vomiting_', + 6, // 张数 + 'png', + 1, // 起始索引 + false // 不补零 + ) + }, + { + "children": [{ + "cycleType": "日常护理", + "levle": "3", + "serviceDuration": "5", + "id": "1902911378349068290", + "title": "腹腔引流护理", + "tagName": null + }], + "levle": "2", + "title": "引流", + "key": "1902596940366581762", + "parentId": "1902560510768549889", + "url": genPaths( + '/static/index/diet', + 'drainage_', + 6, // 张数 + 'png', + 1, // 起始索引 + false // 不补零 + ) + } + ], + "levle": "1", + "title": "5 排泄照料", + "key": "1902560510768549889" + } +] \ No newline at end of file diff --git a/pages/NursingNew/component/logistics/api.js b/pages/NursingNew/component/logistics/api.js new file mode 100644 index 0000000..1effc91 --- /dev/null +++ b/pages/NursingNew/component/logistics/api.js @@ -0,0 +1,96 @@ +// 引入 request 文件 +import request from '@/request/index.js' + +// 以下 api 为博主项目示例,实际与项目相匹配 + +// 查询服务类型 +export const getServiceTree = () => { + return request({ + url: `${uni.getStorageSync('serverUrl')}/api/pad/logistics/directive/getServiceTree`, + method: 'get', + }) +} +// 查询表格 +export const getNclist = (nuId,elderId) => { + return request({ + url: `${uni.getStorageSync('serverUrl')}/api/pad/logistics/directive/getNclist?nuId=${nuId}&elderId=${elderId}`, + method: 'get', + }) +} +// 保存表格 +export const addBatch = (params) => { + return request({ + url: `${uni.getStorageSync('serverUrl')}/api/pad/logistics/directive/addBatch`, + method: 'post', + data: params, + }) +} +// 查询指令包 +export const getNcPackagelist = (nuId,elderId) => { + return request({ + url: `${uni.getStorageSync('serverUrl')}/api/pad/logistics/directive/getNcPackagelist`, + method: 'get', + }) +} + +// 新增服务指令 +export const addDirective = (params) => { + return request({ + url: `${uni.getStorageSync('serverUrl')}/api/pad/logistics/directive/addDirective`, + method: 'post', + data: params, + }) +} + +// 新增即时指令 +export const addInstant = (params) => { + return request({ + url: `${uni.getStorageSync('serverUrl')}/api/pad/logistics/directive/addInstant`, + method: 'post', + data: params, + }) +} + +// 新增情绪/体型标签 +export const addElderTag = (params) => { + return request({ + url: `${uni.getStorageSync('serverUrl')}/api/pad/logistics/directive/addElderTag`, + method: 'post', + data: params, + }) +} + +// 编排护理流程-删除服务指令 +export const deleteDirective = (params) => { + return request({ + url: `${uni.getStorageSync('serverUrl')}/api/pad/logistics/directive/deleteDirective`, + method: 'post', + data: params, + }) +} + +// 编排护理流程-删除即时服务指令 +export const deleteInstant = (params) => { + return request({ + url: `${uni.getStorageSync('serverUrl')}//api/pad/logistics/directive/deleteInstant`, + method: 'post', + data: params, + }) +} + +// 编排护理流程-删除情绪/体型标签 +export const deleteElderTag = (params) => { + return request({ + url: `${uni.getStorageSync('serverUrl')}/api/pad/logistics/directive/deleteElderTag`, + method: 'post', + data: params, + }) +} +// 编排护理流程-修改服务指令 +export const editDirective = (params) => { + return request({ + url: `${uni.getStorageSync('serverUrl')}/api/pad/logistics/directive/editDirective`, + method: 'post', + data: params, + }) +} \ No newline at end of file diff --git a/pages/NursingNew/component/logistics/index.css b/pages/NursingNew/component/logistics/index.css new file mode 100644 index 0000000..87da581 --- /dev/null +++ b/pages/NursingNew/component/logistics/index.css @@ -0,0 +1,2048 @@ +.super-card { + display: flex; + /* justify-content: center; */ + + width: 100%; + /* height: calc(100% - 400rpx); */ + + .scroll-x { + height: 100%; + width: 100%; + } + + .right-cards { + width: 550rpx; + height: 1280rpx; + + .scroll-box { + width: 100%; + height: 150rpx; + margin-top: 10rpx; + /* padding-right: 20rpx; */ + + .right-box { + height: 150rpx; + display: flex; + flex-direction: column; + flex-wrap: wrap; + align-content: flex-start; + /* padding-right: 10rpx; */ + + .right-box-item { + margin: 10rpx 10rpx 0 20rpx; + width: 250rpx; + height: 120rpx; + border-radius: 20rpx; + background-color: #fff; + position: relative; + display: flex; + justify-content: center; + align-items: center; + flex-direction: column; + + .right-box-img { + width: 60rpx; + height: 60rpx; + } + + .right-box-font { + font-size: 30rpx; + /* margin-top: 7rpx; */ + /* margin-left: 10rpx; */ + } + + .right-box-items { + display: flex; + justify-content: space-around; + align-items: center; + + .right-box-items-button { + width: 25rpx; + height: 25rpx; + margin: 0 3rpx; + } + } + } + + .title-time-button { + position: absolute; + top: 0rpx; + right: 0rpx; + width: 200rpx; + height: 100rpx; + /* background-color: red; */ + } + + .title-time-font { + position: absolute; + top: 5rpx; + right: 3rpx; + font-size: 17rpx; + color: #fff; + } + } + } + } + + .time-father { + border-radius: 20rpx; + height: 97%; + width: 95%; + margin-top: 6%; + margin-left: 6%; + background-color: rgba(255, 255, 255, 0.3); + + .time-button { + width: 140rpx; + height: 60rpx; + margin-top: 30rpx; + margin-left: 30rpx; + border-radius: 20rpx; + background-color: rgb(54, 159, 239); + border: 5rpx solid rgb(54, 159, 239); + display: flex; + + .time-button-month { + width: 50%; + height: 100%; + color: #fff; + display: flex; + justify-content: center; + align-items: center; + } + + .time-button-month-target { + width: 50%; + height: 100%; + background-color: #fff; + color: rgb(54, 159, 239); + display: flex; + justify-content: center; + align-items: center; + border-bottom-left-radius: 15rpx; + border-top-left-radius: 15rpx; + } + + .time-button-week-target { + width: 50%; + height: 100%; + display: flex; + justify-content: center; + align-items: center; + color: #fff; + } + + .time-button-week { + width: 50%; + height: 100%; + color: rgb(54, 159, 239); + display: flex; + justify-content: center; + align-items: center; + background-color: #fff; + border-bottom-right-radius: 15rpx; + border-top-right-radius: 15rpx; + } + } + } + + .under-button { + width: 520rpx; + height: 95rpx; + margin-left: 35rpx; + margin-top: 0rpx; + border-radius: 20rpx; + /* background-color: rgb(229, 233, 249); */ + display: flex; + align-items: center; + position: relative; + + .under-button-black { + transition: all 1s; + position: absolute; + width: 300rpx; + height: 100rpx; + border-radius: 20rpx; + padding-left: 10rpx; + background-color: rgb(77, 77, 77); + top: -100rpx; + left: 0rpx; + color: #fff; + display: flex; + justify-content: center; + align-items: center; + + .under-button-three { + position: absolute; + right: 13rpx; + bottom: -17rpx; + /* 元素本身不占任何宽高 */ + width: 0; + height: 0; + + /* 左右边框透明,宽度各 50px */ + border-left: 15rpx solid transparent; + border-right: 15rpx solid transparent; + + /* 上边框实色(高度 100px),形成向下的“倒三角” */ + border-top: 20rpx solid rgb(77, 77, 77); + } + } + + .other-father { + width: 100%; + height: 100%; + background-color: #fff; + display: flex; + flex-direction: column; + justify-content: center; + align-items: center; + } + + .white-circle-click-father-spec { + position: absolute; + top: -160rpx; + right: 10rpx; + overflow: hidden; + /* background-color: #fff; */ + /* 重要:让伪元素在圆角内显示 */ + margin-left: 10rpx; + height: 130rpx; + width: 130rpx; + border-radius: 50%; + --color: #99C9FD; + --thick: 2px; + --radius: 50%; + border: var(--thick) dashed var(--color); + border-radius: var(--radius); + + background: + /* 上边 */ + repeating-linear-gradient(90deg, var(--color) 0 var(--dash), transparent 0 calc(var(--dash) + var(--gap))) top left / 100% var(--thick) no-repeat, + /* 下边 */ + repeating-linear-gradient(90deg, var(--color) 0 var(--dash), transparent 0 calc(var(--dash) + var(--gap))) bottom left / 100% var(--thick) no-repeat, + /* 左边 */ + repeating-linear-gradient(0deg, var(--color) 0 var(--dash), transparent 0 calc(var(--dash) + var(--gap))) top left / var(--thick) 100% no-repeat, + /* 右边 */ + repeating-linear-gradient(0deg, var(--color) 0 var(--dash), transparent 0 calc(var(--dash) + var(--gap))) top right / var(--thick) 100% no-repeat; + + + } + + .white-circle-click-father { + position: relative; + overflow: hidden; + /* 重要:让伪元素在圆角内显示 */ + margin-left: 10rpx; + height: 75rpx; + width: 150rpx; + border-radius: 40rpx; + background: linear-gradient(to bottom, #e7f4ff, #c5e5ff); + border: 2rpx solid #9AD1FF; + color: #007CFF; + display: flex; + justify-content: center; + align-items: center; + -webkit-tap-highlight-color: transparent; + } + + /* 文本层级高于伪元素 */ + .white-circle-click-father .label { + position: relative; + z-index: 2; + } + + /* 伪元素作为点击时的覆盖渐变 */ + .white-circle-click-father::before { + content: ""; + position: absolute; + inset: 0; + z-index: 1; + pointer-events: none; + background: linear-gradient(to bottom, #bfe9ff, #4aa8ff); + /* 点击后的渐变(可替换) */ + opacity: 0; + /* transform: scale(1.02); */ + } + + /* anim 类触发 1s 动画(淡入→停留→淡出) */ + .white-circle-click-father.anim::before { + + animation: coverFade 1s ease-in-out forwards; + } + + + + /* keyframes:0-20% 淡入,20-80% 保持,80-100% 淡出 */ + @keyframes coverFade { + 0% { + opacity: 0; + } + + 20% { + opacity: 1; + } + + 80% { + opacity: 1; + } + + 100% { + opacity: 0; + } + } + + .white-circle { + width: 70rpx; + height: 70rpx; + border-radius: 50%; + margin-left: 15rpx; + background-color: #fff; + display: flex; + justify-content: center; + align-items: center; + z-index: 99; + + .white-circle-img { + width: 40rpx; + height: 40rpx; + } + } + } + + .middle-box { + width: 100%; + height: 840rpx; + /* background-color: red; */ + display: flex; + overflow: hidden; + + .middle-left-box { + margin-left: 0rpx; + width: 380rpx; + height: 800rpx; + /* background-color: red; */ + border-radius: 20rpx; + /* background-color: rgb(229, 233, 249); */ + display: flex; + + .first-contant { + height: 100%; + width: 190rpx; + + .right-box-item { + margin: 10rpx 0 0 20rpx; + width: 170rpx; + height: 120rpx; + border-radius: 20rpx; + background-color: rgba(255, 255, 255, 0.3); + position: relative; + display: flex; + justify-content: center; + align-items: center; + flex-direction: column; + white-space: nowrap; + /* 防止文本换行 */ + overflow: hidden; + /* 超出部分隐藏 */ + text-overflow: ellipsis; + /* 超出部分显示省略号 */ + + .right-box-img { + width: 60rpx; + height: 60rpx; + } + + .title-time-button { + position: absolute; + top: -4rpx; + right: -4rpx; + width: 70rpx; + height: 40rpx; + + } + + .title-time-button-font { + color: #1083f8; + position: absolute; + top: 2rpx; + right: 8rpx; + font-size: 19rpx; + z-index: 99; + } + + .right-box-font { + font-size: 23rpx; + /* margin-top: 10rpx; */ + } + + .title-time-zhejiao { + position: absolute; + top: 0rpx; + left: 5rpx; + width: 40rpx; + height: 40rpx; + } + + .title-time-font { + position: absolute; + top: 3rpx; + right: 5rpx; + font-size: 20rpx; + color: #fff; + z-index: 999; + } + + .right-box-items { + display: flex; + justify-content: space-around; + align-items: center; + + .right-box-items-button { + width: 25rpx; + height: 25rpx; + margin: 0 3rpx; + } + } + } + } + + .second-contant { + height: 100%; + width: 210rpx; + + .downList-box-target { + display: flex; + justify-content: center; + align-items: center; + background-color: #fff; + margin-left: 15rpx; + width: 160rpx; + height: 120rpx; + border-radius: 20rpx; + /* margin-left: 10rpx; */ + margin-top: 10rpx; + + flex-direction: column; + /* box-shadow: 2rpx 2rpx 4rpx 2rpx rgba(54, 159, 239, 0.1); + border: 2rpx solid rgb(54, 159, 239); */ + white-space: nowrap; + /* 防止文本换行 */ + overflow: hidden; + /* 超出部分隐藏 */ + text-overflow: ellipsis; + /* 超出部分显示省略号 */ + + .downList-box-img { + height: 50rpx; + width: 50rpx; + } + + .downList-box-text { + font-size: 26rpx; + color: rgb(54, 159, 239); + } + } + + .downList-box { + display: flex; + justify-content: center; + align-items: center; + margin-left: 15rpx; + border-radius: 20rpx; + background-color: rgba(255, 255, 255, 0.5); + width: 160rpx; + height: 120rpx; + /* border-radius: 20rpx; */ + /* margin-left: 10rpx; */ + /* margin-bottom: 20rpx; */ + margin-top: 10rpx; + flex-direction: column; + white-space: nowrap; + /* 防止文本换行 */ + overflow: hidden; + /* 超出部分隐藏 */ + text-overflow: ellipsis; + /* 超出部分显示省略号 */ + /* box-shadow: 2rpx 2rpx 4rpx 2rpx rgba(0, 0, 0, 0.1); */ + + .downList-box-img { + height: 50rpx; + width: 50rpx; + } + + .downList-box-text { + font-size: 25rpx; + } + } + } + } + + .middle-right-box { + height: 780rpx; + width: 90rpx; + + /* overflow-y: hidden; */ + .doctorsay-container-card { + position: relative; + display: flex; + /* flex-direction: column; */ + justify-content: center; + align-items: center; + background-color: #fff; + width: 160rpx; + height: 100rpx; + /* margin: 0 0rpx 0rpx 0rpx; */ + border-radius: 50rpx; + /* border-radius: 20rpx; + border: 2rpx solid rgb(221, 234, 250); + box-shadow: 5px 5px 10px rgba(105, 129, 178, 0.2); */ + margin-left: 10rpx; + margin-top: 30rpx; + + /* 右下角阴影 */ + .doctorsay-container-card-img { + width: 55rpx; + height: 55rpx; + } + + .doctorsay-container-card-font { + font-size: 30rpx; + /* margin-top: 20rpx; */ + } + + } + + .doctorsay-container-card-target { + position: relative; + display: flex; + flex-direction: column; + justify-content: center; + align-items: center; + background: linear-gradient(to left, #fff, rgb(229, 233, 249)); + width: 115rpx; + height: 122rpx; + margin: 0 18rpx 10rpx 0rpx; + /* margin-left: -15rpx; */ + /* border: 2rpx solid #fff; */ + /* box-shadow: 5px 5px 10px rgba(105, 129, 178,0.2); */ + border-top-right-radius: 20rpx; + border-bottom-right-radius: 20rpx; + /* border-radius: 20rpx; */ + margin-left: -15rpx; + + /* 右下角阴影 */ + .doctorsay-container-card-img { + width: 55rpx; + height: 55rpx; + margin-left: 25rpx; + } + + + + } + + /* background-color: rgb(229,233,249); */ + } + } + + .super-card-container { + background-blend-mode: screen; + isolation: isolate; + overflow: hidden; + margin-left: 10rpx; + width: 1300rpx; + height: 1350rpx; + border-left: 0; + position: relative; + } + + .super-card-time { + display: flex; + justify-content: center; + align-items: center; + + height: 80rpx; + width: 259rpx; + border-bottom: 1rpx solid transparent; + border-image: repeating-linear-gradient(90deg, #A9ACB1 0px, #A9ACB1 6rpx, transparent 6rpx, transparent 12rpx) 1; + /* font-weight: 700; */ + z-index: -1; + font-size: 25rpx; + color: #A9ACB1; + } + + .super-card-time-und { + display: flex; + justify-content: center; + align-items: center; + width: 259rpx; + flex-direction: column; + border-right: 1rpx solid transparent; + border-image: repeating-linear-gradient(180deg, #A9ACB1 0px, #A9ACB1 6rpx, transparent 6rpx, transparent 12rpx) 1; + + .title-time-img { + width: 65rpx; + height: 65rpx; + margin-top: -5rpx; + } + + .title-time-font-rel { + font-size: 23rpx; + margin-bottom: 5rpx; + overflow: hidden; + text-overflow: ellipsis; + white-space: nowrap; + color: #888888; + } + + .title-time-items { + display: flex; + justify-content: space-around; + align-items: center; + + .right-box-items-button { + width: 35rpx; + height: 35rpx; + margin: 0 5rpx; + } + } + } + + .super-card-time-card { + display: flex; + justify-content: center; + align-items: center; + height: 200rpx; + width: calc(100%); + transition: all 0.8s; + border-image: repeating-linear-gradient(90deg, #A9ACB1 0px, #A9ACB1 6rpx, transparent 6rpx, transparent 12rpx) 1; + flex-direction: column; + position: relative; + } +} + +.right-container { + width: calc(100% - 260rpx); + height: 100vh; + transition: opacity 1s ease; + position: relative; + + .joystick { + position: absolute; + bottom: 200rpx; + left: 20rpx; + width: 300rpx; + height: 300rpx; + z-index: 9999; + } + + .outer-circle { + width: 100%; + height: 100%; + border-radius: 50%; + background-color: rgba(127, 127, 127, 0.1); + position: relative; + } + + .inner-circle { + width: 120rpx; + height: 120rpx; + border-radius: 50%; + background-color: rgba(127, 127, 127, 0.3); + position: absolute; + top: 50%; + left: 50%; + transform: translate(-50%, -50%); + } + + .doctorsay-container-view { + width: 100%; + height: 1350rpx; + display: flex; + /* background-color: red; */ + /* margin-top: 10rpx; */ + + .doctorsay-container-container { + width: 100%; + overflow: hidden; + + .doctorsay-container-title { + width: 100%; + height: 105rpx; + display: flex; + align-items: center; + justify-content: space-between; + + .doctorsay-container-left { + display: flex; + } + } + + } + } + + .right-container-title-nav { + /* margin-top: 75rpx; */ + margin-bottom: 20rpx; + /* margin-left: 20rpx; */ + + .right-icons { + display: flex; + align-items: center; + float: right; + height: 70rpx; + margin-right: 40rpx; + + .right-icons-font { + margin-left: 10rpx; + margin-right: 10rpx; + font-size: 35rpx; + margin-top: -30rpx; + } + + .right-icons-img { + width: 80rpx; + height: 80rpx; + margin-left: 10rpx; + margin-right: 10rpx; + margin-top: -40rpx; + + } + + .right-icons-img-icon { + width: 60rpx; + height: 80rpx; + margin-top: -10rpx; + margin-left: 8rpx; + } + } + + .right-container-title-class { + font-size: 35rpx; + font-weight: 800; + margin-left: 20rpx; + } + + .right-container-title-class-dark { + font-size: 35rpx; + font-weight: 800; + margin-left: 20rpx; + background: linear-gradient(to bottom, #FFFFFF, #B2C8E2); + -webkit-background-clip: text; + color: transparent; + } + } +} + +.title-time-delete { + width: 55rpx; + height: 55rpx; + border-radius: 50%; + display: flex; + background-color: #fff; + justify-content: center; + align-items: center; + position: absolute; + top: 0rpx; + right: 0rpx; + z-index: 10; + background-color: #02abfe; + color: #fff; + z-index: 999; + font-size: 50rpx; +} + +.title-time-blue { + /* 你的定位与尺寸保持不变 */ + position: absolute; + top: 50%; + left: 50%; + transform: translate(-50%, -50%); + width: 90%; + height: 88%; + z-index: 10; + + --color: #99C9FD; + --thick: 2px; + --radius: 16px; + + border: var(--thick) dashed var(--color); + border-radius: var(--radius); + + background: + /* 上边 */ + repeating-linear-gradient(90deg, var(--color) 0 var(--dash), transparent 0 calc(var(--dash) + var(--gap))) top left / 100% var(--thick) no-repeat, + /* 下边 */ + repeating-linear-gradient(90deg, var(--color) 0 var(--dash), transparent 0 calc(var(--dash) + var(--gap))) bottom left / 100% var(--thick) no-repeat, + /* 左边 */ + repeating-linear-gradient(0deg, var(--color) 0 var(--dash), transparent 0 calc(var(--dash) + var(--gap))) top left / var(--thick) 100% no-repeat, + /* 右边 */ + repeating-linear-gradient(0deg, var(--color) 0 var(--dash), transparent 0 calc(var(--dash) + var(--gap))) top right / var(--thick) 100% no-repeat; +} + + +.time-button-orange-spe { + transition: all 1s; + position: absolute; + width: 280rpx; + height: 100rpx; + /* padding-left: 10rpx; */ + padding: 0 20rpx; + border-radius: 20rpx; + border-top-right-radius: 0rpx; + border: 2rpx solid #e8e9eb; + /* background-color: #55555555; */ + background-color: #fff; + color: #545569; + bottom: -100rpx; + left: -130rpx; + /* color: #fff; */ + display: flex; + justify-content: center; + align-items: center; + z-index: 999; + /* box-shadow: 0 2px 6px #6981b2 ; */ + + +} + +.time-button-orange { + transition: all 1s; + position: absolute; + + width: 280rpx; + height: 100rpx; + border-radius: 20rpx; + padding: 0 20rpx; + border: 2rpx solid #e8e9eb; + border-bottom-right-radius: 0rpx; + background-color: #fff; + top: -90rpx; + left: -130rpx; + color: #545569; + display: flex; + justify-content: center; + align-items: center; + z-index: 999; + +} + +.title-time { + display: flex; + width: 100%; + position: relative; + + .title-time-time { + font-size: 32rpx; + margin: 0 auto; + font-weight: 600; + /* margin-left: 10rpx; */ + /* margin-top: 12rpx; */ + } + + .title-time-button { + position: absolute; + top: -6rpx; + right: -4rpx; + width: 55rpx; + height: 40rpx; + } + + .title-time-zhejiao { + position: absolute; + top: 0rpx; + left: 5rpx; + width: 40rpx; + height: 40rpx; + } + + .title-time-font { + position: absolute; + top: 0rpx; + right: 4rpx; + font-size: 20rpx; + color: #1083f8; + } +} + +.popup-say { + position: fixed; + top: 0; + left: 0; + right: 0; + bottom: 0; + display: flex; + justify-content: center; + align-items: center; + backdrop-filter: blur(1rpx); + background-color: rgba(236, 237, 241, 0.4); + /* 添加毛玻璃效果 */ + z-index: 999; + + .popup-say-content { + position: absolute; + right: 65rpx; + bottom: 170rpx; + display: flex; + flex-direction: column; + width: 450rpx; + /* height: 800rpx; */ + background-color: #fff; + border: 2rpx solid #fff; + border-radius: 30rpx; + box-shadow: 10rpx 10rpx 20rpx rgba(0, 0, 0, 0.1); + transition: opacity 0.4s ease; + + + + .popup-say-content-flex { + display: flex; + margin-top: 7rpx; + margin-bottom: 10rpx; + + .popup-say-content-gun { + margin-left: 40rpx; + margin-right: 20rpx; + width: 13rpx; + height: 35rpx; + background: linear-gradient(to bottom, #04BCED, #0160CE); + border-radius: 10rpx; + } + + .popup-say-content-font { + font-size: 30rpx; + font-weight: 700; + } + } + + + .popup-say-three { + position: absolute; + left: 173rpx; + bottom: -39rpx; + /* 元素本身不占任何宽高 */ + width: 0; + height: 0; + + /* 左右边框透明,宽度各 50px */ + border-left: 30rpx solid transparent; + border-right: 30rpx solid transparent; + + /* 上边框实色(高度 100px),形成向下的“倒三角” */ + border-top: 40rpx solid #fff; + } + } +} + + + +.popup-overlay { + position: fixed; + top: 0; + left: 0; + right: 0; + bottom: 0; + display: flex; + justify-content: center; + align-items: center; + /* 添加毛玻璃效果 */ + z-index: 999; + + .popup-overlay-content { + position: absolute; + display: flex; + // justify-content: center; + align-items: center; + width: 800rpx; + + background-color: #fff; + border-radius: 30rpx; + box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.1); + opacity: 0; + transition: opacity 0.4s ease; + overflow: hidden; + + .popup-overlay-content-left { + // background-color: red; + height: 100%; + width: 350rpx; + display: flex; + justify-content: center; + align-items: center; + flex-direction: column; + + .popup-overlay-content-left-img { + width: 280rpx; + height: 240rpx; + margin-top: 0rpx; + } + + .popup-overlay-content-left-font { + // margin-top: 20rpx; + font-size: 30rpx; + } + } + + .popup-overlay-content-right { + height: 100%; + width: 450rpx; + position: relative; + + .time-font { + font-size: 60rpx; + margin-top: 80rpx; + margin-bottom: 10rpx; + font-weight: 700; + background: linear-gradient(to bottom, #7080A1, #263556); + -webkit-background-clip: text; + color: transparent; + } + + .time-text { + margin-left: 10rpx; + font-size: 32rpx; + // font-weight: 700; + width: 400rpx; + margin-bottom: 50rpx; + line-height: 35rpx; + + } + + .right-richang { + background-color: #FFC363; + position: absolute; + top: 108rpx; + right: 50rpx; + padding: 5rpx; + border-radius: 10rpx; + } + + .right-richangnot { + background-color: #7B61FF; + position: absolute; + top: 108rpx; + right: 50rpx; + padding: 5rpx; + border-radius: 10rpx; + color: #fff; + } + + .right-crush { + position: absolute; + top: 20rpx; + right: 20rpx; + width: 70rpx; + height: 70rpx; + animation: shake 0.5s 3; + } + } + } +} + +.ri-img { + position: absolute; + top: -4rpx; + right: -4rpx; + width: 60rpx; + height: 60rpx; +} + +.time-father { + display: flex; + width: 100%; + flex-wrap: wrap; + margin-left: 30rpx; + margin-right: 30rpx; + + .time-one { + width: 100rpx; + height: 100rpx; + margin-left: 20rpx; + margin-top: 20rpx; + background-color: rgb(241, 245, 252); + border-radius: 20rpx; + border: 1rpx solid rgb(109, 131, 179); + display: flex; + justify-content: center; + align-items: center; + font-size: 29rpx; + box-shadow: 5rpx 5rpx 10rpx rgba(105, 129, 178, 0.4) + } + + .time-one-target { + width: 100rpx; + height: 100rpx; + margin-left: 20rpx; + margin-top: 20rpx; + background: linear-gradient(to right, #00c9ff, #0076ff); + color: #fff; + border-radius: 20rpx; + border: 1rpx solid #fff; + display: flex; + justify-content: center; + align-items: center; + font-size: 29rpx; + box-shadow: 5rpx 5rpx 10rpx rgba(105, 129, 178, 0.4) + } + + .time-one-hui { + width: 100rpx; + height: 100rpx; + margin-left: 20rpx; + margin-top: 20rpx; + background-color: #c2c9d3; + // color: #fff; + border-radius: 20rpx; + border: 1rpx solid #fff; + display: flex; + justify-content: center; + align-items: center; + font-size: 29rpx; + box-shadow: 5rpx 5rpx 10rpx rgba(105, 129, 178, 0.4) + } +} + +.items-card { + width: 100%; + height: 80rpx; + display: flex; + justify-content: center; + align-items: center; +} + +.items-card-target { + width: 100%; + height: 80rpx; + display: flex; + justify-content: center; + align-items: center; + color: rgb(54, 159, 239); + background: linear-gradient(to right, + rgba(54, 159, 239, 0) 0%, + rgba(54, 159, 239, 0.5) 50%, + rgba(54, 159, 239, 0) 100%); +} + +.button-father { + height: 200rpx; + width: calc(100% - 80rpx); + display: flex; + justify-content: center; + align-items: center; + margin-left: 40rpx; + margin-right: 40rpx; + margin-top: 20rpx; + border-top: 1rpx solid rgb(230, 230, 230); + + .button-father-right { + background: linear-gradient(to right, #00c9ff, #0076ff); + width: 200rpx; + height: 80rpx; + border-radius: 40rpx; + display: flex; + justify-content: center; + align-items: center; + color: #fff; + + } + + .button-father-wrong { + background-color: #c2c9d3; + width: 200rpx; + height: 80rpx; + border-radius: 40rpx; + display: flex; + justify-content: center; + align-items: center; + + } +} + +.month-father { + display: flex; + width: calc(100% - 60rpx); + flex-wrap: wrap; + margin-left: 30rpx; + margin-right: 30rpx; + margin-top: 20rpx; + margin-bottom: 30rpx; + + .month-one { + width: 75rpx; + height: 75rpx; + margin-left: 20rpx; + margin-top: 20rpx; + background-color: rgb(241, 245, 252); + border-radius: 20rpx; + border: 1rpx solid rgb(109, 131, 179); + display: flex; + justify-content: center; + align-items: center; + font-size: 29rpx; + } + + .month-one-target { + width: 75rpx; + height: 75rpx; + margin-left: 20rpx; + margin-top: 20rpx; + background: linear-gradient(to right, #00c9ff, #0076ff); + color: #fff; + border-radius: 20rpx; + border: 1rpx solid #fff; + display: flex; + justify-content: center; + align-items: center; + font-size: 29rpx; + } +} + +.week-father { + display: flex; + width: 100%; + flex-wrap: wrap; + margin-left: 30rpx; + margin-right: 30rpx; + margin-top: 20rpx; + margin-bottom: 30rpx; + + .week-one { + width: 200rpx; + height: 100rpx; + margin-left: 20rpx; + margin-top: 20rpx; + background-color: rgb(241, 245, 252); + border-radius: 20rpx; + border: 1rpx solid rgb(109, 131, 179); + display: flex; + justify-content: center; + align-items: center; + font-size: 29rpx; + } + + .week-one-target { + width: 200rpx; + height: 100rpx; + margin-left: 20rpx; + margin-top: 20rpx; + background: linear-gradient(to right, #00c9ff, #0076ff); + color: #fff; + border-radius: 20rpx; + border: 1rpx solid #fff; + display: flex; + justify-content: center; + align-items: center; + font-size: 29rpx; + } +} + +.radio-father { + display: flex; + width: 100%; + flex-wrap: wrap; + margin-left: 75rpx; + margin-right: 30rpx; + /* margin-bottom: 30rpx; */ + + .radio-circle { + margin-top: 2rpx; + width: 30rpx; + height: 30rpx; + border-radius: 50%; + border: 2rpx solid black; + background-color: transparent; + } + + .radio-circle-target { + position: relative; + margin-top: 2rpx; + width: 30rpx; + height: 30rpx; + border-radius: 50%; + border: 2rpx solid rgb(2, 171, 254); + background-color: transparent; + } + + .radio-circle-target::after { + content: ""; + position: absolute; + top: 50%; + left: 50%; + transform: translate(-50%, -50%); + width: 20rpx; + height: 20rpx; + background-color: rgb(2, 171, 254); + border-radius: 50%; + } + + .radio-font { + margin-left: 15rpx; + margin-right: 60rpx; + font-size: 29rpx; + } + + .radio-font-target { + color: rgb(2, 171, 254); + ; + margin-left: 15rpx; + margin-right: 60rpx; + font-size: 29rpx; + } +} + +.title-time-border { + margin-top: 4rpx; + margin-left: 4rpx; + // border: 1rpx solid black; + width: calc(100% - 8rpx); + height: calc(100% - 8rpx); + border-radius: 20rpx; + display: flex; + // justify-content: center; + align-items: center; + flex-direction: column; +} + + +.title-time-border-big { + transform: scale(1.3); + transform-origin: top; + /* 将页面内容放大1.2倍 */ + border-top: 0rpx solid #fff; + transition: transform 0.5s ease-out, opacity 0.5s ease-out; + z-index: 999; + display: flex; + justify-content: center; + align-items: center; + height: 200rpx; + width: calc(100%); + border-image: repeating-linear-gradient(90deg, #0184db 0px, #0184db 6rpx, transparent 6rpx, transparent 12rpx) 1; + flex-direction: column; + position: relative; +} + +.title-time-border-big-top { + transform: scale(1.3); + transform-origin: top; + /* 将页面内容放大1.2倍 */ + border-top: 0rpx solid #fff; + transition: transform 0.5s ease-out, opacity 0.5s ease-out; + z-index: 999; + display: flex; + justify-content: center; + align-items: center; + height: 200rpx; + width: calc(100%); + border-image: repeating-linear-gradient(90deg, #0184db 0px, #0184db 6rpx, transparent 6rpx, transparent 12rpx) 1; + flex-direction: column; + position: relative; +} + +.title-time-border-yellow { + margin: 10rpx; + border: 2rpx solid transparent; + /* background: linear-gradient(to bottom, #fff1db, #ffe2b2); */ + width: calc(100% - 40rpx); + height: calc(100% - 40rpx); + border-radius: 20rpx; + display: flex; + align-items: center; + background-color: rgba(255, 255, 255, 0.5); + flex-direction: column; + /* box-shadow: 8rpx 8rpx 16rpx rgba(255, 138, 0, 0.7); */ +} + +.title-time-border-yellow-active-transparent { + margin: 10rpx; + /* border: 4rpx dashed rgb(255, 138, 0); */ + /* background: linear-gradient(to bottom, #fff1db, #ffe2b2); */ + width: calc(100% - 40rpx); + height: calc(100% - 40rpx); + border-radius: 20rpx; + display: flex; + align-items: center; + flex-direction: column; + opacity: 0.3; + background-color: rgba(255, 255, 255, 0.5); + /* box-shadow: 8rpx 8rpx 16rpx rgba(255, 138, 0, 0.7); */ +} + +.title-time-border-yellow-active { + margin: 10rpx; + border: 1rpx solid #dae8fa; + /* background: linear-gradient(to bottom, #fff1db, #ffe2b2); */ + width: calc(100% - 40rpx); + height: calc(100% - 40rpx); + border-radius: 20rpx; + display: flex; + align-items: center; + flex-direction: column; + animation: shakesmall 0.8s infinite; + background-color: rgba(255, 255, 255, 0.5); +} + +.down-icons { + margin-top: 17rpx; + width: 100%; + height: 60rpx; + background-color: rgb(255, 216, 126); + display: flex; + justify-content: center; + align-items: center; + + .icon { + margin: 0 5rpx; + font-size: 20rpx; + padding: 5rpx 10rpx; + background-color: rgb(255, 138, 0); + color: #fff; + border-radius: 5rpx; + } +} + +.super-end-items-img-father { + /* width: 60rpx; */ + /* height: 60rpx; */ + border-radius: 50%; + display: flex; + justify-content: center; + align-items: center; + text-align: center; + flex-direction: column; +} + +.super-end-items-img-father-active { + text-align: center; + /* height: 60rpx; */ + border-radius: 50%; + display: flex; + justify-content: center; + align-items: center; + flex-direction: column; + animation: shake 0.5s infinite; +} + +@keyframes shake { + 0% { + transform: rotate(-10deg); + } + + 25% { + transform: rotate(10deg); + } + + 50% { + transform: rotate(-10deg); + } + + 75% { + transform: rotate(10deg); + } + + 100% { + transform: rotate(-10deg); + } +} + +.super-end-items-father-close-father { + width: 40rpx; + height: 40rpx; + border-radius: 50%; + display: flex; + background-color: #0184db; + justify-content: center; + align-items: center; + position: absolute; + top: 0rpx; + right: 0rpx; + z-index: 10; + color: #fff; +} + +@keyframes shakesmall { + 0% { + transform: rotate(-2deg); + } + + 25% { + transform: rotate(2deg); + } + + 50% { + transform: rotate(-2deg); + } + + 75% { + transform: rotate(2deg); + } + + 100% { + transform: rotate(-2deg); + } +} + + + +.boom-father { + position: absolute; + top: 220rpx; + left: -17rpx; + width: 60rpx; + height: 1000rpx; + margin-top: 10rpx; + /* background-color: red; */ + overflow: hidden; + z-index: 999; + /* background: linear-gradient(to bottom, #c4dbf4, #c9c2ef, #c6dcf3); */ + /* border-bottom: 2rpx solid #fff; */ + /* border-left: 2rpx solid #fff; */ + /* border-bottom-left-radius: 20rpx; */ +} + +.doctorsay-container-card-font-dark { + font-size: 31rpx; + color: rgb(54, 159, 239); + /* margin-left: 25rpx; */ + /* margin-top: 20rpx; */ +} + +.boom { + height: 2500rpx; + display: flex; + flex-direction: column; + /* // justify-content: center; */ + /* align-items: center; */ + overflow: hidden; + z-index: 0; + + + .boom-son { + height: 200rpx; + width: 60rpx; + font-size: 30rpx; + display: flex; + justify-content: center; + align-items: center; + text-align: center; + z-index: 10; + font-size: 25rpx; + color: #A9ACB1; + + .boom-text { + /* padding: 5rpx; */ + width: 40rpx; + height: 40rpx; + border: 1rpx solid #A9ACB1; + border-radius: 50%; + display: flex; + justify-content: center; + align-items: center; + z-index: 1; + background-color: #eff0f4; + } + + /* border: 1rpx solid #A9ACB1; + border-radius: 50%; */ + /* font-weight: 700; */ + /* border-top: 1rpx solid transparent; */ + /* border-right: 1rpx solid transparent; */ + /* border-image: repeating-linear-gradient(90deg, #A9ACB1 0px, #A9ACB1 6rpx, transparent 6rpx, transparent 12rpx) 1; */ + } + + .boom-son-target { + height: 250rpx; + width: 60rpx; + font-size: 30rpx; + display: flex; + justify-content: center; + align-items: center; + text-align: center; + z-index: 10; + font-weight: 700; + font-size: 25rpx; + color: #A9ACB1; + + /* border-top: 1rpx solid transparent; + border-bottom: 1rpx solid transparent; */ + /* border-image: repeating-linear-gradient(90deg, #0184db 0px, #0184db 6rpx, transparent 6rpx, transparent 12rpx) 1; */ + /* 确保文字在容器内居中 */ + background: linear-gradient(to bottom, #ff8a00, #eceaff); + /* border-bottom-right-radius: 40rpx; + border-top-right-radius: 40rpx; */ + } +} + +.popup-share { + position: fixed; + top: 0; + left: 0; + right: 0; + bottom: 0; + display: flex; + justify-content: center; + align-items: center; + backdrop-filter: blur(1rpx); + background-color: rgba(236, 237, 241, 0.4); + /* 添加毛玻璃效果 */ + z-index: 999; + + + .share-other { + z-index: 1; + width: 100%; + height: 100%; + } + + .share-title { + padding-left: 50rpx; + height: 150rpx; + display: flex; + align-items: center; + } + + .share-others { + display: flex; + justify-content: center; + align-items: center; + flex-direction: column; + + .other-img { + width: 150rpx; + height: 150rpx; + margin-left: 100rpx; + } + } + + .popup-share-content { + position: absolute; + display: flex; + flex-direction: column; + width: 800rpx; + height: 450rpx; + background-color: #fff; + border-radius: 30rpx; + transition: opacity 0.4s ease; + + .popup-share-title { + margin: 30rpx 30rpx; + font-size: 40rpx; + position: relative; + + .popup-share-img { + position: absolute; + top: 0; + right: 0; + width: 200rpx; + height: 200rpx; + } + } + + .popup-share-upcontent { + margin: 0 30rpx; + display: flex; + justify-content: space-between; + + .popup-share-font { + font-size: 35rpx; + color: gray; + } + + } + + .popup-share-gray { + background-color: #D3D3D3; + width: calc(100% - 60rpx); + height: 2rpx; + margin: 110rpx 30rpx 0 30rpx; + } + + .popup-share-downcontent { + display: flex; + justify-content: space-between; + align-items: center; + height: 100%; + margin: 0 30rpx; + + .popup-downcontent-img { + width: 70rpx; + height: 70rpx; + } + + .popup-downcontent-font { + font-size: 27rpx; + margin-left: 20rpx; + } + + .popup-share-downcontent-left { + display: flex; + align-items: center; + } + + .popup-share-downcontent-button { + background: linear-gradient(to right bottom, #00c9ff, #0076ff); + color: #fff; + display: flex; + justify-content: center; + align-items: center; + padding: 15rpx 30rpx; + border-radius: 20rpx; + font-size: 32rpx; + } + } + + } + +} + +.tags-father { + display: flex; + flex-direction: column; + justify-content: center; + /* margin-left: 23rpx; */ + margin: 10rpx 14rpx; + margin-left: 30rpx; + /* margin-top: 15rpx; */ + align-items: center; + width: 100rpx; + height: 110rpx; + + + .tags-font { + font-size: 25rpx; + } +} + +.tags-img { + width: 50rpx; + height: 50rpx; + margin-bottom: 10rpx; +} + +.specia-onshow { + background-color: rgb(241, 245, 252); + width: 100%; + height: 100%; + padding: 20rpx; + + .specia-title { + width: 100%; + height: 100rpx; + font-size: 40rpx; + font-weight: 600; + display: flex; + justify-content: center; + align-items: center; + } + + .specia-cards { + width: 100%; + display: flex; + flex-wrap: wrap; + } +} + +/* 容器默认隐藏,透明度为 0,不接受点击 */ +.neuro-wrapper { + position: fixed; + inset: 0; + display: flex; + justify-content: center; + align-items: center; + z-index: 999; + opacity: 0; + pointer-events: none; + transition: opacity 0.3s ease; +} + +/* 显示时透明度过渡到 1,可接受点击 */ +.neuro-wrapper.is-active { + opacity: 1; + pointer-events: auto; +} + +/* 遮罩层,半透明黑色 */ +.neuro-mask { + position: absolute; + inset: 0; + background-color: rgba(0, 0, 0, 0.3); +} + +/* 拟态框 固定尺寸 + 阴影样式 + 相对定位于 wrapper */ +.neuro-box { + position: relative; + width: 600rpx; + height: 450rpx; + border-radius: 30rpx; + background-color: #fff; + display: flex; + flex-direction: column; + align-items: center; + z-index: 1; + padding: 0 5%; +} + +.button { + width: 47%; + background-color: #ddf0ff; + display: flex; + justify-content: center; + align-items: center; + color: #007CFF; + border: 1rpx solid #007CFF; + font-size: 25rpx; + border-radius: 30rpx; +} + +.title { + margin-top: 70rpx; + font-size: 33rpx; + font-weight: 600; +} + +.card-font { + margin-top: 70rpx; + width: 600rpx; + justify-content: center; + display: flex; +} + +.button-white { + width: 47%; + border: 2rpx solid #c3cacd; + background: linear-gradient(to bottom, #f3f3f5, #dee4e9); + display: flex; + justify-content: center; + align-items: center; + font-size: 25rpx; + border-radius: 30rpx; +} + +.delete-button-father { + position: absolute; + bottom: 60rpx; + left: 50%; + transform: translateX(-50%); + width: 100%; + height: 70rpx; + display: flex; + justify-content: space-between; + padding: 0 50rpx; +} + + .right-container-title-nav { + margin-top: 60rpx; + display: flex; + align-items: center; + height: 60rpx; + position: relative; + font-size: 28rpx; + + .new-weight { + margin-left: 30rpx; + font-weight: 600; + } + + .right-icons { + position: absolute; + right: 0; + top: 0; + display: flex; + align-items: center; + margin-top: -5rpx; + } + } + + .white-button { + width: 160rpx; + height: 70rpx; + border-radius: 40rpx; + background-color: #E6E7EB; + margin-left: 20rpx; + margin-top: 10rpx; + display: flex; + justify-content: center; + align-items: center; + + .white-img { + width: 35rpx; + height: 35rpx; + margin-right: 10rpx; + } + } + + .left-top { + border-top-left-radius: 0 !important; + } + + .right-top { + border-top-right-radius: 0 !important; + } + + .left-bottom { + border-bottom-left-radius: 0 !important + } + + .right-bottom { + border-bottom-right-radius: 0 !important; + } + + .mark { + font-size: 29rpx; + position: relative; + } + + .marknone { + font-size: 29rpx; + color: #999; + display: flex; + margin-top: 5rpx; + } + + .tri-down { + width: 0; + height: 0; + border-left: 10rpx solid transparent; + /* s/2 */ + border-right: 10rpx solid transparent; + /* s/2 */ + border-top: 17.32rpx solid #999; + /* 0.866 * s */ + margin: 0rpx 0rpx 0 15rpx; + position: relative; + } + + .mark-bgc { + position: absolute; + top: 20rpx; + right: 0; + width: 450rpx; + background-color: #fff; + z-index: 999; + border-radius: 30rpx; + padding-bottom: 30rpx; + transition: opacity 0.3s ease; + } + + .blue-button { + margin-top: 60rpx; + width: 150rpx; + height: 70rpx; + border-radius: 40rpx; + display: flex; + justify-content: center; + align-items: center; + color: #007CFF; + font-size: 30rpx; + background: linear-gradient(to bottom, #e7f4ff, #c5e5ff); + border: 2rpx solid #9AD1FF; + } + + .firsttarget { + --color: #99C9FD; + --thick: 2px; + --radius: 50rpx; + --outline-offset: 10rpx; + /* 外扩多少 */ + /* 内层虚线(你现在用的) */ + border-radius: var(--radius); + /* 内部背景 */ + animation: scalePulse 360ms cubic-bezier(.2, .8, .2, 1); + /* 外层虚线:放在 outline(不会影响元素尺寸) */ + outline: var(--thick) dashed var(--color); + outline-offset: var(--outline-offset); + /* 保证文本 / 子元素在最上层 */ + position: relative; + z-index: 999; + } + + .secondtarget { + --color: #99C9FD; + --thick: 2px; + --radius: 10rpx; + --outline-offset: 0rpx; + /* 外扩多少 */ + /* 内层虚线(你现在用的) */ + border-radius: var(--radius); + /* 内部背景 */ + animation: scalePulse 360ms cubic-bezier(.2, .8, .2, 1); + /* 外层虚线:放在 outline(不会影响元素尺寸) */ + outline: var(--thick) dashed var(--color); + outline-offset: var(--outline-offset); + /* 保证文本 / 子元素在最上层 */ + position: relative; + z-index: 999; + } + + .xian-bian { + height: 100%; + position: absolute; + top: 0; + left: 0; + z-index: 999; + border-right: 1rpx solid transparent; + border-image: repeating-linear-gradient(180deg, #A9ACB1 0px, #A9ACB1 6rpx, transparent 6rpx, transparent 12rpx) 1; + } + + .pulic-time { + width: 100%; + height: 100%; + display: flex; + justify-content: center; + align-items: center; + color: #99C9FD; + font-size: 35rpx; + font-weight: 600; + } + + .zhiling-card { + width: calc(100% - 20rpx); + height: 200rpx; + background-color: rgba(255, 255, 255, 0.3); + margin-left: 20rpx; + border-radius: 30rpx; + border: 2rpx solid rgb(229, 233, 249); + position: relative; + margin-bottom: 10rpx; + padding: 20rpx 30rpx; + overflow: hidden; + + .zhiling-card-button { + position: absolute; + top: 0rpx; + right: 0rpx; + width: 120rpx; + height: 50rpx; + } + + .zhiling-card-font { + position: absolute; + top: 5rpx; + right: 20rpx; + /* width: 100rpx; */ + /* height: 40rpx; */ + display: flex; + justify-content: center; + align-items: center; + color: #1083f8; + font-size: 22rpx; + } + + .bag { + display: flex; + flex-wrap: wrap; + margin-top: 20rpx; + + .bag-one { + // margin-right: 10rpx; + } + } + } + + .overlay { + position: fixed; + inset: 0; + background-color: rgba(236, 237, 241, 0.4); + /* 半透明黑色 */ + z-index: 999; + } \ No newline at end of file diff --git a/pages/NursingNew/component/nurse/index暂存.vue b/pages/NursingNew/component/logistics/index.vue similarity index 97% rename from pages/NursingNew/component/nurse/index暂存.vue rename to pages/NursingNew/component/logistics/index.vue index ae1e7c6..d276903 100644 --- a/pages/NursingNew/component/nurse/index暂存.vue +++ b/pages/NursingNew/component/logistics/index.vue @@ -10,13 +10,27 @@ {{ uni.getStorageSync('nuName')}} - - 体型标签: + 老人标签: + + + + 未选择 + + + + + + + + + + @@ -35,19 +49,27 @@ + + + 情绪标签 + + + + + + + + {{item.tagName}} + + + + - - - 未选择 - - - - - - - - --> + + 预览 - + @@ -565,6 +587,7 @@ watch( () => props.isshow, (newVal, oldVal) => { + console.log(1111) // 只有当新旧值不相同时才执行 if (newVal !== oldVal) { bottomisShaking.value = false @@ -633,7 +656,7 @@ if (targetNumber > 1) { uni.showToast({ - title: "标签最多只能添加两个", + title: "每种标签最多只能添加两个", icon: 'none', duration: 3000 }) @@ -759,6 +782,7 @@ if (timearr.value[saveEditIndex.value.index0].children[saveEditIndex.value.index1].id) { deleteDirective(timearr.value[saveEditIndex.value.index0].children[saveEditIndex.value.index1]).then((res : any) => { doChangeNew() + }) } else { doChangeNew() @@ -1214,6 +1238,7 @@ const reldata = ref([]); const deleteRuler = (index0 : number, index1 : number) => { deleteDirective(timearr.value[index0].children[index1]).then((res : any) => { + console.log("删除",res) if (res.success) { geteverything() } @@ -1641,6 +1666,7 @@ const geteverything = () => { if (uni.getStorageSync('nuId') && uni.getStorageSync('elderId')) { getNclist(uni.getStorageSync('nuId'), uni.getStorageSync('elderId')).then((res : any) => { + console.log("啥啊",res) timearr.value = Array.from({ length: 24 }, (_, hour) => ({ positioning: hour.toString(), children: minuteArr.map(time => ({ @@ -1673,7 +1699,7 @@ const savePackagelist = ref([]); onMounted(() => { savePackagelist.value = uni.getStorageSync('Packagelist') || [] - let res = uni.getStorageSync('saveTree') + let res = uni.getStorageSync('saveTree1') let goodArray = [] myArray.forEach((element : any) => { element.children.forEach((element1 : any) => { diff --git a/pages/NursingNew/component/logistics/yaoshandiao.js b/pages/NursingNew/component/logistics/yaoshandiao.js new file mode 100644 index 0000000..f4a9b36 --- /dev/null +++ b/pages/NursingNew/component/logistics/yaoshandiao.js @@ -0,0 +1,1880 @@ +// 通用的生成函数 +function genPaths(base, prefix, count, ext = 'png', startIndex = 0, pad = false) { + return Array.from({ + length: count + }, (_, i) => { + const idx = pad ? + String(i + startIndex).padStart(2, '0') : + i + startIndex + return `${base}/${prefix}${idx}.${ext}` + }) +} + +export const myArray = [{ + "children": [{ + "children": [{ + "cycleType": "日常护理", + "levle": "3", + "serviceDuration": "5", + "id": "1900421622979706886", + "title": "协助喂药", + "tagName": null + }, + { + "cycleType": "日常护理", + "levle": "3", + "serviceDuration": "5", + "id": "1902604232524795905", + "title": "鼻饲喂药", + "tagName": null + }, + { + "cycleType": "日常护理", + "levle": "3", + "serviceDuration": "5", + "id": "1902604428667228162", + "title": "注射器/吸管喂药", + "tagName": "头部,大体重" + } + ], + "levle": "2", + "title": "协助喂药", + "key": "1900114812020310017", + "parentId": "1900112597427793921", + "url": genPaths( + '/static/index/diet', + 'medicine_', + 7, // 张数 + 'png', + 1, // 起始索引 + false // 不补零 + ) + }, + { + "children": [{ + "cycleType": "日常护理", + "levle": "3", + "serviceDuration": "5", + "id": "1902605892869394433", + "title": "一级压疮防护", + "tagName": null + }, + { + "cycleType": "日常护理", + "levle": "3", + "serviceDuration": "5", + "id": "1902606105021485058", + "title": "二级压疮防护", + "tagName": null + }, + { + "cycleType": "日常护理", + "levle": "3", + "serviceDuration": "5", + "id": "1902606339931869185", + "title": "三级压疮防护", + "tagName": null + }, + { + "cycleType": "日常护理", + "levle": "3", + "serviceDuration": "5", + "id": "1902606614344208386", + "title": "一级压疮防护", + "tagName": "大体重" + }, + { + "cycleType": "日常护理", + "levle": "3", + "serviceDuration": "5", + "id": "1902606869953482753", + "title": "二级压疮防护", + "tagName": "大体重" + }, + { + "cycleType": "日常护理", + "levle": "3", + "serviceDuration": "5", + "id": "1902607023431454722", + "title": "三级压疮防护", + "tagName": "大体重" + } + ], + "levle": "2", + "title": "压疮防护", + "key": "1900115034452639746", + "parentId": "1900112597427793921", + "url": genPaths( + '/static/index/diet', + 'knead_', + 4, // 张数 + 'png', + 1, // 起始索引 + false // 不补零 + ) + }, + { + "children": [{ + "cycleType": "日常护理", + "levle": "3", + "serviceDuration": "5", + "id": "1900421622979706887", + "title": "床椅转移", + "tagName": null + }, + { + "cycleType": "日常护理", + "levle": "3", + "serviceDuration": "5", + "id": "1900421622979706888", + "title": "床椅转移", + "tagName": "大体重" + }, + { + "cycleType": "即时护理", + "levle": "3", + "serviceDuration": "5", + "id": "1902605073730211842", + "title": "床椅转移", + "tagName": null + }, + { + "cycleType": "即时护理", + "levle": "3", + "serviceDuration": "5", + "id": "1902605223185846273", + "title": "床椅转移", + "tagName": "大体重" + }, + { + "cycleType": "日常护理", + "levle": "3", + "serviceDuration": "5", + "id": "1902605365393723393", + "title": "协助床椅转移", + "tagName": null + }, + { + "cycleType": "即时护理", + "levle": "3", + "serviceDuration": "5", + "id": "1902605496071458818", + "title": "协助床椅转移", + "tagName": null + } + ], + "levle": "2", + "title": "床椅转移", + "key": "1902248363784159233", + "parentId": "1900112597427793921", + "url": genPaths( + '/static/index/diet', + 'chair_', + 8, // 张数 + 'png', + 1, // 起始索引 + false // 不补零 + ) + }, + { + "children": [{ + "cycleType": "日常护理", + "levle": "3", + "serviceDuration": "5", + "id": "1902607507626102786", + "title": "轮椅防护", + "tagName": null + }, + { + "cycleType": "日常护理", + "levle": "3", + "serviceDuration": "5", + "id": "1902607677415723010", + "title": "轮椅防护", + "tagName": "大体重" + }, + { + "cycleType": "即时护理", + "levle": "3", + "serviceDuration": "5", + "id": "1902607817589362689", + "title": "轮椅防护", + "tagName": null + }, + { + "cycleType": "即时护理", + "levle": "3", + "serviceDuration": "5", + "id": "1902608061588803585", + "title": "轮椅防护", + "tagName": "大体重" + } + ], + "levle": "2", + "title": "轮椅防护", + "key": "1902280900178886657", + "parentId": "1900112597427793921", + "url": genPaths( + '/static/index/diet', + 'wheelchair_', + 10, // 张数 + 'png', + 1, // 起始索引 + false // 不补零 + ) + }, + { + "children": [{ + "cycleType": "日常护理", + "levle": "3", + "serviceDuration": "5", + "id": "1902608564582322178", + "title": "约束位按摩", + "tagName": "手" + }, + { + "cycleType": "日常护理", + "levle": "3", + "serviceDuration": "5", + "id": "1902608974609092610", + "title": "约束位按摩", + "tagName": "足" + }, + { + "cycleType": "日常护理", + "levle": "3", + "serviceDuration": "5", + "id": "1902618507855237121", + "title": "约束位按摩", + "tagName": "全" + }, + { + "cycleType": "日常护理", + "levle": "3", + "serviceDuration": "5", + "id": "1902618751548493825", + "title": "防护网约束", + "tagName": null + } + ], + "levle": "2", + "title": "约束防护", + "key": "1902280933364219906", + "parentId": "1900112597427793921", + "url": genPaths( + '/static/index/diet', + 'constraint_', + 4, // 张数 + 'png', + 1, // 起始索引 + false // 不补零 + ) + }, + { + "children": [{ + "cycleType": "日常护理", + "levle": "3", + "serviceDuration": "5", + "id": "1902620309090701314", + "title": "协助行走", + "tagName": null + }, + { + "cycleType": "日常护理", + "levle": "3", + "serviceDuration": "5", + "id": "1902620486044192769", + "title": "放松按摩", + "tagName": null + }, + { + "cycleType": "日常护理", + "levle": "3", + "serviceDuration": "30", + "id": "1902625161569079298", + "title": "心灵慰藉", + "tagName": null + }, + { + "cycleType": "日常护理", + "levle": "3", + "serviceDuration": "10", + "id": "1902625402468929537", + "title": "狂躁", + "tagName": null + } + ], + "levle": "2", + "title": "按摩保健", + "key": "1902564031454744577", + "parentId": "1900112597427793921", + "url": genPaths( + '/static/index/diet', + 'massage_', + 5, // 张数 + 'png', + 1, // 起始索引 + false // 不补零 + ) + }, + { + "children": [{ + "cycleType": "日常护理", + "levle": "3", + "serviceDuration": "5", + "id": "1902625872432304130", + "title": "准备衣物", + "tagName": null + }, + { + "cycleType": "日常护理", + "levle": "3", + "serviceDuration": "5", + "id": "1902626005538541569", + "title": "协助更换", + "tagName": null + }, + { + "cycleType": "日常护理", + "levle": "3", + "serviceDuration": "5", + "id": "1902626664711163905", + "title": "肢体障碍", + "tagName": "半侧" + }, + { + "cycleType": "日常护理", + "levle": "3", + "serviceDuration": "5", + "id": "1902626800510144513", + "title": "肢体障碍", + "tagName": "全身" + }, + { + "cycleType": "即时护理", + "levle": "3", + "serviceDuration": "5", + "id": "1902627064688381953", + "title": "准备衣物", + "tagName": null + }, + { + "cycleType": "即时护理", + "levle": "3", + "serviceDuration": "5", + "id": "1902627280716009474", + "title": "协助更换", + "tagName": null + }, + { + "cycleType": "即时护理", + "levle": "3", + "serviceDuration": "5", + "id": "1902627416598876161", + "title": "肢体障碍", + "tagName": "半侧" + }, + { + "cycleType": "即时护理", + "levle": "3", + "serviceDuration": "5", + "id": "1902627522404388866", + "title": "肢体障碍", + "tagName": "全身" + }, + { + "cycleType": "日常护理", + "levle": "3", + "serviceDuration": "5", + "id": "1902627711806574593", + "title": "协助更换", + "tagName": "大体重" + }, + { + "cycleType": "日常护理", + "levle": "3", + "serviceDuration": "5", + "id": "1902628058591629313", + "title": "肢体障碍", + "tagName": "半侧,大体重" + }, + { + "cycleType": "日常护理", + "levle": "3", + "serviceDuration": "5", + "id": "1902628650718302209", + "title": "肢体障碍", + "tagName": "大体重,全测" + }, + { + "cycleType": "即时护理", + "levle": "3", + "serviceDuration": "5", + "id": "1902628837725540354", + "title": "肢体障碍", + "tagName": "大体重,全测" + }, + { + "cycleType": "即时护理", + "levle": "3", + "serviceDuration": "5", + "id": "1902628966847188993", + "title": "肢体障碍", + "tagName": "大体重,半侧" + }, + { + "cycleType": "即时护理", + "levle": "3", + "serviceDuration": "5", + "id": "1902629129879785474", + "title": "协助更换", + "tagName": "大体重" + } + ], + "levle": "2", + "title": "更换衣物", + "key": "1902564088417587201", + "parentId": "1900112597427793921", + "url": genPaths( + '/static/index/diet', + 'replace_', + 4, // 张数 + 'png', + 1, // 起始索引 + false // 不补零 + ) + }, + { + "children": [{ + "cycleType": "日常护理", + "levle": "3", + "serviceDuration": "5", + "id": "1902629344456183809", + "title": "坐起", + "tagName": null + }, + { + "cycleType": "日常护理", + "levle": "3", + "serviceDuration": "5", + "id": "1902629492301205506", + "title": "躺下", + "tagName": null + } + ], + "levle": "2", + "title": "调整坐卧", + "key": "1902564199830884354", + "parentId": "1900112597427793921", + "url": genPaths( + '/static/index/diet', + 'adjust_', + 7, // 张数 + 'png', + 1, // 起始索引 + false // 不补零 + ) + }, + { + "children": [{ + "cycleType": "日常护理", + "levle": "3", + "serviceDuration": "55", + "id": "1902630862769065985", + "title": "遗体净身", + "tagName": null + }, + { + "cycleType": "日常护理", + "levle": "3", + "serviceDuration": "55", + "id": "1902631162275926017", + "title": "遗体穿衣", + "tagName": null + }, + { + "cycleType": "日常护理", + "levle": "3", + "serviceDuration": "30", + "id": "1902631422431825921", + "title": "遗体转移", + "tagName": null + }, + { + "cycleType": "日常护理", + "levle": "3", + "serviceDuration": "30", + "id": "1902631602463936514", + "title": "床位消毒", + "tagName": null + } + ], + "levle": "2", + "title": "殡仪服务", + "key": "1902564263743688705", + "parentId": "1900112597427793921", + "url": genPaths( + '/static/index/diet', + 'exequy_', + 4, // 张数 + 'png', + 1, // 起始索引 + false // 不补零 + ) + }, + { + "children": [{ + "cycleType": "周期护理", + "levle": "3", + "serviceDuration": "5", + "id": "1902631830441136129", + "title": "更换床上用品", + "tagName": "全部" + }, + { + "cycleType": "即时护理", + "levle": "3", + "serviceDuration": "5", + "id": "1902632063828987905", + "title": "隔尿褥子更换", + "tagName": null + } + ], + "levle": "2", + "title": "更换床上用品", + "key": "1902564446648897538", + "parentId": "1900112597427793921", + "url": genPaths( + '/static/index/diet', + 'change_', + 6, // 张数 + 'png', + 1, // 起始索引 + false // 不补零 + ) + }, + { + "children": [{ + "cycleType": "即时护理", + "levle": "3", + "serviceDuration": "5", + "id": "1902632288270389250", + "title": "临终护理", + "tagName": null + }], + "levle": "2", + "title": "临终服务", + "key": "1902564503783706625", + "parentId": "1900112597427793921", + "url": genPaths( + '/static/index/diet', + 'funeral_', + 5, // 张数 + 'png', + 1, // 起始索引 + false // 不补零 + ) + }, + { + "children": [{ + "cycleType": "日常护理", + "levle": "3", + "serviceDuration": "40", + "id": "1902632678701371393", + "title": "制氧机吸氧", + "tagName": null + }, + { + "cycleType": "日常护理", + "levle": "3", + "serviceDuration": "5", + "id": "1902632799853842433", + "title": "制氧机维护", + "tagName": null + } + ], + "levle": "2", + "title": "制氧机应用", + "key": "1902564586101116930", + "parentId": "1900112597427793921", + "url": genPaths( + '/static/index/diet', + 'oxygen_', + 6, // 张数 + 'png', + 1, // 起始索引 + false // 不补零 + ) + } + ], + "levle": "1", + "title": "1 日常照料", + "key": "1900112597427793921" + }, + { + "children": [{ + "children": [{ + "cycleType": "日常护理", + "levle": "3", + "serviceDuration": "5", + "id": "1900376187661553665", + "title": "准备洁具", + "tagName": "口腔" + }, + { + "cycleType": "日常护理", + "levle": "3", + "serviceDuration": "5", + "id": "1900420873478553602", + "title": "棉球清洁", + "tagName": "口腔" + }, + { + "cycleType": "日常护理", + "levle": "3", + "serviceDuration": "5", + "id": "1900421622979706881", + "title": "协助清洁", + "tagName": "口腔" + }, + { + "cycleType": "日常护理", + "levle": "3", + "serviceDuration": "5", + "id": "1900421622979706885", + "title": "义齿清洁", + "tagName": "口腔" + } + ], + "levle": "2", + "title": "口腔清洁", + "key": "1902597070889127938", + "parentId": "1900112615777873921", + "url": genPaths( + '/static/index/diet', + 'oral_', + 7, // 张数 + 'png', + 1, // 起始索引 + false // 不补零 + ) + }, + { + "children": [{ + "cycleType": "周期护理", + "levle": "3", + "serviceDuration": "5", + "id": "1902636771540963329", + "title": "准备洁具", + "tagName": "头部" + }, + { + "cycleType": "周期护理", + "levle": "3", + "serviceDuration": "20", + "id": "1902637623425077250", + "title": "协助洗头", + "tagName": null + }, + { + "cycleType": "周期护理", + "levle": "3", + "serviceDuration": "20", + "id": "1902637985234128898", + "title": "卧式洗头", + "tagName": null + }, + { + "cycleType": "日常护理", + "levle": "3", + "serviceDuration": "5", + "id": "1902638122949906433", + "title": "擦头", + "tagName": null + }, + { + "cycleType": "日常护理", + "levle": "3", + "serviceDuration": "10", + "id": "1902638304739430401", + "title": "刮头", + "tagName": null + } + ], + "levle": "2", + "title": "头部清洁", + "key": "1902597497344987137", + "parentId": "1900112615777873921", + "url": genPaths( + '/static/index/diet', + 'head_', + 5, // 张数 + 'png', + 1, // 起始索引 + false // 不补零 + ) + }, + { + "children": [{ + "cycleType": "日常护理", + "levle": "3", + "serviceDuration": "5", + "id": "1902641763073101826", + "title": "准备洁具", + "tagName": "面部" + }, + { + "cycleType": "日常护理", + "levle": "3", + "serviceDuration": "5", + "id": "1902642254465175553", + "title": "协助洁面", + "tagName": null + } + ], + "levle": "2", + "title": "面部清洁", + "key": "1902597651405967361", + "parentId": "1900112615777873921", + "url": genPaths( + '/static/index/diet', + 'wash_', + 4, // 张数 + 'png', + 1, // 起始索引 + false // 不补零 + ) + }, + { + "children": [{ + "cycleType": "日常护理", + "levle": "3", + "serviceDuration": "5", + "id": "1902642508145070081", + "title": "准备洁具", + "tagName": "躯干" + }, + { + "cycleType": "日常护理", + "levle": "3", + "serviceDuration": "5", + "id": "1902642672796667905", + "title": "协助清洁", + "tagName": "躯干" + }, + { + "cycleType": "日常护理", + "levle": "3", + "serviceDuration": "5", + "id": "1902642822885642242", + "title": "卧床清洁", + "tagName": "躯干" + } + ], + "levle": "2", + "title": "躯干清洁", + "key": "1902597718082818050", + "parentId": "1900112615777873921", + "url": genPaths( + '/static/index/diet', + 'limbs_', + 4, // 张数 + 'png', + 1, // 起始索引 + false // 不补零 + ) + }, + { + "children": [{ + "cycleType": "日常护理", + "levle": "3", + "serviceDuration": "5", + "id": "1902643318811758594", + "title": "准备洁具", + "tagName": "四肢" + }, + { + "cycleType": "日常护理", + "levle": "3", + "serviceDuration": "5", + "id": "1902643483320750082", + "title": "协助清洁", + "tagName": "四肢" + }, + { + "cycleType": "日常护理", + "levle": "3", + "serviceDuration": "5", + "id": "1902643630888947713", + "title": "卧床清洁", + "tagName": "四肢" + }, + { + "cycleType": "日常护理", + "levle": "3", + "serviceDuration": "5", + "id": "1902643837525528578", + "title": "肌张力高", + "tagName": "清洁" + } + ], + "levle": "2", + "title": "四肢清洁", + "key": "1902597811565465601", + "parentId": "1900112615777873921", + "url": genPaths( + '/static/index/diet', + 'torso_', + 6, // 张数 + 'png', + 1, // 起始索引 + false // 不补零 + ) + }, + { + "children": [{ + "cycleType": "日常护理", + "levle": "3", + "serviceDuration": "5", + "id": "1902645148199391234", + "title": "会阴清洁", + "tagName": "男" + }, + { + "cycleType": "日常护理", + "levle": "3", + "serviceDuration": "5", + "id": "1902645295457210369", + "title": "会阴清洁", + "tagName": "女" + } + ], + "levle": "2", + "title": "会阴清洁", + "key": "1902597873964126209", + "parentId": "1900112615777873921", + "url": genPaths( + '/static/index/diet', + 'perineum_', + 5, // 张数 + 'png', + 1, // 起始索引 + false // 不补零 + ) + }, + { + "children": [{ + "cycleType": "日常护理", + "levle": "3", + "serviceDuration": "5", + "id": "1902645493185089537", + "title": "肛周清洁", + "tagName": null + }], + "levle": "2", + "title": "肛周清洁", + "key": "1902597930020999170", + "parentId": "1900112615777873921", + "url": genPaths( + '/static/index/diet', + 'perianal_', + 7, // 张数 + 'png', + 1, // 起始索引 + false // 不补零 + ) + }, + { + "children": [{ + "cycleType": "日常护理", + "levle": "3", + "serviceDuration": "5", + "id": "1902645693211447298", + "title": "洗手", + "tagName": null + }, + { + "cycleType": "日常护理", + "levle": "3", + "serviceDuration": "5", + "id": "1902647316134465538", + "title": "泡手", + "tagName": null + }, + { + "cycleType": "日常护理", + "levle": "3", + "serviceDuration": "5", + "id": "1902647529817477122", + "title": "准备洁具", + "tagName": null + }, + { + "cycleType": "日常护理", + "levle": "3", + "serviceDuration": "5", + "id": "1902647673212342274", + "title": "协助洗手", + "tagName": null + }, + { + "cycleType": "日常护理", + "levle": "3", + "serviceDuration": "5", + "id": "1902647905878773762", + "title": "强直屈曲洗手", + "tagName": null + } + ], + "levle": "2", + "title": "手清洁", + "key": "1902597991698239489", + "parentId": "1900112615777873921", + "url": genPaths( + '/static/index/diet', + 'hands_', + 5, // 张数 + 'png', + 1, // 起始索引 + false // 不补零 + ) + }, + { + "children": [{ + "cycleType": "日常护理", + "levle": "3", + "serviceDuration": "5", + "id": "1902648101203316737", + "title": "泡脚", + "tagName": null + }, + { + "cycleType": "日常护理", + "levle": "3", + "serviceDuration": "5", + "id": "1902648239091060737", + "title": "卧式泡脚", + "tagName": null + } + ], + "levle": "2", + "title": "足清洁", + "key": "1902598178588037121", + "parentId": "1900112615777873921", + "url": genPaths( + '/static/index/diet', + 'feet_', + 4, // 张数 + 'png', + 1, // 起始索引 + false // 不补零 + ) + }, + { + "children": [{ + "cycleType": "周期护理", + "levle": "3", + "serviceDuration": "5", + "id": "1902648426383511553", + "title": "修睫毛", + "tagName": null + }, + { + "cycleType": "日常护理", + "levle": "3", + "serviceDuration": "5", + "id": "1902648548777496577", + "title": "剃须", + "tagName": null + } + ], + "levle": "2", + "title": "剃须", + "key": "1902598258573414401", + "parentId": "1900112615777873921", + "url": genPaths( + '/static/index/diet', + 'shave_', + 6, // 张数 + 'png', + 1, // 起始索引 + false // 不补零 + ) + }, + { + "children": [{ + "cycleType": "周期护理", + "levle": "3", + "serviceDuration": "5", + "id": "1902648962444922882", + "title": "角质增生", + "tagName": "修甲" + }, + { + "cycleType": "周期护理", + "levle": "3", + "serviceDuration": "5", + "id": "1902649132536532994", + "title": "灰指甲", + "tagName": "修甲" + }, + { + "cycleType": "周期护理", + "levle": "3", + "serviceDuration": "5", + "id": "1902649302149992449", + "title": "正常", + "tagName": "修甲" + } + ], + "levle": "2", + "title": "修甲", + "key": "1902598354606198785", + "parentId": "1900112615777873921", + "url": genPaths( + '/static/index/diet', + 'clippers_', + 6, // 张数 + 'png', + 1, // 起始索引 + false // 不补零 + ) + }, + { + "children": [{ + "cycleType": "周期护理", + "levle": "3", + "serviceDuration": "20", + "id": "1902649683919736834", + "title": "理发", + "tagName": null + }, + { + "cycleType": "周期护理", + "levle": "3", + "serviceDuration": "25", + "id": "1902649860344745985", + "title": "理发", + "tagName": "颅骨缺损" + } + ], + "levle": "2", + "title": "理发", + "key": "1902598400382832642", + "parentId": "1900112615777873921", + "url": genPaths( + '/static/index/diet', + 'haircut_', + 5, // 张数 + 'png', + 1, // 起始索引 + false // 不补零 + ) + }, + { + "children": [{ + "cycleType": "周期护理", + "levle": "3", + "serviceDuration": "5", + "id": "1902650121280786434", + "title": "床上沐浴", + "tagName": null + }, + { + "cycleType": "周期护理", + "levle": "3", + "serviceDuration": "55", + "id": "1902650408884211713", + "title": "深度清洁", + "tagName": null + }, + { + "cycleType": "周期护理", + "levle": "3", + "serviceDuration": "55", + "id": "1902650763722330113", + "title": "浴间洗浴", + "tagName": null + }, + { + "cycleType": "周期护理", + "levle": "3", + "serviceDuration": "30", + "id": "1902651229122301954", + "title": "床上沐浴", + "tagName": "大体重" + }, + { + "cycleType": "周期护理", + "levle": "3", + "serviceDuration": "55", + "id": "1902651366317985794", + "title": "深度清洁", + "tagName": "大体重" + }, + { + "cycleType": "周期护理", + "levle": "3", + "serviceDuration": "55", + "id": "1902651555363655682", + "title": "浴间洗浴", + "tagName": "大体重" + } + ], + "levle": "2", + "title": "沐浴", + "key": "1902598454782955522", + "parentId": "1900112615777873921", + "url": genPaths( + '/static/index/diet', + 'bathe_', + 9, // 张数 + 'png', + 1, // 起始索引 + false // 不补零 + ) + }, + { + "children": [{ + "cycleType": "日常护理", + "levle": "3", + "serviceDuration": "10", + "id": "1902651778777452545", + "title": "内套管清洁", + "tagName": null + }, + { + "cycleType": "日常护理", + "levle": "3", + "serviceDuration": "10", + "id": "1902651924047171586", + "title": "更换气切纱布", + "tagName": null + }, + { + "cycleType": "即时护理", + "levle": "3", + "serviceDuration": "10", + "id": "1902652055928672258", + "title": "更换气切纱布", + "tagName": null + } + ], + "levle": "2", + "title": "气切消毒", + "key": "1902598509522817026", + "parentId": "1900112615777873921", + "url": genPaths( + '/static/index/diet', + 'omy_', + 4, // 张数 + 'png', + 1, // 起始索引 + false // 不补零 + ) + } + ], + "levle": "1", + "title": "2 清洁照料", + "key": "1900112615777873921" + }, + { + "children": [{ + "children": [{ + "cycleType": "日常护理", + "levle": "3", + "serviceDuration": "5", + "id": "1902898057679966209", + "title": "准备餐具", + "tagName": null + }, + { + "cycleType": "日常护理", + "levle": "3", + "serviceDuration": "5", + "id": "1902898202668666881", + "title": "协助进餐", + "tagName": null + }, + { + "cycleType": "日常护理", + "levle": "3", + "serviceDuration": "5", + "id": "1902898339931459586", + "title": "协助进餐", + "tagName": "超时" + }, + { + "cycleType": "日常护理", + "levle": "3", + "serviceDuration": "5", + "id": "1902898472584712194", + "title": "鼻胃管进餐", + "tagName": null + }, + { + "cycleType": "日常护理", + "levle": "3", + "serviceDuration": "5", + "id": "1902898590658564097", + "title": "胃肠管进餐", + "tagName": null + }, + { + "cycleType": "即时护理", + "levle": "3", + "serviceDuration": "5", + "id": "1902898719952179201", + "title": "准备餐具", + "tagName": null + }, + { + "cycleType": "即时护理", + "levle": "3", + "serviceDuration": "5", + "id": "1902898979948695554", + "title": "协助进餐", + "tagName": null + }, + { + "cycleType": "即时护理", + "levle": "3", + "serviceDuration": "5", + "id": "1902899086840532993", + "title": "协助进餐", + "tagName": "超时" + }, + { + "cycleType": "即时护理", + "levle": "3", + "serviceDuration": "5", + "id": "1902899214838108162", + "title": "鼻胃管进餐", + "tagName": null + }, + { + "cycleType": "即时护理", + "levle": "3", + "serviceDuration": "5", + "id": "1902899325014085633", + "title": "胃肠管进餐", + "tagName": null + }, + { + "cycleType": "即时护理", + "levle": "3", + "serviceDuration": "5", + "id": "1902899587028062210", + "title": "食物加工", + "tagName": null + } + ], + "levle": "2", + "title": "加餐饮食", + "key": "1902596129720864770", + "parentId": "1902280495747317762", + "url": genPaths( + '/static/index/diet', + 'snack_', + 7, // 张数 + 'png', + 1, // 起始索引 + false // 不补零 + ) + }, + { + "children": [{ + "cycleType": "日常护理", + "levle": "3", + "serviceDuration": "5", + "id": "1902281139677839362", + "title": "准备餐具", + "tagName": null + }, + { + "cycleType": "日常护理", + "levle": "3", + "serviceDuration": "10", + "id": "1902281522340970498", + "title": "鼻胃管进餐", + "tagName": null + }, + { + "cycleType": "日常护理", + "levle": "3", + "serviceDuration": "5", + "id": "1902281654100836354", + "title": "协助进餐", + "tagName": "超时" + }, + { + "cycleType": "日常护理", + "levle": "3", + "serviceDuration": "5", + "id": "1902281870434648066", + "title": "协助进餐", + "tagName": "正常" + }, + { + "cycleType": "日常护理", + "levle": "3", + "serviceDuration": "5", + "id": "1902654960639381506", + "title": "鼻肠管进餐", + "tagName": null + }, + { + "cycleType": "日常护理", + "levle": "3", + "serviceDuration": "5", + "id": "1902655101874180097", + "title": "轮椅进餐", + "tagName": "大体重" + }, + { + "cycleType": "日常护理", + "levle": "3", + "serviceDuration": "5", + "id": "1902892199009030145", + "title": "轮椅进餐", + "tagName": null + } + ], + "levle": "2", + "title": "正餐饮食", + "key": "1902601263850950657", + "parentId": "1902280495747317762", + "url": genPaths( + '/static/index/diet', + 'dinner_', + 8, // 张数 + 'png', + 1, // 起始索引 + false // 不补零 + ) + }, + { + "children": [{ + "cycleType": "日常护理", + "levle": "3", + "serviceDuration": "5", + "id": "1902893231608926209", + "title": "准备餐具", + "tagName": null + }, + { + "cycleType": "日常护理", + "levle": "3", + "serviceDuration": "5", + "id": "1902893551978254337", + "title": "协助进餐", + "tagName": "正常" + }, + { + "cycleType": "日常护理", + "levle": "3", + "serviceDuration": "5", + "id": "1902893716466274306", + "title": "协助进餐", + "tagName": "超时" + }, + { + "cycleType": "日常护理", + "levle": "3", + "serviceDuration": "5", + "id": "1902894369850757122", + "title": "鼻胃管进餐", + "tagName": null + }, + { + "cycleType": "日常护理", + "levle": "3", + "serviceDuration": "5", + "id": "1902894528533860354", + "title": "鼻肠管进餐", + "tagName": null + } + ], + "levle": "2", + "title": "辅餐饮食", + "key": "1902601382595891202", + "parentId": "1902280495747317762", + "url": genPaths( + '/static/index/diet', + 'food_', + 6, // 张数 + 'png', + 1, // 起始索引 + false // 不补零 + ) + }, + { + "children": [{ + "cycleType": "日常护理", + "levle": "3", + "serviceDuration": "5", + "id": "1902894832176304129", + "title": "准备餐具", + "tagName": null + }, + { + "cycleType": "日常护理", + "levle": "3", + "serviceDuration": "5", + "id": "1902894954117304322", + "title": "协助进餐", + "tagName": "正常" + }, + { + "cycleType": "日常护理", + "levle": "3", + "serviceDuration": "5", + "id": "1902895077522116609", + "title": "协助进餐", + "tagName": "超时" + }, + { + "cycleType": "日常护理", + "levle": "3", + "serviceDuration": "5", + "id": "1902895233407619073", + "title": "鼻胃管进餐", + "tagName": null + }, + { + "cycleType": "日常护理", + "levle": "3", + "serviceDuration": "5", + "id": "1902895569912434689", + "title": "鼻肠管进餐", + "tagName": null + } + ], + "levle": "2", + "title": "果汁饮食", + "key": "1902601427168759809", + "parentId": "1902280495747317762", + "url": genPaths( + '/static/index/diet', + 'juice_', + 9, // 张数 + 'png', + 1, // 起始索引 + false // 不补零 + ) + }, + { + "children": [{ + "cycleType": "日常护理", + "levle": "3", + "serviceDuration": "5", + "id": "1902895878508351489", + "title": "准备水杯", + "tagName": null + }, + { + "cycleType": "日常护理", + "levle": "3", + "serviceDuration": "5", + "id": "1902895984053817346", + "title": "协助饮水", + "tagName": null + }, + { + "cycleType": "日常护理", + "levle": "3", + "serviceDuration": "5", + "id": "1902896136835534850", + "title": "协助饮水", + "tagName": "超时" + }, + { + "cycleType": "日常护理", + "levle": "3", + "serviceDuration": "5", + "id": "1902896508421509122", + "title": "鼻胃管饮水", + "tagName": null + }, + { + "cycleType": "日常护理", + "levle": "3", + "serviceDuration": "5", + "id": "1902896636553302017", + "title": "鼻肠管饮水", + "tagName": null + }, + { + "cycleType": "即时护理", + "levle": "3", + "serviceDuration": "5", + "id": "1902896855802155010", + "title": "准备水杯", + "tagName": null + }, + { + "cycleType": "即时护理", + "levle": "3", + "serviceDuration": "5", + "id": "1902897018344017921", + "title": "协助饮水", + "tagName": null + }, + { + "cycleType": "即时护理", + "levle": "3", + "serviceDuration": "5", + "id": "1902897464936730626", + "title": "协助饮水", + "tagName": "超时" + }, + { + "cycleType": "即时护理", + "levle": "3", + "serviceDuration": "5", + "id": "1902897675813752834", + "title": "鼻胃管饮水", + "tagName": null + }, + { + "cycleType": "即时护理", + "levle": "3", + "serviceDuration": "5", + "id": "1902897803417063426", + "title": "鼻肠管饮水", + "tagName": null + } + ], + "levle": "2", + "title": "饮水饮食", + "key": "1902601487625457665", + "parentId": "1902280495747317762", + "url": genPaths( + '/static/index/diet', + 'drink_', + 5, // 张数 + 'png', + 1, // 起始索引 + false // 不补零 + ) + } + ], + "levle": "1", + "title": "3 饮食照料", + "key": "1902280495747317762" + }, + { + "children": [{ + "children": [{ + "cycleType": "日常护理", + "levle": "3", + "serviceDuration": "5", + "id": "1902653177363927041", + "title": "巡视", + "tagName": null + }], + "levle": "2", + "title": "巡视", + "key": "1902564741860790273", + "parentId": "1902560466095017986", + "url": genPaths( + '/static/index/diet', + 'posture_', + 6, // 张数 + 'png', + 1, // 起始索引 + false // 不补零 + ) + }, + { + "children": [{ + "cycleType": "即时护理", + "levle": "3", + "serviceDuration": "5", + "id": "1902653325481578497", + "title": "防坠床", + "tagName": null + }, + { + "cycleType": "即时护理", + "levle": "3", + "serviceDuration": "5", + "id": "1902653497066360833", + "title": "被褥调整", + "tagName": null + }, + { + "cycleType": "即时护理", + "levle": "3", + "serviceDuration": "5", + "id": "1902653650917625857", + "title": "睡姿调整", + "tagName": null + } + ], + "levle": "2", + "title": "体位调整", + "key": "1902564818838851585", + "parentId": "1902560466095017986", + "url": genPaths( + '/static/index/diet', + 'visitation_', + 5, // 张数 + 'png', + 1, // 起始索引 + false // 不补零 + ) + } + ], + "levle": "1", + "title": "4 睡眠照料", + "key": "1902560466095017986" + }, + { + "children": [{ + "children": [{ + "cycleType": "即时护理", + "levle": "3", + "serviceDuration": "5", + "id": "1902904277308510210", + "title": "更换尿袋", + "tagName": null + }, + { + "cycleType": "即时护理", + "levle": "3", + "serviceDuration": "5", + "id": "1902904458779267073", + "title": "更换隔尿垫", + "tagName": null + }, + { + "cycleType": "即时护理", + "levle": "3", + "serviceDuration": "5", + "id": "1902905631242424322", + "title": "使用尿盆", + "tagName": null + }, + { + "cycleType": "即时护理", + "levle": "3", + "serviceDuration": "5", + "id": "1902905824973131777", + "title": "使用尿壶", + "tagName": null + }, + { + "cycleType": "即时护理", + "levle": "3", + "serviceDuration": "5", + "id": "1902906220483416065", + "title": "协助入厕", + "tagName": null + }, + { + "cycleType": "即时护理", + "levle": "3", + "serviceDuration": "5", + "id": "1902906459051233281", + "title": "坐便椅", + "tagName": null + }, + { + "cycleType": "即时护理", + "levle": "3", + "serviceDuration": "5", + "id": "1902906610562076674", + "title": "留置尿袋", + "tagName": null + }, + { + "cycleType": "即时护理", + "levle": "3", + "serviceDuration": "5", + "id": "1902906783325458434", + "title": "更换纸尿裤", + "tagName": null + }, + { + "cycleType": "即时护理", + "levle": "3", + "serviceDuration": "5", + "id": "1902908406344945665", + "title": "热敷抚触排尿", + "tagName": null + }, + { + "cycleType": "即时护理", + "levle": "3", + "serviceDuration": "5", + "id": "1902908523827400705", + "title": "协助坐便椅", + "tagName": null + }, + { + "cycleType": "即时护理", + "levle": "3", + "serviceDuration": "5", + "id": "1902909645401067522", + "title": "更换尿片", + "tagName": null + } + ], + "levle": "2", + "title": "小便", + "key": "1902596314152800257", + "parentId": "1902560510768549889", + "url": genPaths( + '/static/index/diet', + 'urinate_', + 4, // 张数 + 'png', + 1, // 起始索引 + false // 不补零 + ) + }, + { + "children": [{ + "cycleType": "即时护理", + "levle": "3", + "serviceDuration": "5", + "id": "1902909835331735554", + "title": "床上排便", + "tagName": null + }, + { + "cycleType": "即时护理", + "levle": "3", + "serviceDuration": "5", + "id": "1902910002671882242", + "title": "协助坐便椅", + "tagName": null + }, + { + "cycleType": "即时护理", + "levle": "3", + "serviceDuration": "5", + "id": "1902910156154048514", + "title": "协助入厕", + "tagName": null + }, + { + "cycleType": "即时护理", + "levle": "3", + "serviceDuration": "5", + "id": "1902910361008050178", + "title": "人工取便", + "tagName": null + }, + { + "cycleType": "即时护理", + "levle": "3", + "serviceDuration": "5", + "id": "1902910524623654913", + "title": "造瘘袋", + "tagName": null + }, + { + "cycleType": "即时护理", + "levle": "3", + "serviceDuration": "5", + "id": "1902910700176248834", + "title": "坐便椅", + "tagName": null + } + ], + "levle": "2", + "title": "大便", + "key": "1902596399423000577", + "parentId": "1902560510768549889", + "url": genPaths( + '/static/index/diet', + 'stool_', + 3, // 张数 + 'png', + 1, // 起始索引 + false // 不补零 + ) + }, + { + "children": [{ + "cycleType": "即时护理", + "levle": "3", + "serviceDuration": "5", + "id": "1902910899565072385", + "title": "口腔吸痰", + "tagName": null + }, + { + "cycleType": "即时护理", + "levle": "3", + "serviceDuration": "5", + "id": "1902911047405899778", + "title": "气切吸痰", + "tagName": null + } + ], + "levle": "2", + "title": "吸痰", + "key": "1902596461238652930", + "parentId": "1902560510768549889", + "url": genPaths( + '/static/index/diet', + 'Sputuma_', + 7, // 张数 + 'png', + 1, // 起始索引 + false // 不补零 + ) + }, + { + "children": [{ + "cycleType": "即时护理", + "levle": "3", + "serviceDuration": "5", + "id": "1902911232974491650", + "title": "呕吐", + "tagName": null + }], + "levle": "2", + "title": "呕吐", + "key": "1902596886771765250", + "parentId": "1902560510768549889", + "url": genPaths( + '/static/index/diet', + 'vomiting_', + 6, // 张数 + 'png', + 1, // 起始索引 + false // 不补零 + ) + }, + { + "children": [{ + "cycleType": "日常护理", + "levle": "3", + "serviceDuration": "5", + "id": "1902911378349068290", + "title": "腹腔引流护理", + "tagName": null + }], + "levle": "2", + "title": "引流", + "key": "1902596940366581762", + "parentId": "1902560510768549889", + "url": genPaths( + '/static/index/diet', + 'drainage_', + 6, // 张数 + 'png', + 1, // 起始索引 + false // 不补零 + ) + } + ], + "levle": "1", + "title": "5 排泄照料", + "key": "1902560510768549889" + } +] \ No newline at end of file diff --git a/pages/NursingNew/component/nurse/api.js b/pages/NursingNew/component/nurse/api.js index c0ddd71..dc469a4 100644 --- a/pages/NursingNew/component/nurse/api.js +++ b/pages/NursingNew/component/nurse/api.js @@ -4,12 +4,24 @@ import request from '@/request/index.js' // 以下 api 为博主项目示例,实际与项目相匹配 // 查询服务类型 -export const getServiceTree = () => { +export const getServiceTree0 = () => { return request({ url: `${uni.getStorageSync('serverUrl')}/api/pad/care/directive/getServiceTree`, method: 'get', }) } +export const getServiceTree1 = () => { + return request({ + url: `${uni.getStorageSync('serverUrl')}/api/pad/logistics/directive/getServiceTree`, + method: 'get', + }) +} +export const getServiceTree2 = () => { + return request({ + url: `${uni.getStorageSync('serverUrl')}/api/pad/invoicing/directive/getServiceTree`, + method: 'get', + }) +} // 查询表格 export const getNclist = (nuId,elderId) => { return request({ diff --git a/pages/NursingNew/component/nurse/index.vue b/pages/NursingNew/component/nurse/index.vue index 688e536..abdd326 100644 --- a/pages/NursingNew/component/nurse/index.vue +++ b/pages/NursingNew/component/nurse/index.vue @@ -1689,7 +1689,7 @@ const savePackagelist = ref([]); onMounted(() => { savePackagelist.value = uni.getStorageSync('Packagelist') || [] - let res = uni.getStorageSync('saveTree') + let res = uni.getStorageSync('saveTree0') let goodArray = [] myArray.forEach((element : any) => { element.children.forEach((element1 : any) => { diff --git a/pages/NursingNew/component/warehouse/api/api.js b/pages/NursingNew/component/warehouse/api/api.js new file mode 100644 index 0000000..6460976 --- /dev/null +++ b/pages/NursingNew/component/warehouse/api/api.js @@ -0,0 +1,46 @@ +// 引入 request 文件 +import request from '@/request/index.js' + +export const queryOrderList = (params) => { + return request({ + url: `${uni.getStorageSync('serverUrl')}/api/pad/serviceorder/queryOrderList`, + method: 'get', + data: params, + }) +} +export const queryOrderInfoList = (params) => { + return request({ + url: `${uni.getStorageSync('serverUrl')}/api/pad/serviceorder/queryOrderInfoList`, + method: 'get', + data: params, + }) +} + +export const startOrder = (params) => { + return request({ + url: `${uni.getStorageSync('serverUrl')}/api/pad/serviceorder/startOrder`, + method: 'post', + data: params, + }) +} +export const endOrder = (params) => { + return request({ + url: `${uni.getStorageSync('serverUrl')}/api/pad/serviceorder/endOrder`, + method: 'post', + data: params, + }) +} +export const editSubMp4 = (params) => { + return request({ + url: `${uni.getStorageSync('serverUrl')}/api/pad/serviceorder/editSubMp4`, + method: 'post', + data: params, + }) +} +export const editSubPicPath = (params) => { + return request({ + url: `${uni.getStorageSync('serverUrl')}/api/pad/serviceorder/editSubPicPath`, + method: 'post', + data: params, + }) +} diff --git a/pages/NursingNew/component/warehouse/warehouse.vue b/pages/NursingNew/component/warehouse/warehouse.vue new file mode 100644 index 0000000..c40f822 --- /dev/null +++ b/pages/NursingNew/component/warehouse/warehouse.vue @@ -0,0 +1,807 @@ + + + + \ No newline at end of file diff --git a/pages/NursingNew/index.vue b/pages/NursingNew/index.vue index 496e103..45c0b91 100644 --- a/pages/NursingNew/index.vue +++ b/pages/NursingNew/index.vue @@ -9,6 +9,9 @@ + + + @@ -27,12 +30,14 @@ import { queryPadPageList ,getPermissionList } from '@/pages/watch/api/lunpan.js' import index from "./component/index.vue" import equipment from "./component/equipment.vue" - import logistics from "./component/nurse/logistics.vue" + import logistics from "./component/logistics/index.vue" + import invoicing from "./component/invoicing/index.vue" + import requestform from "./component/pleasetake/takehome.vue" import doctorask from "./component/doctorask/doctorask.vue" import nurse from "./component/nurse/index.vue" import { onShow } from '@dcloudio/uni-app'; - import { getServiceTree, getNcPackagelist } from './component/nurse/api.js' + import { getNcPackagelist } from './component/nurse/api.js' import leftcontent from "./component/leftcontent/leftcontent.vue" import defaultr from '@/pages/procurement/components/default.vue'; @@ -40,10 +45,7 @@ onMounted(() => { menuIndex.value = 0; swipedex.value = 0; - getServiceTree().then((res : any) => { - //缓存护嘱菜单 - uni.setStorageSync("saveTree", res) - }) + getNcPackagelist().then((res : any) => { //缓存指令包 uni.setStorageSync("Packagelist", res.result) @@ -101,9 +103,9 @@ console.log('后勤矩阵') break; case 'kzgn_kfjz': - swipedex.value = 3; + swipedex.value = 6; setTimeout(()=>{ - menuIndex.value = 3; + menuIndex.value = 6; },100) console.log('库房') break; diff --git a/pages/Warehouse/index/index.vue b/pages/Warehouse/index/index.vue index 327a5ce..a7e567b 100644 --- a/pages/Warehouse/index/index.vue +++ b/pages/Warehouse/index/index.vue @@ -13,8 +13,9 @@ - + + @@ -35,8 +36,9 @@ 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 logistics from "@/pages/NursingNew/component/logistics/index.vue" + import invoicing from "@/pages/NursingNew/component/invoicing/index.vue" + import logistics from "@/pages/NursingNew/component/logistics/index.vue" import nurse from "@/pages/NursingNew/component/nurse/index.vue" const tabbrarr = ref([ @@ -111,9 +113,9 @@ console.log('护理矩阵') break; case 'kzgn_yljz': - swipdex.value = 8; + swipdex.value = 7; setTimeout(()=>{ - menuop.value = 8; + menuop.value = 7; },100) console.log('医疗矩阵') break; @@ -125,9 +127,9 @@ console.log('后勤矩阵') break; case 'kzgn_kfjz': - swipdex.value = 7; + swipdex.value = 10; setTimeout(()=>{ - menuop.value =7; + menuop.value =10; },100) console.log('库房') break; diff --git a/pages/login/newanimationpage.vue b/pages/login/newanimationpage.vue index 24c5c5f..dd115b0 100644 --- a/pages/login/newanimationpage.vue +++ b/pages/login/newanimationpage.vue @@ -252,6 +252,7 @@