Merge branch 'main' of http://47.115.223.229:8888/yangjun/hldy_app_mini
|
|
@ -0,0 +1,201 @@
|
||||||
|
<template>
|
||||||
|
<view style="display: flex;align-items: center;" :class="!isDown?'red':''">
|
||||||
|
<view class="box" id="box_minute" @click="chongzhi()">
|
||||||
|
<view class="top child text" id="top" >{{ Math.floor(topTime / 60) }}</view>
|
||||||
|
<view class="flip child" id="flip" :style="{ transform: transformInfomin?transformInfo:'' }">
|
||||||
|
<view class="flip_face child text" :style="{ zIndex: faceZindexmin || 0 }" id="flip_face" >
|
||||||
|
{{ Math.floor(bottomTime / 60) }}
|
||||||
|
</view>
|
||||||
|
<view class="flip_back child text" :style="backZindex&&transformInfomin ? { zIndex: backZindex } : {}" id="flip_back" >
|
||||||
|
{{ Math.floor(topTime / 60) }}
|
||||||
|
</view>
|
||||||
|
</view>
|
||||||
|
<view class="bottom child text" id="bottom" >{{ Math.floor(bottomTime / 60) }}</view>
|
||||||
|
</view>
|
||||||
|
:
|
||||||
|
<view class="box" id="box_minute" :class="!isDown?'red':''">
|
||||||
|
<view class="top child text" id="top">{{ (topTime % 60)<10?'0'+(topTime % 60) : (topTime % 60) }}</view>
|
||||||
|
<view class="flip child" id="flip" :style="{ transform: transformInfo }" >
|
||||||
|
<view class="flip_face child text" :style="{ zIndex: faceZindex || 0 }" id="flip_face" >
|
||||||
|
{{ (bottomTime % 60)<10? '0'+(bottomTime % 60) : (bottomTime % 60)}}
|
||||||
|
</view>
|
||||||
|
<view class="flip_back child text" :style="backZindex ? { zIndex: backZindex } : {}" id="flip_back" >
|
||||||
|
{{ (topTime % 60)<10?'0'+(topTime % 60) : (topTime % 60) }}
|
||||||
|
</view>
|
||||||
|
</view>
|
||||||
|
<view class="bottom child text" id="bottom">{{ (bottomTime % 60)<10? '0'+(bottomTime % 60) : (bottomTime % 60) }}</view>
|
||||||
|
</view>
|
||||||
|
</view>
|
||||||
|
</template>
|
||||||
|
|
||||||
|
<script>
|
||||||
|
export default {
|
||||||
|
props: {
|
||||||
|
initTime: {
|
||||||
|
// 初始时间
|
||||||
|
type: Number,
|
||||||
|
default: 10,
|
||||||
|
},
|
||||||
|
// isDown: {
|
||||||
|
// // 是否是倒计时
|
||||||
|
// type: Boolean,
|
||||||
|
// default: true,
|
||||||
|
// },
|
||||||
|
threshold: {
|
||||||
|
// 阈值
|
||||||
|
type: Number,
|
||||||
|
default: 0,
|
||||||
|
},
|
||||||
|
},
|
||||||
|
data() {
|
||||||
|
return {
|
||||||
|
topTime: this.initTime,
|
||||||
|
bottomTime: this.initTime,
|
||||||
|
faceZindex: 1,
|
||||||
|
backZindex: 0,
|
||||||
|
transformInfo: "perspective(500rpx) rotateX(0deg)",
|
||||||
|
transformInfomin: false,
|
||||||
|
faceZindexmin: 1,
|
||||||
|
backZindexmin: 0,
|
||||||
|
mintime:0,
|
||||||
|
timer: null,
|
||||||
|
timerTwo: null,
|
||||||
|
isDown:true
|
||||||
|
};
|
||||||
|
},
|
||||||
|
mounted() {
|
||||||
|
this.cycle();
|
||||||
|
},
|
||||||
|
methods: {
|
||||||
|
chongzhi(){
|
||||||
|
this.initTime = 185
|
||||||
|
this.cycle();
|
||||||
|
},
|
||||||
|
OneCycle(n) {
|
||||||
|
// 一次翻页的周期
|
||||||
|
let num = 0;
|
||||||
|
this.transformInfo = "perspective(500rpx) rotateX(0deg)";
|
||||||
|
this.faceZindex = 1;
|
||||||
|
this.backZindex = 0;
|
||||||
|
this.bottomTime = this.isDown? n : n-1;
|
||||||
|
let minutes = Math.floor(n / 60);
|
||||||
|
if (this.timer) {
|
||||||
|
clearInterval(this.timer);
|
||||||
|
}
|
||||||
|
this.timer = setInterval(() => {
|
||||||
|
num++;
|
||||||
|
if (num > 50) {
|
||||||
|
num = 0;
|
||||||
|
clearInterval(this.timer);
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
|
if (num === 1) {
|
||||||
|
if (this.isDown) {
|
||||||
|
this.topTime = n - 1 < this.threshold ? n : n - 1; // 60 和 0 在时间里,其实是一样的
|
||||||
|
this.mintime = Math.floor(this.topTime / 60)
|
||||||
|
if(minutes != this.mintime ){
|
||||||
|
this.transformInfomin = true;
|
||||||
|
}else{
|
||||||
|
this.transformInfomin = false;
|
||||||
|
}
|
||||||
|
} else {
|
||||||
|
this.topTime = n + 1 > this.threshold ? n : n + 1;
|
||||||
|
this.mintime = Math.floor(this.topTime / 60)
|
||||||
|
if(minutes != this.mintime ){
|
||||||
|
this.transformInfomin = true;
|
||||||
|
}else{
|
||||||
|
this.transformInfomin = false;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
this.faceZindex = num <= 25 ? 1 : 0;
|
||||||
|
this.backZindex = num <= 25 ? 0 : 1;
|
||||||
|
|
||||||
|
this.transformInfo = `perspective(500rpx) rotateX(-${(180 * num) / 50}deg)`;
|
||||||
|
|
||||||
|
}, 20); // 将一秒钟分成50份。
|
||||||
|
},
|
||||||
|
cycle() {
|
||||||
|
let minutes = Math.floor(this.initTime / 60);
|
||||||
|
let time = this.initTime;
|
||||||
|
console.log(minutes,time)
|
||||||
|
this.timerTwo = setInterval(() => {
|
||||||
|
const flag = this.isDown ? time - 1 : time + 1;
|
||||||
|
if (flag === this.threshold) {
|
||||||
|
this.isDown = false
|
||||||
|
// clearInterval(this.timerTwo);
|
||||||
|
// clearInterval(this.timer);
|
||||||
|
}
|
||||||
|
this.OneCycle(time);
|
||||||
|
this.isDown ? time-- : time++;
|
||||||
|
}, 1000);
|
||||||
|
},
|
||||||
|
},
|
||||||
|
};
|
||||||
|
</script>
|
||||||
|
|
||||||
|
<style scoped lang="less">
|
||||||
|
.red{
|
||||||
|
color: red !important;
|
||||||
|
view{
|
||||||
|
color: red !important;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
.box {
|
||||||
|
position: relative;
|
||||||
|
box-sizing: border-box;
|
||||||
|
}
|
||||||
|
|
||||||
|
.box .child {
|
||||||
|
width: 3.4vw;
|
||||||
|
height: 1.6vw;
|
||||||
|
overflow: hidden;
|
||||||
|
}
|
||||||
|
|
||||||
|
.box > .top {
|
||||||
|
background-color: #DCDCDC;
|
||||||
|
line-height: 3.2vw;
|
||||||
|
border-bottom: 2rpx solid #fff;
|
||||||
|
border-radius: 4rpx 4rpx 0 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
.box .flip {
|
||||||
|
position: absolute;
|
||||||
|
top: 0rpx;
|
||||||
|
z-index: 1;
|
||||||
|
transform-origin: bottom;
|
||||||
|
border-radius: 4rpx 4rpx 0 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
.box .flip .flip_face {
|
||||||
|
position: absolute;
|
||||||
|
background-color: #DCDCDC;
|
||||||
|
line-height: 3.2vw;
|
||||||
|
z-index: 1;
|
||||||
|
border-bottom: 2rpx solid #fff;
|
||||||
|
}
|
||||||
|
|
||||||
|
.box .flip .flip_back {
|
||||||
|
position: absolute;
|
||||||
|
background-color: #DCDCDC;
|
||||||
|
line-height: 0rpx;
|
||||||
|
transform: perspective(500rpx) rotateX(0deg) rotateY(-180deg) rotate(180deg);
|
||||||
|
border-top: 2rpx solid #fff;
|
||||||
|
}
|
||||||
|
|
||||||
|
.box .bottom {
|
||||||
|
background-color: #DCDCDC;
|
||||||
|
line-height: 0rpx;
|
||||||
|
border-top: 2rpx solid #fff;
|
||||||
|
border-radius: 0 0 4rpx 4rpx;
|
||||||
|
}
|
||||||
|
|
||||||
|
.text {
|
||||||
|
text-align: center;
|
||||||
|
font-size: 2.2vw;
|
||||||
|
font-weight: 900;
|
||||||
|
color: #666;
|
||||||
|
}
|
||||||
|
</style>
|
||||||
|
|
@ -8,9 +8,18 @@
|
||||||
{{qcobj.directiveName}}
|
{{qcobj.directiveName}}
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
<view>
|
<view style="height: 78%;">
|
||||||
<view class="big-time">
|
<view class="big-time">
|
||||||
{{qcobj.startTime?.slice(11, 16) }} - {{qcobj.endTime?.slice(11, 16) }}
|
<view>
|
||||||
|
{{qcobj.startTime?.slice(11, 16) }}
|
||||||
|
<!-- - {{qcobj.endTime?.slice(11, 16) }} -->
|
||||||
|
</view>
|
||||||
|
<view>
|
||||||
|
<timeing></timeing>
|
||||||
|
</view>
|
||||||
|
</view>
|
||||||
|
<view class="names">
|
||||||
|
{{ qcobj?.directiveName }}
|
||||||
</view>
|
</view>
|
||||||
<view class="icon-people">
|
<view class="icon-people">
|
||||||
<image class="people-img" src="/static/index/newindex/leftmenu/iconleft.png" />
|
<image class="people-img" src="/static/index/newindex/leftmenu/iconleft.png" />
|
||||||
|
|
@ -46,6 +55,7 @@
|
||||||
import { ref, onMounted, reactive, onBeforeUnmount, computed, nextTick, defineComponent,watch } from 'vue';
|
import { ref, onMounted, reactive, onBeforeUnmount, computed, nextTick, defineComponent,watch } from 'vue';
|
||||||
import { queryOrderlist,startDirectiveServe,finishDirectiveServe,queryOrderInfoList } from '@/pages/procurement/api/lunpan.js'
|
import { queryOrderlist,startDirectiveServe,finishDirectiveServe,queryOrderInfoList } from '@/pages/procurement/api/lunpan.js'
|
||||||
import { startOrder,endOrder,editSubPicPath,editSubMp4,queryEmpList,transferOrder,assistOrder} from '@/pages/NursingNew/component/doctorask/api/api.js'
|
import { startOrder,endOrder,editSubPicPath,editSubMp4,queryEmpList,transferOrder,assistOrder} from '@/pages/NursingNew/component/doctorask/api/api.js'
|
||||||
|
import timeing from './newgame/sxy-Timeing.vue'
|
||||||
const qcobj = ref({})
|
const qcobj = ref({})
|
||||||
const openleft = ref(true)
|
const openleft = ref(true)
|
||||||
const open = ref(0);
|
const open = ref(0);
|
||||||
|
|
@ -179,11 +189,25 @@
|
||||||
height: 8vw;
|
height: 8vw;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
.names{
|
||||||
|
font-weight: 400;
|
||||||
|
font-size: 1.5vw;
|
||||||
|
color: #333333;
|
||||||
|
margin-top: 1.4vw;
|
||||||
|
padding-left: 1vw;
|
||||||
|
}
|
||||||
.big-time {
|
.big-time {
|
||||||
font-weight: 600;
|
font-weight: 600;
|
||||||
font-size: 1.8vw;
|
font-size: 2.3vw;
|
||||||
padding-left: 1vw;
|
padding-left: 1vw;
|
||||||
|
width: 18vw;
|
||||||
|
display: flex;
|
||||||
|
justify-content: space-between;
|
||||||
|
align-items: center;
|
||||||
|
>view{
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.icon-people {
|
.icon-people {
|
||||||
|
|
@ -192,6 +216,7 @@
|
||||||
color: #555555;
|
color: #555555;
|
||||||
width: 18vw;
|
width: 18vw;
|
||||||
padding-left: 1vw;
|
padding-left: 1vw;
|
||||||
|
white-space: nowrap;
|
||||||
.people-img {
|
.people-img {
|
||||||
width: 1.5vw;
|
width: 1.5vw;
|
||||||
height: 1.5vw;
|
height: 1.5vw;
|
||||||
|
|
|
||||||
|
|
@ -109,9 +109,10 @@
|
||||||
<scroll-view class="scrol" scroll-y="true">
|
<scroll-view class="scrol" scroll-y="true">
|
||||||
<view v-for="(v,i) in fwzlarr" :key='i' :class="i==fwzldex?'act':''" class="cdk" @click="zldex(i)">
|
<view v-for="(v,i) in fwzlarr" :key='i' :class="i==fwzldex?'act':''" class="cdk" @click="zldex(i)">
|
||||||
<image :src="fwzldex!=i?v.netImmediateFile:v.netPreviewFileSmall" mode="aspectFill"></image>
|
<image :src="fwzldex!=i?v.netImmediateFile:v.netPreviewFileSmall" mode="aspectFill"></image>
|
||||||
<text style="white-space: nowrap;width: 100%;text-overflow: ellipsis;overflow: hidden;">{{v.directiveName}}</text>
|
<text style="white-space: nowrap;width: 100%;text-overflow: ellipsis;overflow: hidden;">{{v.directiveName?.substring(0,4)}}</text>
|
||||||
|
<view>{{v.directiveName?.substring(4,12)}}</view>
|
||||||
</view>
|
</view>
|
||||||
<view style="width: 13vw;height: 13vw;margin: 7vw 0 0 23.5vw;display: block;background: none;" v-if="fwzlarr.length==0">
|
<view style="width: 13vw;height: 13vw;margin: 7vw 0 0 23.5vw;display: block;background: none;" v-if="fwzlarr?.length==0||!fwzlarr">
|
||||||
<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;">
|
||||||
暂无服务指令
|
暂无服务指令
|
||||||
|
|
@ -126,7 +127,8 @@
|
||||||
</view>
|
</view>
|
||||||
</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">
|
<serveswipe></serveswipe>
|
||||||
|
<!-- <view class="photo-father" >
|
||||||
<view class="juzhong" style="margin-left: -30rpx;" :style="indexmessage?.startTime?{}:{filter: `grayscale(60%)`}">
|
<view class="juzhong" style="margin-left: -30rpx;" :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" />
|
||||||
|
|
@ -246,8 +248,8 @@
|
||||||
</view>
|
</view>
|
||||||
<tanchuang :show="zxzd>0" :font="zdcont" @back="zxzd = 0" @right="tijiaozx()"> </tanchuang>
|
<tanchuang :show="zxzd>0" :font="zdcont" @back="zxzd = 0" @right="tijiaozx()"> </tanchuang>
|
||||||
</view>
|
</view>
|
||||||
</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" :style="indexmessage?.serviceContent!=''?'background-color: #fff;':'background-color:RGBA(228, 229, 231, 1);'">
|
<view class="left-ball" :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'" />
|
||||||
|
|
@ -299,7 +301,7 @@
|
||||||
</scroll-view>
|
</scroll-view>
|
||||||
<image class="top-img" :src="`/static/index/newindex/rightmenu/bottom.png`"
|
<image class="top-img" :src="`/static/index/newindex/rightmenu/bottom.png`"
|
||||||
@click="scrollTop > (55* rightMenu.length) ? scrollTop = (55* rightMenu.length) : scrollTop += 115 " />
|
@click="scrollTop > (55* rightMenu.length) ? scrollTop = (55* rightMenu.length) : scrollTop += 115 " />
|
||||||
</view>
|
</view> -->
|
||||||
</view>
|
</view>
|
||||||
<errorshow :show="openerror" :font="errmsg" @close="openerror=false" :icons="false" style="left: 44%;"/>
|
<errorshow :show="openerror" :font="errmsg" @close="openerror=false" :icons="false" style="left: 44%;"/>
|
||||||
<errorshow :show="error" :font="msg" @close="error=false" style="left: 44%;"/>
|
<errorshow :show="error" :font="msg" @close="error=false" style="left: 44%;"/>
|
||||||
|
|
@ -347,7 +349,7 @@
|
||||||
<view class="">
|
<view class="">
|
||||||
<view class="first-line">
|
<view class="first-line">
|
||||||
<view style="font-size: 1.2vw;">
|
<view style="font-size: 1.2vw;">
|
||||||
{{ item.nuName }}
|
{{ item.nuName.length>6?item.nuName.substring(0,6)+'.':item.nuName }}
|
||||||
</view>
|
</view>
|
||||||
<view class="first-line-second">
|
<view class="first-line-second">
|
||||||
{{ item.elderInfo?.name?`入住`:`空闲` }}
|
{{ item.elderInfo?.name?`入住`:`空闲` }}
|
||||||
|
|
@ -606,6 +608,7 @@
|
||||||
// import {startOrder,endOrder} from './doctorask/api/api.js'
|
// import {startOrder,endOrder} from './doctorask/api/api.js'
|
||||||
import {queryOrderList,queryOrderInfoList,startOrder,endOrder,editSubPicPath,editSubMp4,queryEmpList,transferOrder,assistOrder,generateInstant} from '../component/doctorask/api/api.js'
|
import {queryOrderList,queryOrderInfoList,startOrder,endOrder,editSubPicPath,editSubMp4,queryEmpList,transferOrder,assistOrder,generateInstant} from '../component/doctorask/api/api.js'
|
||||||
import { getNclist } from "./nurse/api.js";
|
import { getNclist } from "./nurse/api.js";
|
||||||
|
import serveswipe from './leftcontent/serveswipe.vue';
|
||||||
const serverUrl = ref(uni.getStorageSync('imagebase') )
|
const serverUrl = ref(uni.getStorageSync('imagebase') )
|
||||||
const servervideoUrl = ref(uni.getStorageSync('serverUrl') + '/sys/commonVideo/staticVideo/')
|
const servervideoUrl = ref(uni.getStorageSync('serverUrl') + '/sys/commonVideo/staticVideo/')
|
||||||
const serverpicUrl = ref(uni.getStorageSync('serverUrl') + '/sys/common/static/')
|
const serverpicUrl = ref(uni.getStorageSync('serverUrl') + '/sys/common/static/')
|
||||||
|
|
@ -730,6 +733,7 @@
|
||||||
const firstgetqueryCgdList = (nuId) => {
|
const firstgetqueryCgdList = (nuId) => {
|
||||||
form.nuId = nuId;
|
form.nuId = nuId;
|
||||||
queryOrderList(form).then(res => {
|
queryOrderList(form).then(res => {
|
||||||
|
console.log(form)
|
||||||
if(res.result.records.length>0){
|
if(res.result.records.length>0){
|
||||||
indexmessage.value = res.result.records[0]
|
indexmessage.value = res.result.records[0]
|
||||||
// clickLeftMenu(0,res.result.records[0])
|
// clickLeftMenu(0,res.result.records[0])
|
||||||
|
|
@ -988,13 +992,13 @@
|
||||||
const shtab = (e)=>{
|
const shtab = (e)=>{
|
||||||
fwzlindex.value = e;
|
fwzlindex.value = e;
|
||||||
if(e==0){
|
if(e==0){
|
||||||
fwzlarr.value = zlarr.value.care
|
fwzlarr.value = zlarr.value?.care
|
||||||
}
|
}
|
||||||
if(e==1){
|
if(e==1){
|
||||||
fwzlarr.value = [];
|
fwzlarr.value = [];
|
||||||
}
|
}
|
||||||
if(e==2){
|
if(e==2){
|
||||||
fwzlarr.value = zlarr.value.logistics
|
fwzlarr.value = zlarr.value?.logistics
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
const zldex = (e) =>{
|
const zldex = (e) =>{
|
||||||
|
|
@ -2256,6 +2260,13 @@
|
||||||
color: #333333;
|
color: #333333;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
}
|
}
|
||||||
|
view{
|
||||||
|
text-align: center;
|
||||||
|
font-weight: 400;
|
||||||
|
font-size: 0.7vw;
|
||||||
|
color: #555;
|
||||||
|
width: 100%;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
.act{
|
.act{
|
||||||
background: #F2F8FF;
|
background: #F2F8FF;
|
||||||
|
|
|
||||||
|
|
@ -12,9 +12,9 @@
|
||||||
</view>
|
</view>
|
||||||
<scroll-view class="cont" :scroll-y="true" :scroll-top="scrolltop" @scroll="scroll" scroll-with-animation @scrolltoupper="scrolltoupper" @scrolltolower="scrolltolower">
|
<scroll-view class="cont" :scroll-y="true" :scroll-top="scrolltop" @scroll="scroll" scroll-with-animation @scrolltoupper="scrolltoupper" @scrolltolower="scrolltolower">
|
||||||
<view class="items" v-for="(v,i) in list" :key='i' @click="naurl(i);emit('navurl',i,v)">
|
<view class="items" v-for="(v,i) in list" :key='i' @click="naurl(i);emit('navurl',i,v)">
|
||||||
<view class="tm guodu" :class="{'act':i==dexleft}">
|
<view class="tm guodu" >
|
||||||
<image :src="i==dexleft?v.urls:v.url" mode="aspectFill" class="guodu"></image>
|
<image :src="i==dexleft?v.url:v.urls" mode="aspectFill" class="guodu"></image>
|
||||||
<text>{{v.name}}</text>
|
<text :style="i==dexleft?'color:#0080FC':''">{{v.name}}</text>
|
||||||
</view>
|
</view>
|
||||||
<!-- <view class="heng guodu" :style="i!=dexleft&&i!=list.length-1?'opacity: 1':'opacity: 0'"></view> -->
|
<!-- <view class="heng guodu" :style="i!=dexleft&&i!=list.length-1?'opacity: 1':'opacity: 0'"></view> -->
|
||||||
</view>
|
</view>
|
||||||
|
|
@ -232,7 +232,8 @@
|
||||||
}
|
}
|
||||||
text{
|
text{
|
||||||
font-weight: 400;
|
font-weight: 400;
|
||||||
font-size: 0.9vw;
|
font-size: 1.3vw;
|
||||||
|
margin-top: 0.8vw;
|
||||||
color: #666666;
|
color: #666666;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -164,19 +164,19 @@
|
||||||
|
|
||||||
<style scoped lang="less">
|
<style scoped lang="less">
|
||||||
.zkadd {
|
.zkadd {
|
||||||
width: 9vw;
|
width: 4vw;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
display: inline-flex;
|
display: inline-flex;
|
||||||
justify-content: flex-end;
|
justify-content: flex-end;
|
||||||
position: absolute;
|
position: absolute;
|
||||||
top: 0;
|
top: 0;
|
||||||
right: -9vw;
|
right: -4vw;
|
||||||
view:active{
|
view:active{
|
||||||
background:rgba(85, 166, 249, 1) !important;
|
background:rgba(85, 166, 249, 1) !important;
|
||||||
color: #FFFFFF !important;
|
color: #FFFFFF !important;
|
||||||
}
|
}
|
||||||
>view {
|
>view {
|
||||||
width: 3.6vw;
|
width: 4vw;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
font-weight: 400;
|
font-weight: 400;
|
||||||
font-size: 1.3vw;
|
font-size: 1.3vw;
|
||||||
|
|
@ -365,9 +365,10 @@
|
||||||
.imge{
|
.imge{
|
||||||
width: 8vw;
|
width: 8vw;
|
||||||
height: 7vw;
|
height: 7vw;
|
||||||
padding: 0.2vw;
|
padding: 0.5vw;
|
||||||
margin: 0.3vw auto 0.25vw;
|
margin: 0.3vw auto 0.25vw;
|
||||||
background: #fff;
|
background: #f5f5f5;
|
||||||
|
border-radius: 1.1vw;
|
||||||
>image {
|
>image {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
|
|
|
||||||
|
|
@ -21,9 +21,9 @@
|
||||||
物料编码
|
物料编码
|
||||||
<text>{{objtake?.materialNo}}</text>
|
<text>{{objtake?.materialNo}}</text>
|
||||||
</view>
|
</view>
|
||||||
<view style="margin-left: 2.5vw;">
|
<view style="margin-left: 2.5vw;width: 20vw;">
|
||||||
规格型号
|
规格型号
|
||||||
<text style="white-space: nowrap;">{{objtake?.specificationModel}}</text>
|
<text >{{objtake?.specificationModel}}</text>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
<view>
|
<view>
|
||||||
|
|
|
||||||
|
|
@ -574,17 +574,15 @@
|
||||||
pageNo: 1,
|
pageNo: 1,
|
||||||
pageSize: 10,
|
pageSize: 10,
|
||||||
employeeId:uni.getStorageSync('userInfo').employessId,
|
employeeId:uni.getStorageSync('userInfo').employessId,
|
||||||
nuId:uni.getStorageSync('nuId')
|
nuId:uni.getStorageSync('nuId'),
|
||||||
|
workType:5
|
||||||
})
|
})
|
||||||
const plsbuy = ref([])
|
const plsbuy = ref([])
|
||||||
const firstgetqueryCgdList = (nuId) => {
|
const firstgetqueryCgdList = (nuId) => {
|
||||||
form.nuId = nuId;
|
form.nuId = nuId;
|
||||||
queryOrderList(form).then(res => {
|
queryOrderList(form).then(res => {
|
||||||
console.log(res)
|
|
||||||
if(res.result.records.length>0){
|
if(res.result.records.length>0){
|
||||||
indexmessage.value = res.result.records[0];
|
indexmessage.value = res.result.records[0];
|
||||||
// clickLeftMenu(0,res.result.records[0])
|
|
||||||
}else{
|
}else{
|
||||||
indexmessage.value = {};
|
indexmessage.value = {};
|
||||||
}
|
}
|
||||||
|
|
@ -821,7 +819,8 @@
|
||||||
const emit = defineEmits(['swip'])
|
const emit = defineEmits(['swip'])
|
||||||
const clickmenu = (index : number) => {
|
const clickmenu = (index : number) => {
|
||||||
menutarget.value = index
|
menutarget.value = index
|
||||||
let data = filteredMenu(2)[index]
|
let data = filteredMenu(2)[index];
|
||||||
|
console.log(data)
|
||||||
uni.setStorageSync('nuId', data.nuId);
|
uni.setStorageSync('nuId', data.nuId);
|
||||||
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);
|
||||||
|
|
@ -848,7 +847,7 @@
|
||||||
const zlfunc = (nuId)=>{
|
const zlfunc = (nuId)=>{
|
||||||
let data = {
|
let data = {
|
||||||
nuId:nuId,
|
nuId:nuId,
|
||||||
elderId:elderId
|
// elderId:elderId
|
||||||
}
|
}
|
||||||
queryAll(data).then(res=>{
|
queryAll(data).then(res=>{
|
||||||
console.log(res)
|
console.log(res)
|
||||||
|
|
@ -1028,16 +1027,15 @@
|
||||||
const getmenu = () => {
|
const getmenu = () => {
|
||||||
queryPadPageList().then((res => {
|
queryPadPageList().then((res => {
|
||||||
leftMenuArray.value = res.result.records;
|
leftMenuArray.value = res.result.records;
|
||||||
// console.log(leftMenuArray.value)
|
let arr = filteredMenu(2);
|
||||||
filteredMenu(2).forEach((element : any, index : number) => {
|
arr.forEach((element : any, index : number) => {
|
||||||
if (element.nuId === uni.getStorageSync('NUall').nuId) {
|
if (element.nuId == uni.getStorageSync('NUall').nuId) {
|
||||||
menutarget.value = index;
|
menutarget.value = index;
|
||||||
clickmenu(index)
|
clickmenu(index)
|
||||||
}
|
}
|
||||||
if(element.readList==null){
|
if(element.readList==null){
|
||||||
element.flag = false
|
element.flag = false
|
||||||
}
|
}else if(element.readList.length>0){
|
||||||
if(element.readList.length>0){
|
|
||||||
element.readList.forEach(k=>{
|
element.readList.forEach(k=>{
|
||||||
if(k.type=='pdd'){
|
if(k.type=='pdd'){
|
||||||
element.flag = true
|
element.flag = true
|
||||||
|
|
|
||||||
|
|
@ -654,7 +654,7 @@
|
||||||
<scroll-view scroll-x="true" class="middle-Y" :scroll-left="Invoiscroll" scroll-with-animation>
|
<scroll-view scroll-x="true" class="middle-Y" :scroll-left="Invoiscroll" scroll-with-animation>
|
||||||
<view class="middle-Y-father">
|
<view class="middle-Y-father">
|
||||||
<view class="middle-one" v-for="(v,i) in InvoicingList" :key='i'
|
<view class="middle-one" v-for="(v,i) in InvoicingList" :key='i'
|
||||||
:style="{border: middletarget === i? '4rpx dashed #1083F8': '4rpx solid transparent',backgroundColor:middletarget === i?`#F9FCFF`:``}"
|
:style="{border: middletarget === i? '4rpx dashed #1083F8': '4rpx solid transparent',backgroundColor:middletarget === i?`#F9FCFF`:`` }"
|
||||||
@click="clickmiddle(i)">
|
@click="clickmiddle(i)">
|
||||||
<view :class="v.status<2?`up-tags-target`: `up-tags`">
|
<view :class="v.status<2?`up-tags-target`: `up-tags`">
|
||||||
{{v.status_dictText}}
|
{{v.status_dictText}}
|
||||||
|
|
@ -1512,7 +1512,7 @@
|
||||||
middletarget.value = index;
|
middletarget.value = index;
|
||||||
showvalue.value = InvoicingList.value[index];
|
showvalue.value = InvoicingList.value[index];
|
||||||
showvalue.value.jianhuobtn = false;
|
showvalue.value.jianhuobtn = false;
|
||||||
Invoiscroll.value = (index - 2) * 172;
|
Invoiscroll.value = (index - 1) * 172;
|
||||||
if (Number(showvalue.value.status) == 0 || (Number(showvalue.value.status) > 0 && Number(showvalue.value.wrksl) > 0)) {
|
if (Number(showvalue.value.status) == 0 || (Number(showvalue.value.status) > 0 && Number(showvalue.value.wrksl) > 0)) {
|
||||||
showvalue.value.maxnum = (showvalue.value.rksl == 0 && showvalue.value.wrksl == 0 && showvalue.value.xzsl == 0) ? showvalue.value.purchaseQuantity : showvalue.value.wrksl
|
showvalue.value.maxnum = (showvalue.value.rksl == 0 && showvalue.value.wrksl == 0 && showvalue.value.xzsl == 0) ? showvalue.value.purchaseQuantity : showvalue.value.wrksl
|
||||||
showvalue.value.num = showvalue.value.maxnum;
|
showvalue.value.num = showvalue.value.maxnum;
|
||||||
|
|
@ -2546,7 +2546,7 @@
|
||||||
margin-left: 5%;
|
margin-left: 5%;
|
||||||
|
|
||||||
.middle-Y {
|
.middle-Y {
|
||||||
width: 98%;
|
width: 96%;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
margin-left: 2%;
|
margin-left: 2%;
|
||||||
// margin-right: 2%;
|
// margin-right: 2%;
|
||||||
|
|
|
||||||
|
|
@ -51,7 +51,7 @@
|
||||||
<view class="gray-box-bgc">
|
<view class="gray-box-bgc">
|
||||||
<scroll-view style="width: 100%;height: 100%;" scroll-y :show-scrollbar="true">
|
<scroll-view style="width: 100%;height: 100%;" scroll-y :show-scrollbar="true">
|
||||||
<view style="margin-bottom: 10rpx;">
|
<view style="margin-bottom: 10rpx;">
|
||||||
1、服务条款与隐私政策确认:登录即表示您已阅读并同意《NU 护理单元用户服务协议》及《NU 护理单元隐私信息保护政策》,其中包含对您权利义务、个人信息处理的详细说明。
|
1、服务条款与隐私政策确认:登录即表示您已阅读并同意《护理单元用户服务协议》及《护理单元隐私信息保护政策》,其中包含对您权利义务、个人信息处理的详细说明。
|
||||||
</view>
|
</view>
|
||||||
<view style="margin-bottom: 10rpx;">
|
<view style="margin-bottom: 10rpx;">
|
||||||
2、账号使用规范:账号仅限本人使用,禁止恶意注册、转借或泄露。请妥善保管账号密码,因保管不善导致的账号安全问题,由您自行承担责任。
|
2、账号使用规范:账号仅限本人使用,禁止恶意注册、转借或泄露。请妥善保管账号密码,因保管不善导致的账号安全问题,由您自行承担责任。
|
||||||
|
|
|
||||||
|
|
@ -177,7 +177,6 @@
|
||||||
type.value = a.find(item=>
|
type.value = a.find(item=>
|
||||||
item.unit == props.caigouobj.wlUnits
|
item.unit == props.caigouobj.wlUnits
|
||||||
);
|
);
|
||||||
console.log(props.caigouobj.wlUnits,type.value)
|
|
||||||
}else{
|
}else{
|
||||||
type.value = a.find(item=>
|
type.value = a.find(item=>
|
||||||
item.multiUnitType == props.caigouobj.multiUnitType
|
item.multiUnitType == props.caigouobj.multiUnitType
|
||||||
|
|
|
||||||
|
|
@ -136,6 +136,7 @@
|
||||||
let absy = Math.abs(y - pageY.value)
|
let absy = Math.abs(y - pageY.value)
|
||||||
if (absy > 30 && absx+10<absy&& absx<70) {
|
if (absy > 30 && absx+10<absy&& absx<70) {
|
||||||
if(v.zk==false){
|
if(v.zk==false){
|
||||||
|
v.scrollleft = 1
|
||||||
setTimeout(()=>{
|
setTimeout(()=>{
|
||||||
v.scrollleft = 0
|
v.scrollleft = 0
|
||||||
},20)
|
},20)
|
||||||
|
|
@ -460,6 +461,7 @@
|
||||||
>image {
|
>image {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
|
border-radius: 1.1vw;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -120,7 +120,6 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
const addcartory =(e:any)=>{
|
const addcartory =(e:any)=>{
|
||||||
console.log(`eeeeeeeeeee`,e)
|
|
||||||
caigouobj.value = e;
|
caigouobj.value = e;
|
||||||
|
|
||||||
addflag.value = true;
|
addflag.value = true;
|
||||||
|
|
@ -173,7 +172,6 @@
|
||||||
const delindex =()=>{
|
const delindex =()=>{
|
||||||
let delstr = delobj.value.id;
|
let delstr = delobj.value.id;
|
||||||
deleteQgInfoById(delstr).then(res=>{
|
deleteQgInfoById(delstr).then(res=>{
|
||||||
|
|
||||||
if(res.success){
|
if(res.success){
|
||||||
uni.showToast({
|
uni.showToast({
|
||||||
icon:res.success?'success':'none',
|
icon:res.success?'success':'none',
|
||||||
|
|
@ -247,7 +245,17 @@
|
||||||
wlParamInfo:v.wlMaterialNo,
|
wlParamInfo:v.wlMaterialNo,
|
||||||
}
|
}
|
||||||
queryShoppingCartList(forms).then(res => {
|
queryShoppingCartList(forms).then(res => {
|
||||||
let obj = res.result.records[0];
|
let obj = {};
|
||||||
|
if(res.result.records.length>1){
|
||||||
|
res.result.records.forEach(item=>{
|
||||||
|
if(item.id==v.id){
|
||||||
|
obj = item
|
||||||
|
}
|
||||||
|
})
|
||||||
|
}else{
|
||||||
|
obj = res.result.records[0];
|
||||||
|
}
|
||||||
|
|
||||||
InvoicingList.value.forEach((item,i)=>{
|
InvoicingList.value.forEach((item,i)=>{
|
||||||
if(item.id == obj.id){
|
if(item.id == obj.id){
|
||||||
obj.flag = v.flag;
|
obj.flag = v.flag;
|
||||||
|
|
|
||||||
|
|
@ -59,8 +59,8 @@
|
||||||
<view class="box-any" @touchmove.prevent>
|
<view class="box-any" @touchmove.prevent>
|
||||||
<view class="title-left">
|
<view class="title-left">
|
||||||
<!-- <image class="back-img" src="/static/left.png" @click="openany=false"></image> -->
|
<!-- <image class="back-img" src="/static/left.png" @click="openany=false"></image> -->
|
||||||
<view v-if="!opentype" class="back-font">NU护理单元隐私信息保护政策</view>
|
<view v-if="!opentype" class="back-font">护理单元隐私信息保护政策</view>
|
||||||
<view v-if="opentype" class="back-font">NU护理单元用户服务协议</view>
|
<view v-if="opentype" class="back-font">护理单元用户服务协议</view>
|
||||||
</view>
|
</view>
|
||||||
<twoseven v-if="!opentype" />
|
<twoseven v-if="!opentype" />
|
||||||
<oneseven v-if="opentype" />
|
<oneseven v-if="opentype" />
|
||||||
|
|
|
||||||
|
|
@ -73,8 +73,8 @@
|
||||||
<view class="box-any" @touchmove.prevent>
|
<view class="box-any" @touchmove.prevent>
|
||||||
<view class="title-left">
|
<view class="title-left">
|
||||||
<!-- <image class="back-img" src="/static/left.png" @click="openany=false"></image> -->
|
<!-- <image class="back-img" src="/static/left.png" @click="openany=false"></image> -->
|
||||||
<view v-if="!opentype" class="back-font">NU护理单元隐私信息保护政策</view>
|
<view v-if="!opentype" class="back-font">护理单元隐私信息保护政策</view>
|
||||||
<view v-if="opentype" class="back-font">NU护理单元用户服务协议</view>
|
<view v-if="opentype" class="back-font">护理单元用户服务协议</view>
|
||||||
</view>
|
</view>
|
||||||
<twoseven v-if="!opentype" />
|
<twoseven v-if="!opentype" />
|
||||||
<oneseven v-if="opentype" />
|
<oneseven v-if="opentype" />
|
||||||
|
|
|
||||||
|
After Width: | Height: | Size: 542 B |
|
After Width: | Height: | Size: 526 B |
|
Before Width: | Height: | Size: 2.1 KiB After Width: | Height: | Size: 2.3 KiB |
|
Before Width: | Height: | Size: 2.5 KiB After Width: | Height: | Size: 2.8 KiB |
|
Before Width: | Height: | Size: 2.9 KiB After Width: | Height: | Size: 3.1 KiB |
|
Before Width: | Height: | Size: 3.2 KiB After Width: | Height: | Size: 3.6 KiB |
|
Before Width: | Height: | Size: 2.3 KiB After Width: | Height: | Size: 2.5 KiB |
|
Before Width: | Height: | Size: 2.9 KiB After Width: | Height: | Size: 3.1 KiB |
|
Before Width: | Height: | Size: 2.1 KiB After Width: | Height: | Size: 2.3 KiB |
|
Before Width: | Height: | Size: 2.0 KiB After Width: | Height: | Size: 2.3 KiB |
|
Before Width: | Height: | Size: 3.2 KiB After Width: | Height: | Size: 3.4 KiB |
|
Before Width: | Height: | Size: 2.5 KiB After Width: | Height: | Size: 2.8 KiB |
|
Before Width: | Height: | Size: 2.8 KiB After Width: | Height: | Size: 3.1 KiB |
|
Before Width: | Height: | Size: 3.5 KiB After Width: | Height: | Size: 4.0 KiB |
|
Before Width: | Height: | Size: 4.2 KiB After Width: | Height: | Size: 4.9 KiB |
|
|
@ -570,7 +570,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
||||||
)
|
)
|
||||||
]);
|
]);
|
||||||
}
|
}
|
||||||
const camera = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["styles", [_style_0]], ["__file", "D:/hldy_app_mini/pages/camera.nvue"]]);
|
const camera = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["styles", [_style_0]], ["__file", "D:/项目/hldy_app_mini/pages/camera.nvue"]]);
|
||||||
export {
|
export {
|
||||||
camera as default
|
camera as default
|
||||||
};
|
};
|
||||||
|
|
|
||||||
|
|
@ -578,7 +578,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
||||||
)
|
)
|
||||||
]);
|
]);
|
||||||
}
|
}
|
||||||
const fullcamera = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["styles", [_style_0]], ["__file", "D:/hldy_app_mini/pages/fullcamera.nvue"]]);
|
const fullcamera = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["styles", [_style_0]], ["__file", "D:/项目/hldy_app_mini/pages/fullcamera.nvue"]]);
|
||||||
export {
|
export {
|
||||||
fullcamera as default
|
fullcamera as default
|
||||||
};
|
};
|
||||||
|
|
|
||||||