Merge branch 'main' of http://47.115.223.229:8888/yangjun/hldy_app_mini
This commit is contained in:
commit
21416aaf1b
|
|
@ -145,3 +145,17 @@ export const humidDevicejgwarn = (data) => {
|
||||||
method: 'get'
|
method: 'get'
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
// 护理医疗后勤数量
|
||||||
|
export const queryCountByType = (data) => {
|
||||||
|
return request({
|
||||||
|
url: `${uni.getStorageSync('serverUrl')}/services/directivePlan/queryCountByType?nuId=${data.nuId}&elderId=${data.elderId}`,
|
||||||
|
method: 'get'
|
||||||
|
})
|
||||||
|
}
|
||||||
|
// 即时指令内容
|
||||||
|
export const queryAll = (data) => {
|
||||||
|
return request({
|
||||||
|
url: `${uni.getStorageSync('serverUrl')}/services/directivePlanInstant/queryAll?nuId=${data.nuId}&elderId=${data.elderId}`,
|
||||||
|
method: 'get'
|
||||||
|
})
|
||||||
|
}
|
||||||
|
|
@ -4,7 +4,7 @@
|
||||||
<view class="title-card" @click="nusing">
|
<view class="title-card" @click="nusing">
|
||||||
<view class="card-top">
|
<view class="card-top">
|
||||||
<view class="card-top-left">
|
<view class="card-top-left">
|
||||||
50
|
{{hldyobj?.hllFinishedTotal}}
|
||||||
</view>
|
</view>
|
||||||
<view class="card-top-right">
|
<view class="card-top-right">
|
||||||
<image class="right-img" src="/static/index/card/arrow.png" />
|
<image class="right-img" src="/static/index/card/arrow.png" />
|
||||||
|
|
@ -13,7 +13,7 @@
|
||||||
<view class="line">
|
<view class="line">
|
||||||
</view>
|
</view>
|
||||||
<view class="line-gray">
|
<view class="line-gray">
|
||||||
80
|
{{hldyobj?.hllTotal}}
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
|
|
||||||
|
|
@ -28,7 +28,7 @@
|
||||||
<view class="title-card" @click="nusing">
|
<view class="title-card" @click="nusing">
|
||||||
<view class="card-top">
|
<view class="card-top">
|
||||||
<view class="card-top-left">
|
<view class="card-top-left">
|
||||||
32
|
0
|
||||||
</view>
|
</view>
|
||||||
<view class="card-top-right">
|
<view class="card-top-right">
|
||||||
<image class="right-img" src="/static/index/card/arrow.png" />
|
<image class="right-img" src="/static/index/card/arrow.png" />
|
||||||
|
|
@ -37,7 +37,7 @@
|
||||||
<view class="line">
|
<view class="line">
|
||||||
</view>
|
</view>
|
||||||
<view class="line-gray">
|
<view class="line-gray">
|
||||||
60
|
0
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
|
|
||||||
|
|
@ -52,7 +52,7 @@
|
||||||
<view class="title-card" @click="nusing">
|
<view class="title-card" @click="nusing">
|
||||||
<view class="card-top" >
|
<view class="card-top" >
|
||||||
<view class="card-top-left">
|
<view class="card-top-left">
|
||||||
65
|
{{hldyobj.hqlFinishedTotal}}
|
||||||
</view>
|
</view>
|
||||||
<view class="card-top-right">
|
<view class="card-top-right">
|
||||||
<image class="right-img" src="/static/index/card/arrow.png" />
|
<image class="right-img" src="/static/index/card/arrow.png" />
|
||||||
|
|
@ -61,7 +61,7 @@
|
||||||
<view class="line">
|
<view class="line">
|
||||||
</view>
|
</view>
|
||||||
<view class="line-gray">
|
<view class="line-gray">
|
||||||
70
|
{{hldyobj.hqlTotal}}
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
|
|
||||||
|
|
@ -76,7 +76,7 @@
|
||||||
<view class="title-card-right" @click="jszlshow = true">
|
<view class="title-card-right" @click="jszlshow = true">
|
||||||
<view class="card-top">
|
<view class="card-top">
|
||||||
<view class="card-top-left">
|
<view class="card-top-left">
|
||||||
65
|
|
||||||
</view>
|
</view>
|
||||||
<view class="card-top-right">
|
<view class="card-top-right">
|
||||||
<image class="right-img" src="/static/index/card/arrow.png" />
|
<image class="right-img" src="/static/index/card/arrow.png" />
|
||||||
|
|
@ -98,18 +98,16 @@
|
||||||
即时服务指令
|
即时服务指令
|
||||||
</view>
|
</view>
|
||||||
<view class="spiw">
|
<view class="spiw">
|
||||||
<view v-for="(v,i) in ['护理','医疗','后勤']" :key="i" :class="i==0?'act':''">{{v}}</view>
|
<view v-for="(v,i) in ['护理','医疗','后勤']" :key="i" :class="i==fwzlindex?'act':''" @click="shtab(i)">{{v}}</view>
|
||||||
</view>
|
</view>
|
||||||
<scroll-view class="scrol" scroll-y="true">
|
<scroll-view class="scrol" scroll-y="true">
|
||||||
<view v-for="(v,i) in 0" :key='i' :class="i==2?'act':''" class="cdk">
|
<view v-for="(v,i) in fwzlarr" :key='i' :class="i==fwzldex?'act':''" class="cdk" @click="zldex(i)">
|
||||||
<image src="/static/qr.png" mode="aspectFill"></image>
|
<image :src="fwzldex!=i?v.netImmediateFile:v.netPreviewFileSmall" mode="aspectFill"></image>
|
||||||
<text>{{v}}</text>
|
<text>{{v.directiveName}}</text>
|
||||||
</view>
|
</view>
|
||||||
<view style="width: 13vw;height: 13vw;margin: 7vw 0 0 23.5vw;display: block;background: none;">
|
<view style="width: 13vw;height: 13vw;margin: 7vw 0 0 23.5vw;display: block;background: none;" v-if="fwzlarr.length==0">
|
||||||
<image src="/static/index/card/zw.png" mode="aspectFill" style="width:13vw;height: 13vw">
|
<image src="/static/index/card/zw.png" mode="aspectFill" style="width:13vw;height: 13vw"></image>
|
||||||
</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
|
|
||||||
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>
|
||||||
</view>
|
</view>
|
||||||
|
|
@ -123,8 +121,7 @@
|
||||||
</view>
|
</view>
|
||||||
<view class="mengban" v-if="jszlshow" @click="jszlshow = false"></view>
|
<view class="mengban" v-if="jszlshow" @click="jszlshow = false"></view>
|
||||||
<view class="photo-father">
|
<view class="photo-father">
|
||||||
<view class="juzhong" style="margin-left: -30rpx;"
|
<view class="juzhong" style="margin-left: -30rpx;" :style="indexmessage?.startTime?{}:{filter: `grayscale(60%)`}">
|
||||||
:style="indexmessage?.startTime?{}:{filter: `grayscale(60%)`}">
|
|
||||||
<donghua :width="`1300rpx`" :height="`900rpx`" :links="blueArray" :playing="photoplay" :loop="true"
|
<donghua :width="`1300rpx`" :height="`900rpx`" :links="blueArray" :playing="photoplay" :loop="true"
|
||||||
:interval="120" />
|
:interval="120" />
|
||||||
</view>
|
</view>
|
||||||
|
|
@ -149,8 +146,7 @@
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
<image class="big-img" v-if="topbuttontarget==0" :style="!indexmessage?.previewFile?'width: 450rpx':''"
|
<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`"
|
:src="indexmessage?.previewFile? 'https://www.focusnu.com/media/upFiles/' + indexmessage?.previewFile: `/static/index/newindex/wendu/2.png`" mode="aspectFill"/>
|
||||||
mode="aspectFill" />
|
|
||||||
<view style="display: flex;align-items: center;">
|
<view style="display: flex;align-items: center;">
|
||||||
<view class="server-name" v-if="indexmessage?.startTime">
|
<view class="server-name" v-if="indexmessage?.startTime">
|
||||||
{{ indexmessage?.directiveName }}
|
{{ indexmessage?.directiveName }}
|
||||||
|
|
@ -158,15 +154,12 @@
|
||||||
</view>
|
</view>
|
||||||
<view style="display: flex;margin-top: 40rpx;">
|
<view style="display: flex;margin-top: 40rpx;">
|
||||||
<view style="width: 240rpx;height: 90rpx;margin-right: 40rpx;">
|
<view style="width: 240rpx;height: 90rpx;margin-right: 40rpx;">
|
||||||
<view :class="indexmessage?.izStart=='N'?'start-button':'end-button'"
|
<view :class="indexmessage?.izStart=='N'?'start-button':'end-button'" v-show="indexmessage?.startTime" @click="start(indexmessage)">
|
||||||
v-show="indexmessage?.startTime" @click="start(indexmessage)">
|
|
||||||
开始服务
|
开始服务
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
<view style="width: 240rpx;height: 90rpx;">
|
<view style="width: 240rpx;height: 90rpx;">
|
||||||
<view
|
<view :class="(indexmessage?.izStart=='Y'&& indexmessage?.izFinish=='N')?'start-button':'end-button'" v-show="indexmessage?.startTime" @click="end(indexmessage)">
|
||||||
:class="(indexmessage?.izStart=='Y'&& indexmessage?.izFinish=='N')?'start-button':'end-button'"
|
|
||||||
v-show="indexmessage?.startTime" @click="end(indexmessage)">
|
|
||||||
结束服务
|
结束服务
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
|
|
@ -175,26 +168,22 @@
|
||||||
</view>
|
</view>
|
||||||
<view class="left-menu" v-show="indexmessage?.startTime">
|
<view class="left-menu" v-show="indexmessage?.startTime">
|
||||||
<view style="margin: 30rpx 0;" @click="errmsgclk(0,1)">
|
<view style="margin: 30rpx 0;" @click="errmsgclk(0,1)">
|
||||||
<view class="left-ball"
|
<view class="left-ball" :style="indexmessage?.serviceContent!=''?'background-color: #fff;':'background-color:RGBA(228, 229, 231, 1);'">
|
||||||
:style="indexmessage?.serviceContent!=''?'background-color: #fff;':'background-color:RGBA(228, 229, 231, 1);'">
|
|
||||||
<image class="left-menu-img" :src="'/static/index/newindex/leftmenu/left'+0+'.png'" />
|
<image class="left-menu-img" :src="'/static/index/newindex/leftmenu/left'+0+'.png'" />
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
<view style="margin: 30rpx 0;" @click="errmsgclk(1,1)">
|
<view style="margin: 30rpx 0;" @click="errmsgclk(1,1)">
|
||||||
<view class="left-ball"
|
<view class="left-ball" :style="indexmessage?.mp3File!=''?'background-color: #fff;':'background-color:RGBA(228, 229, 231, 1);'">
|
||||||
:style="indexmessage?.mp3File!=''?'background-color: #fff;':'background-color:RGBA(228, 229, 231, 1);'">
|
|
||||||
<image class="left-menu-img" :src="'/static/index/newindex/leftmenu/left'+1+'.png'" />
|
<image class="left-menu-img" :src="'/static/index/newindex/leftmenu/left'+1+'.png'" />
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
<view style="margin: 30rpx 0;" @click="errmsgclk(2,1)">
|
<view style="margin: 30rpx 0;" @click="errmsgclk(2,1)">
|
||||||
<view class="left-ball"
|
<view class="left-ball" :style="indexmessage?.mp4File!=''?'background-color: #fff;':'background-color:RGBA(228, 229, 231, 1);'">
|
||||||
:style="indexmessage?.mp4File!=''?'background-color: #fff;':'background-color:RGBA(228, 229, 231, 1);'">
|
|
||||||
<image class="left-menu-img" :src="'/static/index/newindex/leftmenu/left'+2+'.png'" />
|
<image class="left-menu-img" :src="'/static/index/newindex/leftmenu/left'+2+'.png'" />
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
<view v-for="(item,index) in [3,4]" :key="index" style="margin: 30rpx 0;" @click="errmsgclk(item,2)">
|
<view v-for="(item,index) in [3,4]" :key="index" style="margin: 30rpx 0;" @click="errmsgclk(item,2)">
|
||||||
<view class="left-ball"
|
<view class="left-ball" :style="indexmessage?.izStart=='Y'?'background-color: #fff;':'background-color:RGBA(228, 229, 231, 1);'">
|
||||||
:style="indexmessage?.izStart=='Y'?'background-color: #fff;':'background-color:RGBA(228, 229, 231, 1);'">
|
|
||||||
<image class="left-menu-img" :src="'/static/index/newindex/leftmenu/left'+item+'.png'" />
|
<image class="left-menu-img" :src="'/static/index/newindex/leftmenu/left'+item+'.png'" />
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
|
|
@ -322,7 +311,7 @@
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
<view class="zzbqsmall guodu" @click.stop :class="tagtarget!=-1?'':'zzh0'">
|
<view class="zzbqsmall guodu" @click.stop :class="zzbqshow&&tagtarget!=-1?'':'zzh0'">
|
||||||
<view class="jbsmall" v-show="tagtarget!=-1" :style="{left:`${leftnumber}vw`}">
|
<view class="jbsmall" v-show="tagtarget!=-1" :style="{left:`${leftnumber}vw`}">
|
||||||
<image src="/static/index/card/bj.png" mode="aspectFill"></image>
|
<image src="/static/index/card/bj.png" mode="aspectFill"></image>
|
||||||
</view>
|
</view>
|
||||||
|
|
@ -403,17 +392,16 @@
|
||||||
{{ topbuttontarget==1?`照片`:`录像` }}
|
{{ topbuttontarget==1?`照片`:`录像` }}
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
<scroll-view scroll-y="true" class="photowall-other" scroll-with-animation enable-flex
|
<scroll-view scroll-y="true" class="photowall-other" scroll-with-animation enable-flex v-if="topbuttontarget>0">
|
||||||
v-if="topbuttontarget>0">
|
|
||||||
<view class="photowall-other" >
|
<view class="photowall-other" >
|
||||||
<view class="photowall-other-one" v-for="(item,index) in ilanarr" :key="index"
|
<view class="photowall-other-one" v-for="(item,index) in ilanarr" :key="index"
|
||||||
@click="previewImage(item,index,ilanarr)">
|
@click="previewImage(item,index,ilanarr)">
|
||||||
<view v-if="topbuttontarget==1"
|
<view v-if="topbuttontarget==1" style="width: 100%;height: 70%;border-radius: 30rpx;position: relative;">
|
||||||
style="width: 100%;height: 70%;border-radius: 30rpx;position: relative;">
|
|
||||||
<image style="width: 100%;height: 100%;border-radius: 30rpx;"
|
<image style="width: 100%;height: 100%;border-radius: 30rpx;"
|
||||||
:src="item?serverUrl + item:'/static/ceshiyaoshan.png'" mode="aspectFill"
|
:src="item?serverUrl + item:'/static/ceshiyaoshan.png'" mode="aspectFill"
|
||||||
:lazy-load="true"/>
|
:lazy-load="true"/>
|
||||||
<view @click.stop="open=1;del(item,index)" style="width: 1.6vw;
|
<view @click.stop="open=1;del(item,index)"
|
||||||
|
style="width: 1.6vw;
|
||||||
height: 1.6vw;
|
height: 1.6vw;
|
||||||
z-index: 20;
|
z-index: 20;
|
||||||
position: absolute;
|
position: absolute;
|
||||||
|
|
@ -423,18 +411,20 @@
|
||||||
display: flex;
|
display: flex;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
border-radius: 50%;
|
border-radius: 50%;
|
||||||
align-items: center;" v-if="topbuttontarget>0&&(listobj.izStart=='Y'&& listobj.izFinish=='N')">
|
align-items: center;"
|
||||||
<image src="/static/index/warehouse/procurement/x.png" mode="aspectFill" style="width: 1.4vw;
|
v-if="topbuttontarget>0&&(listobj.izStart=='Y'&& listobj.izFinish=='N')">
|
||||||
|
<image src="/static/index/warehouse/procurement/x.png" mode="aspectFill"
|
||||||
|
style="width: 1.4vw;
|
||||||
height: 1.4vw;"></image>
|
height: 1.4vw;"></image>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
<view v-if="topbuttontarget==2"
|
<view v-if="topbuttontarget==2" style="width: 100%;height: 70%;border-radius: 30rpx ;position: relative;" @click="clik(serverUrl + item)">
|
||||||
style="width: 100%;height: 70%;border-radius: 30rpx ;position: relative;"
|
|
||||||
@click="clik(serverUrl + item)">
|
|
||||||
<video style="width: 100%;height: 100%;border-radius: 30rpx;" :id="'myVideo'+index"
|
<video style="width: 100%;height: 100%;border-radius: 30rpx;" :id="'myVideo'+index"
|
||||||
:src="servervideoUrl+item" mode="aspectFill"></video>
|
:src="servervideoUrl+item"
|
||||||
|
mode="aspectFill" ></video>
|
||||||
<view @click.stop="ilanarr.splice(index,1)"
|
<view @click.stop="ilanarr.splice(index,1)"
|
||||||
v-if="topbuttontarget>0&&(listobj.izStart=='Y'&& listobj.izFinish=='N')" style="width: 1.6vw;
|
v-if="topbuttontarget>0&&(listobj.izStart=='Y'&& listobj.izFinish=='N')"
|
||||||
|
style="width: 1.6vw;
|
||||||
height: 1.6vw;
|
height: 1.6vw;
|
||||||
z-index: 20;
|
z-index: 20;
|
||||||
position: absolute;
|
position: absolute;
|
||||||
|
|
@ -445,7 +435,8 @@
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
border-radius: 50%;
|
border-radius: 50%;
|
||||||
align-items: center;">
|
align-items: center;">
|
||||||
<image src="/static/index/warehouse/procurement/x.png" mode="aspectFill" style="width: 1.4vw;
|
<image src="/static/index/warehouse/procurement/x.png" mode="aspectFill"
|
||||||
|
style="width: 1.4vw;
|
||||||
height: 1.4vw;"></image>
|
height: 1.4vw;"></image>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
|
|
@ -466,8 +457,7 @@
|
||||||
</text>
|
</text>
|
||||||
</view> -->
|
</view> -->
|
||||||
</view>
|
</view>
|
||||||
<view class="photowall-other-one"
|
<view class="photowall-other-one" v-if="topbuttontarget>0&&(listobj.izStart=='Y'&& listobj.izFinish=='N')">
|
||||||
v-if="topbuttontarget>0&&(listobj.izStart=='Y'&& listobj.izFinish=='N')">
|
|
||||||
<view style="width: 100%;height: 71%;display: flex;flex-direction: column;
|
<view style="width: 100%;height: 71%;display: flex;flex-direction: column;
|
||||||
justify-content: center;align-items: center;position: absolute;top:0vw;left: 0;
|
justify-content: center;align-items: center;position: absolute;top:0vw;left: 0;
|
||||||
background-color:#fafdff ;border: 1rpx solid #78B1EB;border-radius: 30rpx;" @click="uplod(1)">
|
background-color:#fafdff ;border: 1rpx solid #78B1EB;border-radius: 30rpx;" @click="uplod(1)">
|
||||||
|
|
@ -487,10 +477,8 @@
|
||||||
</view> -->
|
</view> -->
|
||||||
</view>
|
</view>
|
||||||
</scroll-view>
|
</scroll-view>
|
||||||
<view style="position: absolute;right: 2vw;bottom: 0.8vw;height: 4vw;"
|
<view style="position: absolute;right: 2vw;bottom: 0.8vw;height: 4vw;" v-if="topbuttontarget>0&&(listobj.izStart=='Y'&& listobj.izFinish=='N')">
|
||||||
v-if="topbuttontarget>0&&(listobj.izStart=='Y'&& listobj.izFinish=='N')">
|
<button type="primary" style="width: 9vw; position: absolute;right: 0vw;bottom: 0.vw;" @click="submit" >确定</button>
|
||||||
<button type="primary" style="width: 9vw; position: absolute;right: 0vw;bottom: 0.vw;"
|
|
||||||
@click="submit">确定</button>
|
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
<tanchuang :show="open==1" font="是否删除此图片" @back="open = 0" @right="del1()"> </tanchuang>
|
<tanchuang :show="open==1" font="是否删除此图片" @back="open = 0" @right="del1()"> </tanchuang>
|
||||||
|
|
@ -502,7 +490,7 @@
|
||||||
<script setup lang="ts">
|
<script setup lang="ts">
|
||||||
import { ref, onMounted, onBeforeUnmount, computed, nextTick, watch ,reactive} from 'vue';
|
import { ref, onMounted, onBeforeUnmount, computed, nextTick, watch ,reactive} from 'vue';
|
||||||
import { queryPadPageList } from '@/pages/watch/api/lunpan.js'
|
import { queryPadPageList } from '@/pages/watch/api/lunpan.js'
|
||||||
import { queryWorkOrderList } from './api.js'
|
import { queryWorkOrderList,queryCountByType,queryAll } from './api.js'
|
||||||
// import {startOrder,endOrder} from './doctorask/api/api.js'
|
// import {startOrder,endOrder} from './doctorask/api/api.js'
|
||||||
import {queryOrderList,queryOrderInfoList,startOrder,endOrder,editSubPicPath,editSubMp4} from '../component/doctorask/api/api.js'
|
import {queryOrderList,queryOrderInfoList,startOrder,endOrder,editSubPicPath,editSubMp4} from '../component/doctorask/api/api.js'
|
||||||
import { getNclist } from "./nurse/api.js";
|
import { getNclist } from "./nurse/api.js";
|
||||||
|
|
@ -744,10 +732,60 @@
|
||||||
uni.setStorageSync('nuName', data.nuName);
|
uni.setStorageSync('nuName', data.nuName);
|
||||||
uni.setStorageSync('elderId', data.elderInfo ? data.elderInfo?.id : null);
|
uni.setStorageSync('elderId', data.elderInfo ? data.elderInfo?.id : null);
|
||||||
uni.setStorageSync('NUall', data);
|
uni.setStorageSync('NUall', data);
|
||||||
console.log(data.nuId)
|
|
||||||
firstgetqueryCgdList(data.nuId);
|
firstgetqueryCgdList(data.nuId);
|
||||||
|
hlylhq(data.nuId,data.elderInfo?.id)
|
||||||
|
zlfunc(data.nuId,data.elderInfo?.id)
|
||||||
emit('swip')
|
emit('swip')
|
||||||
}
|
}
|
||||||
|
const hldyobj = ref({})
|
||||||
|
const hlylhq = (nuId,elderId)=>{
|
||||||
|
let data = {
|
||||||
|
nuId:nuId,
|
||||||
|
elderId:elderId
|
||||||
|
}
|
||||||
|
queryCountByType(data).then(res=>{
|
||||||
|
console.log(res)
|
||||||
|
hldyobj.value = res.result
|
||||||
|
})
|
||||||
|
}
|
||||||
|
const fwzlindex = ref(0);
|
||||||
|
const fwzldex = ref(-1);
|
||||||
|
|
||||||
|
const fwzlarr = ref(0);
|
||||||
|
const zlarr = ref({});
|
||||||
|
const zlfunc = (nuId,elderId)=>{
|
||||||
|
let data = {
|
||||||
|
nuId:nuId,
|
||||||
|
elderId:elderId
|
||||||
|
}
|
||||||
|
queryAll(data).then(res=>{
|
||||||
|
console.log(res)
|
||||||
|
zlarr.value = res.result;
|
||||||
|
shtab(fwzlindex.value)
|
||||||
|
})
|
||||||
|
}
|
||||||
|
const shtab = (e)=>{
|
||||||
|
fwzlindex.value = e;
|
||||||
|
if(e==0){
|
||||||
|
fwzlarr.value = zlarr.value.care
|
||||||
|
}
|
||||||
|
if(e==1){
|
||||||
|
fwzlarr.value = [];
|
||||||
|
}
|
||||||
|
if(e==2){
|
||||||
|
fwzlarr.value = zlarr.value.logistics
|
||||||
|
}
|
||||||
|
}
|
||||||
|
const zldex = (e) =>{
|
||||||
|
if(e>-1&&e==fwzldex.value){
|
||||||
|
fwzldex.value = -1
|
||||||
|
}else{
|
||||||
|
fwzldex.value = e
|
||||||
|
}
|
||||||
|
}
|
||||||
|
const subitshowing = () =>{
|
||||||
|
jszlshow.value = false
|
||||||
|
}
|
||||||
|
|
||||||
function calcAge(dateOfBirth : string) {
|
function calcAge(dateOfBirth : string) {
|
||||||
const birthYear = parseInt(dateOfBirth?.slice(0, 4), 10);
|
const birthYear = parseInt(dateOfBirth?.slice(0, 4), 10);
|
||||||
|
|
@ -786,8 +824,7 @@
|
||||||
}else{
|
}else{
|
||||||
|
|
||||||
}
|
}
|
||||||
})
|
})}
|
||||||
}
|
|
||||||
|
|
||||||
}
|
}
|
||||||
// 通用的生成函数
|
// 通用的生成函数
|
||||||
|
|
@ -919,12 +956,12 @@
|
||||||
}
|
}
|
||||||
const indexmessage = ref({});
|
const indexmessage = ref({});
|
||||||
const getgif = () => {
|
const getgif = () => {
|
||||||
let data = {
|
|
||||||
nuId: uni.getStorageSync('NUall').nuId,
|
// let data = {
|
||||||
employeeId: uni.getStorageSync('userInfo').employessId,
|
// nuId: uni.getStorageSync('NUall').nuId,
|
||||||
workType: 5
|
// employeeId: uni.getStorageSync('userInfo').employessId,
|
||||||
}
|
// workType: 5
|
||||||
console.log("看看图", data)
|
// }
|
||||||
// queryWorkOrderList(data).then((res : any) => {
|
// queryWorkOrderList(data).then((res : any) => {
|
||||||
// console.log("看看图",res)
|
// console.log("看看图",res)
|
||||||
// indexmessage.value = res.result.records[0];
|
// indexmessage.value = res.result.records[0];
|
||||||
|
|
@ -968,6 +1005,7 @@
|
||||||
if (uni.getStorageSync('nuId') && uni.getStorageSync('elderId')) {
|
if (uni.getStorageSync('nuId') && uni.getStorageSync('elderId')) {
|
||||||
emotionTagList.value = [];
|
emotionTagList.value = [];
|
||||||
bodyTagList.value = [];
|
bodyTagList.value = [];
|
||||||
|
zzbqshow.value = true;
|
||||||
getNclist(uni.getStorageSync('nuId'), uni.getStorageSync('elderId')).then((res : any) => {
|
getNclist(uni.getStorageSync('nuId'), uni.getStorageSync('elderId')).then((res : any) => {
|
||||||
res.result.emotionTagList.forEach(item=>{
|
res.result.emotionTagList.forEach(item=>{
|
||||||
if(item.izSelected == 'Y'){
|
if(item.izSelected == 'Y'){
|
||||||
|
|
@ -979,7 +1017,6 @@
|
||||||
bodyTagList.value.push(item)
|
bodyTagList.value.push(item)
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
zzbqshow.value = true;
|
|
||||||
// emotionTagList.value = res.result.emotionTagList;
|
// emotionTagList.value = res.result.emotionTagList;
|
||||||
// bodyTagList.value = res.result.bodyTagList;
|
// bodyTagList.value = res.result.bodyTagList;
|
||||||
console.log(res.result)
|
console.log(res.result)
|
||||||
|
|
@ -1059,12 +1096,41 @@
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style scoped lang="less">
|
<style scoped lang="less">
|
||||||
|
.jbsmall {
|
||||||
|
position: absolute;
|
||||||
|
width: 2.2vw;
|
||||||
|
height: 1.1vw;
|
||||||
|
top: -1vw;
|
||||||
|
left: 2.2vw;
|
||||||
|
z-index: 220;
|
||||||
|
transition: left 0.3s;
|
||||||
|
|
||||||
|
image {
|
||||||
|
width: 100%;
|
||||||
|
height: 100%;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
.zzbqsmall {
|
||||||
|
width: 18vw;
|
||||||
|
// height: 6vw;
|
||||||
|
background: #FFFFFF;
|
||||||
|
box-shadow: 0rpx 0rpx 0.5vw 0rpx rgba(136, 148, 167, 0.19);
|
||||||
|
border-radius: 1.2vw;
|
||||||
|
right: -0.8vw;
|
||||||
|
top: 15vw;
|
||||||
|
position: absolute;
|
||||||
|
z-index: 200;
|
||||||
|
display: flex;
|
||||||
|
// padding: 1.6vw 1.6vw 0;
|
||||||
|
padding: 1vw 2vw;
|
||||||
|
color: black;
|
||||||
|
font-size: 1vw;
|
||||||
|
}
|
||||||
.index-content-right {
|
.index-content-right {
|
||||||
width: 19.5vw;
|
width: 19.5vw;
|
||||||
margin-left: 2vw;
|
margin-left: 2vw;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
transition: opacity 1s ease;
|
transition: opacity 1s ease;
|
||||||
|
|
||||||
.right-time{
|
.right-time{
|
||||||
margin-top: 80rpx;
|
margin-top: 80rpx;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
|
|
@ -1075,18 +1141,15 @@
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
padding-left: 30rpx;
|
padding-left: 30rpx;
|
||||||
|
|
||||||
.time-top{
|
.time-top{
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
font-size: 1.1vw;
|
font-size: 1.1vw;
|
||||||
|
|
||||||
.time-big{
|
.time-big{
|
||||||
font-size: 3.5vw;
|
font-size: 3.5vw;
|
||||||
font-weight: 600;
|
font-weight: 600;
|
||||||
margin-right: 10rpx;
|
margin-right: 10rpx;
|
||||||
}
|
}
|
||||||
|
|
||||||
.time-week{
|
.time-week{
|
||||||
font-weight: 600;
|
font-weight: 600;
|
||||||
}
|
}
|
||||||
|
|
@ -1799,7 +1862,6 @@
|
||||||
color: #888888;
|
color: #888888;
|
||||||
font-size: 25rpx;
|
font-size: 25rpx;
|
||||||
}
|
}
|
||||||
|
|
||||||
.mengban {
|
.mengban {
|
||||||
width: 100vw;
|
width: 100vw;
|
||||||
height: 100vh;
|
height: 100vh;
|
||||||
|
|
@ -1809,7 +1871,6 @@
|
||||||
z-index: 100;
|
z-index: 100;
|
||||||
background: RGBA(239, 240, 244, 0.55);
|
background: RGBA(239, 240, 244, 0.55);
|
||||||
}
|
}
|
||||||
|
|
||||||
.photowall {
|
.photowall {
|
||||||
position: fixed;
|
position: fixed;
|
||||||
top: 54%;
|
top: 54%;
|
||||||
|
|
@ -1823,7 +1884,6 @@
|
||||||
z-index: 9990;
|
z-index: 9990;
|
||||||
box-shadow: 0 0 10rpx rgba(0, 0, 0, 0.1);
|
box-shadow: 0 0 10rpx rgba(0, 0, 0, 0.1);
|
||||||
padding: 0 90rpx;
|
padding: 0 90rpx;
|
||||||
|
|
||||||
.photowall-title {
|
.photowall-title {
|
||||||
margin-top: 50rpx;
|
margin-top: 50rpx;
|
||||||
display: flex;
|
display: flex;
|
||||||
|
|
@ -1852,7 +1912,6 @@
|
||||||
display: flex;
|
display: flex;
|
||||||
margin-top: 20rpx;
|
margin-top: 20rpx;
|
||||||
flex-wrap: wrap;
|
flex-wrap: wrap;
|
||||||
|
|
||||||
.photowall-other-one {
|
.photowall-other-one {
|
||||||
width: 22vw;
|
width: 22vw;
|
||||||
height: 430rpx;
|
height: 430rpx;
|
||||||
|
|
@ -1861,7 +1920,6 @@
|
||||||
border-radius: 30rpx;
|
border-radius: 30rpx;
|
||||||
display:flex;
|
display:flex;
|
||||||
position: relative;
|
position: relative;
|
||||||
|
|
||||||
video{
|
video{
|
||||||
width: 100%;
|
width: 100%;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
|
|
@ -1869,19 +1927,16 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.guodu {
|
.guodu {
|
||||||
transition: .4s;
|
transition: .4s;
|
||||||
-webkit-transform-style: preserve-3d;
|
-webkit-transform-style: preserve-3d;
|
||||||
-webkit-overflow-scrolling: touch;
|
-webkit-overflow-scrolling: touch;
|
||||||
}
|
}
|
||||||
|
|
||||||
.jsh0{
|
.jsh0{
|
||||||
height: 0vw !important;
|
height: 0vw !important;
|
||||||
padding: 0 2vw !important;
|
padding: 0 2vw !important;
|
||||||
top: 9.4vw !important;
|
top: 9.4vw !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
.jszl{
|
.jszl{
|
||||||
width: 64.5vw;
|
width: 64.5vw;
|
||||||
height: 44vw;
|
height: 44vw;
|
||||||
|
|
@ -1894,7 +1949,6 @@
|
||||||
z-index: 200;
|
z-index: 200;
|
||||||
padding: 2vw;
|
padding: 2vw;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
|
|
||||||
.submit{
|
.submit{
|
||||||
width: 100%;
|
width: 100%;
|
||||||
height: 3.2vw;
|
height: 3.2vw;
|
||||||
|
|
@ -1902,12 +1956,10 @@
|
||||||
padding-right: 2vw;
|
padding-right: 2vw;
|
||||||
display: flex;
|
display: flex;
|
||||||
justify-content: flex-end;
|
justify-content: flex-end;
|
||||||
|
|
||||||
view{
|
view{
|
||||||
display: flex;
|
display: flex;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
|
|
||||||
&:nth-child(1){
|
&:nth-child(1){
|
||||||
width: 7.1vw;
|
width: 7.1vw;
|
||||||
height: 3.2vw;
|
height: 3.2vw;
|
||||||
|
|
@ -1918,7 +1970,6 @@
|
||||||
font-size: 1.4vw;
|
font-size: 1.4vw;
|
||||||
color: #555555;
|
color: #555555;
|
||||||
}
|
}
|
||||||
|
|
||||||
&:nth-child(2){
|
&:nth-child(2){
|
||||||
width: 7.1vw;
|
width: 7.1vw;
|
||||||
height: 3.2vw;
|
height: 3.2vw;
|
||||||
|
|
@ -1932,7 +1983,6 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.scrol{
|
.scrol{
|
||||||
width: 110%;
|
width: 110%;
|
||||||
height: 30vw;
|
height: 30vw;
|
||||||
|
|
@ -1948,13 +1998,11 @@
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
border: 1px solid #F8F8F8;
|
border: 1px solid #F8F8F8;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
|
|
||||||
image{
|
image{
|
||||||
width: 2vw;
|
width: 2vw;
|
||||||
height: 2vw;
|
height: 2vw;
|
||||||
margin: 1.4vw auto 0vw;
|
margin: 1.4vw auto 0vw;
|
||||||
}
|
}
|
||||||
|
|
||||||
text{
|
text{
|
||||||
display: block;
|
display: block;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
|
|
@ -1964,24 +2012,20 @@
|
||||||
width: 100%;
|
width: 100%;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.act{
|
.act{
|
||||||
background: #F2F8FF;
|
background: #F2F8FF;
|
||||||
border: 1px solid rgba(1,125,233,0.43);
|
border: 1px solid rgba(1,125,233,0.43);
|
||||||
|
|
||||||
text{
|
text{
|
||||||
color: #017DE9;
|
color: #017DE9;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.spiw{
|
.spiw{
|
||||||
width: 14vw;
|
width: 14vw;
|
||||||
height: 2vw;
|
height: 2vw;
|
||||||
display: flex;
|
display: flex;
|
||||||
justify-content: space-around;
|
justify-content: space-around;
|
||||||
margin-top: 2.5vw;
|
margin-top: 2.5vw;
|
||||||
|
|
||||||
view{
|
view{
|
||||||
font-weight: 400;
|
font-weight: 400;
|
||||||
font-size: 1.3vw;
|
font-size: 1.3vw;
|
||||||
|
|
@ -1989,12 +2033,10 @@
|
||||||
position: relative;
|
position: relative;
|
||||||
line-height: 1.5vw;
|
line-height: 1.5vw;
|
||||||
}
|
}
|
||||||
|
|
||||||
.act{
|
.act{
|
||||||
color: #222222 !important;
|
color: #222222 !important;
|
||||||
font-weight: 500;
|
font-weight: 500;
|
||||||
}
|
}
|
||||||
|
|
||||||
.act::after{
|
.act::after{
|
||||||
width: 50%;
|
width: 50%;
|
||||||
height: 0.2vw;
|
height: 0.2vw;
|
||||||
|
|
@ -2006,7 +2048,6 @@
|
||||||
left: 25%;
|
left: 25%;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.tittop{
|
.tittop{
|
||||||
height: 2vw;
|
height: 2vw;
|
||||||
font-weight: 400;
|
font-weight: 400;
|
||||||
|
|
@ -2014,7 +2055,6 @@
|
||||||
color: #333333;
|
color: #333333;
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
|
|
||||||
view{
|
view{
|
||||||
width: 0.4vw;
|
width: 0.4vw;
|
||||||
height: 1.2vw;
|
height: 1.2vw;
|
||||||
|
|
@ -2024,7 +2064,6 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.bianj{
|
.bianj{
|
||||||
position: absolute;
|
position: absolute;
|
||||||
width: 2.2vw;
|
width: 2.2vw;
|
||||||
|
|
@ -2032,48 +2071,28 @@
|
||||||
top: 9.68vw;
|
top: 9.68vw;
|
||||||
right: 2.5vw;
|
right: 2.5vw;
|
||||||
z-index: 220;
|
z-index: 220;
|
||||||
|
|
||||||
image{
|
image{
|
||||||
width: 100%;
|
width: 100%;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.jb{
|
.jb{
|
||||||
position: absolute;
|
position: absolute;
|
||||||
width: 2.2vw;
|
width: 2.2vw;
|
||||||
height: 1.1vw;
|
height: 1.1vw;
|
||||||
top: 2.7vw;
|
top: 2.7vw;
|
||||||
right: 1.5vw;
|
right: 1.5vw;
|
||||||
z-index: 220;
|
z-index: 201;
|
||||||
|
|
||||||
image{
|
image{
|
||||||
width: 100%;
|
width: 100%;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.jbsmall {
|
|
||||||
position: absolute;
|
|
||||||
width: 2.2vw;
|
|
||||||
height: 1.1vw;
|
|
||||||
top: -1vw;
|
|
||||||
left: 2.2vw;
|
|
||||||
z-index: 220;
|
|
||||||
transition: left 0.3s;
|
|
||||||
|
|
||||||
image {
|
|
||||||
width: 100%;
|
|
||||||
height: 100%;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
.zzh0{
|
.zzh0{
|
||||||
height: 0vw !important;
|
height: 0vw !important;
|
||||||
padding: 0 1.6vw !important;
|
padding: 0 1.6vw !important;
|
||||||
top: 2.7vw !important;
|
// top: 2.7vw !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
.zzbq{
|
.zzbq{
|
||||||
width: 18vw;
|
width: 18vw;
|
||||||
height: 10vw;
|
height: 10vw;
|
||||||
|
|
@ -2086,25 +2105,20 @@
|
||||||
z-index: 200;
|
z-index: 200;
|
||||||
display: flex;
|
display: flex;
|
||||||
padding: 1.6vw 1.6vw 0;
|
padding: 1.6vw 1.6vw 0;
|
||||||
|
|
||||||
.carfd{
|
.carfd{
|
||||||
width: 7.4vw;
|
width: 7.4vw;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
|
|
||||||
.tg{
|
.tg{
|
||||||
width: 100%;
|
width: 100%;
|
||||||
display: flex;
|
display: flex;
|
||||||
justify-content: space-around;
|
justify-content: space-around;
|
||||||
margin-top: 1vw;
|
margin-top: 1vw;
|
||||||
|
|
||||||
view{
|
view{
|
||||||
width: 1.8vw;
|
width: 1.8vw;
|
||||||
|
|
||||||
image{
|
image{
|
||||||
width: 1.8vw;
|
width: 1.8vw;
|
||||||
height: 1.8vw;
|
height: 1.8vw;
|
||||||
}
|
}
|
||||||
|
|
||||||
text{
|
text{
|
||||||
font-weight: 400;
|
font-weight: 400;
|
||||||
font-size: 0.8vw;
|
font-size: 0.8vw;
|
||||||
|
|
@ -2121,7 +2135,6 @@
|
||||||
color: #333333;
|
color: #333333;
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
|
|
||||||
view{
|
view{
|
||||||
width: 0.4vw;
|
width: 0.4vw;
|
||||||
height: 1.2vw;
|
height: 1.2vw;
|
||||||
|
|
@ -2132,21 +2145,4 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.zzbqsmall {
|
|
||||||
width: 18vw;
|
|
||||||
// height: 6vw;
|
|
||||||
background: #FFFFFF;
|
|
||||||
box-shadow: 0rpx 0rpx 0.5vw 0rpx rgba(136, 148, 167, 0.19);
|
|
||||||
border-radius: 1.2vw;
|
|
||||||
right: -0.8vw;
|
|
||||||
top: 15vw;
|
|
||||||
position: absolute;
|
|
||||||
z-index: 200;
|
|
||||||
display: flex;
|
|
||||||
// padding: 1.6vw 1.6vw 0;
|
|
||||||
padding: 1vw 2vw;
|
|
||||||
color: black;
|
|
||||||
font-size: 1vw;
|
|
||||||
}
|
|
||||||
</style>
|
</style>
|
||||||
|
|
@ -85,10 +85,14 @@
|
||||||
const scoltop =(e)=>{
|
const scoltop =(e)=>{
|
||||||
if(e==0){
|
if(e==0){
|
||||||
scrolltop.value = topsc.value;
|
scrolltop.value = topsc.value;
|
||||||
|
nextTick(()=>{
|
||||||
scrolltop.value = 0;
|
scrolltop.value = 0;
|
||||||
|
})
|
||||||
}else{
|
}else{
|
||||||
scrolltop.value = topsc.value;
|
scrolltop.value = topsc.value;
|
||||||
|
nextTick(()=>{
|
||||||
scrolltop.value = 999;
|
scrolltop.value = 999;
|
||||||
|
})
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
const codesc = ref(0)
|
const codesc = ref(0)
|
||||||
|
|
|
||||||
|
|
@ -4,7 +4,7 @@
|
||||||
<view class="title-card">
|
<view class="title-card">
|
||||||
<view class="card-top">
|
<view class="card-top">
|
||||||
<view class="card-top-left">
|
<view class="card-top-left">
|
||||||
15
|
{{hldyobj.cklFinishedTotal}}
|
||||||
</view>
|
</view>
|
||||||
<view class="card-top-right">
|
<view class="card-top-right">
|
||||||
<image class="right-img" src="/static/index/card/arrow.png" />
|
<image class="right-img" src="/static/index/card/arrow.png" />
|
||||||
|
|
@ -13,7 +13,7 @@
|
||||||
<view class="line">
|
<view class="line">
|
||||||
</view>
|
</view>
|
||||||
<view class="line-gray">
|
<view class="line-gray">
|
||||||
70
|
{{hldyobj.cklTotal}}
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
|
|
||||||
|
|
@ -29,7 +29,7 @@
|
||||||
<view class="title-card-right" @click="jszlshow = true">
|
<view class="title-card-right" @click="jszlshow = true">
|
||||||
<view class="card-top">
|
<view class="card-top">
|
||||||
<view class="card-top-left">
|
<view class="card-top-left">
|
||||||
65
|
|
||||||
</view>
|
</view>
|
||||||
<view class="card-top-right">
|
<view class="card-top-right">
|
||||||
<image class="right-img" src="/static/index/card/arrow.png" />
|
<image class="right-img" src="/static/index/card/arrow.png" />
|
||||||
|
|
@ -54,11 +54,11 @@
|
||||||
<view v-for="(v,i) in ['库房']" :key="i" :class="i==0?'act':''">{{v}}</view>
|
<view v-for="(v,i) in ['库房']" :key="i" :class="i==0?'act':''">{{v}}</view>
|
||||||
</view>
|
</view>
|
||||||
<scroll-view class="scrol" scroll-y="true">
|
<scroll-view class="scrol" scroll-y="true">
|
||||||
<view v-for="(v,i) in 1" :key='i' :class="i==2?'act':''" class="cdk">
|
<view v-for="(v,i) in zlarr" :key='i' :class="i==fwzldex?'act':''" class="cdk" @click="zldex(i)">
|
||||||
<image src="/static/qr.png" mode="aspectFill"></image>
|
<image :src="fwzldex!=i?v.netImmediateFile:v.netPreviewFileSmall" mode="aspectFill"></image>
|
||||||
<text>{{v}}</text>
|
<text>{{v.directiveName}}</text>
|
||||||
</view>
|
</view>
|
||||||
<view style="width: 13vw;height: 13vw;margin: 7vw 0 0 23.5vw;display: block;background: none;">
|
<view style="width: 13vw;height: 13vw;margin: 7vw 0 0 23.5vw;display: block;background: none;" v-if="zlarr.length==0">
|
||||||
<image src="/static/index/card/zw.png" mode="aspectFill" style="width:13vw;height: 13vw"></image>
|
<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 style="width: 100%;text-align: center; font-weight: 400; font-size: 1.2vw;color: #555555;margin-top: -3vw;text-align: center;white-space: nowrap;">
|
||||||
暂无服务指令
|
暂无服务指令
|
||||||
|
|
@ -277,6 +277,7 @@
|
||||||
<script setup lang="ts">
|
<script setup lang="ts">
|
||||||
import { ref, onMounted, onBeforeUnmount, computed, nextTick, watch } from 'vue';
|
import { ref, onMounted, onBeforeUnmount, computed, nextTick, watch } from 'vue';
|
||||||
import { queryPadPageList } from '@/pages/watch/api/lunpan.js'
|
import { queryPadPageList } from '@/pages/watch/api/lunpan.js'
|
||||||
|
import { queryWorkOrderList,queryCountByType,queryAll } from '@/pages/NursingNew/component/api.js'
|
||||||
const jszlshow = ref(false)
|
const jszlshow = ref(false)
|
||||||
const props = defineProps({
|
const props = defineProps({
|
||||||
isShow: {
|
isShow: {
|
||||||
|
|
@ -299,6 +300,41 @@
|
||||||
console.log(uni.getStorageSync('elderId'),uni.getStorageSync('nuId'),data.elderInfo)
|
console.log(uni.getStorageSync('elderId'),uni.getStorageSync('nuId'),data.elderInfo)
|
||||||
uni.setStorageSync('NUall', data);
|
uni.setStorageSync('NUall', data);
|
||||||
emit('swip')
|
emit('swip')
|
||||||
|
hlylhq(data.nuId )
|
||||||
|
zlfunc(data.nuId )
|
||||||
|
}
|
||||||
|
const hldyobj = ref({})
|
||||||
|
const hlylhq = (nuId)=>{
|
||||||
|
let data = {
|
||||||
|
nuId:nuId
|
||||||
|
}
|
||||||
|
queryCountByType(data).then(res=>{
|
||||||
|
console.log(res)
|
||||||
|
hldyobj.value = res.result
|
||||||
|
})
|
||||||
|
}
|
||||||
|
const fwzlindex = ref(0);
|
||||||
|
const fwzldex = ref(-1);
|
||||||
|
const zlarr = ref({});
|
||||||
|
const zlfunc = (nuId)=>{
|
||||||
|
let data = {
|
||||||
|
nuId:nuId,
|
||||||
|
elderId:elderId
|
||||||
|
}
|
||||||
|
queryAll(data).then(res=>{
|
||||||
|
console.log(res)
|
||||||
|
zlarr.value = res.result.invoicing;
|
||||||
|
})
|
||||||
|
}
|
||||||
|
const zldex = (e) =>{
|
||||||
|
if(e>-1&&e==fwzldex.value){
|
||||||
|
fwzldex.value = -1
|
||||||
|
}else{
|
||||||
|
fwzldex.value = e
|
||||||
|
}
|
||||||
|
}
|
||||||
|
const subitshowing = () =>{
|
||||||
|
jszlshow.value = false
|
||||||
}
|
}
|
||||||
const tagarray = ["市医保", "半失能", "正常计费"]
|
const tagarray = ["市医保", "半失能", "正常计费"]
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -25,9 +25,9 @@ export const updateBaseInfo = (params) => {
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
// 改头像
|
// 改头像
|
||||||
export const userEdit = (params) => {
|
export const editAvatar = (params) => {
|
||||||
return request({
|
return request({
|
||||||
url: `${uni.getStorageSync('serverUrl')}/sys/user/login/setting/userEdit`,
|
url: `${uni.getStorageSync('serverUrl')}/sys/user/login/setting/editAvatar`,
|
||||||
method: 'post',
|
method: 'post',
|
||||||
data: params,
|
data: params,
|
||||||
})
|
})
|
||||||
|
|
|
||||||
|
|
@ -120,7 +120,7 @@
|
||||||
import { getServiceTree0, getServiceTree1, getServiceTree2 } from '@/pages/NursingNew/component/nurse/api.js'
|
import { getServiceTree0, getServiceTree1, getServiceTree2 } from '@/pages/NursingNew/component/nurse/api.js'
|
||||||
import { getLoginCode, loginApp } from '@/pages/login/api.js'
|
import { getLoginCode, loginApp } from '@/pages/login/api.js'
|
||||||
|
|
||||||
import {userEdit} from './api.js'
|
import {editAvatar} from './api.js'
|
||||||
const zyupgrade = ref(null);
|
const zyupgrade = ref(null);
|
||||||
const issay = ref(false)
|
const issay = ref(false)
|
||||||
const openany = ref(false);
|
const openany = ref(false);
|
||||||
|
|
@ -190,7 +190,7 @@
|
||||||
userInfo.value = uni.getStorageSync('userInfo');
|
userInfo.value = uni.getStorageSync('userInfo');
|
||||||
}
|
}
|
||||||
const avaxg = () =>{
|
const avaxg = () =>{
|
||||||
userEdit({avatar:userInfo.value.avatar,id:userInfo.value.id}).then(res=>{
|
editAvatar({avatar:userInfo.value.avatar,id:userInfo.value.id}).then(res=>{
|
||||||
console.log(res)
|
console.log(res)
|
||||||
if(res.success){
|
if(res.success){
|
||||||
uni.setStorageSync('userInfo', userInfo.value);
|
uni.setStorageSync('userInfo', userInfo.value);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue