This commit is contained in:
parent
3afb825ac5
commit
526cb02d50
|
|
@ -73,7 +73,7 @@
|
|||
</view>
|
||||
</view>
|
||||
</view>
|
||||
<view class="title-card-right" >
|
||||
<view class="title-card-right" @click="jszlshow = true">
|
||||
<view class="card-top">
|
||||
<view class="card-top-left">
|
||||
65
|
||||
|
|
@ -89,9 +89,37 @@
|
|||
即时
|
||||
</view>
|
||||
</view>
|
||||
<view class="bianj" v-if="jszlshow">
|
||||
<image src="/static/index/card/bj.png" mode="aspectFill"></image>
|
||||
</view>
|
||||
<view class="jszl guodu" :class="jszlshow?'':'jsh0'" @click.stop>
|
||||
<view class="tittop">
|
||||
<view></view>
|
||||
即时服务指令
|
||||
</view>
|
||||
<view class="spiw">
|
||||
<view v-for="(v,i) in ['护理','医疗','后勤']" :key="i" :class="i==0?'act':''">{{v}}</view>
|
||||
</view>
|
||||
<scroll-view class="scrol" scroll-y="true">
|
||||
<view v-for="(v,i) in 0" :key='i' :class="i==2?'act':''" class="cdk">
|
||||
<image src="/static/qr.png" mode="aspectFill"></image>
|
||||
<text>{{v}}</text>
|
||||
</view>
|
||||
<view style="width: 13vw;height: 13vw;margin: 7vw 0 0 23.5vw;display: block;background: none;">
|
||||
<image src="/static/index/card/zw.png" mode="aspectFill" style="width:13vw;height: 13vw"></image>
|
||||
<view style="width: 100%;text-align: center; font-weight: 400; font-size: 1.2vw;color: #555555;margin-top: -3vw;text-align: center;white-space: nowrap;">
|
||||
暂无服务指令
|
||||
</view>
|
||||
</view>
|
||||
</scroll-view>
|
||||
<view class="submit" >
|
||||
<view @click.stop="jszlshow = false">取消</view>
|
||||
<view @click="subitshowing">确定</view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
|
||||
</view>
|
||||
<view class="mengban" v-if="jszlshow" @click="jszlshow = false"></view>
|
||||
<view class="photo-father">
|
||||
<view class="juzhong" style="margin-left: -30rpx;" :style="indexmessage?.startTime?{}:{filter: `grayscale(60%)`}">
|
||||
<donghua :width="`1300rpx`" :height="`900rpx`" :links="blueArray" :playing="photoplay" :loop="true"
|
||||
|
|
@ -117,7 +145,7 @@
|
|||
|
||||
</view>
|
||||
</view>
|
||||
<image class="big-img" v-if="topbuttontarget==0"
|
||||
<image class="big-img" v-if="topbuttontarget==0" :style="!indexmessage?.previewFile?'width: 450rpx':''"
|
||||
:src="indexmessage?.previewFile? 'https://www.focusnu.com/media/upFiles/' + indexmessage?.previewFile: `/static/index/newindex/wendu/2.png`" mode="aspectFill"/>
|
||||
<view style="display: flex;align-items: center;">
|
||||
<view class="server-name" v-if="indexmessage?.startTime">
|
||||
|
|
@ -217,6 +245,7 @@
|
|||
|
||||
</view>
|
||||
</view>
|
||||
|
||||
<view class="right-top">
|
||||
<view class="top-title">
|
||||
护理单元
|
||||
|
|
@ -242,13 +271,43 @@
|
|||
</view>
|
||||
</scroll-view>
|
||||
</view>
|
||||
<view class="mengban" v-if="zzbqshow" @click="zzbqshow = false"></view>
|
||||
<view class="right-bottom">
|
||||
<view class="bottom-title">
|
||||
<image class="bottom-carmera" src="/static/index/newindex/leftmenu/carmera.png" @click="gotolook" />
|
||||
<view class="blue-button">
|
||||
<view class="blue-button" @click="geteverything()">
|
||||
长者标签
|
||||
<view class="jb" >
|
||||
<image src="/static/index/card/bj.png" mode="aspectFill"></image>
|
||||
</view>
|
||||
<view class="zzbq guodu" @click.stop :class="zzbqshow?'':'zzh0'">
|
||||
<view class="carfd" v-if="zzbqshow">
|
||||
<view class="tittop">
|
||||
<view></view>
|
||||
体重标签
|
||||
</view>
|
||||
<view class="tg" style="border-right: 1px solid rgba(238, 238, 238, 1);">
|
||||
<view v-for="(v,i) in emotionTagList" :key='i'>
|
||||
<image :src="v.netPic" mode="aspectFill"></image>
|
||||
<text>{{v.tagName}}</text>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
<view class="carfd" v-if="zzbqshow">
|
||||
<view class="tittop">
|
||||
<view style="margin-left: 1vw;"></view>
|
||||
情绪标签
|
||||
</view>
|
||||
<view class="tg">
|
||||
<view v-for="(v,i) in bodyTagList" :key='i'>
|
||||
<image :src="v.netPic" mode="aspectFill"></image>
|
||||
<text>{{v.tagName}}</text>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
|
||||
|
||||
</view>
|
||||
<image class="big-older"
|
||||
:src="`/static/index/newindex/leftmenu/${uni.getStorageSync('NUall').elderInfo?.name?`older`:`nopeople`}.png`" />
|
||||
|
|
@ -417,6 +476,7 @@
|
|||
import { queryWorkCareList } from './api.js'
|
||||
// import {startOrder,endOrder} from './doctorask/api/api.js'
|
||||
import {queryCareList,queryCareInfoList,startOrder,endOrder,editSubPicPath,editSubMp4} from '../component/doctorask/api/api.js'
|
||||
import { getNclist } from "./nurse/api.js";
|
||||
|
||||
const form = reactive({
|
||||
pageNo: 1,
|
||||
|
|
@ -665,7 +725,8 @@
|
|||
}
|
||||
const start = (v) =>{
|
||||
if(v.izStart!='N'){return}
|
||||
startOrder({id:v.directiveId}).then(res=>{
|
||||
console.log(v)
|
||||
startOrder({id:v.id}).then(res=>{
|
||||
console.log(res)
|
||||
if(res.success){
|
||||
v.izStart = "Y";
|
||||
|
|
@ -869,6 +930,34 @@
|
|||
},
|
||||
});
|
||||
}
|
||||
const jszlshow = ref(false)
|
||||
|
||||
|
||||
const emotionTagList = ref([]);
|
||||
const bodyTagList = ref([]);
|
||||
const zzbqshow = ref(false)
|
||||
const geteverything = () => {
|
||||
if (uni.getStorageSync('nuId') && uni.getStorageSync('elderId')) {
|
||||
emotionTagList.value = [];
|
||||
bodyTagList.value = [];
|
||||
getNclist(uni.getStorageSync('nuId'), uni.getStorageSync('elderId')).then((res : any) => {
|
||||
res.result.emotionTagList.forEach(item=>{
|
||||
if(item.izSelected == 'Y'){
|
||||
emotionTagList.value.push(item)
|
||||
}
|
||||
})
|
||||
res.result.bodyTagList.forEach(item=>{
|
||||
if(item.izSelected == 'Y'){
|
||||
bodyTagList.value.push(item)
|
||||
}
|
||||
})
|
||||
zzbqshow.value = true;
|
||||
// emotionTagList.value = res.result.emotionTagList;
|
||||
// bodyTagList.value = res.result.bodyTagList;
|
||||
console.log(res.result)
|
||||
})
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
<style scoped lang="less">
|
||||
|
|
@ -1087,7 +1176,6 @@
|
|||
|
||||
.big-img {
|
||||
margin-top: 40rpx;
|
||||
// width: 450rpx;
|
||||
height: 450rpx;
|
||||
z-index: 10;
|
||||
}
|
||||
|
|
@ -1438,6 +1526,7 @@
|
|||
border-radius: 40rpx;
|
||||
color: #fff;
|
||||
font-size: 28rpx;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.name-weight {
|
||||
|
|
@ -1673,4 +1762,222 @@
|
|||
}
|
||||
}
|
||||
}
|
||||
.guodu {
|
||||
transition: .4s;
|
||||
-webkit-transform-style: preserve-3d;
|
||||
-webkit-overflow-scrolling: touch;
|
||||
}
|
||||
.jsh0{
|
||||
height: 0vw !important;
|
||||
padding: 0 2vw !important;
|
||||
top: 9.4vw !important;
|
||||
}
|
||||
.jszl{
|
||||
width: 64.5vw;
|
||||
height: 44vw;
|
||||
background: #FFFFFF;
|
||||
box-shadow: 0rpx 0rpx 0.5vw 0rpx rgba(136,148,167,0.19);
|
||||
border-radius: 2.2vw;
|
||||
position: absolute;
|
||||
top: 11vw;
|
||||
right: 0;
|
||||
z-index: 200;
|
||||
padding: 2vw;
|
||||
overflow: hidden;
|
||||
.submit{
|
||||
width: 100%;
|
||||
height: 3.2vw;
|
||||
margin-top: 0.4vw;
|
||||
padding-right: 2vw;
|
||||
display: flex;
|
||||
justify-content: flex-end;
|
||||
view{
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
&:nth-child(1){
|
||||
width: 7.1vw;
|
||||
height: 3.2vw;
|
||||
background: #F8F8F8;
|
||||
border-radius: 1.6vw;
|
||||
border: 1px solid #E5E5E5;
|
||||
font-weight: 400;
|
||||
font-size: 1.4vw;
|
||||
color: #555555;
|
||||
}
|
||||
&:nth-child(2){
|
||||
width: 7.1vw;
|
||||
height: 3.2vw;
|
||||
background: linear-gradient(0deg, #CAE0F9, #E9F4FF);
|
||||
border-radius: 1.6vw;
|
||||
border: 1px solid rgba(3,133,250,0.34);
|
||||
font-weight: 400;
|
||||
font-size: 1.4vw;
|
||||
color: #1083F8;
|
||||
margin-left: 0.7vw;
|
||||
}
|
||||
}
|
||||
}
|
||||
.scrol{
|
||||
width: 110%;
|
||||
height: 30vw;
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
|
||||
.cdk{
|
||||
width: 6.1vw;
|
||||
height: 6.1vw;
|
||||
background: #F8F8F8;
|
||||
border-radius: 1.6vw;
|
||||
margin: 1.5vw 1.5vw 0 0vw;
|
||||
display: inline-block;
|
||||
border: 1px solid #F8F8F8;
|
||||
text-align: center;
|
||||
image{
|
||||
width: 2vw;
|
||||
height: 2vw;
|
||||
margin: 1.4vw auto 0vw;
|
||||
}
|
||||
text{
|
||||
display: block;
|
||||
text-align: center;
|
||||
font-weight: 400;
|
||||
font-size: 1.1vw;
|
||||
color: #333333;
|
||||
width: 100%;
|
||||
}
|
||||
}
|
||||
.act{
|
||||
background: #F2F8FF;
|
||||
border: 1px solid rgba(1,125,233,0.43);
|
||||
text{
|
||||
color: #017DE9;
|
||||
}
|
||||
}
|
||||
}
|
||||
.spiw{
|
||||
width: 14vw;
|
||||
height: 2vw;
|
||||
display: flex;
|
||||
justify-content: space-around;
|
||||
margin-top: 2.5vw;
|
||||
view{
|
||||
font-weight: 400;
|
||||
font-size: 1.3vw;
|
||||
color: #555555;
|
||||
position: relative;
|
||||
line-height: 1.5vw;
|
||||
}
|
||||
.act{
|
||||
color: #222222 !important;
|
||||
font-weight: 500;
|
||||
}
|
||||
.act::after{
|
||||
width: 50%;
|
||||
height: 0.2vw;
|
||||
background: #0089FE;
|
||||
border-radius: 0.1vw;
|
||||
content: '';
|
||||
position: absolute;
|
||||
bottom: 0;
|
||||
left: 25%;
|
||||
}
|
||||
}
|
||||
.tittop{
|
||||
height: 2vw;
|
||||
font-weight: 400;
|
||||
font-size: 1.4vw;
|
||||
color: #333333;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
view{
|
||||
width: 0.4vw;
|
||||
height: 1.2vw;
|
||||
background: #017DE9;
|
||||
border-radius: 0.2vw;
|
||||
margin-right: 0.8vw;
|
||||
}
|
||||
}
|
||||
}
|
||||
.bianj{
|
||||
position: absolute;
|
||||
width: 2.2vw;
|
||||
height: 1.1vw;
|
||||
top: 9.68vw;
|
||||
right: 2.5vw;
|
||||
z-index: 220;
|
||||
image{
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
}
|
||||
.jb{
|
||||
position: absolute;
|
||||
width: 2.2vw;
|
||||
height: 1.1vw;
|
||||
top: 2.7vw;
|
||||
right: 1.5vw;
|
||||
z-index: 220;
|
||||
image{
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
}
|
||||
.zzh0{
|
||||
height: 0vw !important;
|
||||
padding: 0 1.6vw !important;
|
||||
top: 2.7vw !important;
|
||||
}
|
||||
.zzbq{
|
||||
width: 18vw;
|
||||
height: 10vw;
|
||||
background: #FFFFFF;
|
||||
box-shadow: 0rpx 0rpx 0.5vw 0rpx rgba(136,148,167,0.19);
|
||||
border-radius: 1.6vw;
|
||||
right: -0.8vw;
|
||||
top: 4vw;
|
||||
position: absolute;
|
||||
z-index: 200;
|
||||
display: flex;
|
||||
padding: 1.6vw 1.6vw 0;
|
||||
.carfd{
|
||||
width: 7.4vw;
|
||||
height: 100%;
|
||||
.tg{
|
||||
width: 100%;
|
||||
display: flex;
|
||||
justify-content: space-around;
|
||||
margin-top: 1vw;
|
||||
view{
|
||||
width: 1.8vw;
|
||||
image{
|
||||
width: 1.8vw;
|
||||
height: 1.8vw;
|
||||
}
|
||||
text{
|
||||
font-weight: 400;
|
||||
font-size: 0.8vw;
|
||||
color: #666666;
|
||||
margin-top: 0.2vw;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.tittop{
|
||||
height: 2vw;
|
||||
font-weight: 400;
|
||||
font-size: 1.1vw;
|
||||
color: #333333;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
view{
|
||||
width: 0.4vw;
|
||||
height: 1.2vw;
|
||||
background: #017DE9;
|
||||
border-radius: 0.2vw;
|
||||
margin-right: 0.8vw;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
</style>
|
||||
|
|
@ -40,9 +40,7 @@
|
|||
const listarr = ref([]);
|
||||
onMounted(() => {
|
||||
menuIndex.value = 0;
|
||||
swipedex.value = 0;
|
||||
nextTick(() => swipedex.value = 0)
|
||||
|
||||
swipedex.value = 0;
|
||||
getServiceTree().then((res : any) => {
|
||||
//缓存护嘱菜单
|
||||
uni.setStorageSync("saveTree", res)
|
||||
|
|
@ -180,7 +178,7 @@
|
|||
{ name: '返回', url: '/static/shouye/sy/f0.png', urls: '/static/shouye/sy/f1.png' ,type:'back'}
|
||||
]
|
||||
arrlist.value.push(...back);
|
||||
navurl(0,arrlist.value[0])
|
||||
// navurl(0,arrlist.value[0])
|
||||
}))
|
||||
}
|
||||
// 当前选中的菜单索引
|
||||
|
|
|
|||
|
|
@ -42,7 +42,7 @@
|
|||
</view>
|
||||
</view> -->
|
||||
</view>
|
||||
<view class="mengban" style="background: #fff;width:100vwvw;right:0;left: 0vw;top:-5vw;height: 110vh;" v-if="nomessageshow">
|
||||
<view class="mengban" style="background: #fff;width:100vw;right:0;left: 0vw;top:-5vw;height: 110vh;" v-if="nomessageshow">
|
||||
<defaultr cont="暂无数据" style="z-index: 999;margin: auto;top: 0;left:35vw;bottom: 0;right: 0;"></defaultr>
|
||||
</view>
|
||||
<!-- <nomessage cont="暂无数据" :show="nomessageshow" />
|
||||
|
|
|
|||
Binary file not shown.
|
After Width: | Height: | Size: 1.8 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 14 KiB |
Loading…
Reference in New Issue