4.29
|
@ -90,7 +90,7 @@
|
||||||
margin-left: 6%;
|
margin-left: 6%;
|
||||||
background-color: rgba(255, 255, 255, 0.3);
|
background-color: rgba(255, 255, 255, 0.3);
|
||||||
|
|
||||||
.time-button{
|
.time-button {
|
||||||
width: 140rpx;
|
width: 140rpx;
|
||||||
height: 60rpx;
|
height: 60rpx;
|
||||||
margin-top: 30rpx;
|
margin-top: 30rpx;
|
||||||
|
@ -99,7 +99,8 @@
|
||||||
background-color: rgb(54, 159, 239);
|
background-color: rgb(54, 159, 239);
|
||||||
border: 5rpx solid rgb(54, 159, 239);
|
border: 5rpx solid rgb(54, 159, 239);
|
||||||
display: flex;
|
display: flex;
|
||||||
.time-button-month{
|
|
||||||
|
.time-button-month {
|
||||||
width: 50%;
|
width: 50%;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
color: #fff;
|
color: #fff;
|
||||||
|
@ -107,7 +108,8 @@
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
}
|
}
|
||||||
.time-button-month-target{
|
|
||||||
|
.time-button-month-target {
|
||||||
width: 50%;
|
width: 50%;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
background-color: #fff;
|
background-color: #fff;
|
||||||
|
@ -118,7 +120,8 @@
|
||||||
border-bottom-left-radius: 15rpx;
|
border-bottom-left-radius: 15rpx;
|
||||||
border-top-left-radius: 15rpx;
|
border-top-left-radius: 15rpx;
|
||||||
}
|
}
|
||||||
.time-button-week-target{
|
|
||||||
|
.time-button-week-target {
|
||||||
width: 50%;
|
width: 50%;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
display: flex;
|
display: flex;
|
||||||
|
@ -126,7 +129,8 @@
|
||||||
align-items: center;
|
align-items: center;
|
||||||
color: #fff;
|
color: #fff;
|
||||||
}
|
}
|
||||||
.time-button-week{
|
|
||||||
|
.time-button-week {
|
||||||
width: 50%;
|
width: 50%;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
color: rgb(54, 159, 239);
|
color: rgb(54, 159, 239);
|
||||||
|
@ -812,6 +816,89 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.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(89, 109, 154, 0.4);
|
||||||
|
/* 添加毛玻璃效果 */
|
||||||
|
z-index: 999;
|
||||||
|
|
||||||
|
.popup-say-content {
|
||||||
|
position: absolute;
|
||||||
|
right: 105rpx;
|
||||||
|
bottom: 200rpx;
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
/* align-items: center; */
|
||||||
|
width: 450rpx;
|
||||||
|
height: 600rpx;
|
||||||
|
background: url("/static/index/lightbgcnew.png") center/cover, rgba(255, 255, 255, 0.5);
|
||||||
|
background-blend-mode: screen;
|
||||||
|
border: 2rpx solid #fff;
|
||||||
|
/* 使用 screen 混合模式,让图像与白色混合变淡 */
|
||||||
|
border-radius: 30rpx;
|
||||||
|
box-shadow: 10rpx 10rpx 20rpx rgba(0, 0, 0, 0.1);
|
||||||
|
transition: opacity 0.4s ease;
|
||||||
|
.tags-father{
|
||||||
|
display: flex;
|
||||||
|
margin-left: 40rpx;
|
||||||
|
margin-top: 15rpx;
|
||||||
|
align-items: center;
|
||||||
|
width: 180rpx;
|
||||||
|
.tags-img{
|
||||||
|
width: 50rpx;
|
||||||
|
height: 50rpx;
|
||||||
|
margin-right: 10rpx;
|
||||||
|
}
|
||||||
|
.tags-font{
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
||||||
|
.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: 180rpx;
|
||||||
|
bottom: -40rpx;
|
||||||
|
/* 元素本身不占任何宽高 */
|
||||||
|
width: 0;
|
||||||
|
height: 0;
|
||||||
|
|
||||||
|
/* 左右边框透明,宽度各 50px */
|
||||||
|
border-left: 25rpx solid transparent;
|
||||||
|
border-right: 25rpx solid transparent;
|
||||||
|
|
||||||
|
/* 上边框实色(高度 100px),形成向下的“倒三角” */
|
||||||
|
border-top: 40rpx solid rgba(255, 255, 255, 1);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
.popup-delete {
|
.popup-delete {
|
||||||
position: fixed;
|
position: fixed;
|
||||||
top: 0;
|
top: 0;
|
||||||
|
@ -830,7 +917,6 @@
|
||||||
position: absolute;
|
position: absolute;
|
||||||
right: 750rpx;
|
right: 750rpx;
|
||||||
display: flex;
|
display: flex;
|
||||||
// justify-content: center;
|
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
width: 800rpx;
|
width: 800rpx;
|
||||||
|
@ -1202,6 +1288,27 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.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 {
|
.button-father {
|
||||||
height: 200rpx;
|
height: 200rpx;
|
||||||
width: calc(100%-80rpx);
|
width: calc(100%-80rpx);
|
||||||
|
|
|
@ -56,7 +56,7 @@
|
||||||
<view class="doctorsay-container-title">
|
<view class="doctorsay-container-title">
|
||||||
<view class="doctorsay-container-left">
|
<view class="doctorsay-container-left">
|
||||||
<view class="doctorsay-container-left-gun"></view>
|
<view class="doctorsay-container-left-gun"></view>
|
||||||
<view class="doctorsay-container-left-font">时间矩阵</view>
|
<view class="doctorsay-container-left-font">护理流程</view>
|
||||||
<view class="doctorsay-container-share" @click="shareToWeixin">
|
<view class="doctorsay-container-share" @click="shareToWeixin">
|
||||||
分享
|
分享
|
||||||
</view>
|
</view>
|
||||||
|
@ -186,9 +186,7 @@
|
||||||
</scroll-view>
|
</scroll-view>
|
||||||
</view>
|
</view>
|
||||||
</scroll-view>
|
</scroll-view>
|
||||||
<view class="scroll-bottom-bgc">
|
<view class="scroll-bottom-bgc"></view>
|
||||||
|
|
||||||
</view>
|
|
||||||
</view>
|
</view>
|
||||||
<view class="right-cards">
|
<view class="right-cards">
|
||||||
<scroll-view scroll-x class="scroll-box" :scroll-left="scrollLeft">
|
<scroll-view scroll-x class="scroll-box" :scroll-left="scrollLeft">
|
||||||
|
@ -223,24 +221,36 @@
|
||||||
<view class="middle-box">
|
<view class="middle-box">
|
||||||
<view class="middle-left-box">
|
<view class="middle-left-box">
|
||||||
<view class="first-contant">
|
<view class="first-contant">
|
||||||
<view class="time-father">
|
<view class="time-father" v-show="iszhouqi">
|
||||||
<view class="time-button" v-show="!isweek">
|
|
||||||
<view class="time-button-month">月</view>
|
|
||||||
<view class="time-button-week" @click="isweek=true">周</view>
|
|
||||||
</view>
|
|
||||||
<view class="time-button" v-show="isweek">
|
<view class="time-button" v-show="isweek">
|
||||||
<view class="time-button-month-target" @click="isweek=false">月</view>
|
<view class="time-button-month">周</view>
|
||||||
<view class="time-button-week-target">周</view>
|
<view class="time-button-week"
|
||||||
|
@click="isweek=false;weekIndex = -1;weekValue = ''">月</view>
|
||||||
|
</view>
|
||||||
|
<view class="time-button" v-show="!isweek">
|
||||||
|
<view class="time-button-month-target"
|
||||||
|
@click="isweek=true;monthIndex = -1;monthValue = ''">周</view>
|
||||||
|
<view class="time-button-week-target">月</view>
|
||||||
|
</view>
|
||||||
|
<scroll-view scroll-y style="width: 100%;height: 600rpx;"
|
||||||
|
:show-scrollbar="false" :scroll-top="firsttop">
|
||||||
|
<view v-for="(item,index) in weekDays" :key="index"
|
||||||
|
@click="clickWeek(item,index)" v-if="isweek">
|
||||||
|
<view :class="weekIndex===index?`items-card-target`:`items-card`">
|
||||||
|
{{item}}
|
||||||
|
</view>
|
||||||
|
</view>
|
||||||
|
<view v-for="(item,index) in days" :key="index"
|
||||||
|
@click="clickMonth(item,index)" v-if="!isweek">
|
||||||
|
<view :class="monthIndex===index?`items-card-target`:`items-card`">
|
||||||
|
{{item}}
|
||||||
|
</view>
|
||||||
</view>
|
</view>
|
||||||
<scroll-view scroll-y style="" :show-scrollbar="false"
|
|
||||||
:scroll-top="firsttop">
|
|
||||||
|
|
||||||
<view style="height: 20rpx;"></view>
|
|
||||||
</scroll-view>
|
</scroll-view>
|
||||||
</view>
|
</view>
|
||||||
|
|
||||||
<!-- <scroll-view scroll-y style="height: 100%;width:100%;" :show-scrollbar="false"
|
<scroll-view scroll-y style="height: 100%;width:100%;" :show-scrollbar="false"
|
||||||
:scroll-top="firsttop">
|
:scroll-top="firsttop" v-show="!iszhouqi">
|
||||||
<view
|
<view
|
||||||
v-for="(item,index) in bigArray[upmenuIndex].children[downmenuIndex].children"
|
v-for="(item,index) in bigArray[upmenuIndex].children[downmenuIndex].children"
|
||||||
:key="index" @click="thirdmenuIndex=index">
|
:key="index" @click="thirdmenuIndex=index">
|
||||||
|
@ -264,7 +274,7 @@
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
<view style="height: 20rpx;"></view>
|
<view style="height: 20rpx;"></view>
|
||||||
</scroll-view> -->
|
</scroll-view>
|
||||||
</view>
|
</view>
|
||||||
<view class="second-contant">
|
<view class="second-contant">
|
||||||
<scroll-view scroll-y style="height: 100%;width:100%;" :show-scrollbar="false"
|
<scroll-view scroll-y style="height: 100%;width:100%;" :show-scrollbar="false"
|
||||||
|
@ -308,7 +318,7 @@
|
||||||
<view class="white-circle" @click="deleteRuler(saveEditIndex.index0,saveEditIndex.index1)">
|
<view class="white-circle" @click="deleteRuler(saveEditIndex.index0,saveEditIndex.index1)">
|
||||||
<image class="white-circle-img" src="/static/index/keyimg/deletebutton.png" />
|
<image class="white-circle-img" src="/static/index/keyimg/deletebutton.png" />
|
||||||
</view>
|
</view>
|
||||||
<view class="white-circle">
|
<view class="white-circle" @click="opensay">
|
||||||
<image class="white-circle-img" src="/static/index/keyimg/notebutton.png" />
|
<image class="white-circle-img" src="/static/index/keyimg/notebutton.png" />
|
||||||
</view>
|
</view>
|
||||||
<view class="white-circle-click-father" @click="addnew">
|
<view class="white-circle-click-father" @click="addnew">
|
||||||
|
@ -345,7 +355,7 @@
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
<!-- 选择的弹出层 -->
|
<!-- 选择的弹出层 -->
|
||||||
<view v-if="songisopen" class="popup-song">
|
<!-- <view v-if="songisopen" class="popup-song">
|
||||||
<view class="popup-song-contain" :style="{opacity: songisopacity ? 1 : 0}" @click.stop>
|
<view class="popup-song-contain" :style="{opacity: songisopacity ? 1 : 0}" @click.stop>
|
||||||
<view class="popup-song-father">
|
<view class="popup-song-father">
|
||||||
<image class="shu-up-img" src="/static/index/cheng.png" />
|
<image class="shu-up-img" src="/static/index/cheng.png" />
|
||||||
|
@ -420,9 +430,9 @@
|
||||||
</view>
|
</view>
|
||||||
|
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view> -->
|
||||||
<!-- 删除表格的的弹出层 -->
|
<!-- 删除表格的的弹出层 -->
|
||||||
<view v-show="deleteisopen" class="popup-delete" @click="deleteisopen=false">
|
<!-- <view v-show="deleteisopen" class="popup-delete" @click="deleteisopen=false">
|
||||||
<view class="popup-delete-content" style="padding-top: 30rpx;" :style="{ opacity: deleteisopacity ? 1 : 0 }"
|
<view class="popup-delete-content" style="padding-top: 30rpx;" :style="{ opacity: deleteisopacity ? 1 : 0 }"
|
||||||
@click.stop>
|
@click.stop>
|
||||||
<image class="popup-delete-img" src="/static/index/deleteicon.png" />
|
<image class="popup-delete-img" src="/static/index/deleteicon.png" />
|
||||||
|
@ -430,15 +440,36 @@
|
||||||
确定要删除 {{deletename}} 吗?
|
确定要删除 {{deletename}} 吗?
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view> -->
|
||||||
<!-- 替换表格的的弹出层 -->
|
<!-- 替换表格的的弹出层 -->
|
||||||
<view v-show="replacementisopen" class="popup-delete" @click="replacementisopen=false">
|
<view v-show="sayisopen" class="popup-say" @click="sayisopen=false">
|
||||||
<view class="popup-delete-content" style="padding-top: 30rpx;"
|
<view class="popup-say-content" style="padding-top: 30rpx;" :style="{ opacity: sayisopacity ? 1 : 0 }"
|
||||||
:style="{ opacity: replacementisopacity ? 1 : 0 }" @click.stop>
|
@click.stop>
|
||||||
<image class="popup-delete-img" src="/static/index/deleteicon.png" />
|
<view class="popup-say-content-flex">
|
||||||
<view style="margin-top: 30rpx;" class="popup-delete-text">
|
<view class="popup-say-content-gun"></view>
|
||||||
该单元格已有服务指令,是否替换旧服务指令
|
<view class="popup-say-content-font">情绪标签</view>
|
||||||
</view>
|
</view>
|
||||||
|
<view style="display: flex;">
|
||||||
|
<view v-for="(item,index) in nameArray.slice(0,2)" :key="index">
|
||||||
|
<view class="tags-father">
|
||||||
|
<image class="tags-img" :src="`/static/index/tagNames/${index}.png`" />
|
||||||
|
<view class="tags-font">{{item}}</view>
|
||||||
|
</view>
|
||||||
|
</view>
|
||||||
|
</view>
|
||||||
|
<view class="popup-say-content-flex" style="margin-top: 25rpx;">
|
||||||
|
<view class="popup-say-content-gun"></view>
|
||||||
|
<view class="popup-say-content-font">体型标签</view>
|
||||||
|
</view>
|
||||||
|
<view style="display: flex;flex-wrap: wrap;">
|
||||||
|
<view v-for="(item,index) in nameArray.slice(2,11)" :key="index">
|
||||||
|
<view class="tags-father">
|
||||||
|
<image class="tags-img" :src="`/static/index/tagNames/${index+2}.png`" />
|
||||||
|
<view class="tags-font">{{item}}</view>
|
||||||
|
</view>
|
||||||
|
</view>
|
||||||
|
</view>
|
||||||
|
<view class="popup-say-three"></view>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
<!-- 删除下方菜单的的弹出层 -->
|
<!-- 删除下方菜单的的弹出层 -->
|
||||||
|
@ -550,44 +581,74 @@
|
||||||
const bottomItems = ref([
|
const bottomItems = ref([
|
||||||
{
|
{
|
||||||
name: '纸尿裤',
|
name: '纸尿裤',
|
||||||
url: "/static/index/niao.png"
|
url: "/static/index/niao.png",
|
||||||
|
target: "#fff",
|
||||||
|
id: -1
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: '呕吐',
|
name: '呕吐',
|
||||||
url: "/static/index/tu.png"
|
url: "/static/index/tu.png",
|
||||||
|
target: "#fff",
|
||||||
|
id: -1
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: '吸痰',
|
name: '吸痰',
|
||||||
url: "/static/index/ou.png"
|
url: "/static/index/ou.png",
|
||||||
|
target: "#fff",
|
||||||
|
id: -1
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: '大便',
|
name: '大便',
|
||||||
url: "/static/index/baba.png"
|
url: "/static/index/baba.png",
|
||||||
|
target: "#fff",
|
||||||
|
id: -1
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: '纸尿裤',
|
name: '纸尿裤',
|
||||||
url: "/static/index/niao.png"
|
url: "/static/index/niao.png",
|
||||||
|
target: "#fff",
|
||||||
|
id: -1
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: '呕吐',
|
name: '呕吐',
|
||||||
url: "/static/index/tu.png"
|
url: "/static/index/tu.png",
|
||||||
|
target: "#fff",
|
||||||
|
id: -1
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: '吸痰',
|
name: '吸痰',
|
||||||
url: "/static/index/ou.png"
|
url: "/static/index/ou.png",
|
||||||
|
target: "#fff",
|
||||||
|
id: -1
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: '大便',
|
name: '大便',
|
||||||
url: "/static/index/baba.png"
|
url: "/static/index/baba.png",
|
||||||
|
target: "#fff",
|
||||||
|
id: -1
|
||||||
},
|
},
|
||||||
])
|
])
|
||||||
|
const nameArray = [
|
||||||
|
`狂躁`,
|
||||||
|
`正常`,
|
||||||
|
`大体重`,
|
||||||
|
`口腔`,
|
||||||
|
`小体重`,
|
||||||
|
`头部`,
|
||||||
|
`面部`,
|
||||||
|
`躯干`,
|
||||||
|
`四肢`,
|
||||||
|
`修甲`,
|
||||||
|
`颅骨缺损`
|
||||||
|
]
|
||||||
const timeArray = [
|
const timeArray = [
|
||||||
`00`, `05`, `10`, `15`, `20`, `25`, `30`, `35`, `40`, `45`, `50`, `55`
|
`00`, `05`, `10`, `15`, `20`, `25`, `30`, `35`, `40`, `45`, `50`, `55`
|
||||||
];
|
];
|
||||||
const weekDays = ["周一", "周二", "周三", "周四", "周五", "周六", "周日"];
|
const weekDays = ["周一", "周二", "周三", "周四", "周五", "周六", "周日"];
|
||||||
const days = Array.from({ length: 31 }, (_, i) => (i + 1).toString().padStart(2, "0"));
|
const days = Array.from({ length: 31 }, (_, i) => (i + 1).toString().padStart(2, "0"));
|
||||||
const isweek = ref(true);
|
const isweek = ref(true);
|
||||||
//弹窗
|
// 是否周期
|
||||||
|
const iszhouqi = ref(false);
|
||||||
//高度回到最高
|
//高度回到最高
|
||||||
const firsttop = ref(0);
|
const firsttop = ref(0);
|
||||||
const secondtop = ref(0);
|
const secondtop = ref(0);
|
||||||
|
@ -612,10 +673,10 @@
|
||||||
const deleteisopen = ref(false);
|
const deleteisopen = ref(false);
|
||||||
const deletename = ref("")
|
const deletename = ref("")
|
||||||
const deleteisopacity = ref(false)
|
const deleteisopacity = ref(false)
|
||||||
// 替换表格弹窗
|
// 解释图标弹窗
|
||||||
const replacementisopen = ref(false);
|
const sayisopen = ref(false);
|
||||||
const replacementname = ref("")
|
const sayname = ref("")
|
||||||
const replacementisopacity = ref(false)
|
const sayisopacity = ref(false)
|
||||||
//第几套表格
|
//第几套表格
|
||||||
const currentNumber = ref(0);
|
const currentNumber = ref(0);
|
||||||
const scrollKey = ref(0);
|
const scrollKey = ref(0);
|
||||||
|
@ -660,6 +721,12 @@
|
||||||
if (index === 5) {
|
if (index === 5) {
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
iszhouqi.value = false;
|
||||||
|
weekIndex.value = -1;
|
||||||
|
monthIndex.value = -1;
|
||||||
|
weekValue.value = "";
|
||||||
|
monthValue.value = "";
|
||||||
|
|
||||||
secondtop.value = 1
|
secondtop.value = 1
|
||||||
firsttop.value = 1
|
firsttop.value = 1
|
||||||
nextTick(() => {
|
nextTick(() => {
|
||||||
|
@ -788,17 +855,28 @@
|
||||||
break
|
break
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
const clickWeek = () => {
|
const weekValue = ref("");
|
||||||
selectType.value = true;
|
const weekIndex = ref(-1);
|
||||||
isweek.value = true;
|
const monthValue = ref("");
|
||||||
cardsumit.value.monthTime = '';
|
const monthIndex = ref(-1);
|
||||||
cardsumit.value.monthTimeNumber = -1;
|
const clickWeek = (item, index) => {
|
||||||
|
weekValue.value = item;
|
||||||
|
weekIndex.value = index;
|
||||||
|
|
||||||
|
// selectType.value = true;
|
||||||
|
// isweek.value = true;
|
||||||
|
// cardsumit.value.monthTime = '';
|
||||||
|
// cardsumit.value.monthTimeNumber = -1;
|
||||||
}
|
}
|
||||||
const clickMonth = () => {
|
const clickMonth = (item, index) => {
|
||||||
selectType.value = true;
|
console.log("item", item)
|
||||||
isweek.value = false;
|
monthValue.value = item;
|
||||||
cardsumit.value.weekTime = '';
|
monthIndex.value = index;
|
||||||
cardsumit.value.weekTimeNumber = -1;
|
|
||||||
|
// selectType.value = true;
|
||||||
|
// isweek.value = false;
|
||||||
|
// cardsumit.value.weekTime = '';
|
||||||
|
// cardsumit.value.weekTimeNumber = -1;
|
||||||
}
|
}
|
||||||
const haveName = ref(false);
|
const haveName = ref(false);
|
||||||
const isHave = () => {
|
const isHave = () => {
|
||||||
|
@ -884,12 +962,12 @@
|
||||||
}
|
}
|
||||||
// 初始化下面侧单列表
|
// 初始化下面侧单列表
|
||||||
const doctorsayList = ref<roomBtttonType[]>([
|
const doctorsayList = ref<roomBtttonType[]>([
|
||||||
{ url: '/static/index/doctorsay/light/clean.png', targetUrl: '/static/index/doctorsay/dark/clean.png', name: '清洁' },
|
{ url: '/static/index/firstTags/10.png', targetUrl: '/static/index/firstTags/99.png', name: '清洁' },
|
||||||
{ url: '/static/index/doctorsay/light/drink.png', targetUrl: '/static/index/doctorsay/dark/drink.png', name: '饮食' },
|
{ url: '/static/index/firstTags/40.png', targetUrl: '/static/index/firstTags/31.png', name: '饮食' },
|
||||||
{ url: '/static/index/doctorsay/light/bed.png', targetUrl: '/static/index/doctorsay/dark/bed.png', name: '睡眠' },
|
{ url: '/static/index/firstTags/00.png', targetUrl: '/static/index/firstTags/01.png', name: '睡眠' },
|
||||||
{ url: '/static/index/doctorsay/light/shi.png', targetUrl: '/static/index/doctorsay/dark/shi.png', name: '排泻' },
|
{ url: '/static/index/firstTags/20.png', targetUrl: '/static/index/firstTags/11.png', name: '排泻' },
|
||||||
{ url: '/static/index/doctorsay/light/use.png', targetUrl: '/static/index/doctorsay/dark/use.png', name: '日常' },
|
{ url: '/static/index/firstTags/30.png', targetUrl: '/static/index/firstTags/21.png', name: '日常' },
|
||||||
{ url: '/static/index/shexiang.png', targetUrl: '/static/index/shexiang.png', name: '影像' },
|
{ url: '/static/index/firstTags/50.png', targetUrl: '/static/index/firstTags/41.png', name: '影像' },
|
||||||
]);
|
]);
|
||||||
// 当前选中的菜单索引
|
// 当前选中的菜单索引
|
||||||
const upmenuIndex = ref<number>(0);
|
const upmenuIndex = ref<number>(0);
|
||||||
|
@ -910,6 +988,11 @@
|
||||||
const secondopenValue = ref([]);
|
const secondopenValue = ref([]);
|
||||||
|
|
||||||
const secondContant = (index : number) => {
|
const secondContant = (index : number) => {
|
||||||
|
iszhouqi.value = false;
|
||||||
|
weekIndex.value = -1;
|
||||||
|
monthIndex.value = -1;
|
||||||
|
weekValue.value = "";
|
||||||
|
monthValue.value = "";
|
||||||
downmenuIndex.value = index;
|
downmenuIndex.value = index;
|
||||||
thirdmenuIndex.value = 0;
|
thirdmenuIndex.value = 0;
|
||||||
firsttop.value = 1;
|
firsttop.value = 1;
|
||||||
|
@ -1316,36 +1399,75 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
const scrollContainer = ref(null)
|
const scrollContainer = ref(null)
|
||||||
|
const opensay = () => {
|
||||||
|
sayisopacity.value = false;
|
||||||
|
sayisopen.value = true;
|
||||||
|
setTimeout(() => {
|
||||||
|
sayisopacity.value = true
|
||||||
|
}, 50)
|
||||||
|
}
|
||||||
const addnew = () => {
|
const addnew = () => {
|
||||||
|
if (isMove.value) {
|
||||||
|
getNew()
|
||||||
|
return
|
||||||
|
}
|
||||||
flyNumber.value.index0 = -1;
|
flyNumber.value.index0 = -1;
|
||||||
flyNumber.value.index1 = -1;
|
flyNumber.value.index1 = -1;
|
||||||
isMove.value = false;
|
isMove.value = false;
|
||||||
|
let stopIt = false;
|
||||||
let allobject = bigArray.value[upmenuIndex.value].children[downmenuIndex.value].children[thirdmenuIndex.value]
|
let allobject = bigArray.value[upmenuIndex.value].children[downmenuIndex.value].children[thirdmenuIndex.value]
|
||||||
if (allobject.cycleType === "即时护理") {
|
if (allobject.cycleType === "即时护理") {
|
||||||
scrollLeft.value = 1;
|
scrollLeft.value = 1;
|
||||||
|
bottomItems.value.forEach((element : any, index : number) => {
|
||||||
|
if (element.id === allobject.id) {
|
||||||
|
stopIt = true
|
||||||
|
}
|
||||||
|
})
|
||||||
nextTick(() => {
|
nextTick(() => {
|
||||||
|
if (!stopIt) {
|
||||||
scrollLeft.value = 0;
|
scrollLeft.value = 0;
|
||||||
if (bottomItems.value[0].target === "#00a8ff") {
|
if (bottomItems.value[0].target === "#00a8ff") {
|
||||||
bottomItems.value[0].target = "#fff"
|
bottomItems.value[0].target = "#fff"
|
||||||
clearTimeout(cleansettimeout.value);
|
clearTimeout(cleansettimeout.value);
|
||||||
}
|
}
|
||||||
|
|
||||||
bottomItems.value.unshift({
|
bottomItems.value.unshift({
|
||||||
name: allobject.title,
|
name: allobject.title,
|
||||||
url: "/static/index/ou.png",
|
url: "/static/index/ou.png",
|
||||||
target: `#00a8ff`
|
target: `#00a8ff`,
|
||||||
|
id: allobject.id
|
||||||
})
|
})
|
||||||
// 实现即时指令动画
|
// 实现即时指令动画
|
||||||
cleansettimeout.value = setTimeout(() => {
|
cleansettimeout.value = setTimeout(() => {
|
||||||
bottomItems.value[0].target = `#fff`;
|
bottomItems.value[0].target = `#fff`;
|
||||||
}, 1500)
|
}, 1500)
|
||||||
|
}
|
||||||
|
|
||||||
})
|
})
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (allobject.cycleType === "周期护理" && iszhouqi.value && weekIndex.value == -1 && monthIndex.value == -1) {
|
||||||
|
return
|
||||||
|
}
|
||||||
|
else if (allobject.cycleType === "周期护理" && !iszhouqi.value) {
|
||||||
|
iszhouqi.value = true
|
||||||
|
return
|
||||||
|
}
|
||||||
let cycleType = ""
|
let cycleType = ""
|
||||||
if (allobject.cycleType === "日常护理") {
|
if (allobject.cycleType === "日常护理") {
|
||||||
cycleType = "日常"
|
cycleType = "日常"
|
||||||
} else {
|
} else {
|
||||||
cycleType = "周五"
|
if (weekIndex.value !== -1) {
|
||||||
|
cycleType = weekValue.value
|
||||||
|
} else {
|
||||||
|
cycleType = monthValue.value + "号"
|
||||||
|
}
|
||||||
|
iszhouqi.value = false;
|
||||||
|
weekIndex.value = -1;
|
||||||
|
monthIndex.value = -1;
|
||||||
|
weekValue.value = "";
|
||||||
|
monthValue.value = "";
|
||||||
}
|
}
|
||||||
const startHour = Number(saveEditIndex.value.index0)
|
const startHour = Number(saveEditIndex.value.index0)
|
||||||
const startMinute = Number(timearr.value[saveEditIndex.value.index0].children[saveEditIndex.value.index1].typeName)
|
const startMinute = Number(timearr.value[saveEditIndex.value.index0].children[saveEditIndex.value.index1].typeName)
|
||||||
|
@ -1374,86 +1496,86 @@
|
||||||
}
|
}
|
||||||
//给表格赋值
|
//给表格赋值
|
||||||
timearr.value[saveEditIndex.value.index0].children[saveEditIndex.value.index1] = param;
|
timearr.value[saveEditIndex.value.index0].children[saveEditIndex.value.index1] = param;
|
||||||
movecard(1)
|
// movecard(1)
|
||||||
isHave()
|
isHave()
|
||||||
saveAll()
|
saveAll()
|
||||||
// console.log("!!!!!!!!",timearr.value)
|
// console.log("!!!!!!!!",timearr.value)
|
||||||
|
|
||||||
}
|
}
|
||||||
const cleansettimeout = ref(null);
|
const cleansettimeout = ref(null);
|
||||||
const movetoruler = async () => {
|
// const movetoruler = async () => {
|
||||||
//关闭弹窗
|
// //关闭弹窗
|
||||||
songisopen.value = false;
|
// songisopen.value = false;
|
||||||
// 还原成默认选项
|
// // 还原成默认选项
|
||||||
isweek.value = true;
|
// isweek.value = true;
|
||||||
//如果是即时指令直接干掉
|
// //如果是即时指令直接干掉
|
||||||
if (openOp.value === 2) {
|
// if (openOp.value === 2) {
|
||||||
scrollLeft.value = 1;
|
// scrollLeft.value = 1;
|
||||||
nextTick(() => {
|
// nextTick(() => {
|
||||||
scrollLeft.value = 0;
|
// scrollLeft.value = 0;
|
||||||
|
|
||||||
if (bottomItems.value[0].target === "#00a8ff") {
|
// if (bottomItems.value[0].target === "#00a8ff") {
|
||||||
|
|
||||||
bottomItems.value[0].target === "#fff"
|
// bottomItems.value[0].target === "#fff"
|
||||||
clearTimeout(cleansettimeout.value);
|
// clearTimeout(cleansettimeout.value);
|
||||||
}
|
// }
|
||||||
nextTick(() => {
|
// nextTick(() => {
|
||||||
bottomItems.value.unshift({
|
// bottomItems.value.unshift({
|
||||||
name: cardsumit.value.op.name,
|
// name: cardsumit.value.op.name,
|
||||||
url: "/static/index/ou.png",
|
// url: "/static/index/ou.png",
|
||||||
target: `#00a8ff`
|
// target: `#00a8ff`
|
||||||
})
|
// })
|
||||||
// 实现即时指令动画
|
// // 实现即时指令动画
|
||||||
cleansettimeout.value = setTimeout(() => {
|
// cleansettimeout.value = setTimeout(() => {
|
||||||
bottomItems.value[0].target = `#fff`;
|
// bottomItems.value[0].target = `#fff`;
|
||||||
}, 1500)
|
// }, 1500)
|
||||||
})
|
// })
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
})
|
// })
|
||||||
return
|
// return
|
||||||
}
|
// }
|
||||||
let cycleType = ""
|
// let cycleType = ""
|
||||||
//看看是啥指令
|
// //看看是啥指令
|
||||||
if (!openOp.value) {
|
// if (!openOp.value) {
|
||||||
cycleType = "日常";
|
// cycleType = "日常";
|
||||||
} else if (openOp.value === 1) {
|
// } else if (openOp.value === 1) {
|
||||||
cycleType = cardsumit.value.weekTime || (cardsumit.value.monthTime + '号');
|
// cycleType = cardsumit.value.weekTime || (cardsumit.value.monthTime + '号');
|
||||||
}
|
// }
|
||||||
|
|
||||||
const startHour = Number(openValue.value.time)
|
// const startHour = Number(openValue.value.time)
|
||||||
const startMinute = Number(openValue.value.minute)
|
// const startMinute = Number(openValue.value.minute)
|
||||||
const endMinute = startMinute + 10
|
// const endMinute = startMinute + 10
|
||||||
|
|
||||||
const endHour = startHour + Math.floor(endMinute / 60)
|
// const endHour = startHour + Math.floor(endMinute / 60)
|
||||||
const formattedStart = `${String(startHour)}:${String(startMinute).padStart(2, '0')}`
|
// const formattedStart = `${String(startHour)}:${String(startMinute).padStart(2, '0')}`
|
||||||
const formattedEnd = `${String(endHour)}:${String(endMinute % 60).padStart(2, '0')}`
|
// const formattedEnd = `${String(endHour)}:${String(endMinute % 60).padStart(2, '0')}`
|
||||||
|
|
||||||
timearr.value[indexsave.value[0]].children[indexsave.value[1]].startTime = formattedStart
|
// timearr.value[indexsave.value[0]].children[indexsave.value[1]].startTime = formattedStart
|
||||||
timearr.value[indexsave.value[0]].children[indexsave.value[1]].endTime = formattedEnd
|
// timearr.value[indexsave.value[0]].children[indexsave.value[1]].endTime = formattedEnd
|
||||||
|
|
||||||
let param = {
|
// let param = {
|
||||||
directiveId: saveId.value,
|
// directiveId: saveId.value,
|
||||||
directiveName: cardsumit.value.op.name,
|
// directiveName: cardsumit.value.op.name,
|
||||||
startTime: formattedStart,
|
// startTime: formattedStart,
|
||||||
endTime: formattedEnd,
|
// endTime: formattedEnd,
|
||||||
positioning: indexsave.value[0].toString(),
|
// positioning: indexsave.value[0].toString(),
|
||||||
positioningLong: indexsave.value[1].toString(),
|
// positioningLong: indexsave.value[1].toString(),
|
||||||
tagName: saveTagName.value,
|
// tagName: saveTagName.value,
|
||||||
cycleType: cycleType,
|
// cycleType: cycleType,
|
||||||
nuId: "1",
|
// nuId: "1",
|
||||||
customerId: "1",
|
// customerId: "1",
|
||||||
id: "",
|
// id: "",
|
||||||
typeName: timearr.value[indexsave.value[0]].children[indexsave.value[1]].typeName,
|
// typeName: timearr.value[indexsave.value[0]].children[indexsave.value[1]].typeName,
|
||||||
}
|
// }
|
||||||
//给表格赋值
|
// //给表格赋值
|
||||||
timearr.value[indexsave.value[0]].children[indexsave.value[1]] = param;
|
// timearr.value[indexsave.value[0]].children[indexsave.value[1]] = param;
|
||||||
movecard(1)
|
// movecard(1)
|
||||||
isHave()
|
// isHave()
|
||||||
saveAll()
|
// saveAll()
|
||||||
}
|
// }
|
||||||
const saveAll = () => {
|
const saveAll = () => {
|
||||||
//给后端编译一下
|
//给后端编译一下
|
||||||
let postArray = [];
|
let postArray = [];
|
||||||
|
|
After Width: | Height: | Size: 1.2 KiB |
After Width: | Height: | Size: 1.2 KiB |
After Width: | Height: | Size: 1.3 KiB |
After Width: | Height: | Size: 1020 B |
After Width: | Height: | Size: 1006 B |
After Width: | Height: | Size: 1.0 KiB |
After Width: | Height: | Size: 1.0 KiB |
After Width: | Height: | Size: 1.5 KiB |
After Width: | Height: | Size: 1.5 KiB |
After Width: | Height: | Size: 1.6 KiB |
After Width: | Height: | Size: 1.6 KiB |
After Width: | Height: | Size: 1.6 KiB |
After Width: | Height: | Size: 1.3 KiB |
After Width: | Height: | Size: 914 B |
After Width: | Height: | Size: 943 B |
After Width: | Height: | Size: 1.1 KiB |
After Width: | Height: | Size: 859 B |
After Width: | Height: | Size: 1.2 KiB |
After Width: | Height: | Size: 998 B |
After Width: | Height: | Size: 848 B |
After Width: | Height: | Size: 963 B |
After Width: | Height: | Size: 855 B |
After Width: | Height: | Size: 1.1 KiB |
After Width: | Height: | Size: 860 B |
|
@ -6007,6 +6007,80 @@
|
||||||
font-size: 0.625rem;
|
font-size: 0.625rem;
|
||||||
color: #fff;
|
color: #fff;
|
||||||
}
|
}
|
||||||
|
.popup-say[data-v-72bcf905] {
|
||||||
|
position: fixed;
|
||||||
|
top: 0;
|
||||||
|
left: 0;
|
||||||
|
right: 0;
|
||||||
|
bottom: 0;
|
||||||
|
display: flex;
|
||||||
|
justify-content: center;
|
||||||
|
align-items: center;
|
||||||
|
-webkit-backdrop-filter: blur(0.03125rem);
|
||||||
|
backdrop-filter: blur(0.03125rem);
|
||||||
|
background-color: rgba(89, 109, 154, 0.4);
|
||||||
|
/* 添加毛玻璃效果 */
|
||||||
|
z-index: 999;
|
||||||
|
}
|
||||||
|
.popup-say .popup-say-content[data-v-72bcf905] {
|
||||||
|
position: absolute;
|
||||||
|
right: 3.28125rem;
|
||||||
|
bottom: 6.25rem;
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
/* align-items: center; */
|
||||||
|
width: 14.0625rem;
|
||||||
|
height: 18.75rem;
|
||||||
|
background: url("../../static/index/lightbgcnew.png") center / cover, rgba(255, 255, 255, 0.5);
|
||||||
|
background-blend-mode: screen;
|
||||||
|
border: 0.0625rem solid #fff;
|
||||||
|
/* 使用 screen 混合模式,让图像与白色混合变淡 */
|
||||||
|
border-radius: 0.9375rem;
|
||||||
|
box-shadow: 0.3125rem 0.3125rem 0.625rem rgba(0, 0, 0, 0.1);
|
||||||
|
transition: opacity 0.4s ease;
|
||||||
|
}
|
||||||
|
.popup-say .popup-say-content .tags-father[data-v-72bcf905] {
|
||||||
|
display: flex;
|
||||||
|
margin-left: 1.25rem;
|
||||||
|
margin-top: 0.46875rem;
|
||||||
|
align-items: center;
|
||||||
|
width: 5.625rem;
|
||||||
|
}
|
||||||
|
.popup-say .popup-say-content .tags-father .tags-img[data-v-72bcf905] {
|
||||||
|
width: 1.5625rem;
|
||||||
|
height: 1.5625rem;
|
||||||
|
margin-right: 0.3125rem;
|
||||||
|
}
|
||||||
|
.popup-say .popup-say-content .popup-say-content-flex[data-v-72bcf905] {
|
||||||
|
display: flex;
|
||||||
|
margin-top: 0.21875rem;
|
||||||
|
margin-bottom: 0.3125rem;
|
||||||
|
}
|
||||||
|
.popup-say .popup-say-content .popup-say-content-flex .popup-say-content-gun[data-v-72bcf905] {
|
||||||
|
margin-left: 1.25rem;
|
||||||
|
margin-right: 0.625rem;
|
||||||
|
width: 0.40625rem;
|
||||||
|
height: 1.09375rem;
|
||||||
|
background: linear-gradient(to bottom, #04BCED, #0160CE);
|
||||||
|
border-radius: 0.3125rem;
|
||||||
|
}
|
||||||
|
.popup-say .popup-say-content .popup-say-content-flex .popup-say-content-font[data-v-72bcf905] {
|
||||||
|
font-size: 0.9375rem;
|
||||||
|
font-weight: 700;
|
||||||
|
}
|
||||||
|
.popup-say .popup-say-content .popup-say-three[data-v-72bcf905] {
|
||||||
|
position: absolute;
|
||||||
|
left: 5.625rem;
|
||||||
|
bottom: -1.25rem;
|
||||||
|
/* 元素本身不占任何宽高 */
|
||||||
|
width: 0;
|
||||||
|
height: 0;
|
||||||
|
/* 左右边框透明,宽度各 50px */
|
||||||
|
border-left: 0.78125rem solid transparent;
|
||||||
|
border-right: 0.78125rem solid transparent;
|
||||||
|
/* 上边框实色(高度 100px),形成向下的“倒三角” */
|
||||||
|
border-top: 1.25rem solid #ffffff;
|
||||||
|
}
|
||||||
.popup-delete[data-v-72bcf905] {
|
.popup-delete[data-v-72bcf905] {
|
||||||
position: fixed;
|
position: fixed;
|
||||||
top: 0;
|
top: 0;
|
||||||
|
@ -6352,6 +6426,22 @@
|
||||||
font-size: 0.90625rem;
|
font-size: 0.90625rem;
|
||||||
box-shadow: 0.15625rem 0.15625rem 0.3125rem rgba(105, 129, 178, 0.4);
|
box-shadow: 0.15625rem 0.15625rem 0.3125rem rgba(105, 129, 178, 0.4);
|
||||||
}
|
}
|
||||||
|
.items-card[data-v-72bcf905] {
|
||||||
|
width: 100%;
|
||||||
|
height: 2.5rem;
|
||||||
|
display: flex;
|
||||||
|
justify-content: center;
|
||||||
|
align-items: center;
|
||||||
|
}
|
||||||
|
.items-card-target[data-v-72bcf905] {
|
||||||
|
width: 100%;
|
||||||
|
height: 2.5rem;
|
||||||
|
display: flex;
|
||||||
|
justify-content: center;
|
||||||
|
align-items: center;
|
||||||
|
color: #369fef;
|
||||||
|
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[data-v-72bcf905] {
|
.button-father[data-v-72bcf905] {
|
||||||
height: 6.25rem;
|
height: 6.25rem;
|
||||||
width: calc(100%-2.5rem);
|
width: calc(100%-2.5rem);
|
||||||
|
|
After Width: | Height: | Size: 1.2 KiB |
After Width: | Height: | Size: 1.2 KiB |
After Width: | Height: | Size: 1.3 KiB |
After Width: | Height: | Size: 1020 B |
After Width: | Height: | Size: 1006 B |
After Width: | Height: | Size: 1.0 KiB |
After Width: | Height: | Size: 1.0 KiB |
After Width: | Height: | Size: 1.5 KiB |
After Width: | Height: | Size: 1.5 KiB |
After Width: | Height: | Size: 1.6 KiB |
After Width: | Height: | Size: 1.6 KiB |
After Width: | Height: | Size: 1.6 KiB |
After Width: | Height: | Size: 1.3 KiB |
After Width: | Height: | Size: 914 B |
After Width: | Height: | Size: 943 B |
After Width: | Height: | Size: 1.1 KiB |
After Width: | Height: | Size: 859 B |
After Width: | Height: | Size: 1.2 KiB |
After Width: | Height: | Size: 998 B |
After Width: | Height: | Size: 848 B |
After Width: | Height: | Size: 963 B |
After Width: | Height: | Size: 855 B |
After Width: | Height: | Size: 1.1 KiB |
After Width: | Height: | Size: 860 B |