99999999999999

This commit is contained in:
Teng 2025-10-13 16:00:31 +08:00
parent 0939f1a60e
commit 9eedb329be
4 changed files with 3274 additions and 1398 deletions

View File

@ -1,10 +1,7 @@
<!-- 护嘱 -->
<template>
<!-- click是让抖动停止 -->
<view class="right-container" :style="isshow?{opacity: `1`}:{opacity: `0`}"
@click="bottomisShaking=false;shakyTable = false">
<!-- 轮盘 -->
<!-- <joystick @movecard="movecard" :getblue="getblue" :moveleft="-300" /> -->
<view class="right-container-title-nav">
<text style="margin-left: 30rpx;">
NUID{{ uni.getStorageSync('nuId')}}
@ -146,25 +143,25 @@
:style="{left:flyNumber.index0?`-130rpx`:`0`}"
v-if="flyNumber.index0 === index0 && flyNumber.index1 === index1 && index1==0">
请选择服务指令迁移的目标单元格
<!-- <view class="under-button-three"></view> -->
</view>
<view class="time-button-orange"
:style="{left:flyNumber.index0?`-130rpx`:`0`}"
v-if="flyNumber.index0 === index0 && flyNumber.index1 === index1 && index1">
请选择服务指令迁移的目标单元格
<!-- <view class="under-button-three"></view> -->
</view>
<view class="time-button-black-spe"
:style="{left:saveEditIndex.index0?`-220rpx`:`0`}"
v-if="saveEditIndex.index0 == index0 && saveEditIndex.index1 == index1 && index1==0 && isDelete">
是否确认删除该服务指令
<!-- <view class="under-button-three"></view> -->
</view>
<view class="time-button-black"
:style="{left:saveEditIndex.index0?`-220rpx`:`0`}"
v-if="saveEditIndex.index0 == index0 && saveEditIndex.index1 == index1 && index1 && isDelete">
是否确认删除该服务指令
<!-- <view class="under-button-three"></view> -->
</view>
<view class="title-time-blue"
v-show="saveEditIndex.index0 == index0 && saveEditIndex.index1 == index1 && isRule">
@ -196,7 +193,9 @@
<view v-if="item1.startTime" class="title-time-font-rel">
{{splitString(item1.directiveName)[0]}}
</view>
<view v-if="saveEditIndex.index0 == index0 && saveEditIndex.index1 == index1 && isRule && !item1.startTime" class="pulic-time">
<view
v-if="saveEditIndex.index0 == index0 && saveEditIndex.index1 == index1 && isRule && !item1.startTime"
class="pulic-time">
{{(item0.positioning.length == 1 ? ('0' + item0.positioning) : item0.positioning) + ":" + timeArray[index1]}}
</view>
</view>
@ -289,7 +288,7 @@
src="/static/index/newruler/jiao.png" />
<image class="title-time-button" v-show="item.cycleType ==='即时护理'"
src="/static/index/newruler/jiao.png" />
<image class="right-box-img" src="/static/index/tu.png" />
<image class="right-box-img" :src="thirdmenuIndex==index?item.immediateFileFocus:item.immediateFile" />
<view class="right-box-font" style="font-size: 20rpx;margin-top: 2rpx;"
:style="thirdmenuIndex==index?{color:`rgb(54, 159, 239)`}:{}">
{{item.title}}
@ -334,7 +333,7 @@
<view class="under-button">
<view class="under-button-black" v-if="isop">
不能重复添加相同的即时服务指令
<!-- <view class="under-button-three"></view> -->
</view>
<view class="white-circle" @click="changecard">
<image class="white-circle-img"
@ -385,16 +384,17 @@
@click.stop>
<view class="popup-overlay-content-left">
<image class="popup-overlay-content-left-img" :src="`/static/index/teeth.png`" />
<text class="popup-overlay-content-left-font">
<!-- <text class="popup-overlay-content-left-font">
{{ timearr[flyNumber.index0]?.children[flyNumber.index1]?.value }}
</text>
</text> -->
</view>
<view class="popup-overlay-content-right">
<view class="time-font">
10:00 - 10:10
{{ timearr[showDetail[0]]?.children[showDetail[1]]?.startTime }} -
{{ timearr[showDetail[0]]?.children[showDetail[1]]?.endTime }}
</view>
<view class="time-text">
为老人提供口腔清洁器具牙膏牙刷及水杯看护完成
{{ timearr[showDetail[0]]?.children[showDetail[1]]?.directiveName }}
</view>
</view>
</view>
@ -435,10 +435,6 @@
<!-- 分享的弹出层 -->
<view v-show="shareShow" class="popup-share" @click="shareShow=false">
<view class="popup-share-content" :style="{ opacity: deletedownisopacity ? 1 : 0 }" @click.stop>
<!-- <view class="share-button" @click="clickshare">
分享
</view> -->
<!-- <image class="share-bgc" src="/static/index/sharebgc.png" /> -->
<view class="share-other">
<view class="share-title">
<image style="width: 50rpx;height: 50rpx;" src="/static/index/sharelogo.png" />
@ -447,15 +443,6 @@
</view>
</view>
<view class="share-others">
<!-- <image class="other-img" src="/static/index/blue.png" />
<view style="margin-left: 50rpx;">
<view style="font-weight: 600;margin-bottom: 20rpx;font-size: 33rpx;">
护理日程分享
</view>
<view style="color: #999999;font-size: 32rpx;">
久泰护理日程分享测试
</view>
</view> -->
<view style="font-weight: 600;font-size: 45rpx;">
护理流程
</view>
@ -470,24 +457,6 @@
</view>
</view>
</view>
<!-- <view class="popup-share-title">
护理日程分享
<image class="popup-share-img" src="/static/index/NU.png" />
</view>
<view class="popup-share-upcontent">
<view class="popup-share-font">久泰护理日程分享测试</view>
</view>
<view class="popup-share-gray"></view>
<view class="popup-share-downcontent">
<view class="popup-share-downcontent-left">
<image class="popup-downcontent-img" src="/static/index/NU.png" />
<view class="popup-downcontent-font">久泰护理</view>
</view>
<view class="popup-share-downcontent-button" @click="clickshare">
分享
</view>
</view> -->
</view>
</view>
</view>
@ -499,7 +468,6 @@
import type { roomBtttonType } from "./index";
import { getServiceTree, getNclist, addBatch } from "./api.js";
import { myArray } from './yaoshandiao.js';
// import joystick from '@/component/public/newgame/joysticknew.vue';
const props = defineProps({
isshow: {
@ -546,8 +514,6 @@
() => props.isold,
() => {
if (props.isold) {
// saveEditIndex.value.index0 = 9;
// saveEditIndex.value.index1 = 0;
centerCell();
cardLeft.value = 1;
scrollTop.value = 1;
@ -573,8 +539,6 @@
if (solveWatch.value) {
solveWatch.value--
} else {
// saveEditIndex.value.index0 = 8
// saveEditIndex.value.index1 = 0
centerCell();
cardLeft.value = 1
scrollTop.value = 1
@ -753,7 +717,6 @@
icon: 'none',
duration: 2000
})
// return
} else {
bodytarget.value.push(index)
}
@ -769,7 +732,6 @@
icon: 'none',
duration: 2000
})
// return
} else {
facetarget.value.push(index)
}
@ -779,8 +741,6 @@
const open = ref(false);
const getblue = ref(false);
const bottomItems = ref([
{
name: '纸尿裤',
@ -904,9 +864,21 @@
}
})
//
const secondtemp = ref([])
onMounted(() => {
downdonghua.value = 0;
let goodArray = []
myArray.forEach((element : any) => {
element.children.forEach((element1 : any) => {
goodArray.push({
name: element1.title,
url: element1.url,
})
})
})
secondtemp.value = goodArray
})
//
@ -1090,7 +1062,7 @@
isDelete.value = false;
switch (where) {
case 0:
// savemoved.value
break
case 1:
if (topindex.value < 3) {
@ -1231,7 +1203,7 @@
return `${base}/${prefix}${idx}.${ext}`
})
}
//
// ---
const doctorsayList = ref([
{
@ -1290,30 +1262,10 @@
'png',
1, //
false //
), name: '排'
), name: '排'
},
// {
// url: genPaths(
// '/static/index/newruler/monitor_4',
// 'monitor_',
// 4, //
// 'png',
// 1, //
// false //
// ), name: ''
// },
]);
// const doctorsayList = ref<roomBtttonType[]>([
// { url: '/static/index/firstTags/30.png', targetUrl: '/static/index/firstTags/21.png', name: '' },
// { url: '/static/index/firstTags/10.png', targetUrl: '/static/index/firstTags/99.png', name: '' },
// { url: '/static/index/firstTags/40.png', targetUrl: '/static/index/firstTags/31.png', name: '' },
// { url: '/static/index/firstTags/00.png', targetUrl: '/static/index/firstTags/01.png', name: '' },
// { url: '/static/index/firstTags/20.png', targetUrl: '/static/index/firstTags/11.png', name: '' },
// { url: '/static/index/firstTags/50.png', targetUrl: '/static/index/firstTags/41.png', name: '' },
// ]);
//
const upmenuIndex = ref<number>(1);
const downmenuIndex = ref<number>(0);
@ -1325,7 +1277,6 @@
const roomTar = ref<number[]>([]);
const emit = defineEmits(['vip', 'changeold']);
const isEdit = ref(false);
// const isLunpan = ref(false);
const saveEditIndex = ref({
index0: -1,
index1: -1
@ -1409,6 +1360,7 @@
}
const jiao = ref([false, false])
//
const showDetail = ref([-1, -1])
const rulerTouchClick = (item : any, index0 : number, index1 : number) => {
if (item.directiveName) {
touchindex1.value = index1;
@ -1438,6 +1390,8 @@
// openY.value = Math.floor(res.top);
await nextTick()
isopen.value = true;
showDetail.value[0] = index0;
showDetail.value[1] = index1;
isopacity.value = false;
//
setTimeout(() => {
@ -1787,8 +1741,6 @@
timearr.value = res.result
}
// console.log("old", timearr.value)
})
})
}
@ -1847,31 +1799,45 @@
}))
)
onShow(() => {
getServiceTree().then((res : any) => {
res.result.forEach((element : any) => {
element.url = genPaths(
'/static/index/newruler',
'daily_',
6, //
'png',
1, //
false //
),
element.children.forEach(res => {
res.url = [`/static/index/diet/medicine_1.png`, `/static/index/diet/medicine_2.png`, `/static/index/diet/medicine_3.png`, `/static/index/diet/medicine_4.png`, `/static/index/diet/medicine_5.png`, `/static/index/diet/medicine_6.png`, `/static/index/diet/medicine_7.png`]
if (element.netFlag == '0') {
doctorsayList.value.forEach((res : any) => {
if (res.name == element.title) {
element.url = res.url
}
})
} else {
element.url = element.animationPath
}
element.children.forEach((res1:any) => {
if (res1.netFlag == '0') {
secondtemp.value.forEach((res2 : any) => {
if (res2.name == res1.title) {
res1.url = res2.url
}
})
} else {
res1.url = res1.animationPath
}
})
})
bigArray.value = res.result;
downList.value = bigArray.value[0].children
// console.log("???????", res.result)
upmenuIndex.value = -1;
downdonghua.value = -1;
setTimeout(() => {
upmenuIndex.value = 0;
downdonghua.value = 0;
}, 50)
})
// getNclist()
// console.log(`6`, uni.getStorageSync('nuId'))
// console.log(`7`, uni.getStorageSync('customerId'))
if (uni.getStorageSync('nuId') && uni.getStorageSync('customerId')) {
getNclist(uni.getStorageSync('nuId'), uni.getStorageSync('customerId')).then((res : any) => {
if (res.success) {
// console.log("))))))",res.result)
timearr.value = res.result
}
@ -1986,40 +1952,6 @@
align-items: center;
margin-top: -5rpx;
}
.doctorsay-container-share {
background: linear-gradient(to right bottom, #00c9ff, #0076ff);
color: #fff;
display: flex;
justify-content: center;
align-items: center;
padding: 10rpx 20rpx;
border-radius: 20rpx;
font-size: 27rpx;
margin-left: 10rpx;
}
.doctorsay-container-juzhen {
background: linear-gradient(to right bottom, #00c9ff, #0076ff);
color: #fff;
display: flex;
justify-content: center;
align-items: center;
padding: 10rpx 20rpx;
border-radius: 20rpx;
font-size: 27rpx;
margin: 0 20rpx;
}
}
.balck-icon {
width: 50rpx;
height: 50rpx;
margin-top: 10rpx;
// opacity: 0.5;
margin-right: 20rpx;
// background-color: #fff;
border-radius: 50%;
}
.white-button {
@ -2063,10 +1995,8 @@
.marknone {
font-size: 29rpx;
// margin-top: 8rpx;
color: #999;
display: flex;
// align-items: center;
margin-top: 5rpx;
}
@ -2108,26 +2038,6 @@
border: 2rpx solid #9AD1FF;
}
.zerotarget {
--color: #99C9FD;
--thick: 2px;
--radius: 50rpx;
--outline-offset: 0rpx;
/* 外扩多少 */
/* 内层虚线(你现在用的) */
border-radius: var(--radius);
background-color: white;
/* 内部背景 */
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: 0;
}
.firsttarget {
--color: #99C9FD;
--thick: 2px;
@ -2136,17 +2046,13 @@
/* 外扩多少 */
/* 内层虚线(你现在用的) */
border-radius: var(--radius);
// background-color: white;
/* 内部背景 */
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: 0;
z-index: 999;
}
@ -2158,17 +2064,13 @@
/* 外扩多少 */
/* 内层虚线(你现在用的) */
border-radius: var(--radius);
// background-color: white;
/* 内部背景 */
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: 0;
z-index: 999;
}
@ -2181,7 +2083,8 @@
border-right: 1rpx solid transparent;
border-image: repeating-linear-gradient(180deg, #A9ACB1 0px, #A9ACB1 6rpx, transparent 6rpx, transparent 12rpx) 1;
}
.pulic-time{
.pulic-time {
width: 100%;
height: 100%;
display: flex;

View File

@ -314,7 +314,7 @@
"展开",
]
const downtarget = ref(0)
const cleanAll = () => {
wheretarget.value = 3;
cameratarget.value = [];
@ -418,7 +418,7 @@
uni.$emit('monitor:killView');
if (item.cameraInfo !== null && item.cameraInfo[0].deviceName) {
uni.$emit('monitor:isshow', true);
//
setTimeout(() => {
uni.$emit('monitor:changeinit', item.cameraInfo[0].deviceIndex);

File diff suppressed because it is too large Load Diff

View File

@ -2178,35 +2178,6 @@
align-items: center;
margin-top: -0.15625rem;
}
.right-container-title-nav .doctorsay-container-share[data-v-c3fbc13d] {
background: linear-gradient(to right bottom, #00c9ff, #0076ff);
color: #fff;
display: flex;
justify-content: center;
align-items: center;
padding: 0.3125rem 0.625rem;
border-radius: 0.625rem;
font-size: 0.84375rem;
margin-left: 0.3125rem;
}
.right-container-title-nav .doctorsay-container-juzhen[data-v-c3fbc13d] {
background: linear-gradient(to right bottom, #00c9ff, #0076ff);
color: #fff;
display: flex;
justify-content: center;
align-items: center;
padding: 0.3125rem 0.625rem;
border-radius: 0.625rem;
font-size: 0.84375rem;
margin: 0 0.625rem;
}
.balck-icon[data-v-c3fbc13d] {
width: 1.5625rem;
height: 1.5625rem;
margin-top: 0.3125rem;
margin-right: 0.625rem;
border-radius: 50%;
}
.white-button[data-v-c3fbc13d] {
width: 5rem;
height: 2.1875rem;
@ -2280,24 +2251,6 @@
background: linear-gradient(to bottom, #e7f4ff, #c5e5ff);
border: 0.0625rem solid #9AD1FF;
}
.zerotarget[data-v-c3fbc13d] {
--color: #99C9FD;
--thick: 2px;
--radius: 1.5625rem;
--outline-offset: 0;
/* 外扩多少 */
/* 内层虚线(你现在用的) */
border-radius: var(--radius);
background-color: white;
/* 内部背景 */
animation: scalePulse 360ms cubic-bezier(0.2, 0.8, 0.2, 1);
/* 外层虚线:放在 outline不会影响元素尺寸 */
outline: var(--thick) dashed var(--color);
outline-offset: var(--outline-offset);
/* 保证文本 / 子元素在最上层 */
position: relative;
z-index: 0;
}
.firsttarget[data-v-c3fbc13d] {
--color: #99C9FD;
--thick: 2px;
@ -2313,7 +2266,6 @@
outline-offset: var(--outline-offset);
/* 保证文本 / 子元素在最上层 */
position: relative;
z-index: 0;
z-index: 999;
}
.secondtarget[data-v-c3fbc13d] {
@ -2331,7 +2283,6 @@
outline-offset: var(--outline-offset);
/* 保证文本 / 子元素在最上层 */
position: relative;
z-index: 0;
z-index: 999;
}
.xian-bian[data-v-c3fbc13d] {