This commit is contained in:
wangweidong 2025-12-22 13:19:05 +08:00
parent 2085d90da2
commit fa55257cdc
8 changed files with 52 additions and 33 deletions

View File

@ -2,8 +2,8 @@
"name" : "护理单元", "name" : "护理单元",
"appid" : "__UNI__FB2D473", "appid" : "__UNI__FB2D473",
"description" : "护理单元", "description" : "护理单元",
"versionName" : "1.0.016", "versionName" : "1.0.018",
"versionCode" : 10016, "versionCode" : 10018,
"transformPx" : false, "transformPx" : false,
/* 5+App */ /* 5+App */
"app-plus" : { "app-plus" : {

View File

@ -73,6 +73,7 @@
<view class="ld" v-if="v.izStart=='Y'&& v.izFinish=='N'" @click="end(v)">结束服务</view> <view class="ld" v-if="v.izStart=='Y'&& v.izFinish=='N'" @click="end(v)">结束服务</view>
<view class="bd" v-if="(v.izStart=='Y'&& v.izFinish=='N')||v.manuallyMp4Path!=null" @click="ysptp(v,i,2)">录像</view> <view class="bd" v-if="(v.izStart=='Y'&& v.izFinish=='N')||v.manuallyMp4Path!=null" @click="ysptp(v,i,2)">录像</view>
<view class="bd" v-if="(v.izStart=='Y'&& v.izFinish=='N')|| v.manuallyPicPath!=null" @click="ysptp(v,i,1)" >拍照</view> <view class="bd" v-if="(v.izStart=='Y'&& v.izFinish=='N')|| v.manuallyPicPath!=null" @click="ysptp(v,i,1)" >拍照</view>
<view class="bd" v-if="(v.izStart=='Y'&& v.izFinish=='Y')&&v.tplinkPath!=null" @click="ysptp(v,i,3)">Tplink</view>
</view> </view>
</view> </view>
@ -216,7 +217,7 @@
} }
const firstgetqueryCgdList = () => { const firstgetqueryCgdList = () => {
queryCareList(form).then(res => { queryCareList(form).then(res => {
console.log(res) console.log(form)
plsbuy.value.push(...res.result.records); plsbuy.value.push(...res.result.records);
status.value = res.result.total == plsbuy.value.length ? 'nomore' : 'loadmore'; status.value = res.result.total == plsbuy.value.length ? 'nomore' : 'loadmore';
if(form.pageNo==1){ if(form.pageNo==1){
@ -285,7 +286,11 @@
}else if(r == 2&&v.manuallyMp4Path){ }else if(r == 2&&v.manuallyMp4Path){
ilanarr.value = v.manuallyMp4Path.split(","); ilanarr.value = v.manuallyMp4Path.split(",");
ilanarr.value = ilanarr.value.filter(item => item !== ''); ilanarr.value = ilanarr.value.filter(item => item !== '');
}else{ }else if(r == 3&&v.tplinkPath){
ilanarr.value = v.tplinkPath.split(",");
ilanarr.value = ilanarr.value.filter(item => item !== '');
}
else{
ilanarr.value = []; ilanarr.value = [];
} }

View File

@ -10,7 +10,7 @@
{{ uni.getStorageSync('realname') }} {{ uni.getStorageSync('realname') }}
</view> </view>
</view> </view>
<view class="lingdang"> <view class="lingdang" v-show="!leftarraytarget">
<image class="lingdang-img" src="/static/shouye/lingdang.png" /> <image class="lingdang-img" src="/static/shouye/lingdang.png" />
<view class="hongdian"></view> <view class="hongdian"></view>
</view> </view>
@ -30,8 +30,13 @@
<view class="yanfazhong" v-show="leftarraytarget==3"> <view class="yanfazhong" v-show="leftarraytarget==3">
研发中... 研发中...
</view> </view>
<view class="componentall" v-show="leftarraytarget==4"> <view class="componentall" v-show="leftarraytarget==4&&ldflagindex==0">
<menusettings :isShow="leftarraytarget==4" /> <menusettings :isShow="leftarraytarget==4" @leftarray="leftarray"/>
</view>
<view class="componentall" v-show="ldflagindex>9" style="margin-top: -2vh;">
<leida v-if="ldflagindex==10"></leida>
<saoma v-if="ldflagindex==11"></saoma>
<inputing v-if="ldflagindex==12"></inputing>
</view> </view>
<view class="componentall" v-show="leftarraytarget==1 || leftarraytarget==2"> <view class="componentall" v-show="leftarraytarget==1 || leftarraytarget==2">
<scroll-view scroll-y class="componentall" > <scroll-view scroll-y class="componentall" >
@ -102,7 +107,9 @@
import exit from "@/component/public/exit.vue" import exit from "@/component/public/exit.vue"
import menusettings from '@/pages/watch/settings/menusettings.vue' import menusettings from '@/pages/watch/settings/menusettings.vue'
import { queryPadPageList } from '@/pages/watch/api/lunpan.js' import { queryPadPageList } from '@/pages/watch/api/lunpan.js'
import leida from '@/pages/watch/settings/leida.vue'
import saoma from '@/pages/watch/settings/saoma.vue'
import inputing from '@/pages/watch/settings/input.vue'
const menuarray = ref(["", "", "", "", "", ""]) const menuarray = ref(["", "", "", "", "", ""])
const leftarraytarget = ref(0); const leftarraytarget = ref(0);
// //
@ -144,6 +151,10 @@
}) })
} }
} }
const ldflagindex = ref(0)
const leftarray =(e)=>{
ldflagindex.value = e;
}
const exitshow = ref(false); const exitshow = ref(false);
const cardarray = ref([]) const cardarray = ref([])
@ -162,7 +173,7 @@
// console.log("??11111111",cardarray.value) // console.log("??11111111",cardarray.value)
} }
leftarraytarget.value = index; leftarraytarget.value = index;
ldflagindex.value = 0;
} }
</script> </script>
@ -279,7 +290,7 @@
} }
.componentall{ .componentall{
width: 100%; width: 100%;
height: 100%; height: 96%;
// background-color: red; // background-color: red;
} }
.card-father{ .card-father{

View File

@ -1,9 +1,9 @@
<template> <template>
<view class="index-content-other"> <view class="index-content-other">
<view class="index-content-right" @click="goback"> <!-- <view class="index-content-right" @click="goback">
<image class="back-img" :src="`/static/index/settings/back.png`" /> <image class="back-img" :src="`/static/index/settings/back.png`" />
返回 返回
</view> </view> -->
<view class="saomiao"> <view class="saomiao">
<view class="big-ball" v-if="!allitem.nuName"> <view class="big-ball" v-if="!allitem.nuName">
<view class="ball"></view> <view class="ball"></view>
@ -158,7 +158,7 @@
.index-content-down { .index-content-down {
// width: calc(100% - 60rpx); // width: calc(100% - 60rpx);
// height: 100rpx; // height: 100rpx;
position: absolute; position: fixed;
bottom: 40rpx; bottom: 40rpx;
left: 50%; left: 50%;
transform: translateX(-50%); transform: translateX(-50%);

View File

@ -1,9 +1,9 @@
<template> <template>
<view class="index-content-other"> <view class="index-content-other">
<view class="index-content-right" @click="goback"> <!-- <view class="index-content-right" @click="goback">
<image class="back-img" :src="`/static/index/settings/back.png`" /> <image class="back-img" :src="`/static/index/settings/back.png`" />
返回 返回
</view> </view> -->
<view class="left-contain"> <view class="left-contain">
<view class="blue-bgc"> <view class="blue-bgc">
<image class="all-img" src="/static/index/leida/leftbgc.png" /> <image class="all-img" src="/static/index/leida/leftbgc.png" />

View File

@ -1,5 +1,5 @@
<template> <template>
<scroll-view scroll-y class="index-content-other" :style="transition?{opacity: `1`}:{opacity: `0`}"> <view scroll-y class="index-content-other" :style="transition?{opacity: `1`}:{opacity: `0`}">
<view class="array-father"> <view class="array-father">
<view v-for="(item,index) in iconsArray.slice(0,3)" :key="index" class="item" @click="jumpToTarget(index)"> <view v-for="(item,index) in iconsArray.slice(0,3)" :key="index" class="item" @click="jumpToTarget(index)">
@ -68,7 +68,7 @@
</view> </view>
<!-- </view> --> <!-- </view> -->
</scroll-view> </view>
<view class="bg-mask" v-if="selectserve"> <view class="bg-mask" v-if="selectserve">
<view @click.stop class="white-select"> <view @click.stop class="white-select">
<view class="big-font"> <view class="big-font">
@ -88,7 +88,7 @@
</template> </template>
<script setup lang="ts"> <script setup lang="ts">
import { ref, onMounted, watch, nextTick } from 'vue' import { ref, onMounted, onBeforeUnmount, computed, nextTick, watch, reactive } from 'vue';
import exit from "@/component/public/exit.vue" import exit from "@/component/public/exit.vue"
import reset from "@/component/public/reset.vue" import reset from "@/component/public/reset.vue"
import ZyUpdate from '@/component/zy-upgrade/zy-upgrade.vue' import ZyUpdate from '@/component/zy-upgrade/zy-upgrade.vue'
@ -101,7 +101,7 @@
const opentype = ref(false); const opentype = ref(false);
// const exitshow = ref(false); // const exitshow = ref(false);
const resetshow = ref(false); const resetshow = ref(false);
const emit = defineEmits(['jump']) const emit = defineEmits(['jump','leftarray'])
// const props = defineProps({ isShow: { type: Boolean, required: true } }) // const props = defineProps({ isShow: { type: Boolean, required: true } })
const iconsArray = ref(["雷达扫描", "扫码添加", "手动录入", "修改密码", "切换机构", "检查更新", "用户协议", "隐私政策"]) const iconsArray = ref(["雷达扫描", "扫码添加", "手动录入", "修改密码", "切换机构", "检查更新", "用户协议", "隐私政策"])
@ -147,19 +147,22 @@
const jumpToTarget = (index : number) => { const jumpToTarget = (index : number) => {
switch (index) { switch (index) {
case 0: case 0:
uni.navigateTo({ emit('leftarray',10)
url: '/pages/watch/settings/leida' // uni.navigateTo({
}) // url: '/pages/watch/settings/leida'
// })
break break
case 1: case 1:
uni.navigateTo({ emit('leftarray',11)
url: '/pages/watch/settings/saoma' // uni.navigateTo({
}) // url: '/pages/watch/settings/saoma'
// })
break break
case 2: case 2:
uni.navigateTo({ emit('leftarray',12)
url: '/pages/watch/settings/input' // uni.navigateTo({
}) // url: '/pages/watch/settings/input'
// })
break break
case 3: case 3:
resetshow.value = true resetshow.value = true
@ -231,7 +234,7 @@
align-items: center; align-items: center;
justify-content: space-between; justify-content: space-between;
width: 100%; width: 100%;
height: 130rpx; height: 115rpx;
.left-item { .left-item {
display: flex; display: flex;

View File

@ -1,9 +1,9 @@
<template> <template>
<view class="index-content-other"> <view class="index-content-other">
<view class="index-content-right" @click="goback"> <!-- <view class="index-content-right" @click="goback">
<image class="back-img" :src="`/static/index/settings/back.png`" /> <image class="back-img" :src="`/static/index/settings/back.png`" />
返回 返回
</view> </view> -->
<view class="saomiao"> <view class="saomiao">
<view class="card" v-if="allitem.nuName"> <view class="card" v-if="allitem.nuName">

View File

@ -1,9 +1,9 @@
<template> <template>
<view class="index-content-other"> <view class="index-content-other">
<view class="index-content-right" @click="goback"> <!-- <view class="index-content-right" @click="goback">
<image class="back-img" :src="`/static/index/settings/back.png`" /> <image class="back-img" :src="`/static/index/settings/back.png`" />
返回 返回
</view> </view> -->
<view class="array-father"> <view class="array-father">
<view v-for="(item,index) in iconsArray.slice(0,3)" :key="index" class="item" @click="jumpToTarget(index)"> <view v-for="(item,index) in iconsArray.slice(0,3)" :key="index" class="item" @click="jumpToTarget(index)">
<view class="left-item"> <view class="left-item">