This commit is contained in:
wangweidong 2025-10-15 14:25:27 +08:00
commit 709235f574
229 changed files with 1699 additions and 917 deletions

View File

@ -288,10 +288,13 @@
src="/static/index/newruler/jiao.png" /> src="/static/index/newruler/jiao.png" />
<image class="title-time-button" v-show="item.cycleType ==='即时护理'" <image class="title-time-button" v-show="item.cycleType ==='即时护理'"
src="/static/index/newruler/jiao.png" /> src="/static/index/newruler/jiao.png" />
<image class="right-box-img" :src="thirdmenuIndex==index?item.immediateFileFocus:item.immediateFile" /> <image class="right-box-img"
<view class="right-box-font" style="font-size: 20rpx;margin-top: 2rpx;" :src="thirdmenuIndex==index?item.netImmediateFileFocus :item.netImmediateFile " />
:style="thirdmenuIndex==index?{color:`rgb(54, 159, 239)`}:{}"> <view class="right-box-font" :style="[
{{item.title}} { marginTop: '2rpx', fontSize: (item.title?.trim().length > 6) ? '15rpx' : '20rpx' },
thirdmenuIndex === index ? { color: 'rgb(54,159,239)' } : {}
]">
{{ item.title }}
</view> </view>
</view> </view>
</view> </view>
@ -1658,14 +1661,23 @@
iszhouqi.value = true iszhouqi.value = true
return return
} }
let cycleType = "" let cycleType = "";
let cycleValue = "";
if (allobject.cycleType === "日常护理") { if (allobject.cycleType === "日常护理") {
cycleType = "日常" cycleType = "日常"
} else { } else {
if (weekIndex.value !== -1) { if (weekIndex.value !== -1) {
cycleType = weekValue.value cycleType = weekValue.value
let cycleTypeIndex = 0;
weekDays.forEach((element:any,index:any)=>{
if(element == weekValue.value){
cycleTypeIndex = index
}
})
cycleValue = cycleTypeIndex.toString()
} else { } else {
cycleType = monthValue.value + "号" cycleType = monthValue.value + "号";
cycleValue = monthValue.value
} }
iszhouqi.value = false; iszhouqi.value = false;
weekIndex.value = -1; weekIndex.value = -1;
@ -1681,19 +1693,47 @@
const formattedEnd = `${String(endHour)}:${String(endMinute % 60).padStart(2, '0')}` const formattedEnd = `${String(endHour)}:${String(endMinute % 60).padStart(2, '0')}`
timearr.value[saveEditIndex.value.index0].children[saveEditIndex.value.index1].startTime = formattedStart timearr.value[saveEditIndex.value.index0].children[saveEditIndex.value.index1].startTime = formattedStart
timearr.value[saveEditIndex.value.index0].children[saveEditIndex.value.index1].endTime = formattedEnd timearr.value[saveEditIndex.value.index0].children[saveEditIndex.value.index1].endTime = formattedEnd
// const moBan = ref({
// directiveId: "",
// directiveName: "",
// typeId:"",
// typeName:"",
// categoryId:"",
// categoryName:"",
// cycleTypeId:"",
// cycleType:"",
// cycleValue:"",
// startTime: "",
// endTime: "",
// positioning: "",
// positioningLong: "",
// izPackage:false,
// previewFile:"",
// previewFileSmall:"",
// immediateFile:"",
// immediateFileFocus:"",
// tagName: "",
// })
// console.log("))))",allobject)
let param = { let param = {
directiveId: allobject.id, directiveId: allobject.id,
directiveName: allobject.title, directiveName: allobject.title,
typeId: allobject.typeId,
typeName: allobject.typeName,
categoryId: allobject.categoryId,
categoryName: allobject.categoryName,
cycleTypeId: allobject.cycleTypeId,
cycleType: cycleType,
cycleValue: cycleValue,
startTime: formattedStart, startTime: formattedStart,
endTime: formattedEnd, endTime: formattedEnd,
positioning: saveEditIndex.value.index0.toString(), positioning: saveEditIndex.value.index0.toString(),
positioningLong: saveEditIndex.value.index1.toString(), positioningLong: saveEditIndex.value.index1.toString(),
// tagName: allobject.tagName, izPackage: false,
cycleType: cycleType, previewFile: allobject.previewFile,
nuId: uni.getStorageSync('nuId'), previewFileSmall: allobject.previewFileSmall,
customerId: uni.getStorageSync('customerId'), immediateFile: allobject.immediateFile,
id: "", immediateFileFocus: allobject.immediateFileFocus,
tagName: timearr.value[saveEditIndex.value.index0].children[saveEditIndex.value.index1].tagName, tagName: timearr.value[saveEditIndex.value.index0].children[saveEditIndex.value.index1].tagName,
} }
// //
@ -1733,16 +1773,16 @@
}) })
}) })
console.log("00000", postArray) console.log("00000", postArray)
addBatch(postArray).then(() => { // addBatch(postArray).then(() => {
getNclist(uni.getStorageSync('nuId'), uni.getStorageSync('customerId')).then((res : any) => { // getNclist(uni.getStorageSync('nuId'), uni.getStorageSync('customerId')).then((res : any) => {
if (res.success) { // if (res.success) {
console.log("new", res.result) // console.log("new", res.result)
timearr.value = res.result // timearr.value = res.result
} // }
}) // })
}) // })
} }
const routerPush = () => { const routerPush = () => {
uni.setStorage({ uni.setStorage({
@ -1801,6 +1841,7 @@
onShow(() => { onShow(() => {
getServiceTree().then((res : any) => { getServiceTree().then((res : any) => {
// console.log("?????",res)
res.result.forEach((element : any) => { res.result.forEach((element : any) => {
if (element.netFlag == '0') { if (element.netFlag == '0') {
doctorsayList.value.forEach((res : any) => { doctorsayList.value.forEach((res : any) => {
@ -1811,7 +1852,7 @@
} else { } else {
element.url = element.animationPath element.url = element.animationPath
} }
element.children.forEach((res1:any) => { element.children.forEach((res1 : any) => {
if (res1.netFlag == '0') { if (res1.netFlag == '0') {
secondtemp.value.forEach((res2 : any) => { secondtemp.value.forEach((res2 : any) => {
if (res2.name == res1.title) { if (res2.name == res1.title) {
@ -1859,20 +1900,30 @@
index0: 999, index0: 999,
index1: 999 index1: 999
}) })
// tagName: "",
// nuId: uni.getStorageSync('nuId'),
// customerId: uni.getStorageSync('customerId'),
// id: "",
const moBan = ref({ const moBan = ref({
directiveId: "", directiveId: "",
directiveName: "", directiveName: "",
typeId: "",
typeName: "",
categoryId: "",
categoryName: "",
cycleTypeId: "",
cycleType: "",
cycleValue: "",
startTime: "", startTime: "",
endTime: "", endTime: "",
positioning: "", positioning: "",
positioningLong: "", positioningLong: "",
// tagName: "", izPackage: false,
cycleType: "", previewFile: "",
nuId: uni.getStorageSync('nuId'), previewFileSmall: "",
customerId: uni.getStorageSync('customerId'), immediateFile: "",
id: "", immediateFileFocus: "",
tagName: "" tagName: "",
}) })
// bigArray // bigArray
function splitString(str) { function splitString(str) {

View File

@ -34,7 +34,7 @@
<view class="left-head" @click="testAsyncFunc"> <view class="left-head" @click="testAsyncFunc">
<image class="left-head-img" src="/static/index/oldman.png" /> <image class="left-head-img" src="/static/index/oldman.png" />
<text :class="darkFans?`left-head-font-dark`:`left-head-font`"> <text :class="darkFans?`left-head-font-dark`:`left-head-font`">
王金福 {{ uni.getStorageSync('NUall').elderInfo?uni.getStorageSync('NUall').elderInfo.name:"" }}
</text> </text>
</view> </view>
<view class="menus-father"> <view class="menus-father">
@ -630,6 +630,7 @@
.left-head-font { .left-head-font {
font-weight: 700; font-weight: 700;
font-size: 32rpx; font-size: 32rpx;
height: 32rpx;
} }
.left-head-font-dark { .left-head-font-dark {

View File

@ -1,27 +1,31 @@
<template> <template>
<view :class="darkFans?`darkbackgroundContainer`:`backgroundContainer`" v-show="isShow"> <view :class="darkFans?`darkbackgroundContainer`:`backgroundContainer`" v-show="isShow">
<view class="wareaitem"> <view class="wareaitem">
<view class="wareaitem-item"> <view class="wareaitem-item">
<view class="tp" :class="'itemact'+(index+1)" v-for="(item,index) in animArray" :key='index' @click.stop="housactive(index)"> <view class="tp" :class="'itemact'+(index+1)" v-for="(item,index) in animArray" :key='index'
<image :src="'/static/index/warehouse/active/w'+index+'.png'" mode="aspectFill" v-if="housedex!=index"></image> @click.stop="housactive(index)">
<donghua :width="item.width" :height="item.height" :links="item.url" :playing="index === housedex" v-show="index === housedex"/> <image :src="'/static/index/warehouse/active/w'+index+'.png'" mode="aspectFill"
v-if="housedex!=index"></image>
<donghua :width="item.width" :height="item.height" :links="item.url" :playing="index === housedex"
v-show="index === housedex" />
<!-- <image :src="'/static/index/warehouse/active/i'+index+'.png'" mode="aspectFill" v-if="housedex==index"></image> --> <!-- <image :src="'/static/index/warehouse/active/i'+index+'.png'" mode="aspectFill" v-if="housedex==index"></image> -->
</view> </view>
<view class="tp" :class="'wareitem'+index" v-for="(item,index) in 12" :key='index' > <view class="tp" :class="'wareitem'+index" v-for="(item,index) in 12" :key='index'>
<image :src="'/static/index/warehouse/w'+index+'.png'" mode="aspectFill"></image> <image :src="'/static/index/warehouse/w'+index+'.png'" mode="aspectFill"></image>
</view> </view>
<view class="tp ys" > <view class="tp ys">
<image :src="'/static/index/warehouse/i7.png'" mode="aspectFill" ></image> <image :src="'/static/index/warehouse/i7.png'" mode="aspectFill"></image>
</view> </view>
<view class="tp gifs" > <view class="tp gifs">
<image src="/static/index/warehouse/ys.gif" mode="aspectFill"></image> <image src="/static/index/warehouse/ys.gif" mode="aspectFill"></image>
</view> </view>
<view class="tp wclik" @click.stop="housactive(1)"> <view class="tp wclik" @click.stop="housactive(1)">
<!-- 采购增加层级高度方便点击 --> <!-- 采购增加层级高度方便点击 -->
</view> </view>
</view> </view>
<view class="annotation" :class="'annotation'+(i+1)" v-for="(v,i) in ['付款','采购','结账','拣货','护理单元','中控室']" :key='i'> <view class="annotation" :class="'annotation'+(i+1)" v-for="(v,i) in ['付款','采购','结账','拣货','护理单元','中控室']"
:key='i'>
<view>{{v}}</view> <view>{{v}}</view>
<view class="tp"> <view class="tp">
<image src="/static/index/warehouse/y1.png" mode="aspectFill"></image> <image src="/static/index/warehouse/y1.png" mode="aspectFill"></image>
@ -30,113 +34,112 @@
<image src="/static/index/warehouse/y0.png" mode="aspectFill"></image> <image src="/static/index/warehouse/y0.png" mode="aspectFill"></image>
</view> </view>
</view> </view>
<arrowkeys @movecard="movecard" :getblue="getblue" :moveleft="45" /> <arrowkeys @movecard="movecard" :getblue="getblue" :moveleft="45" />
<view class="operationbtn"> <view class="operationbtn">
<view v-for="(v,i) in ['请领出库','退货入库','库存盘点','实时监控']" <view v-for="(v,i) in ['请领出库','退货入库','库存盘点','实时监控']" @tap="onTap(i)"
@tap="onTap(i)" :class="beblue === i ? 'click-box-target grad-text' : 'click-box'">{{v}}</view>
:class="beblue === i ? 'click-box-target grad-text' : 'click-box'">{{v}}</view>
</view> </view>
</view> </view>
</view> </view>
</template> </template>
<script setup lang="ts"> <script setup lang="ts">
import { ref, onMounted, onBeforeUnmount, computed, nextTick,defineProps } from 'vue'; import { ref, onMounted, onBeforeUnmount, computed, nextTick, defineProps } from 'vue';
const darkFans = ref(false); const darkFans = ref(false);
const getblue = ref(false); const getblue = ref(false);
const props = defineProps({ const props = defineProps({
isShow: { isShow: {
type: Boolean, type: Boolean,
required: true, required: true,
}, },
}); });
const housedex = ref(-1); const housedex = ref(-1);
const housactive = (index : number) => { const housactive = (index : number) => {
if(index>5){return} if (index > 5) { return }
housedex.value = index; housedex.value = index;
} }
const navurl = ref(''); const navurl = ref('');
const movecard = (type : number) => { const movecard = (type : number) => {
console.log(type) console.log(type)
switch (type){ switch (type) {
case 0: case 0:
// //
housedex.value>0?housedex.value--:housedex.value = 3 housedex.value > 0 ? housedex.value-- : housedex.value = 3
break; break;
case 1: case 1:
housedex.value>2?housedex.value = 0:housedex.value++ housedex.value > 2 ? housedex.value = 0 : housedex.value++
// //
break; break;
case 2: case 2:
housedex.value>2?housedex.value = 0:housedex.value++ housedex.value > 2 ? housedex.value = 0 : housedex.value++
// //
break; break;
case 3: case 3:
housedex.value>0?housedex.value--:housedex.value = 3 housedex.value > 0 ? housedex.value-- : housedex.value = 3
// //
break; break;
case 4: case 4:
// //
console.log('选中'+housedex.value) console.log('选中' + housedex.value)
if(housedex.value==1){ if (housedex.value == 1) {
navurl.value = 'pages/Warehouse/procurement' navurl.value = 'pages/Warehouse/procurement'
}
uni.navigateTo({
url: '/' + navurl.value
})
break;
case 5:
//
uni.navigateBack()
break;
default:
break;
} }
}
uni.navigateTo({ const beblue = ref<number>(-1);
url:'/'+navurl.value let clickResetTimer : ReturnType<typeof setTimeout> | null = null;
}) //
break; function onTap(dir : number) {
case 5: clearClickResetTimer()
//
uni.navigateBack() beblue.value = dir
break; clickResetTimer = setTimeout(() => {
beblue.value = -1
default: clickResetTimer = null
break; }, 500)
} }
} function clearClickResetTimer() {
const beblue = ref<number>(-1); if (clickResetTimer) {
let clickResetTimer : ReturnType<typeof setTimeout> | null = null; clearTimeout(clickResetTimer)
// clickResetTimer = null
function onTap(dir : number) { }
clearClickResetTimer() }
beblue.value = dir //
clickResetTimer = setTimeout(() => { function genPaths(base, prefix, count, ext = 'png', startIndex = 0, pad = false) {
beblue.value = -1 return Array.from({ length: count }, (_, i) => {
clickResetTimer = null const idx = pad
}, 500) ? String(i + startIndex).padStart(2, '0')
} : i + startIndex
function clearClickResetTimer() { return `${base}/${prefix}${idx}.${ext}`
if (clickResetTimer) { })
clearTimeout(clickResetTimer) }
clickResetTimer = null const animArray = ref([
} {
} url: genPaths(
'/static/index/warehouse/animation',
// 'remit0',
function genPaths(base, prefix, count, ext = 'png', startIndex = 0, pad = false) { 5, //
return Array.from({ length: count }, (_, i) => { 'png',
const idx = pad 1, // 1
? String(i + startIndex).padStart(2, '0') false //
: i + startIndex ),
return `${base}/${prefix}${idx}.${ext}`
})
}
const animArray = ref([
{
url: genPaths(
'/static/index/warehouse/animation',
'remit0',
5, //
'png',
1, // 1
false //
),
width: '29vw', width: '29vw',
height: '21vw' height: '21vw'
} , },
{ {
url: genPaths( url: genPaths(
'/static/index/warehouse/animation', '/static/index/warehouse/animation',
@ -148,7 +151,7 @@
), ),
width: '26vw', width: '26vw',
height: '16vw' height: '16vw'
} , },
{ {
url: genPaths( url: genPaths(
'/static/index/warehouse/animation', '/static/index/warehouse/animation',
@ -160,7 +163,7 @@
), ),
width: '24vw', width: '24vw',
height: '16vw' height: '16vw'
} , },
{ {
url: genPaths( url: genPaths(
'/static/index/warehouse/animation', '/static/index/warehouse/animation',
@ -172,27 +175,28 @@
), ),
width: '17vw', width: '17vw',
height: '13vw' height: '13vw'
} }
]) ])
</script> </script>
<style lang="less"> <style lang="less" scoped>
.wareaitem{ .wareaitem {
width: 100%; width: 100%;
height: 100%; height: 100%;
position: fixed; position: fixed;
top: 0; top: 0;
left: 0; left: 0;
background: url('/static/index/warehouse/bg.png')no-repeat; background: url('/static/index/warehouse/bg.png')no-repeat;
background-size:cover cover; background-size: cover cover;
.tp{
image{ .tp {
image {
width: 100%; width: 100%;
height: 100%; height: 100%;
} }
} }
.operationbtn{
.operationbtn {
width: 20vw; width: 20vw;
height: 10vw; height: 10vw;
position: absolute; position: absolute;
@ -201,11 +205,12 @@
display: flex; display: flex;
justify-content: space-between; justify-content: space-between;
flex-wrap: wrap; flex-wrap: wrap;
>view{
>view {
width: 9vw; width: 9vw;
height: 4vw; height: 4vw;
border-radius: 1vw; border-radius: 1vw;
border: 2rpx solid #D9DADC; border: 2rpx solid #D9DADC;
display: flex; display: flex;
justify-content: center; justify-content: center;
align-items: center; align-items: center;
@ -216,16 +221,18 @@
transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.25s ease; transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.25s ease;
-webkit-tap-highlight-color: transparent; -webkit-tap-highlight-color: transparent;
} }
.click-box { .click-box {
color: #888d99; color: #888d99;
background: rgba(255, 255, 255, 0.43); background: rgba(255, 255, 255, 0.43);
} }
.click-box-target { .click-box-target {
color: transparent; color: transparent;
animation: scalePulse 360ms cubic-bezier(.2, .8, .2, 1); animation: scalePulse 360ms cubic-bezier(.2, .8, .2, 1);
transform-origin: center center; transform-origin: center center;
} }
.grad-text { .grad-text {
background: linear-gradient(90deg, #5b8bb3, #87a1bd); background: linear-gradient(90deg, #5b8bb3, #87a1bd);
background-size: 200% 100%; background-size: 200% 100%;
@ -235,193 +242,226 @@
-webkit-text-fill-color: transparent; -webkit-text-fill-color: transparent;
transition: background-position 0.8s linear; transition: background-position 0.8s linear;
} }
@keyframes scalePulse { @keyframes scalePulse {
0% { transform: scale(1); } 0% {
25% { transform: scale(0.94); } transform: scale(1);
65% { transform: scale(1.08); } }
100% { transform: scale(1); }
25% {
transform: scale(0.94);
}
65% {
transform: scale(1.08);
}
100% {
transform: scale(1);
}
} }
} }
.wareaitem-item{
.wareaitem-item {
width: 100%; width: 100%;
height: 100%; height: 100%;
position: fixed; position: fixed;
top: 0; top: 0;
left: -2vw; left: -2vw;
.itemact1 { .itemact1 {
width: 29vw; width: 29vw;
height: 21vw; height: 21vw;
top: 23vw; top: 23vw;
left: 6vw; left: 6vw;
z-index: 31; z-index: 31;
} }
.itemact2{
.itemact2 {
width: 26vw; width: 26vw;
height: 16vw; height: 16vw;
top: 15vw; top: 15vw;
left: 41vw; left: 41vw;
z-index: 27; z-index: 27;
} }
.itemact3{
.itemact3 {
width: 24vw; width: 24vw;
height: 16vw; height: 16vw;
top: 28vw; top: 28vw;
left: 46vw; left: 46vw;
z-index: 55; z-index: 55;
} }
.itemact4{
.itemact4 {
width: 17vw; width: 17vw;
height: 13vw; height: 13vw;
top: 22vw; top: 22vw;
left: 67vw; left: 67vw;
z-index: 36; z-index: 36;
} }
.wclik{ .wclik {
width: 22vw; width: 22vw;
height: 14vw; height: 14vw;
top: 16vw; top: 16vw;
left: 44vw; left: 44vw;
z-index: 47; z-index: 47;
} }
.gifs{ .gifs {
width: 41vw; width: 41vw;
height:20vw; height: 20vw;
top: 21.6vw; top: 21.6vw;
left: 27.5vw; left: 27.5vw;
z-index: 29; z-index: 29;
} }
.ys{ .ys {
width: 11vw; width: 11vw;
height: 8vw; height: 8vw;
top: 24.2vw; top: 24.2vw;
left: 57.9vw; left: 57.9vw;
z-index: 28; z-index: 28;
} }
.wareitem1{
width: 86vw; .wareitem1 {
height: 44vw; width: 86vw;
top: 1vw; height: 44vw;
left: 10.5vw; top: 1vw;
z-index: 15; left: 10.5vw;
} z-index: 15;
.wareitem4{ }
width: 11vw;
height: 7vw; .wareitem4 {
top: 30.9vw; width: 11vw;
left: 60vw; height: 7vw;
} top: 30.9vw;
.wareitem6{ left: 60vw;
width: 17vw; }
height: 12vw;
top: 28vw; .wareitem6 {
right: -2vw; width: 17vw;
z-index: 35; height: 12vw;
} top: 28vw;
.wareitem5{ right: -2vw;
width: 18vw; z-index: 35;
height: 15vw; }
top: 37vw;
left: 73vw; .wareitem5 {
z-index: 35; width: 18vw;
} height: 15vw;
.wareitem8{ top: 37vw;
width: 26vw; left: 73vw;
height: 8vw; z-index: 35;
top: 29.7vw; }
left: 21.8vw;
} .wareitem8 {
.wareitem11{ width: 26vw;
width: 3vw; height: 8vw;
height:3vw; top: 29.7vw;
top: 24.5vw; left: 21.8vw;
left: 60vw; }
z-index: 35;
} .wareitem11 {
.wareitem10{ width: 3vw;
width: 55vw; height: 3vw;
height: 27vw; top: 24.5vw;
top: 38vw; left: 60vw;
left: 20vw; z-index: 35;
z-index: 36; }
}
.wareitem10 {
>view{ width: 55vw;
height: 27vw;
top: 38vw;
left: 20vw;
z-index: 36;
}
>view {
position: absolute; position: absolute;
} }
} }
.annotation1{
top: 20.5vw; .annotation1 {
left: 19vw; top: 20.5vw;
} left: 19vw;
.annotation2{ }
top: 13vw;
left: 47vw; .annotation2 {
} top: 13vw;
.annotation3{ left: 47vw;
top: 23vw; }
left: 50vw;
} .annotation3 {
.annotation4{ top: 23vw;
top: 17vw; left: 50vw;
left: 68vw; }
}
.annotation5{ .annotation4 {
top: 32vw; top: 17vw;
left: 74vw; left: 68vw;
} }
.annotation6{
top: 23vw; .annotation5 {
right: 6vw; top: 32vw;
} left: 74vw;
// title }
.annotation {
width: 7vw; .annotation6 {
height: 8vw; top: 23vw;
z-index: 20; right: 6vw;
position: fixed; }
// title
>view{ .annotation {
position: relative; width: 7vw;
&:nth-child(1){ height: 8vw;
width: 7vw; z-index: 20;
height: 2vw; position: fixed;
background: #F2F3F7;
box-shadow: 0rpx 0rpx 0rpx 0rpx rgba(182,186,196,0.35);
border: 2rpx solid #FFFFFF; >view {
font-weight: 400; position: relative;
font-size: 1.3vw;
color: #333333; &:nth-child(1) {
display: flex; width: 7vw;
align-items: center; height: 2vw;
justify-content: center; background: #F2F3F7;
z-index: 3; box-shadow: 0rpx 0rpx 0rpx 0rpx rgba(182, 186, 196, 0.35);
} border: 2rpx solid #FFFFFF;
&:nth-child(2){ font-weight: 400;
width: 4vw; font-size: 1.3vw;
height: 2vw; color: #333333;
z-index: 2; display: flex;
margin: -2rpx auto 0; align-items: center;
z-index: 2; justify-content: center;
} z-index: 3;
&:nth-child(3){ }
width: 3vw;
height: 5vw; &:nth-child(2) {
z-index: 1; width: 4vw;
margin: -1vw auto 0; height: 2vw;
} z-index: 2;
margin: -2rpx auto 0;
z-index: 2;
}
&:nth-child(3) {
width: 3vw;
height: 5vw;
z-index: 1;
margin: -1vw auto 0;
} }
} }
}
} }
.backgroundContainer {
.backgroundContainer {
display: flex; display: flex;
flex-direction: column; flex-direction: column;
position: relative; position: relative;
@ -445,4 +485,4 @@
background-position: center center; background-position: center center;
overflow: hidden; overflow: hidden;
} }
</style> </style>

View File

@ -9,6 +9,7 @@ export const isRel = (tel) => {
url: `/api/pad/loginApi/getAdvisoryInfo?tel=${encodeURIComponent(tel)}`, url: `/api/pad/loginApi/getAdvisoryInfo?tel=${encodeURIComponent(tel)}`,
method: 'get', method: 'get',
}) })
} }
//获得登录图片 //获得登录图片

View File

@ -201,15 +201,13 @@
const getImg = () => { const getImg = () => {
if (/^\d{11}$/.test(form.username)) { if (/^\d{11}$/.test(form.username)) {
isRel(form.username).then((res : any) => { isRel(form.username).then((res : any) => {
console.log("res",res) if (res.result.code == `0`) {
if (res.result.code === '0') { uni.setStorageSync('serverUrl', res.result.orgList[0].serverUrl);
uni.setStorageSync('serverUrl', res.result.data.serverUrl);
// console.log("9999",res.result.orgList)
allserve.value = res.result.orgList allserve.value = res.result.orgList
time.value = Date.now(); time.value = Date.now();
getLoginCode(time.value).then((res : any) => { getLoginCode(time.value).then((res : any) => {
console.log("guhb", res)
form.captcha = res.message form.captcha = res.message
canclick.value = true canclick.value = true
}) })
@ -286,7 +284,7 @@
form.checkKey = time.value form.checkKey = time.value
huakuaiOpen.value = false huakuaiOpen.value = false
loginApp(form).then(res => { loginApp(form).then(res => {
console.log("info",res) console.log("info", res)
if (res.success) { if (res.success) {
uni.showToast({ uni.showToast({
title: res.message, title: res.message,

View File

@ -534,17 +534,6 @@
false // false //
) )
}, },
{
name: '仓库',
url: genPaths(
'/static/index/watch',
'warehouse_',
6, //
'png',
1, // 1
false //
)
},
{ {
name: '配务室', name: '配务室',
url: genPaths( url: genPaths(
@ -557,7 +546,19 @@
) )
}, },
{ {
name: '服务大厅', name: '库房',
url: genPaths(
'/static/index/watch',
'warehouse_',
6, //
'png',
1, // 1
false //
)
},
{
name: '消洗区',
url: genPaths( url: genPaths(
'/static/index/watch', '/static/index/watch',
'service_', 'service_',
@ -720,12 +721,13 @@
uni.setStorageSync('nuId', filteredMenu.value[savetypeNow.value].nuId); uni.setStorageSync('nuId', filteredMenu.value[savetypeNow.value].nuId);
uni.setStorageSync('nuName', filteredMenu.value[savetypeNow.value].nuName); uni.setStorageSync('nuName', filteredMenu.value[savetypeNow.value].nuName);
uni.setStorageSync('customerId', filteredMenu.value[savetypeNow.value].elderInfo ? filteredMenu.value[savetypeNow.value].elderInfo?.id : null); uni.setStorageSync('customerId', filteredMenu.value[savetypeNow.value].elderInfo ? filteredMenu.value[savetypeNow.value].elderInfo?.id : null);
console.log("??????1111",filteredMenu.value[savetypeNow.value]) uni.setStorageSync('NUall', filteredMenu.value[savetypeNow.value]);
// console.log("??????1111",filteredMenu.value[savetypeNow.value])
if (!typeNow.value) { if (!typeNow.value) {
uni.navigateTo({ uni.navigateTo({
url: '/pages/NursingNew/index' url: '/pages/NursingNew/index'
}) })
} else if (typeNow.value === 1) { } else if (typeNow.value === 2) {
uni.navigateTo({ uni.navigateTo({
url: '/pages/Warehousing/index' url: '/pages/Warehousing/index'
}) })
@ -1371,11 +1373,11 @@
} }
.big-bgc { .big-bgc {
margin-left: -20rpx; margin-left: -10rpx;
margin-top: 20rpx; margin-top: 40rpx;
width: 1320rpx; width: 1290rpx;
height: 1045rpx; height: 1020rpx;
border-radius: 50rpx; border-radius: 55rpx;
overflow: hidden; overflow: hidden;
display: flex; display: flex;
justify-content: center; justify-content: center;
@ -1763,7 +1765,7 @@
.bgc-card { .bgc-card {
width: 100%; width: 100%;
height: 130rpx; height: 130rpx;
background-color: #EAEAEC; background-color: rgba(226, 227, 231, 0.5);
border-radius: 30rpx; border-radius: 30rpx;
display: flex; display: flex;
justify-content: center; justify-content: center;

View File

@ -117,7 +117,6 @@ const _sfc_main = {
formatAppLog("log", "at pages/camera.nvue:110", "Tel event detail:", event.detail); formatAppLog("log", "at pages/camera.nvue:110", "Tel event detail:", event.detail);
}, },
killView() { killView() {
formatAppLog("log", "at pages/camera.nvue:114", "销毁了11111111111111111111111111111");
this.$refs.monitor.killView && this.$refs.monitor.killView(); this.$refs.monitor.killView && this.$refs.monitor.killView();
}, },
switchDisplay(mode) { switchDisplay(mode) {

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -7,8 +7,8 @@
"id": "__UNI__FB2D473", "id": "__UNI__FB2D473",
"name": "护理单元", "name": "护理单元",
"version": { "version": {
"name": "1.6.4", "name": "1.6.6",
"code": 164 "code": 166
}, },
"description": "护理单元", "description": "护理单元",
"developer": { "developer": {

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1 @@
.wareaitem[data-v-6f94d51e]{width:100%;height:100%;position:fixed;top:0;left:0;background:url(../../static/index/warehouse/bg.png) no-repeat;background-size:cover cover}.wareaitem .tp uni-image[data-v-6f94d51e]{width:100%;height:100%}.wareaitem .operationbtn[data-v-6f94d51e]{width:20vw;height:10vw;position:absolute;right:1.5vw;bottom:2vw;display:flex;justify-content:space-between;flex-wrap:wrap}.wareaitem .operationbtn>uni-view[data-v-6f94d51e]{width:9vw;height:4vw;border-radius:1vw;border:.0625rem solid #D9DADC;display:flex;justify-content:center;align-items:center;font-weight:400;font-size:1.3vw;color:#888d99;margin:0 .3vw;transition:transform .18s ease,box-shadow .18s ease,background .25s ease;-webkit-tap-highlight-color:transparent}.wareaitem .operationbtn .click-box[data-v-6f94d51e]{color:#888d99;background:rgba(255,255,255,.43)}.wareaitem .operationbtn .click-box-target[data-v-6f94d51e]{color:transparent;animation:scalePulse-6f94d51e .36s cubic-bezier(.2,.8,.2,1);transform-origin:center center}.wareaitem .operationbtn .grad-text[data-v-6f94d51e]{background:linear-gradient(90deg,#5b8bb3,#87a1bd);background-size:200% 100%;background-position:0% 50%;-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent;transition:background-position .8s linear}@keyframes scalePulse-6f94d51e{0%{transform:scale(1)}25%{transform:scale(.94)}65%{transform:scale(1.08)}to{transform:scale(1)}}.wareaitem .wareaitem-item[data-v-6f94d51e]{width:100%;height:100%;position:fixed;top:0;left:-2vw}.wareaitem .wareaitem-item .itemact1[data-v-6f94d51e]{width:29vw;height:21vw;top:23vw;left:6vw;z-index:31}.wareaitem .wareaitem-item .itemact2[data-v-6f94d51e]{width:26vw;height:16vw;top:15vw;left:41vw;z-index:27}.wareaitem .wareaitem-item .itemact3[data-v-6f94d51e]{width:24vw;height:16vw;top:28vw;left:46vw;z-index:55}.wareaitem .wareaitem-item .itemact4[data-v-6f94d51e]{width:17vw;height:13vw;top:22vw;left:67vw;z-index:36}.wareaitem .wareaitem-item .wclik[data-v-6f94d51e]{width:22vw;height:14vw;top:16vw;left:44vw;z-index:47}.wareaitem .wareaitem-item .gifs[data-v-6f94d51e]{width:41vw;height:20vw;top:21.6vw;left:27.5vw;z-index:29}.wareaitem .wareaitem-item .ys[data-v-6f94d51e]{width:11vw;height:8vw;top:24.2vw;left:57.9vw;z-index:28}.wareaitem .wareaitem-item .wareitem1[data-v-6f94d51e]{width:86vw;height:44vw;top:1vw;left:10.5vw;z-index:15}.wareaitem .wareaitem-item .wareitem4[data-v-6f94d51e]{width:11vw;height:7vw;top:30.9vw;left:60vw}.wareaitem .wareaitem-item .wareitem6[data-v-6f94d51e]{width:17vw;height:12vw;top:28vw;right:-2vw;z-index:35}.wareaitem .wareaitem-item .wareitem5[data-v-6f94d51e]{width:18vw;height:15vw;top:37vw;left:73vw;z-index:35}.wareaitem .wareaitem-item .wareitem8[data-v-6f94d51e]{width:26vw;height:8vw;top:29.7vw;left:21.8vw}.wareaitem .wareaitem-item .wareitem11[data-v-6f94d51e]{width:3vw;height:3vw;top:24.5vw;left:60vw;z-index:35}.wareaitem .wareaitem-item .wareitem10[data-v-6f94d51e]{width:55vw;height:27vw;top:38vw;left:20vw;z-index:36}.wareaitem .wareaitem-item>uni-view[data-v-6f94d51e]{position:absolute}.wareaitem .annotation1[data-v-6f94d51e]{top:20.5vw;left:19vw}.wareaitem .annotation2[data-v-6f94d51e]{top:13vw;left:47vw}.wareaitem .annotation3[data-v-6f94d51e]{top:23vw;left:50vw}.wareaitem .annotation4[data-v-6f94d51e]{top:17vw;left:68vw}.wareaitem .annotation5[data-v-6f94d51e]{top:32vw;left:74vw}.wareaitem .annotation6[data-v-6f94d51e]{top:23vw;right:6vw}.wareaitem .annotation[data-v-6f94d51e]{width:7vw;height:8vw;z-index:20;position:fixed}.wareaitem .annotation>uni-view[data-v-6f94d51e]{position:relative}.wareaitem .annotation>uni-view[data-v-6f94d51e]:nth-child(1){width:7vw;height:2vw;background:#f2f3f7;box-shadow:0 0 rgba(182,186,196,.35);border:.0625rem solid #FFFFFF;font-weight:400;font-size:1.3vw;color:#333;display:flex;align-items:center;justify-content:center;z-index:3}.wareaitem .annotation>uni-view[data-v-6f94d51e]:nth-child(2){width:4vw;height:2vw;margin:-.0625rem auto 0;z-index:2}.wareaitem .annotation>uni-view[data-v-6f94d51e]:nth-child(3){width:3vw;height:5vw;z-index:1;margin:-1vw auto 0}.backgroundContainer[data-v-6f94d51e]{display:flex;flex-direction:column;position:relative;width:100vw;height:100vh;background-image:url(../../static/index/lightbgcnew.png);background-size:cover;background-position:center center;overflow:hidden}.darkbackgroundContainer[data-v-6f94d51e]{width:100vw;height:100vh;display:flex;flex-direction:column;position:relative;background-image:url(../../static/index/background.png);background-size:cover;background-position:center center;overflow:hidden}

View File

@ -0,0 +1 @@
.box{width:100vw;height:100vh;display:flex;justify-content:space-between;flex-wrap:wrap;padding:4vw 2vw 0;overflow:hidden}.box .lefts{width:70vw;height:100%;margin-left:1vw}.box .lefts .scroll-Y{width:100%;height:100%;display:flex;flex-wrap:wrap}.box .lefts .boxitem{width:22vw;height:18vw;background:rgba(255,255,255,.7);border-radius:1.6vw;margin:0 1.3vw 1.2vw 0;border:2px dashed #fff;display:inline-block}.box .lefts .active{border:2px dashed #017DE9!important}.box .rights{width:25vw;height:100%}.box .rights .shitem{width:24vw;height:10.3vw;background:#e8e9ed;border-radius:1.6vw;padding:1.8vw}body{background:#eff0f4}

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

Binary file not shown.

After

Width:  |  Height:  |  Size: 56 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 32 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 43 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 17 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 28 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 30 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 35 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 28 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 36 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 19 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 19 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 19 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 20 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 19 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 28 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 31 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 32 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 30 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 28 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 36 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 44 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 47 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 48 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 38 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 35 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 64 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 64 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 53 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 36 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 612 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 161 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 153 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 15 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 28 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 30 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 22 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

File diff suppressed because one or more lines are too long

View File

@ -1 +1 @@
{"version":3,"file":"app.js","sources":["App.vue","main.js"],"sourcesContent":["<script>\r\n\texport default {\r\n\t\tonLaunch: function() {\r\n\t\t\tconsole.log('App Launch')\r\n\t\t},\r\n\t\tonShow: function() {\r\n\t\t\tconsole.log('App Show')\r\n\t\t},\r\n\t\tonHide: function() {\r\n\t\t\tconsole.log('App Hide')\r\n\t\t}\r\n\t}\r\n</script>\r\n\r\n<style lang=\"scss\">\r\n\t@import \"./uni_modules/vk-uview-ui/index.scss\";\r\n\t/*每个页面公共css */\r\n\t\r\n</style>\n","import App from './App'\r\n// 引入 uView UI\r\nimport uView from './uni_modules/vk-uview-ui';\r\n\r\n\r\n// #ifndef VUE3\r\nimport Vue from 'vue'\r\nimport './uni.promisify.adaptor'\r\nVue.config.productionTip = false\r\nApp.mpType = 'app'\r\nconst app = new Vue({\r\n\t...App\r\n})\r\napp.$mount()\r\n// #endif\r\n\r\n// #ifdef VUE3\r\nimport {\r\n\tcreateSSRApp\r\n} from 'vue'\r\nimport donghua from '@/component/public/donghua.vue'\r\nimport arrowkeys from '@/component/public/newgame/arrowkeys.vue'\r\nexport function createApp() {\r\n\tconst app = createSSRApp(App)\r\n\r\n\t// 使用 uView UI\r\n\tapp.use(uView)\r\n\tapp.component('donghua', donghua)\r\n\tapp.component('arrowkeys', arrowkeys)\r\n\treturn {\r\n\t\tapp\r\n\t}\r\n}\r\n// #endif"],"names":["uni","createSSRApp","App","uView"],"mappings":";;;;;;;;;;;;;;;;;;;;;AACC,MAAK,YAAU;AAAA,EACd,UAAU,WAAW;AACpBA,kBAAAA,MAAA,MAAA,OAAA,gBAAY,YAAY;AAAA,EACxB;AAAA,EACD,QAAQ,WAAW;AAClBA,kBAAAA,MAAY,MAAA,OAAA,gBAAA,UAAU;AAAA,EACtB;AAAA,EACD,QAAQ,WAAW;AAClBA,kBAAAA,MAAY,MAAA,OAAA,iBAAA,UAAU;AAAA,EACvB;AACD;ACSD,MAAM,UAAU,MAAW;AAC3B,MAAM,YAAY,MAAW;AACtB,SAAS,YAAY;AAC3B,QAAM,MAAMC,cAAY,aAACC,SAAG;AAG5B,MAAI,IAAIC,iCAAK;AACb,MAAI,UAAU,WAAW,OAAO;AAChC,MAAI,UAAU,aAAa,SAAS;AACpC,SAAO;AAAA,IACN;AAAA,EACA;AACF;;;"} {"version":3,"file":"app.js","sources":["App.vue","main.js"],"sourcesContent":["<script>\r\n\texport default {\r\n\t\tonLaunch: function() {\r\n\t\t\tconsole.log('App Launch')\r\n\t\t},\r\n\t\tonShow: function() {\r\n\t\t\tconsole.log('App Show')\r\n\t\t},\r\n\t\tonHide: function() {\r\n\t\t\tconsole.log('App Hide')\r\n\t\t}\r\n\t}\r\n</script>\r\n\r\n<style lang=\"scss\">\r\n\t@import \"./uni_modules/vk-uview-ui/index.scss\";\r\n\t/*每个页面公共css */\r\n\t\r\n</style>\n","import App from './App'\r\n// 引入 uView UI\r\nimport uView from './uni_modules/vk-uview-ui';\r\n\r\n\r\n// #ifndef VUE3\r\nimport Vue from 'vue'\r\nimport './uni.promisify.adaptor'\r\nVue.config.productionTip = false\r\nApp.mpType = 'app'\r\nconst app = new Vue({\r\n\t...App\r\n})\r\napp.$mount()\r\n// #endif\r\n\r\n// #ifdef VUE3\r\nimport {\r\n\tcreateSSRApp\r\n} from 'vue'\r\nimport donghua from '@/component/public/donghua.vue'\r\nimport arrowkeys from '@/component/public/newgame/arrowkeys.vue'\r\nexport function createApp() {\r\n\tconst app = createSSRApp(App)\r\n\r\n\t// 使用 uView UI\r\n\tapp.use(uView)\r\n\tapp.component('donghua', donghua)\r\n\tapp.component('arrowkeys', arrowkeys)\r\n\treturn {\r\n\t\tapp\r\n\t}\r\n}\r\n// #endif"],"names":["uni","createSSRApp","App","uView"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;AACC,MAAK,YAAU;AAAA,EACd,UAAU,WAAW;AACpBA,kBAAAA,MAAA,MAAA,OAAA,gBAAY,YAAY;AAAA,EACxB;AAAA,EACD,QAAQ,WAAW;AAClBA,kBAAAA,MAAY,MAAA,OAAA,gBAAA,UAAU;AAAA,EACtB;AAAA,EACD,QAAQ,WAAW;AAClBA,kBAAAA,MAAY,MAAA,OAAA,iBAAA,UAAU;AAAA,EACvB;AACD;ACSD,MAAM,UAAU,MAAW;AAC3B,MAAM,YAAY,MAAW;AACtB,SAAS,YAAY;AAC3B,QAAM,MAAMC,cAAY,aAACC,SAAG;AAG5B,MAAI,IAAIC,iCAAK;AACb,MAAI,UAAU,WAAW,OAAO;AAChC,MAAI,UAAU,aAAa,SAAS;AACpC,SAAO;AAAA,IACN;AAAA,EACA;AACF;;;"}

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -1 +1 @@
{"version":3,"file":"api.js","sources":["pages/NursingNew/component/nurse/api.js"],"sourcesContent":["// 引入 request 文件\r\nimport request from '@/request/index.js'\r\n\r\n// 以下 api 为博主项目示例,实际与项目相匹配\r\n\r\n// 查询服务类型\r\nexport const getServiceTree = () => {\r\n\treturn request({\r\n\t\turl: `${uni.getStorageSync('serverUrl')}/nuIpadApi/nuConfigServiceCategory/getServiceTree`,\r\n\t\tmethod: 'get',\r\n\t})\r\n}\r\n// 查询表格\r\nexport const getNclist = () => {\r\n\treturn request({\r\n\t\turl: '/nuIpadApi/nuBizNuCustomerServer/getNclist?nuId=1&customerId=1',\r\n\t\tmethod: 'get',\r\n\t})\r\n}\r\n// 新增表格\r\nexport const addNuCustomerServer = (params) => {\r\n\treturn request({\r\n\t\turl: '/nuIpadApi/nuBizNuCustomerServer/addNuCustomerServer',\r\n\t\tmethod: 'post',\r\n\t\tdata: params,\r\n\t})\r\n}\r\n// 移动表格\r\nexport const editNuCustomerServer = (params) => {\r\n\treturn request({\r\n\t\turl: '/nuIpadApi/nuBizNuCustomerServer/editNuCustomerServer',\r\n\t\tmethod: 'post',\r\n\t\tdata: params,\r\n\t})\r\n}\r\nexport const deleteNuCustomerServer = (params) => {\n\treturn request({\n\t\turl: `/nuIpadApi/nuBizNuCustomerServer/deleteNuCustomerServer?id=${params.id}`,\n\t\tmethod: 'delete',\n\t})\n}\r\n// 移动表格\r\nexport const addBatch = (params) => {\r\n\treturn request({\r\n\t\turl: '/nuIpadApi/nuBizNuCustomerServer/addBatch',\r\n\t\tmethod: 'post',\r\n\t\tdata: params,\r\n\t})\r\n}"],"names":["request","uni"],"mappings":";;;AAMY,MAAC,iBAAiB,MAAM;AACnC,SAAOA,sBAAQ;AAAA,IACd,KAAK,GAAGC,cAAG,MAAC,eAAe,WAAW,CAAC;AAAA,IACvC,QAAQ;AAAA,EACV,CAAE;AACF;;"} {"version":3,"file":"api.js","sources":["pages/NursingNew/component/nurse/api.js"],"sourcesContent":["// 引入 request 文件\r\nimport request from '@/request/index.js'\r\n\r\n// 以下 api 为博主项目示例,实际与项目相匹配\r\n\r\n// 查询服务类型\r\nexport const getServiceTree = () => {\r\n\treturn request({\r\n\t\turl: `${uni.getStorageSync('serverUrl')}/nuIpadApi/nuConfigServiceCategory/getServiceTree`,\r\n\t\tmethod: 'get',\r\n\t})\r\n}\r\n// 查询表格\r\nexport const getNclist = (nuId,customerId) => {\r\n\treturn request({\r\n\t\turl: `${uni.getStorageSync('serverUrl')}/nuIpadApi/nuBizNuCustomerServer/getNclist?nuId=${nuId}&customerId=${customerId}`,\r\n\t\tmethod: 'get',\r\n\t})\r\n}\r\n// 保存表格\r\nexport const addBatch = (params) => {\r\n\treturn request({\r\n\t\turl: `${uni.getStorageSync('serverUrl')}/nuIpadApi/nuBizNuCustomerServer/addBatch`,\r\n\t\tmethod: 'post',\r\n\t\tdata: params,\r\n\t})\r\n}"],"names":["request","uni"],"mappings":";;;AAMY,MAAC,iBAAiB,MAAM;AACnC,SAAOA,sBAAQ;AAAA,IACd,KAAK,GAAGC,cAAG,MAAC,eAAe,WAAW,CAAC;AAAA,IACvC,QAAQ;AAAA,EACV,CAAE;AACF;AAEY,MAAC,YAAY,CAAC,MAAK,eAAe;AAC7C,SAAOD,sBAAQ;AAAA,IACd,KAAK,GAAGC,cAAG,MAAC,eAAe,WAAW,CAAC,mDAAmD,IAAI,eAAe,UAAU;AAAA,IACvH,QAAQ;AAAA,EACV,CAAE;AACF;;;"}

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1 @@
{"version":3,"file":"Warehouse.js","sources":["../Hbuilder/HBuilderX/plugins/uniapp-cli-vite/uniPage:/cGFnZXMvV2FyZWhvdXNlL1dhcmVob3VzZS52dWU"],"sourcesContent":["import MiniProgramPage from 'D:/hldy_app/pages/Warehouse/Warehouse.vue'\nwx.createPage(MiniProgramPage)"],"names":["MiniProgramPage"],"mappings":";;AACA,GAAG,WAAWA,UAAe,eAAA;"}

View File

@ -0,0 +1 @@
{"version":3,"file":"Warehouse2.js","sources":["../Hbuilder/HBuilderX/plugins/uniapp-cli-vite/uniPage:/RDovaGxkeV9hcHAvcGFnZXMvV2FyZWhvdXNlL1dhcmVob3VzZS52dWU"],"sourcesContent":["import MiniProgramPage from 'D:/hldy_app/pages/Warehouse/Warehouse.vue'\nwx.createPage(MiniProgramPage)"],"names":["MiniProgramPage"],"mappings":";;AACA,GAAG,WAAWA,UAAe,eAAA;"}

View File

@ -0,0 +1 @@
{"version":3,"file":"procurement.js","sources":["../Hbuilder/HBuilderX/plugins/uniapp-cli-vite/uniPage:/cGFnZXMvV2FyZWhvdXNlL3Byb2N1cmVtZW50LnZ1ZQ"],"sourcesContent":["import MiniProgramPage from 'D:/hldy_app/pages/Warehouse/procurement.vue'\nwx.createPage(MiniProgramPage)"],"names":[],"mappings":";;;;;;;;;;;;;;;;AACA,GAAG,WAAW,eAAe;"}

File diff suppressed because one or more lines are too long

View File

@ -1 +1 @@
{"version":3,"file":"api.js","sources":["pages/login/api.js"],"sourcesContent":["// 引入 request 文件\r\nimport request from '@/request/index.js'\r\n\r\n// 以下 api 为博主项目示例,实际与项目相匹配\r\n\r\n//检测是否存在用户\r\nexport const isRel = (tel) => {\n\treturn request({\n\t\turl: `/api/pad/loginApi/getAdvisoryInfo?tel=${encodeURIComponent(tel)}`,\n\t\tmethod: 'get',\n\t})\n}\r\n\r\n//获得登录图片\r\nexport const getLoginCode = (time) => {\n\treturn request({\n\t\turl: `${uni.getStorageSync('serverUrl')}/sys/randomCode/${time}`,\n\t\tmethod: 'get',\n\t})\n}\r\n\r\n//登录\r\nexport const loginApp = (params) => {\r\n\treturn request({\r\n\t\turl: `${uni.getStorageSync('serverUrl')}/sys/login`,\r\n\t\tmethod: 'post',\r\n\t\tdata: params,\r\n\t})\r\n}\r\n// // 查询表格\r\n// export const getNclist = () => {\r\n// \treturn request({\r\n// \t\turl: '/nuIpadApi/nuBizNuCustomerServer/getNclist?nuId=1&customerId=1',\r\n// \t\tmethod: 'get',\r\n// \t})\r\n// }\r\n// // 新增表格\r\n// export const addNuCustomerServer = (params) => {\r\n// \treturn request({\r\n// \t\turl: '/nuIpadApi/nuBizNuCustomerServer/addNuCustomerServer',\r\n// \t\tmethod: 'post',\r\n// \t\tdata: params,\r\n// \t})\r\n// }\r\n// // 移动表格\r\n// export const editNuCustomerServer = (params) => {\r\n// \treturn request({\r\n// \t\turl: '/nuIpadApi/nuBizNuCustomerServer/editNuCustomerServer',\r\n// \t\tmethod: 'post',\r\n// \t\tdata: params,\r\n// \t})\r\n// }\r\n// export const deleteNuCustomerServer = (params) => {\n// \treturn request({\n// \t\turl: `/nuIpadApi/nuBizNuCustomerServer/deleteNuCustomerServer?id=${params.id}`,\n// \t\tmethod: 'delete',\n// \t})\n// }\r\n// // 移动表格\r\n// export const addBatch = (params) => {\r\n// \treturn request({\r\n// \t\turl: '/nuIpadApi/nuBizNuCustomerServer/addBatch',\r\n// \t\tmethod: 'post',\r\n// \t\tdata: params,\r\n// \t})\r\n// }"],"names":["request","uni"],"mappings":";;;AAMY,MAAC,QAAQ,CAAC,QAAQ;AAC7B,SAAOA,sBAAQ;AAAA,IACd,KAAK,yCAAyC,mBAAmB,GAAG,CAAC;AAAA,IACrE,QAAQ;AAAA,EACV,CAAE;AACF;AAGY,MAAC,eAAe,CAAC,SAAS;AACrC,SAAOA,sBAAQ;AAAA,IACd,KAAK,GAAGC,oBAAI,eAAe,WAAW,CAAC,mBAAmB,IAAI;AAAA,IAC9D,QAAQ;AAAA,EACV,CAAE;AACF;AAGY,MAAC,WAAW,CAAC,WAAW;AACnC,SAAOD,sBAAQ;AAAA,IACd,KAAK,GAAGC,cAAG,MAAC,eAAe,WAAW,CAAC;AAAA,IACvC,QAAQ;AAAA,IACR,MAAM;AAAA,EACR,CAAE;AACF;;;;"} {"version":3,"file":"api.js","sources":["pages/login/api.js"],"sourcesContent":["// 引入 request 文件\r\nimport request from '@/request/index.js'\r\n\r\n// 以下 api 为博主项目示例,实际与项目相匹配\r\n\r\n//检测是否存在用户\r\nexport const isRel = (tel) => {\n\treturn request({\n\t\turl: `/api/pad/loginApi/getAdvisoryInfo?tel=${encodeURIComponent(tel)}`,\n\t\tmethod: 'get',\n\t})\r\n\t\n}\r\n\r\n//获得登录图片\r\nexport const getLoginCode = (time) => {\n\treturn request({\n\t\turl: `${uni.getStorageSync('serverUrl')}/sys/randomCode/${time}`,\n\t\tmethod: 'get',\n\t})\n}\r\n\r\n//登录\r\nexport const loginApp = (params) => {\r\n\treturn request({\r\n\t\turl: `${uni.getStorageSync('serverUrl')}/sys/login`,\r\n\t\tmethod: 'post',\r\n\t\tdata: params,\r\n\t})\r\n}\r\n// // 查询表格\r\n// export const getNclist = () => {\r\n// \treturn request({\r\n// \t\turl: '/nuIpadApi/nuBizNuCustomerServer/getNclist?nuId=1&customerId=1',\r\n// \t\tmethod: 'get',\r\n// \t})\r\n// }\r\n// // 新增表格\r\n// export const addNuCustomerServer = (params) => {\r\n// \treturn request({\r\n// \t\turl: '/nuIpadApi/nuBizNuCustomerServer/addNuCustomerServer',\r\n// \t\tmethod: 'post',\r\n// \t\tdata: params,\r\n// \t})\r\n// }\r\n// // 移动表格\r\n// export const editNuCustomerServer = (params) => {\r\n// \treturn request({\r\n// \t\turl: '/nuIpadApi/nuBizNuCustomerServer/editNuCustomerServer',\r\n// \t\tmethod: 'post',\r\n// \t\tdata: params,\r\n// \t})\r\n// }\r\n// export const deleteNuCustomerServer = (params) => {\n// \treturn request({\n// \t\turl: `/nuIpadApi/nuBizNuCustomerServer/deleteNuCustomerServer?id=${params.id}`,\n// \t\tmethod: 'delete',\n// \t})\n// }\r\n// // 移动表格\r\n// export const addBatch = (params) => {\r\n// \treturn request({\r\n// \t\turl: '/nuIpadApi/nuBizNuCustomerServer/addBatch',\r\n// \t\tmethod: 'post',\r\n// \t\tdata: params,\r\n// \t})\r\n// }"],"names":["request","uni"],"mappings":";;;AAMY,MAAC,QAAQ,CAAC,QAAQ;AAC7B,SAAOA,sBAAQ;AAAA,IACd,KAAK,yCAAyC,mBAAmB,GAAG,CAAC;AAAA,IACrE,QAAQ;AAAA,EACV,CAAE;AAEF;AAGY,MAAC,eAAe,CAAC,SAAS;AACrC,SAAOA,sBAAQ;AAAA,IACd,KAAK,GAAGC,oBAAI,eAAe,WAAW,CAAC,mBAAmB,IAAI;AAAA,IAC9D,QAAQ;AAAA,EACV,CAAE;AACF;AAGY,MAAC,WAAW,CAAC,WAAW;AACnC,SAAOD,sBAAQ;AAAA,IACd,KAAK,GAAGC,cAAG,MAAC,eAAe,WAAW,CAAC;AAAA,IACvC,QAAQ;AAAA,IACR,MAAM;AAAA,EACR,CAAE;AACF;;;;"}

File diff suppressed because one or more lines are too long

View File

@ -1 +1 @@
{"version":3,"file":"lunpan.js","sources":["pages/watch/api/lunpan.js"],"sourcesContent":["// 引入 request 文件\r\nimport request from '@/request/guanli.js'\r\n\r\n// 以下 api 为博主项目示例,实际与项目相匹配\r\n\r\n// 用你给的四个固定值\nexport const movedirection = (direction,startOrNot) => {\n const url = `/iot/tplink/cameraInfo/motionCtrl?deviceIndex=${uni.getStorageSync('saveinit') || 5}&direction=${direction}&startOrNot=${startOrNot}&speed=1`;\n return request({ url, method: 'get' });\n}\r\n\r\n\r\n// 获取护理单元\r\nexport const queryPadPageList = () => {\r\n\treturn request({\r\n\t\turl: `${uni.getStorageSync('serverUrl')}/api/pad/baseInfo/queryPadPageList`,\r\n\t\tmethod: 'get'\r\n\t})\r\n}"],"names":["uni","request"],"mappings":";;;AAMY,MAAC,gBAAgB,CAAC,WAAU,eAAe;AACrD,QAAM,MAAM,iDAAiDA,cAAG,MAAC,eAAe,UAAU,KAAK,CAAC,cAAc,SAAS,eAAe,UAAU;AAChJ,SAAOC,eAAO,QAAC,EAAE,KAAK,QAAQ,MAAO,CAAA;AACvC;AAIY,MAAC,mBAAmB,MAAM;AACrC,SAAOA,uBAAQ;AAAA,IACd,KAAK,GAAGD,cAAG,MAAC,eAAe,WAAW,CAAC;AAAA,IACvC,QAAQ;AAAA,EACV,CAAE;AACF;;;"} {"version":3,"file":"lunpan.js","sources":["pages/watch/api/lunpan.js"],"sourcesContent":["// 引入 request 文件\r\nimport request from '@/request/guanli.js'\r\n\r\n// 以下 api 为博主项目示例,实际与项目相匹配\r\n\r\n// 用你给的四个固定值\nexport const movedirection = (direction,startOrNot) => {\n const url = `/iot/tplink/cameraInfo/motionCtrl?deviceIndex=${uni.getStorageSync('saveinit') ? uni.getStorageSync('saveinit'): 5}&direction=${direction}&startOrNot=${startOrNot}&speed=1`;\n return request({ url, method: 'get' });\n}\r\n\r\n\r\n// 获取护理单元\r\nexport const queryPadPageList = () => {\r\n\treturn request({\r\n\t\turl: `${uni.getStorageSync('serverUrl')}/api/pad/baseInfo/queryPadPageList`,\r\n\t\tmethod: 'get'\r\n\t})\r\n}"],"names":["uni","request"],"mappings":";;;AAMY,MAAC,gBAAgB,CAAC,WAAU,eAAe;AACrD,QAAM,MAAM,iDAAiDA,cAAAA,MAAI,eAAe,UAAU,IAAIA,oBAAI,eAAe,UAAU,IAAG,CAAC,cAAc,SAAS,eAAe,UAAU;AAC/K,SAAOC,eAAO,QAAC,EAAE,KAAK,QAAQ,MAAO,CAAA;AACvC;AAIY,MAAC,mBAAmB,MAAM;AACrC,SAAOA,uBAAQ;AAAA,IACd,KAAK,GAAGD,cAAG,MAAC,eAAe,WAAW,CAAC;AAAA,IACvC,QAAQ;AAAA,EACV,CAAE;AACF;;;"}

File diff suppressed because one or more lines are too long

View File

@ -1 +1 @@
{"version":3,"file":"guanli.js","sources":["request/guanli.js"],"sourcesContent":["// 全局请求封装\r\nconst base_url = 'https://www.focusnu.com/devopsapi'\r\n// 请求超出时间\r\nconst timeout = 5000\r\n\r\n// 需要修改token和根据实际修改请求头\r\nexport default (params) => {\r\n\tlet url = params.url;\r\n\tlet method = params.method || \"get\";\r\n\tlet data = params.data || {};\r\n\tlet header = {\r\n\t\t'X-Access-Token': uni.getStorageSync('token') || '',\r\n\t\t'Content-Type': 'application/json;charset=UTF-8',\r\n\t\t'Authorization': 'Basic c2FiZXI6c2FiZXJfc2VjcmV0',\r\n\t\t// 'Tenant-Id': uni.getStorageSync('tenantId') || 'xxx', // avue配置相关\r\n\t\t...params.header\r\n\t}\r\n\treturn new Promise((resolve, reject) => {\r\n\t\tuni.request({\r\n\t\t\t// https开头的不修改不是的话则添加base为啥呢因为有两种base啊\r\n\t\t\turl: /^https?:\\/\\//.test(url) ? url : base_url + url,\r\n\t\t\tmethod: method,\r\n\t\t\theader: header,\r\n\t\t\tdata: data,\r\n\t\t\ttimeout,\r\n\t\t\tsuccess(response) {\r\n\t\t\t\tconst res = response\r\n\t\t\t\t// 根据返回的状态码做出对应的操作\r\n\t\t\t\t//获取成功\r\n\t\t\t\t// console.log(res.statusCode);\r\n\t\t\t\tif (res.statusCode == 200) {\r\n\t\t\t\t\tresolve(res.data);\r\n\t\t\t\t} else {\r\n\t\t\t\t\tconsole.log(\"http\", /^https?:\\/\\//.test(url) ? url : base_url + url)\r\n\t\t\t\t\tconsole.log(\"res\",response)\r\n\t\t\t\t\tconsole.log(\"data\",data)\r\n\t\t\t\t\tswitch (res.statusCode) {\r\n\t\t\t\t\t\tcase 401:\r\n\t\t\t\t\t\t\tuni.showModal({\r\n\t\t\t\t\t\t\t\ttitle: \"提示\",\r\n\t\t\t\t\t\t\t\tcontent: \"登录过期\",\r\n\t\t\t\t\t\t\t\tshowCancel: false,\r\n\t\t\t\t\t\t\t\tsuccess() {\r\n\t\t\t\t\t\t\t\t\tuni.clearStorageSync()\r\n\t\t\t\t\t\t\t\t\tsetTimeout(() => {\r\n\t\t\t\t\t\t\t\t\t\tuni.navigateTo({\r\n\t\t\t\t\t\t\t\t\t\t\turl: \"/pages/login/login\",\r\n\t\t\t\t\t\t\t\t\t\t})\r\n\t\t\t\t\t\t\t\t\t}, 1000);\r\n\t\t\t\t\t\t\t\t},\r\n\t\t\t\t\t\t\t});\r\n\t\t\t\t\t\t\tbreak;\r\n\t\t\t\t\t\tcase 404:\r\n\t\t\t\t\t\t\tuni.showToast({\r\n\t\t\t\t\t\t\t\ttitle: '请求地址不存在...',\r\n\t\t\t\t\t\t\t\tduration: 2000,\r\n\t\t\t\t\t\t\t})\r\n\t\t\t\t\t\t\tbreak;\r\n\t\t\t\t\t\tdefault:\r\n\t\t\t\t\t\t\tuni.showToast({\r\n\t\t\t\t\t\t\t\ttitle: '请重试...',\r\n\t\t\t\t\t\t\t\tduration: 2000,\r\n\t\t\t\t\t\t\t})\r\n\t\t\t\t\t\t\tbreak;\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t},\r\n\t\t\tfail(err) {\r\n\t\t\t\tconsole.log(err)\r\n\t\t\t\tif (err.errMsg.indexOf('request:fail') !== -1) {\r\n\t\t\t\t\tuni.showToast({\r\n\t\t\t\t\t\ttitle: '网络异常',\r\n\t\t\t\t\t\ticon: \"error\",\r\n\t\t\t\t\t\tduration: 2000\r\n\t\t\t\t\t})\r\n\t\t\t\t} else {\r\n\t\t\t\t\tuni.showToast({\r\n\t\t\t\t\t\ttitle: '未知异常',\r\n\t\t\t\t\t\tduration: 2000\r\n\t\t\t\t\t})\r\n\t\t\t\t}\r\n\t\t\t\treject(err);\r\n\r\n\t\t\t},\r\n\t\t\tcomplete() {\r\n\t\t\t\t// 不管成功还是失败都会执行\r\n\t\t\t\tuni.hideLoading();\r\n\t\t\t\tuni.hideToast();\r\n\t\t\t}\r\n\t\t});\r\n\t}).catch(() => {});\r\n};"],"names":["uni"],"mappings":";;AACA,MAAM,WAAW;AAEjB,MAAM,UAAU;AAGhB,MAAe,UAAA,CAAC,WAAW;AAC1B,MAAI,MAAM,OAAO;AACjB,MAAI,SAAS,OAAO,UAAU;AAC9B,MAAI,OAAO,OAAO,QAAQ;AAC1B,MAAI,SAAS;AAAA,IACZ,kBAAkBA,cAAG,MAAC,eAAe,OAAO,KAAK;AAAA,IACjD,gBAAgB;AAAA,IAChB,iBAAiB;AAAA;AAAA,IAEjB,GAAG,OAAO;AAAA,EACV;AACD,SAAO,IAAI,QAAQ,CAAC,SAAS,WAAW;AACvCA,kBAAAA,MAAI,QAAQ;AAAA;AAAA,MAEX,KAAK,eAAe,KAAK,GAAG,IAAI,MAAM,WAAW;AAAA,MACjD;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,MACA,QAAQ,UAAU;AACjB,cAAM,MAAM;AAIZ,YAAI,IAAI,cAAc,KAAK;AAC1B,kBAAQ,IAAI,IAAI;AAAA,QACrB,OAAW;AACNA,wBAAAA,MAAY,MAAA,OAAA,2BAAA,QAAQ,eAAe,KAAK,GAAG,IAAI,MAAM,WAAW,GAAG;AACnEA,wBAAAA,8CAAY,OAAM,QAAQ;AAC1BA,wBAAAA,MAAA,MAAA,OAAA,2BAAY,QAAO,IAAI;AACvB,kBAAQ,IAAI,YAAU;AAAA,YACrB,KAAK;AACJA,4BAAAA,MAAI,UAAU;AAAA,gBACb,OAAO;AAAA,gBACP,SAAS;AAAA,gBACT,YAAY;AAAA,gBACZ,UAAU;AACTA,gCAAAA,MAAI,iBAAkB;AACtB,6BAAW,MAAM;AAChBA,kCAAAA,MAAI,WAAW;AAAA,sBACd,KAAK;AAAA,oBAChB,CAAW;AAAA,kBACD,GAAE,GAAI;AAAA,gBACP;AAAA,cACT,CAAQ;AACD;AAAA,YACD,KAAK;AACJA,4BAAAA,MAAI,UAAU;AAAA,gBACb,OAAO;AAAA,gBACP,UAAU;AAAA,cAClB,CAAQ;AACD;AAAA,YACD;AACCA,4BAAAA,MAAI,UAAU;AAAA,gBACb,OAAO;AAAA,gBACP,UAAU;AAAA,cAClB,CAAQ;AACD;AAAA,UACD;AAAA,QACD;AAAA,MACD;AAAA,MACD,KAAK,KAAK;AACTA,sBAAAA,MAAA,MAAA,OAAA,2BAAY,GAAG;AACf,YAAI,IAAI,OAAO,QAAQ,cAAc,MAAM,IAAI;AAC9CA,wBAAAA,MAAI,UAAU;AAAA,YACb,OAAO;AAAA,YACP,MAAM;AAAA,YACN,UAAU;AAAA,UAChB,CAAM;AAAA,QACN,OAAW;AACNA,wBAAAA,MAAI,UAAU;AAAA,YACb,OAAO;AAAA,YACP,UAAU;AAAA,UAChB,CAAM;AAAA,QACD;AACD,eAAO,GAAG;AAAA,MAEV;AAAA,MACD,WAAW;AAEVA,sBAAG,MAAC,YAAW;AACfA,sBAAG,MAAC,UAAS;AAAA,MACb;AAAA,IACJ,CAAG;AAAA,EACH,CAAE,EAAE,MAAM,MAAM;AAAA,EAAA,CAAE;AAClB;;"} {"version":3,"file":"guanli.js","sources":["request/guanli.js"],"sourcesContent":["// 全局请求封装\r\nconst base_url = 'https://www.focusnu.com/devopsapi'\r\n// const base_url = 'http://192.168.2.28:8081/devopsapi'\r\n// 请求超出时间\r\nconst timeout = 5000\r\n\r\n// 需要修改token和根据实际修改请求头\r\nexport default (params) => {\r\n\tlet url = params.url;\r\n\tlet method = params.method || \"get\";\r\n\tlet data = params.data || {};\r\n\tlet header = {\r\n\t\t'X-Access-Token': uni.getStorageSync('token') || '',\r\n\t\t'Content-Type': 'application/json;charset=UTF-8',\r\n\t\t'Authorization': 'Basic c2FiZXI6c2FiZXJfc2VjcmV0',\r\n\t\t// 'Tenant-Id': uni.getStorageSync('tenantId') || 'xxx', // avue配置相关\r\n\t\t...params.header\r\n\t}\r\n\treturn new Promise((resolve, reject) => {\r\n\t\tuni.request({\r\n\t\t\t// https开头的不修改不是的话则添加base为啥呢因为有两种base啊\r\n\t\t\turl: /^https?:\\/\\//.test(url) ? url : base_url + url,\r\n\t\t\tmethod: method,\r\n\t\t\theader: header,\r\n\t\t\tdata: data,\r\n\t\t\ttimeout,\r\n\t\t\tsuccess(response) {\r\n\t\t\t\tconst res = response\r\n\t\t\t\t// 根据返回的状态码做出对应的操作\r\n\t\t\t\t//获取成功\r\n\t\t\t\t// console.log(res.statusCode);\r\n\t\t\t\tif (res.statusCode == 200) {\r\n\t\t\t\t\tresolve(res.data);\r\n\t\t\t\t} else {\r\n\t\t\t\t\tconsole.log(\"http\", /^https?:\\/\\//.test(url) ? url : base_url + url)\r\n\t\t\t\t\tconsole.log(\"res\",response)\r\n\t\t\t\t\tconsole.log(\"data\",data)\r\n\t\t\t\t\tswitch (res.statusCode) {\r\n\t\t\t\t\t\tcase 401:\r\n\t\t\t\t\t\t\tuni.showModal({\r\n\t\t\t\t\t\t\t\ttitle: \"提示\",\r\n\t\t\t\t\t\t\t\tcontent: \"登录过期\",\r\n\t\t\t\t\t\t\t\tshowCancel: false,\r\n\t\t\t\t\t\t\t\tsuccess() {\r\n\t\t\t\t\t\t\t\t\tuni.clearStorageSync()\r\n\t\t\t\t\t\t\t\t\tsetTimeout(() => {\r\n\t\t\t\t\t\t\t\t\t\tuni.navigateTo({\r\n\t\t\t\t\t\t\t\t\t\t\turl: \"/pages/login/login\",\r\n\t\t\t\t\t\t\t\t\t\t})\r\n\t\t\t\t\t\t\t\t\t}, 1000);\r\n\t\t\t\t\t\t\t\t},\r\n\t\t\t\t\t\t\t});\r\n\t\t\t\t\t\t\tbreak;\r\n\t\t\t\t\t\tcase 404:\r\n\t\t\t\t\t\t\tuni.showToast({\r\n\t\t\t\t\t\t\t\ttitle: '请求地址不存在...',\r\n\t\t\t\t\t\t\t\tduration: 2000,\r\n\t\t\t\t\t\t\t})\r\n\t\t\t\t\t\t\tbreak;\r\n\t\t\t\t\t\tdefault:\r\n\t\t\t\t\t\t\tuni.showToast({\r\n\t\t\t\t\t\t\t\ttitle: '请重试...',\r\n\t\t\t\t\t\t\t\tduration: 2000,\r\n\t\t\t\t\t\t\t})\r\n\t\t\t\t\t\t\tbreak;\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t},\r\n\t\t\tfail(err) {\r\n\t\t\t\tconsole.log(err)\r\n\t\t\t\tif (err.errMsg.indexOf('request:fail') !== -1) {\r\n\t\t\t\t\tuni.showToast({\r\n\t\t\t\t\t\ttitle: '网络异常',\r\n\t\t\t\t\t\ticon: \"error\",\r\n\t\t\t\t\t\tduration: 2000\r\n\t\t\t\t\t})\r\n\t\t\t\t} else {\r\n\t\t\t\t\tuni.showToast({\r\n\t\t\t\t\t\ttitle: '未知异常',\r\n\t\t\t\t\t\tduration: 2000\r\n\t\t\t\t\t})\r\n\t\t\t\t}\r\n\t\t\t\treject(err);\r\n\r\n\t\t\t},\r\n\t\t\tcomplete() {\r\n\t\t\t\t// 不管成功还是失败都会执行\r\n\t\t\t\tuni.hideLoading();\r\n\t\t\t\tuni.hideToast();\r\n\t\t\t}\r\n\t\t});\r\n\t}).catch(() => {});\r\n};"],"names":["uni"],"mappings":";;AACA,MAAM,WAAW;AAGjB,MAAM,UAAU;AAGhB,MAAe,UAAA,CAAC,WAAW;AAC1B,MAAI,MAAM,OAAO;AACjB,MAAI,SAAS,OAAO,UAAU;AAC9B,MAAI,OAAO,OAAO,QAAQ;AAC1B,MAAI,SAAS;AAAA,IACZ,kBAAkBA,cAAG,MAAC,eAAe,OAAO,KAAK;AAAA,IACjD,gBAAgB;AAAA,IAChB,iBAAiB;AAAA;AAAA,IAEjB,GAAG,OAAO;AAAA,EACV;AACD,SAAO,IAAI,QAAQ,CAAC,SAAS,WAAW;AACvCA,kBAAAA,MAAI,QAAQ;AAAA;AAAA,MAEX,KAAK,eAAe,KAAK,GAAG,IAAI,MAAM,WAAW;AAAA,MACjD;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,MACA,QAAQ,UAAU;AACjB,cAAM,MAAM;AAIZ,YAAI,IAAI,cAAc,KAAK;AAC1B,kBAAQ,IAAI,IAAI;AAAA,QACrB,OAAW;AACNA,wBAAAA,MAAY,MAAA,OAAA,2BAAA,QAAQ,eAAe,KAAK,GAAG,IAAI,MAAM,WAAW,GAAG;AACnEA,wBAAAA,8CAAY,OAAM,QAAQ;AAC1BA,wBAAAA,MAAA,MAAA,OAAA,2BAAY,QAAO,IAAI;AACvB,kBAAQ,IAAI,YAAU;AAAA,YACrB,KAAK;AACJA,4BAAAA,MAAI,UAAU;AAAA,gBACb,OAAO;AAAA,gBACP,SAAS;AAAA,gBACT,YAAY;AAAA,gBACZ,UAAU;AACTA,gCAAAA,MAAI,iBAAkB;AACtB,6BAAW,MAAM;AAChBA,kCAAAA,MAAI,WAAW;AAAA,sBACd,KAAK;AAAA,oBAChB,CAAW;AAAA,kBACD,GAAE,GAAI;AAAA,gBACP;AAAA,cACT,CAAQ;AACD;AAAA,YACD,KAAK;AACJA,4BAAAA,MAAI,UAAU;AAAA,gBACb,OAAO;AAAA,gBACP,UAAU;AAAA,cAClB,CAAQ;AACD;AAAA,YACD;AACCA,4BAAAA,MAAI,UAAU;AAAA,gBACb,OAAO;AAAA,gBACP,UAAU;AAAA,cAClB,CAAQ;AACD;AAAA,UACD;AAAA,QACD;AAAA,MACD;AAAA,MACD,KAAK,KAAK;AACTA,sBAAAA,MAAA,MAAA,OAAA,2BAAY,GAAG;AACf,YAAI,IAAI,OAAO,QAAQ,cAAc,MAAM,IAAI;AAC9CA,wBAAAA,MAAI,UAAU;AAAA,YACb,OAAO;AAAA,YACP,MAAM;AAAA,YACN,UAAU;AAAA,UAChB,CAAM;AAAA,QACN,OAAW;AACNA,wBAAAA,MAAI,UAAU;AAAA,YACb,OAAO;AAAA,YACP,UAAU;AAAA,UAChB,CAAM;AAAA,QACD;AACD,eAAO,GAAG;AAAA,MAEV;AAAA,MACD,WAAW;AAEVA,sBAAG,MAAC,YAAW;AACfA,sBAAG,MAAC,UAAS;AAAA,MACb;AAAA,IACJ,CAAG;AAAA,EACH,CAAE,EAAE,MAAM,MAAM;AAAA,EAAA,CAAE;AAClB;;"}

View File

@ -1 +1 @@
{"version":3,"file":"index.js","sources":["request/index.js"],"sourcesContent":["// 全局请求封装\r\nconst base_url = 'https://www.focusnu.com/opeapi'\r\n// 请求超出时间\r\nconst timeout = 5000\r\n\r\n// 需要修改token和根据实际修改请求头\r\nexport default (params) => {\r\n\tlet url = params.url;\r\n\tlet method = params.method || \"get\";\r\n\tlet data = params.data || {};\r\n\tlet header = {\r\n\t\t'X-Access-Token': uni.getStorageSync('token') || '',\r\n\t\t'Content-Type': 'application/json;charset=UTF-8',\r\n\t\t'Authorization': 'Basic c2FiZXI6c2FiZXJfc2VjcmV0',\r\n\t\t// 'Tenant-Id': uni.getStorageSync('tenantId') || 'xxx', // avue配置相关\r\n\t\t...params.header\r\n\t}\r\n\treturn new Promise((resolve, reject) => {\r\n\t\tuni.request({\r\n\t\t\t// https开头的不修改不是的话则添加base为啥呢因为有两种base啊\r\n\t\t\turl: /^https?:\\/\\//.test(url) ? url : base_url + url,\r\n\t\t\tmethod: method,\r\n\t\t\theader: header,\r\n\t\t\tdata: data,\r\n\t\t\ttimeout,\r\n\t\t\tsuccess(response) {\r\n\t\t\t\tconst res = response\r\n\t\t\t\t// 根据返回的状态码做出对应的操作\r\n\t\t\t\t//获取成功\r\n\t\t\t\t// console.log(res.statusCode);\r\n\t\t\t\tif (res.statusCode == 200) {\r\n\t\t\t\t\tresolve(res.data);\r\n\t\t\t\t} else {\r\n\t\t\t\t\tconsole.log(\"http\", /^https?:\\/\\//.test(url) ? url : base_url + url)\r\n\t\t\t\t\tconsole.log(\"res\",response)\r\n\t\t\t\t\tconsole.log(\"data\",data)\r\n\t\t\t\t\tswitch (res.statusCode) {\r\n\t\t\t\t\t\tcase 401:\r\n\t\t\t\t\t\t\tuni.showModal({\r\n\t\t\t\t\t\t\t\ttitle: \"提示\",\r\n\t\t\t\t\t\t\t\tcontent: \"登录过期\",\r\n\t\t\t\t\t\t\t\tshowCancel: false,\r\n\t\t\t\t\t\t\t\tsuccess() {\r\n\t\t\t\t\t\t\t\t\tuni.clearStorageSync()\r\n\t\t\t\t\t\t\t\t\tsetTimeout(() => {\r\n\t\t\t\t\t\t\t\t\t\tuni.navigateTo({\r\n\t\t\t\t\t\t\t\t\t\t\turl: \"/pages/login/login\",\r\n\t\t\t\t\t\t\t\t\t\t})\r\n\t\t\t\t\t\t\t\t\t}, 1000);\r\n\t\t\t\t\t\t\t\t},\r\n\t\t\t\t\t\t\t});\r\n\t\t\t\t\t\t\tbreak;\r\n\t\t\t\t\t\tcase 404:\r\n\t\t\t\t\t\t\tuni.showToast({\r\n\t\t\t\t\t\t\t\ttitle: '请求地址不存在...',\r\n\t\t\t\t\t\t\t\tduration: 2000,\r\n\t\t\t\t\t\t\t})\r\n\t\t\t\t\t\t\tbreak;\r\n\t\t\t\t\t\tdefault:\r\n\t\t\t\t\t\t\tuni.showToast({\r\n\t\t\t\t\t\t\t\ttitle: '请重试...',\r\n\t\t\t\t\t\t\t\tduration: 2000,\r\n\t\t\t\t\t\t\t})\r\n\t\t\t\t\t\t\tbreak;\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t},\r\n\t\t\tfail(err) {\r\n\t\t\t\tconsole.log(err)\r\n\t\t\t\tif (err.errMsg.indexOf('request:fail') !== -1) {\r\n\t\t\t\t\tuni.showToast({\r\n\t\t\t\t\t\ttitle: '网络异常',\r\n\t\t\t\t\t\ticon: \"error\",\r\n\t\t\t\t\t\tduration: 2000\r\n\t\t\t\t\t})\r\n\t\t\t\t} else {\r\n\t\t\t\t\tuni.showToast({\r\n\t\t\t\t\t\ttitle: '未知异常',\r\n\t\t\t\t\t\tduration: 2000\r\n\t\t\t\t\t})\r\n\t\t\t\t}\r\n\t\t\t\treject(err);\r\n\r\n\t\t\t},\r\n\t\t\tcomplete() {\r\n\t\t\t\t// 不管成功还是失败都会执行\r\n\t\t\t\tuni.hideLoading();\r\n\t\t\t\tuni.hideToast();\r\n\t\t\t}\r\n\t\t});\r\n\t}).catch(() => {});\r\n};"],"names":["uni"],"mappings":";;AACA,MAAM,WAAW;AAEjB,MAAM,UAAU;AAGhB,MAAe,UAAA,CAAC,WAAW;AAC1B,MAAI,MAAM,OAAO;AACjB,MAAI,SAAS,OAAO,UAAU;AAC9B,MAAI,OAAO,OAAO,QAAQ;AAC1B,MAAI,SAAS;AAAA,IACZ,kBAAkBA,cAAG,MAAC,eAAe,OAAO,KAAK;AAAA,IACjD,gBAAgB;AAAA,IAChB,iBAAiB;AAAA;AAAA,IAEjB,GAAG,OAAO;AAAA,EACV;AACD,SAAO,IAAI,QAAQ,CAAC,SAAS,WAAW;AACvCA,kBAAAA,MAAI,QAAQ;AAAA;AAAA,MAEX,KAAK,eAAe,KAAK,GAAG,IAAI,MAAM,WAAW;AAAA,MACjD;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,MACA,QAAQ,UAAU;AACjB,cAAM,MAAM;AAIZ,YAAI,IAAI,cAAc,KAAK;AAC1B,kBAAQ,IAAI,IAAI;AAAA,QACrB,OAAW;AACNA,wBAAAA,MAAY,MAAA,OAAA,0BAAA,QAAQ,eAAe,KAAK,GAAG,IAAI,MAAM,WAAW,GAAG;AACnEA,wBAAAA,6CAAY,OAAM,QAAQ;AAC1BA,wBAAAA,MAAA,MAAA,OAAA,0BAAY,QAAO,IAAI;AACvB,kBAAQ,IAAI,YAAU;AAAA,YACrB,KAAK;AACJA,4BAAAA,MAAI,UAAU;AAAA,gBACb,OAAO;AAAA,gBACP,SAAS;AAAA,gBACT,YAAY;AAAA,gBACZ,UAAU;AACTA,gCAAAA,MAAI,iBAAkB;AACtB,6BAAW,MAAM;AAChBA,kCAAAA,MAAI,WAAW;AAAA,sBACd,KAAK;AAAA,oBAChB,CAAW;AAAA,kBACD,GAAE,GAAI;AAAA,gBACP;AAAA,cACT,CAAQ;AACD;AAAA,YACD,KAAK;AACJA,4BAAAA,MAAI,UAAU;AAAA,gBACb,OAAO;AAAA,gBACP,UAAU;AAAA,cAClB,CAAQ;AACD;AAAA,YACD;AACCA,4BAAAA,MAAI,UAAU;AAAA,gBACb,OAAO;AAAA,gBACP,UAAU;AAAA,cAClB,CAAQ;AACD;AAAA,UACD;AAAA,QACD;AAAA,MACD;AAAA,MACD,KAAK,KAAK;AACTA,sBAAAA,MAAA,MAAA,OAAA,0BAAY,GAAG;AACf,YAAI,IAAI,OAAO,QAAQ,cAAc,MAAM,IAAI;AAC9CA,wBAAAA,MAAI,UAAU;AAAA,YACb,OAAO;AAAA,YACP,MAAM;AAAA,YACN,UAAU;AAAA,UAChB,CAAM;AAAA,QACN,OAAW;AACNA,wBAAAA,MAAI,UAAU;AAAA,YACb,OAAO;AAAA,YACP,UAAU;AAAA,UAChB,CAAM;AAAA,QACD;AACD,eAAO,GAAG;AAAA,MAEV;AAAA,MACD,WAAW;AAEVA,sBAAG,MAAC,YAAW;AACfA,sBAAG,MAAC,UAAS;AAAA,MACb;AAAA,IACJ,CAAG;AAAA,EACH,CAAE,EAAE,MAAM,MAAM;AAAA,EAAA,CAAE;AAClB;;"} {"version":3,"file":"index.js","sources":["request/index.js"],"sourcesContent":["// 全局请求封装\r\nconst base_url = 'https://www.focusnu.com/opeapi'\r\n// const base_url = 'http://192.168.2.28:8081/opeapi'\r\n// 请求超出时间\r\nconst timeout = 5000\r\n\r\n// 需要修改token和根据实际修改请求头\r\nexport default (params) => {\r\n\tlet url = params.url;\r\n\tlet method = params.method || \"get\";\r\n\tlet data = params.data || {};\r\n\tlet header = {\r\n\t\t'X-Access-Token': uni.getStorageSync('token') || '',\r\n\t\t'Content-Type': 'application/json;charset=UTF-8',\r\n\t\t'Authorization': 'Basic c2FiZXI6c2FiZXJfc2VjcmV0',\r\n\t\t// 'Tenant-Id': uni.getStorageSync('tenantId') || 'xxx', // avue配置相关\r\n\t\t...params.header\r\n\t}\r\n\treturn new Promise((resolve, reject) => {\r\n\t\tuni.request({\r\n\t\t\t// https开头的不修改不是的话则添加base为啥呢因为有两种base啊\r\n\t\t\turl: /^https?:\\/\\//.test(url) ? url : base_url + url,\r\n\t\t\tmethod: method,\r\n\t\t\theader: header,\r\n\t\t\tdata: data,\r\n\t\t\ttimeout,\r\n\t\t\tsuccess(response) {\r\n\t\t\t\tconst res = response\r\n\t\t\t\t// 根据返回的状态码做出对应的操作\r\n\t\t\t\t//获取成功\r\n\t\t\t\t// console.log(res.statusCode);\r\n\t\t\t\tif (res.statusCode == 200) {\r\n\t\t\t\t\tresolve(res.data);\r\n\t\t\t\t} else {\r\n\t\t\t\t\tconsole.log(\"http\", /^https?:\\/\\//.test(url) ? url : base_url + url)\r\n\t\t\t\t\tconsole.log(\"res\",response)\r\n\t\t\t\t\tconsole.log(\"data\",data)\r\n\t\t\t\t\tswitch (res.statusCode) {\r\n\t\t\t\t\t\tcase 401:\r\n\t\t\t\t\t\t\tuni.showModal({\r\n\t\t\t\t\t\t\t\ttitle: \"提示\",\r\n\t\t\t\t\t\t\t\tcontent: \"登录过期\",\r\n\t\t\t\t\t\t\t\tshowCancel: false,\r\n\t\t\t\t\t\t\t\tsuccess() {\r\n\t\t\t\t\t\t\t\t\tuni.clearStorageSync()\r\n\t\t\t\t\t\t\t\t\tsetTimeout(() => {\r\n\t\t\t\t\t\t\t\t\t\tuni.navigateTo({\r\n\t\t\t\t\t\t\t\t\t\t\turl: \"/pages/login/login\",\r\n\t\t\t\t\t\t\t\t\t\t})\r\n\t\t\t\t\t\t\t\t\t}, 1000);\r\n\t\t\t\t\t\t\t\t},\r\n\t\t\t\t\t\t\t});\r\n\t\t\t\t\t\t\tbreak;\r\n\t\t\t\t\t\tcase 404:\r\n\t\t\t\t\t\t\tuni.showToast({\r\n\t\t\t\t\t\t\t\ttitle: '请求地址不存在...',\r\n\t\t\t\t\t\t\t\tduration: 2000,\r\n\t\t\t\t\t\t\t})\r\n\t\t\t\t\t\t\tbreak;\r\n\t\t\t\t\t\tdefault:\r\n\t\t\t\t\t\t\tuni.showToast({\r\n\t\t\t\t\t\t\t\ttitle: '请重试...',\r\n\t\t\t\t\t\t\t\tduration: 2000,\r\n\t\t\t\t\t\t\t})\r\n\t\t\t\t\t\t\tbreak;\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t},\r\n\t\t\tfail(err) {\r\n\t\t\t\tconsole.log(err)\r\n\t\t\t\tif (err.errMsg.indexOf('request:fail') !== -1) {\r\n\t\t\t\t\tuni.showToast({\r\n\t\t\t\t\t\ttitle: '网络异常',\r\n\t\t\t\t\t\ticon: \"error\",\r\n\t\t\t\t\t\tduration: 2000\r\n\t\t\t\t\t})\r\n\t\t\t\t} else {\r\n\t\t\t\t\tuni.showToast({\r\n\t\t\t\t\t\ttitle: '未知异常',\r\n\t\t\t\t\t\tduration: 2000\r\n\t\t\t\t\t})\r\n\t\t\t\t}\r\n\t\t\t\treject(err);\r\n\r\n\t\t\t},\r\n\t\t\tcomplete() {\r\n\t\t\t\t// 不管成功还是失败都会执行\r\n\t\t\t\tuni.hideLoading();\r\n\t\t\t\tuni.hideToast();\r\n\t\t\t}\r\n\t\t});\r\n\t}).catch(() => {});\r\n};"],"names":["uni"],"mappings":";;AACA,MAAM,WAAW;AAGjB,MAAM,UAAU;AAGhB,MAAe,UAAA,CAAC,WAAW;AAC1B,MAAI,MAAM,OAAO;AACjB,MAAI,SAAS,OAAO,UAAU;AAC9B,MAAI,OAAO,OAAO,QAAQ;AAC1B,MAAI,SAAS;AAAA,IACZ,kBAAkBA,cAAG,MAAC,eAAe,OAAO,KAAK;AAAA,IACjD,gBAAgB;AAAA,IAChB,iBAAiB;AAAA;AAAA,IAEjB,GAAG,OAAO;AAAA,EACV;AACD,SAAO,IAAI,QAAQ,CAAC,SAAS,WAAW;AACvCA,kBAAAA,MAAI,QAAQ;AAAA;AAAA,MAEX,KAAK,eAAe,KAAK,GAAG,IAAI,MAAM,WAAW;AAAA,MACjD;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,MACA,QAAQ,UAAU;AACjB,cAAM,MAAM;AAIZ,YAAI,IAAI,cAAc,KAAK;AAC1B,kBAAQ,IAAI,IAAI;AAAA,QACrB,OAAW;AACNA,wBAAAA,MAAY,MAAA,OAAA,0BAAA,QAAQ,eAAe,KAAK,GAAG,IAAI,MAAM,WAAW,GAAG;AACnEA,wBAAAA,6CAAY,OAAM,QAAQ;AAC1BA,wBAAAA,MAAA,MAAA,OAAA,0BAAY,QAAO,IAAI;AACvB,kBAAQ,IAAI,YAAU;AAAA,YACrB,KAAK;AACJA,4BAAAA,MAAI,UAAU;AAAA,gBACb,OAAO;AAAA,gBACP,SAAS;AAAA,gBACT,YAAY;AAAA,gBACZ,UAAU;AACTA,gCAAAA,MAAI,iBAAkB;AACtB,6BAAW,MAAM;AAChBA,kCAAAA,MAAI,WAAW;AAAA,sBACd,KAAK;AAAA,oBAChB,CAAW;AAAA,kBACD,GAAE,GAAI;AAAA,gBACP;AAAA,cACT,CAAQ;AACD;AAAA,YACD,KAAK;AACJA,4BAAAA,MAAI,UAAU;AAAA,gBACb,OAAO;AAAA,gBACP,UAAU;AAAA,cAClB,CAAQ;AACD;AAAA,YACD;AACCA,4BAAAA,MAAI,UAAU;AAAA,gBACb,OAAO;AAAA,gBACP,UAAU;AAAA,cAClB,CAAQ;AACD;AAAA,UACD;AAAA,QACD;AAAA,MACD;AAAA,MACD,KAAK,KAAK;AACTA,sBAAAA,MAAA,MAAA,OAAA,0BAAY,GAAG;AACf,YAAI,IAAI,OAAO,QAAQ,cAAc,MAAM,IAAI;AAC9CA,wBAAAA,MAAI,UAAU;AAAA,YACb,OAAO;AAAA,YACP,MAAM;AAAA,YACN,UAAU;AAAA,UAChB,CAAM;AAAA,QACN,OAAW;AACNA,wBAAAA,MAAI,UAAU;AAAA,YACb,OAAO;AAAA,YACP,UAAU;AAAA,UAChB,CAAM;AAAA,QACD;AACD,eAAO,GAAG;AAAA,MAEV;AAAA,MACD,WAAW;AAEVA,sBAAG,MAAC,YAAW;AACfA,sBAAG,MAAC,UAAS;AAAA,MACb;AAAA,IACJ,CAAG;AAAA,EACH,CAAE,EAAE,MAAM,MAAM;AAAA,EAAA,CAAE;AAClB;;"}

View File

@ -1449,12 +1449,12 @@ if (uni.restoreGlobal) {
const getImg = () => { const getImg = () => {
if (/^\d{11}$/.test(form.username)) { if (/^\d{11}$/.test(form.username)) {
isRel(form.username).then((res) => { isRel(form.username).then((res) => {
formatAppLog("log", "at pages/login/login.vue:204", "res", res); if (res.result.code == `0`) {
if (res.result.code === "0") { uni.setStorageSync("serverUrl", res.result.orgList[0].serverUrl);
uni.setStorageSync("serverUrl", res.result.data.serverUrl);
allserve.value = res.result.orgList; allserve.value = res.result.orgList;
time.value = Date.now(); time.value = Date.now();
getLoginCode(time.value).then((res2) => { getLoginCode(time.value).then((res2) => {
formatAppLog("log", "at pages/login/login.vue:210", "guhb", res2);
form.captcha = res2.message; form.captcha = res2.message;
canclick.value = true; canclick.value = true;
}); });
@ -1529,7 +1529,7 @@ if (uni.restoreGlobal) {
form.checkKey = time.value; form.checkKey = time.value;
huakuaiOpen.value = false; huakuaiOpen.value = false;
loginApp(form).then((res) => { loginApp(form).then((res) => {
formatAppLog("log", "at pages/login/login.vue:289", "info", res); formatAppLog("log", "at pages/login/login.vue:287", "info", res);
if (res.success) { if (res.success) {
uni.showToast({ uni.showToast({
title: res.message, title: res.message,
@ -11987,20 +11987,6 @@ if (uni.restoreGlobal) {
// 不补零 // 不补零
) )
}, },
{
name: "仓库",
url: genPaths2(
"/static/index/watch",
"warehouse_",
6,
// 张数
"png",
1,
// 起始索引为 1
false
// 不补零
)
},
{ {
name: "配务室", name: "配务室",
url: genPaths2( url: genPaths2(
@ -12016,7 +12002,21 @@ if (uni.restoreGlobal) {
) )
}, },
{ {
name: "服务大厅", name: "库房",
url: genPaths2(
"/static/index/watch",
"warehouse_",
6,
// 张数
"png",
1,
// 起始索引为 1
false
// 不补零
)
},
{
name: "消洗区",
url: genPaths2( url: genPaths2(
"/static/index/watch", "/static/index/watch",
"service_", "service_",
@ -12193,12 +12193,12 @@ if (uni.restoreGlobal) {
uni.setStorageSync("nuId", filteredMenu.value[savetypeNow.value].nuId); uni.setStorageSync("nuId", filteredMenu.value[savetypeNow.value].nuId);
uni.setStorageSync("nuName", filteredMenu.value[savetypeNow.value].nuName); uni.setStorageSync("nuName", filteredMenu.value[savetypeNow.value].nuName);
uni.setStorageSync("customerId", filteredMenu.value[savetypeNow.value].elderInfo ? (_a = filteredMenu.value[savetypeNow.value].elderInfo) == null ? void 0 : _a.id : null); uni.setStorageSync("customerId", filteredMenu.value[savetypeNow.value].elderInfo ? (_a = filteredMenu.value[savetypeNow.value].elderInfo) == null ? void 0 : _a.id : null);
formatAppLog("log", "at pages/watch/index.vue:723", "??????1111", filteredMenu.value[savetypeNow.value]); uni.setStorageSync("NUall", filteredMenu.value[savetypeNow.value]);
if (!typeNow.value) { if (!typeNow.value) {
uni.navigateTo({ uni.navigateTo({
url: "/pages/NursingNew/index" url: "/pages/NursingNew/index"
}); });
} else if (typeNow.value === 1) { } else if (typeNow.value === 2) {
uni.navigateTo({ uni.navigateTo({
url: "/pages/Warehousing/index" url: "/pages/Warehousing/index"
}); });
@ -12539,7 +12539,7 @@ if (uni.restoreGlobal) {
timerId0 = setInterval(updateClock, 1e3); timerId0 = setInterval(updateClock, 1e3);
queryPadPageList().then((res) => { queryPadPageList().then((res) => {
leftMenuArray.value = res.result.records; leftMenuArray.value = res.result.records;
formatAppLog("log", "at pages/watch/index.vue:1115", "????", leftMenuArray.value); formatAppLog("log", "at pages/watch/index.vue:1117", "????", leftMenuArray.value);
leftMenuArray.value.forEach((res2) => { leftMenuArray.value.forEach((res2) => {
switch (res2.areaFlag) { switch (res2.areaFlag) {
case "1": case "1":
@ -15258,13 +15258,6 @@ if (uni.restoreGlobal) {
method: "get" method: "get"
}); });
}; };
const addBatch = (params) => {
return request$1({
url: `${uni.getStorageSync("serverUrl")}/nuIpadApi/nuBizNuCustomerServer/addBatch`,
method: "post",
data: params
});
};
function genPaths(base, prefix, count, ext = "png", startIndex = 0, pad = false) { function genPaths(base, prefix, count, ext = "png", startIndex = 0, pad = false) {
return Array.from({ return Array.from({
length: count length: count
@ -18132,10 +18125,10 @@ if (uni.restoreGlobal) {
summary: "九泰护理日程测试", summary: "九泰护理日程测试",
imageUrl: "https://qiniu-web-assets.dcloud.net.cn/unidoc/zh/uni@2x.png", imageUrl: "https://qiniu-web-assets.dcloud.net.cn/unidoc/zh/uni@2x.png",
success: function(res) { success: function(res) {
formatAppLog("log", "at pages/NursingNew/component/nurse/index.vue:1354", "success:"); formatAppLog("log", "at pages/NursingNew/component/nurse/index.vue:1357", "success:");
}, },
fail: function(err) { fail: function(err) {
formatAppLog("log", "at pages/NursingNew/component/nurse/index.vue:1357", "fail:"); formatAppLog("log", "at pages/NursingNew/component/nurse/index.vue:1360", "fail:");
} }
}); });
}; };
@ -18390,13 +18383,22 @@ if (uni.restoreGlobal) {
return; return;
} }
let cycleType = ""; let cycleType = "";
let cycleValue = "";
if (allobject.cycleType === "日常护理") { if (allobject.cycleType === "日常护理") {
cycleType = "日常"; cycleType = "日常";
} else { } else {
if (weekIndex.value !== -1) { if (weekIndex.value !== -1) {
cycleType = weekValue.value; cycleType = weekValue.value;
let cycleTypeIndex = 0;
weekDays.forEach((element, index2) => {
if (element == weekValue.value) {
cycleTypeIndex = index2;
}
});
cycleValue = cycleTypeIndex.toString();
} else { } else {
cycleType = monthValue.value + "号"; cycleType = monthValue.value + "号";
cycleValue = monthValue.value;
} }
iszhouqi.value = false; iszhouqi.value = false;
weekIndex.value = -1; weekIndex.value = -1;
@ -18415,15 +18417,22 @@ if (uni.restoreGlobal) {
let param = { let param = {
directiveId: allobject.id, directiveId: allobject.id,
directiveName: allobject.title, directiveName: allobject.title,
typeId: allobject.typeId,
typeName: allobject.typeName,
categoryId: allobject.categoryId,
categoryName: allobject.categoryName,
cycleTypeId: allobject.cycleTypeId,
cycleType,
cycleValue,
startTime: formattedStart, startTime: formattedStart,
endTime: formattedEnd, endTime: formattedEnd,
positioning: saveEditIndex.value.index0.toString(), positioning: saveEditIndex.value.index0.toString(),
positioningLong: saveEditIndex.value.index1.toString(), positioningLong: saveEditIndex.value.index1.toString(),
// tagName: allobject.tagName, izPackage: false,
cycleType, previewFile: allobject.previewFile,
nuId: uni.getStorageSync("nuId"), previewFileSmall: allobject.previewFileSmall,
customerId: uni.getStorageSync("customerId"), immediateFile: allobject.immediateFile,
id: "", immediateFileFocus: allobject.immediateFileFocus,
tagName: timearr.value[saveEditIndex.value.index0].children[saveEditIndex.value.index1].tagName tagName: timearr.value[saveEditIndex.value.index0].children[saveEditIndex.value.index1].tagName
}; };
timearr.value[saveEditIndex.value.index0].children[saveEditIndex.value.index1] = param; timearr.value[saveEditIndex.value.index0].children[saveEditIndex.value.index1] = param;
@ -18458,15 +18467,7 @@ if (uni.restoreGlobal) {
} }
}); });
}); });
formatAppLog("log", "at pages/NursingNew/component/nurse/index.vue:1735", "00000", postArray); formatAppLog("log", "at pages/NursingNew/component/nurse/index.vue:1775", "00000", postArray);
addBatch(postArray).then(() => {
getNclist(uni.getStorageSync("nuId"), uni.getStorageSync("customerId")).then((res) => {
if (res.success) {
formatAppLog("log", "at pages/NursingNew/component/nurse/index.vue:1740", "new", res.result);
timearr.value = res.result;
}
});
});
}; };
const routerPush = () => { const routerPush = () => {
uni.setStorage({ uni.setStorage({
@ -18581,15 +18582,22 @@ if (uni.restoreGlobal) {
const moBan = vue.ref({ const moBan = vue.ref({
directiveId: "", directiveId: "",
directiveName: "", directiveName: "",
typeId: "",
typeName: "",
categoryId: "",
categoryName: "",
cycleTypeId: "",
cycleType: "",
cycleValue: "",
startTime: "", startTime: "",
endTime: "", endTime: "",
positioning: "", positioning: "",
positioningLong: "", positioningLong: "",
// tagName: "", izPackage: false,
cycleType: "", previewFile: "",
nuId: uni.getStorageSync("nuId"), previewFileSmall: "",
customerId: uni.getStorageSync("customerId"), immediateFile: "",
id: "", immediateFileFocus: "",
tagName: "" tagName: ""
}); });
function splitString(str) { function splitString(str) {
@ -19353,6 +19361,7 @@ if (uni.restoreGlobal) {
vue.Fragment, vue.Fragment,
null, null,
vue.renderList((_b = (_a = $setup.bigArray[$setup.upmenuIndex]) == null ? void 0 : _a.children[$setup.downmenuIndex]) == null ? void 0 : _b.children, (item, index2) => { vue.renderList((_b = (_a = $setup.bigArray[$setup.upmenuIndex]) == null ? void 0 : _a.children[$setup.downmenuIndex]) == null ? void 0 : _b.children, (item, index2) => {
var _a2;
return vue.openBlock(), vue.createElementBlock("view", { return vue.openBlock(), vue.createElementBlock("view", {
key: index2, key: index2,
onClick: ($event) => $setup.onTap(index2) onClick: ($event) => $setup.onTap(index2)
@ -19408,13 +19417,16 @@ if (uni.restoreGlobal) {
]), ]),
vue.createElementVNode("image", { vue.createElementVNode("image", {
class: "right-box-img", class: "right-box-img",
src: $setup.thirdmenuIndex == index2 ? item.immediateFileFocus : item.immediateFile src: $setup.thirdmenuIndex == index2 ? item.netImmediateFileFocus : item.netImmediateFile
}, null, 8, ["src"]), }, null, 8, ["src"]),
vue.createElementVNode( vue.createElementVNode(
"view", "view",
{ {
class: "right-box-font", class: "right-box-font",
style: vue.normalizeStyle([{ "font-size": "20rpx", "margin-top": "2rpx" }, $setup.thirdmenuIndex == index2 ? { color: `rgb(54, 159, 239)` } : {}]) style: vue.normalizeStyle([
{ marginTop: "2rpx", fontSize: ((_a2 = item.title) == null ? void 0 : _a2.trim().length) > 6 ? "15rpx" : "20rpx" },
$setup.thirdmenuIndex === index2 ? { color: "rgb(54,159,239)" } : {}
])
}, },
vue.toDisplayString(item.title), vue.toDisplayString(item.title),
5 5
@ -20283,9 +20295,9 @@ if (uni.restoreGlobal) {
{ {
class: vue.normalizeClass($setup.darkFans ? `left-head-font-dark` : `left-head-font`) class: vue.normalizeClass($setup.darkFans ? `left-head-font-dark` : `left-head-font`)
}, },
" 王金福 ", vue.toDisplayString(uni.getStorageSync("NUall").elderInfo ? uni.getStorageSync("NUall").elderInfo.name : ""),
2 3
/* CLASS */ /* TEXT, CLASS */
) )
]), ]),
vue.createElementVNode("view", { class: "menus-father" }, [ vue.createElementVNode("view", { class: "menus-father" }, [
@ -27881,7 +27893,7 @@ if (uni.restoreGlobal) {
}; };
const navurl = vue.ref(""); const navurl = vue.ref("");
const movecard = (type) => { const movecard = (type) => {
formatAppLog("log", "at pages/Warehouse/Warehouse.vue:61", type); formatAppLog("log", "at pages/Warehouse/Warehouse.vue:64", type);
switch (type) { switch (type) {
case 0: case 0:
housedex.value > 0 ? housedex.value-- : housedex.value = 3; housedex.value > 0 ? housedex.value-- : housedex.value = 3;
@ -27896,7 +27908,7 @@ if (uni.restoreGlobal) {
housedex.value > 0 ? housedex.value-- : housedex.value = 3; housedex.value > 0 ? housedex.value-- : housedex.value = 3;
break; break;
case 4: case 4:
formatAppLog("log", "at pages/Warehouse/Warehouse.vue:81", "选中" + housedex.value); formatAppLog("log", "at pages/Warehouse/Warehouse.vue:84", "选中" + housedex.value);
if (housedex.value == 1) { if (housedex.value == 1) {
navurl.value = "pages/Warehouse/procurement"; navurl.value = "pages/Warehouse/procurement";
} }
@ -28151,7 +28163,7 @@ if (uni.restoreGlobal) {
[vue.vShow, $props.isShow] [vue.vShow, $props.isShow]
]); ]);
} }
const PagesWarehouseWarehouse = /* @__PURE__ */ _export_sfc(_sfc_main$h, [["render", _sfc_render$g], ["__file", "D:/项目/hldy_app/pages/Warehouse/Warehouse.vue"]]); const PagesWarehouseWarehouse = /* @__PURE__ */ _export_sfc(_sfc_main$h, [["render", _sfc_render$g], ["__scopeId", "data-v-ce457564"], ["__file", "D:/项目/hldy_app/pages/Warehouse/Warehouse.vue"]]);
const _sfc_main$g = /* @__PURE__ */ vue.defineComponent({ const _sfc_main$g = /* @__PURE__ */ vue.defineComponent({
__name: "index", __name: "index",
setup(__props, { expose: __expose }) { setup(__props, { expose: __expose }) {

View File

@ -2386,6 +2386,7 @@
.left-container .left-head .left-head-font[data-v-0df9d5ac] { .left-container .left-head .left-head-font[data-v-0df9d5ac] {
font-weight: 700; font-weight: 700;
font-size: 1rem; font-size: 1rem;
height: 1rem;
} }
.left-container .left-head .left-head-font-dark[data-v-0df9d5ac] { .left-container .left-head .left-head-font-dark[data-v-0df9d5ac] {
font-weight: 700; font-weight: 700;

View File

@ -1,4 +1,4 @@
.wareaitem { .wareaitem[data-v-ce457564] {
width: 100%; width: 100%;
height: 100%; height: 100%;
position: fixed; position: fixed;
@ -7,11 +7,11 @@
background: url('../../static/index/warehouse/bg.png') no-repeat; background: url('../../static/index/warehouse/bg.png') no-repeat;
background-size: cover cover; background-size: cover cover;
} }
.wareaitem .tp uni-image { .wareaitem .tp uni-image[data-v-ce457564] {
width: 100%; width: 100%;
height: 100%; height: 100%;
} }
.wareaitem .operationbtn { .wareaitem .operationbtn[data-v-ce457564] {
width: 20vw; width: 20vw;
height: 10vw; height: 10vw;
position: absolute; position: absolute;
@ -21,7 +21,7 @@
justify-content: space-between; justify-content: space-between;
flex-wrap: wrap; flex-wrap: wrap;
} }
.wareaitem .operationbtn > uni-view { .wareaitem .operationbtn > uni-view[data-v-ce457564] {
width: 9vw; width: 9vw;
height: 4vw; height: 4vw;
border-radius: 1vw; border-radius: 1vw;
@ -36,16 +36,16 @@
transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.25s ease; transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.25s ease;
-webkit-tap-highlight-color: transparent; -webkit-tap-highlight-color: transparent;
} }
.wareaitem .operationbtn .click-box { .wareaitem .operationbtn .click-box[data-v-ce457564] {
color: #888d99; color: #888d99;
background: rgba(255, 255, 255, 0.43); background: rgba(255, 255, 255, 0.43);
} }
.wareaitem .operationbtn .click-box-target { .wareaitem .operationbtn .click-box-target[data-v-ce457564] {
color: transparent; color: transparent;
animation: scalePulse 360ms cubic-bezier(0.2, 0.8, 0.2, 1); animation: scalePulse-ce457564 360ms cubic-bezier(0.2, 0.8, 0.2, 1);
transform-origin: center center; transform-origin: center center;
} }
.wareaitem .operationbtn .grad-text { .wareaitem .operationbtn .grad-text[data-v-ce457564] {
background: linear-gradient(90deg, #5b8bb3, #87a1bd); background: linear-gradient(90deg, #5b8bb3, #87a1bd);
background-size: 200% 100%; background-size: 200% 100%;
background-position: 0% 50%; background-position: 0% 50%;
@ -54,7 +54,7 @@
-webkit-text-fill-color: transparent; -webkit-text-fill-color: transparent;
transition: background-position 0.8s linear; transition: background-position 0.8s linear;
} }
@keyframes scalePulse { @keyframes scalePulse-ce457564 {
0% { 0% {
transform: scale(1); transform: scale(1);
} }
@ -68,146 +68,146 @@
transform: scale(1); transform: scale(1);
} }
} }
.wareaitem .wareaitem-item { .wareaitem .wareaitem-item[data-v-ce457564] {
width: 100%; width: 100%;
height: 100%; height: 100%;
position: fixed; position: fixed;
top: 0; top: 0;
left: -2vw; left: -2vw;
} }
.wareaitem .wareaitem-item .itemact1 { .wareaitem .wareaitem-item .itemact1[data-v-ce457564] {
width: 29vw; width: 29vw;
height: 21vw; height: 21vw;
top: 23vw; top: 23vw;
left: 6vw; left: 6vw;
z-index: 31; z-index: 31;
} }
.wareaitem .wareaitem-item .itemact2 { .wareaitem .wareaitem-item .itemact2[data-v-ce457564] {
width: 26vw; width: 26vw;
height: 16vw; height: 16vw;
top: 15vw; top: 15vw;
left: 41vw; left: 41vw;
z-index: 27; z-index: 27;
} }
.wareaitem .wareaitem-item .itemact3 { .wareaitem .wareaitem-item .itemact3[data-v-ce457564] {
width: 24vw; width: 24vw;
height: 16vw; height: 16vw;
top: 28vw; top: 28vw;
left: 46vw; left: 46vw;
z-index: 55; z-index: 55;
} }
.wareaitem .wareaitem-item .itemact4 { .wareaitem .wareaitem-item .itemact4[data-v-ce457564] {
width: 17vw; width: 17vw;
height: 13vw; height: 13vw;
top: 22vw; top: 22vw;
left: 67vw; left: 67vw;
z-index: 36; z-index: 36;
} }
.wareaitem .wareaitem-item .wclik { .wareaitem .wareaitem-item .wclik[data-v-ce457564] {
width: 22vw; width: 22vw;
height: 14vw; height: 14vw;
top: 16vw; top: 16vw;
left: 44vw; left: 44vw;
z-index: 47; z-index: 47;
} }
.wareaitem .wareaitem-item .gifs { .wareaitem .wareaitem-item .gifs[data-v-ce457564] {
width: 41vw; width: 41vw;
height: 20vw; height: 20vw;
top: 21.6vw; top: 21.6vw;
left: 27.5vw; left: 27.5vw;
z-index: 29; z-index: 29;
} }
.wareaitem .wareaitem-item .ys { .wareaitem .wareaitem-item .ys[data-v-ce457564] {
width: 11vw; width: 11vw;
height: 8vw; height: 8vw;
top: 24.2vw; top: 24.2vw;
left: 57.9vw; left: 57.9vw;
z-index: 28; z-index: 28;
} }
.wareaitem .wareaitem-item .wareitem1 { .wareaitem .wareaitem-item .wareitem1[data-v-ce457564] {
width: 86vw; width: 86vw;
height: 44vw; height: 44vw;
top: 1vw; top: 1vw;
left: 10.5vw; left: 10.5vw;
z-index: 15; z-index: 15;
} }
.wareaitem .wareaitem-item .wareitem4 { .wareaitem .wareaitem-item .wareitem4[data-v-ce457564] {
width: 11vw; width: 11vw;
height: 7vw; height: 7vw;
top: 30.9vw; top: 30.9vw;
left: 60vw; left: 60vw;
} }
.wareaitem .wareaitem-item .wareitem6 { .wareaitem .wareaitem-item .wareitem6[data-v-ce457564] {
width: 17vw; width: 17vw;
height: 12vw; height: 12vw;
top: 28vw; top: 28vw;
right: -2vw; right: -2vw;
z-index: 35; z-index: 35;
} }
.wareaitem .wareaitem-item .wareitem5 { .wareaitem .wareaitem-item .wareitem5[data-v-ce457564] {
width: 18vw; width: 18vw;
height: 15vw; height: 15vw;
top: 37vw; top: 37vw;
left: 73vw; left: 73vw;
z-index: 35; z-index: 35;
} }
.wareaitem .wareaitem-item .wareitem8 { .wareaitem .wareaitem-item .wareitem8[data-v-ce457564] {
width: 26vw; width: 26vw;
height: 8vw; height: 8vw;
top: 29.7vw; top: 29.7vw;
left: 21.8vw; left: 21.8vw;
} }
.wareaitem .wareaitem-item .wareitem11 { .wareaitem .wareaitem-item .wareitem11[data-v-ce457564] {
width: 3vw; width: 3vw;
height: 3vw; height: 3vw;
top: 24.5vw; top: 24.5vw;
left: 60vw; left: 60vw;
z-index: 35; z-index: 35;
} }
.wareaitem .wareaitem-item .wareitem10 { .wareaitem .wareaitem-item .wareitem10[data-v-ce457564] {
width: 55vw; width: 55vw;
height: 27vw; height: 27vw;
top: 38vw; top: 38vw;
left: 20vw; left: 20vw;
z-index: 36; z-index: 36;
} }
.wareaitem .wareaitem-item > uni-view { .wareaitem .wareaitem-item > uni-view[data-v-ce457564] {
position: absolute; position: absolute;
} }
.wareaitem .annotation1 { .wareaitem .annotation1[data-v-ce457564] {
top: 20.5vw; top: 20.5vw;
left: 19vw; left: 19vw;
} }
.wareaitem .annotation2 { .wareaitem .annotation2[data-v-ce457564] {
top: 13vw; top: 13vw;
left: 47vw; left: 47vw;
} }
.wareaitem .annotation3 { .wareaitem .annotation3[data-v-ce457564] {
top: 23vw; top: 23vw;
left: 50vw; left: 50vw;
} }
.wareaitem .annotation4 { .wareaitem .annotation4[data-v-ce457564] {
top: 17vw; top: 17vw;
left: 68vw; left: 68vw;
} }
.wareaitem .annotation5 { .wareaitem .annotation5[data-v-ce457564] {
top: 32vw; top: 32vw;
left: 74vw; left: 74vw;
} }
.wareaitem .annotation6 { .wareaitem .annotation6[data-v-ce457564] {
top: 23vw; top: 23vw;
right: 6vw; right: 6vw;
} }
.wareaitem .annotation { .wareaitem .annotation[data-v-ce457564] {
width: 7vw; width: 7vw;
height: 8vw; height: 8vw;
z-index: 20; z-index: 20;
position: fixed; position: fixed;
} }
.wareaitem .annotation > uni-view { .wareaitem .annotation > uni-view[data-v-ce457564] {
position: relative; position: relative;
} }
.wareaitem .annotation > uni-view:nth-child(1) { .wareaitem .annotation > uni-view[data-v-ce457564]:nth-child(1) {
width: 7vw; width: 7vw;
height: 2vw; height: 2vw;
background: #F2F3F7; background: #F2F3F7;
@ -221,19 +221,19 @@
justify-content: center; justify-content: center;
z-index: 3; z-index: 3;
} }
.wareaitem .annotation > uni-view:nth-child(2) { .wareaitem .annotation > uni-view[data-v-ce457564]:nth-child(2) {
width: 4vw; width: 4vw;
height: 2vw; height: 2vw;
margin: -0.0625rem auto 0; margin: -0.0625rem auto 0;
z-index: 2; z-index: 2;
} }
.wareaitem .annotation > uni-view:nth-child(3) { .wareaitem .annotation > uni-view[data-v-ce457564]:nth-child(3) {
width: 3vw; width: 3vw;
height: 5vw; height: 5vw;
z-index: 1; z-index: 1;
margin: -1vw auto 0; margin: -1vw auto 0;
} }
.backgroundContainer { .backgroundContainer[data-v-ce457564] {
display: flex; display: flex;
flex-direction: column; flex-direction: column;
position: relative; position: relative;
@ -244,7 +244,7 @@
background-position: center center; background-position: center center;
overflow: hidden; overflow: hidden;
} }
.darkbackgroundContainer { .darkbackgroundContainer[data-v-ce457564] {
width: 100vw; width: 100vw;
height: 100vh; height: 100vh;
display: flex; display: flex;

View File

@ -7267,7 +7267,7 @@ to {
overflow: hidden; overflow: hidden;
} }
.wareaitem { .wareaitem[data-v-ce457564] {
width: 100%; width: 100%;
height: 100%; height: 100%;
position: fixed; position: fixed;
@ -7276,11 +7276,11 @@ to {
background: url('../../static/index/warehouse/bg.png') no-repeat; background: url('../../static/index/warehouse/bg.png') no-repeat;
background-size: cover cover; background-size: cover cover;
} }
.wareaitem .tp uni-image { .wareaitem .tp uni-image[data-v-ce457564] {
width: 100%; width: 100%;
height: 100%; height: 100%;
} }
.wareaitem .operationbtn { .wareaitem .operationbtn[data-v-ce457564] {
width: 20vw; width: 20vw;
height: 10vw; height: 10vw;
position: absolute; position: absolute;
@ -7290,7 +7290,7 @@ to {
justify-content: space-between; justify-content: space-between;
flex-wrap: wrap; flex-wrap: wrap;
} }
.wareaitem .operationbtn > uni-view { .wareaitem .operationbtn > uni-view[data-v-ce457564] {
width: 9vw; width: 9vw;
height: 4vw; height: 4vw;
border-radius: 1vw; border-radius: 1vw;
@ -7305,16 +7305,16 @@ to {
transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.25s ease; transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.25s ease;
-webkit-tap-highlight-color: transparent; -webkit-tap-highlight-color: transparent;
} }
.wareaitem .operationbtn .click-box { .wareaitem .operationbtn .click-box[data-v-ce457564] {
color: #888d99; color: #888d99;
background: rgba(255, 255, 255, 0.43); background: rgba(255, 255, 255, 0.43);
} }
.wareaitem .operationbtn .click-box-target { .wareaitem .operationbtn .click-box-target[data-v-ce457564] {
color: transparent; color: transparent;
animation: scalePulse 360ms cubic-bezier(0.2, 0.8, 0.2, 1); animation: scalePulse-ce457564 360ms cubic-bezier(0.2, 0.8, 0.2, 1);
transform-origin: center center; transform-origin: center center;
} }
.wareaitem .operationbtn .grad-text { .wareaitem .operationbtn .grad-text[data-v-ce457564] {
background: linear-gradient(90deg, #5b8bb3, #87a1bd); background: linear-gradient(90deg, #5b8bb3, #87a1bd);
background-size: 200% 100%; background-size: 200% 100%;
background-position: 0% 50%; background-position: 0% 50%;
@ -7323,7 +7323,7 @@ to {
-webkit-text-fill-color: transparent; -webkit-text-fill-color: transparent;
transition: background-position 0.8s linear; transition: background-position 0.8s linear;
} }
@keyframes scalePulse { @keyframes scalePulse-ce457564 {
0% { 0% {
transform: scale(1); transform: scale(1);
} }
@ -7337,146 +7337,146 @@ to {
transform: scale(1); transform: scale(1);
} }
} }
.wareaitem .wareaitem-item { .wareaitem .wareaitem-item[data-v-ce457564] {
width: 100%; width: 100%;
height: 100%; height: 100%;
position: fixed; position: fixed;
top: 0; top: 0;
left: -2vw; left: -2vw;
} }
.wareaitem .wareaitem-item .itemact1 { .wareaitem .wareaitem-item .itemact1[data-v-ce457564] {
width: 29vw; width: 29vw;
height: 21vw; height: 21vw;
top: 23vw; top: 23vw;
left: 6vw; left: 6vw;
z-index: 31; z-index: 31;
} }
.wareaitem .wareaitem-item .itemact2 { .wareaitem .wareaitem-item .itemact2[data-v-ce457564] {
width: 26vw; width: 26vw;
height: 16vw; height: 16vw;
top: 15vw; top: 15vw;
left: 41vw; left: 41vw;
z-index: 27; z-index: 27;
} }
.wareaitem .wareaitem-item .itemact3 { .wareaitem .wareaitem-item .itemact3[data-v-ce457564] {
width: 24vw; width: 24vw;
height: 16vw; height: 16vw;
top: 28vw; top: 28vw;
left: 46vw; left: 46vw;
z-index: 55; z-index: 55;
} }
.wareaitem .wareaitem-item .itemact4 { .wareaitem .wareaitem-item .itemact4[data-v-ce457564] {
width: 17vw; width: 17vw;
height: 13vw; height: 13vw;
top: 22vw; top: 22vw;
left: 67vw; left: 67vw;
z-index: 36; z-index: 36;
} }
.wareaitem .wareaitem-item .wclik { .wareaitem .wareaitem-item .wclik[data-v-ce457564] {
width: 22vw; width: 22vw;
height: 14vw; height: 14vw;
top: 16vw; top: 16vw;
left: 44vw; left: 44vw;
z-index: 47; z-index: 47;
} }
.wareaitem .wareaitem-item .gifs { .wareaitem .wareaitem-item .gifs[data-v-ce457564] {
width: 41vw; width: 41vw;
height: 20vw; height: 20vw;
top: 21.6vw; top: 21.6vw;
left: 27.5vw; left: 27.5vw;
z-index: 29; z-index: 29;
} }
.wareaitem .wareaitem-item .ys { .wareaitem .wareaitem-item .ys[data-v-ce457564] {
width: 11vw; width: 11vw;
height: 8vw; height: 8vw;
top: 24.2vw; top: 24.2vw;
left: 57.9vw; left: 57.9vw;
z-index: 28; z-index: 28;
} }
.wareaitem .wareaitem-item .wareitem1 { .wareaitem .wareaitem-item .wareitem1[data-v-ce457564] {
width: 86vw; width: 86vw;
height: 44vw; height: 44vw;
top: 1vw; top: 1vw;
left: 10.5vw; left: 10.5vw;
z-index: 15; z-index: 15;
} }
.wareaitem .wareaitem-item .wareitem4 { .wareaitem .wareaitem-item .wareitem4[data-v-ce457564] {
width: 11vw; width: 11vw;
height: 7vw; height: 7vw;
top: 30.9vw; top: 30.9vw;
left: 60vw; left: 60vw;
} }
.wareaitem .wareaitem-item .wareitem6 { .wareaitem .wareaitem-item .wareitem6[data-v-ce457564] {
width: 17vw; width: 17vw;
height: 12vw; height: 12vw;
top: 28vw; top: 28vw;
right: -2vw; right: -2vw;
z-index: 35; z-index: 35;
} }
.wareaitem .wareaitem-item .wareitem5 { .wareaitem .wareaitem-item .wareitem5[data-v-ce457564] {
width: 18vw; width: 18vw;
height: 15vw; height: 15vw;
top: 37vw; top: 37vw;
left: 73vw; left: 73vw;
z-index: 35; z-index: 35;
} }
.wareaitem .wareaitem-item .wareitem8 { .wareaitem .wareaitem-item .wareitem8[data-v-ce457564] {
width: 26vw; width: 26vw;
height: 8vw; height: 8vw;
top: 29.7vw; top: 29.7vw;
left: 21.8vw; left: 21.8vw;
} }
.wareaitem .wareaitem-item .wareitem11 { .wareaitem .wareaitem-item .wareitem11[data-v-ce457564] {
width: 3vw; width: 3vw;
height: 3vw; height: 3vw;
top: 24.5vw; top: 24.5vw;
left: 60vw; left: 60vw;
z-index: 35; z-index: 35;
} }
.wareaitem .wareaitem-item .wareitem10 { .wareaitem .wareaitem-item .wareitem10[data-v-ce457564] {
width: 55vw; width: 55vw;
height: 27vw; height: 27vw;
top: 38vw; top: 38vw;
left: 20vw; left: 20vw;
z-index: 36; z-index: 36;
} }
.wareaitem .wareaitem-item > uni-view { .wareaitem .wareaitem-item > uni-view[data-v-ce457564] {
position: absolute; position: absolute;
} }
.wareaitem .annotation1 { .wareaitem .annotation1[data-v-ce457564] {
top: 20.5vw; top: 20.5vw;
left: 19vw; left: 19vw;
} }
.wareaitem .annotation2 { .wareaitem .annotation2[data-v-ce457564] {
top: 13vw; top: 13vw;
left: 47vw; left: 47vw;
} }
.wareaitem .annotation3 { .wareaitem .annotation3[data-v-ce457564] {
top: 23vw; top: 23vw;
left: 50vw; left: 50vw;
} }
.wareaitem .annotation4 { .wareaitem .annotation4[data-v-ce457564] {
top: 17vw; top: 17vw;
left: 68vw; left: 68vw;
} }
.wareaitem .annotation5 { .wareaitem .annotation5[data-v-ce457564] {
top: 32vw; top: 32vw;
left: 74vw; left: 74vw;
} }
.wareaitem .annotation6 { .wareaitem .annotation6[data-v-ce457564] {
top: 23vw; top: 23vw;
right: 6vw; right: 6vw;
} }
.wareaitem .annotation { .wareaitem .annotation[data-v-ce457564] {
width: 7vw; width: 7vw;
height: 8vw; height: 8vw;
z-index: 20; z-index: 20;
position: fixed; position: fixed;
} }
.wareaitem .annotation > uni-view { .wareaitem .annotation > uni-view[data-v-ce457564] {
position: relative; position: relative;
} }
.wareaitem .annotation > uni-view:nth-child(1) { .wareaitem .annotation > uni-view[data-v-ce457564]:nth-child(1) {
width: 7vw; width: 7vw;
height: 2vw; height: 2vw;
background: #F2F3F7; background: #F2F3F7;
@ -7490,19 +7490,19 @@ to {
justify-content: center; justify-content: center;
z-index: 3; z-index: 3;
} }
.wareaitem .annotation > uni-view:nth-child(2) { .wareaitem .annotation > uni-view[data-v-ce457564]:nth-child(2) {
width: 4vw; width: 4vw;
height: 2vw; height: 2vw;
margin: -0.0625rem auto 0; margin: -0.0625rem auto 0;
z-index: 2; z-index: 2;
} }
.wareaitem .annotation > uni-view:nth-child(3) { .wareaitem .annotation > uni-view[data-v-ce457564]:nth-child(3) {
width: 3vw; width: 3vw;
height: 5vw; height: 5vw;
z-index: 1; z-index: 1;
margin: -1vw auto 0; margin: -1vw auto 0;
} }
.backgroundContainer { .backgroundContainer[data-v-ce457564] {
display: flex; display: flex;
flex-direction: column; flex-direction: column;
position: relative; position: relative;
@ -7513,7 +7513,7 @@ to {
background-position: center center; background-position: center center;
overflow: hidden; overflow: hidden;
} }
.darkbackgroundContainer { .darkbackgroundContainer[data-v-ce457564] {
width: 100vw; width: 100vw;
height: 100vh; height: 100vh;
display: flex; display: flex;

View File

@ -209,11 +209,11 @@
font-size: 1rem; font-size: 1rem;
} }
.big-bgc[data-v-4b26e9e6] { .big-bgc[data-v-4b26e9e6] {
margin-left: -0.625rem; margin-left: -0.3125rem;
margin-top: 0.625rem; margin-top: 1.25rem;
width: 41.25rem; width: 40.3125rem;
height: 32.65625rem; height: 31.875rem;
border-radius: 1.5625rem; border-radius: 1.71875rem;
overflow: hidden; overflow: hidden;
display: flex; display: flex;
justify-content: center; justify-content: center;
@ -529,7 +529,7 @@
.picture .picture-card .bgc-card[data-v-4b26e9e6] { .picture .picture-card .bgc-card[data-v-4b26e9e6] {
width: 100%; width: 100%;
height: 4.0625rem; height: 4.0625rem;
background-color: #EAEAEC; background-color: rgba(226, 227, 231, 0.5);
border-radius: 0.9375rem; border-radius: 0.9375rem;
display: flex; display: flex;
justify-content: center; justify-content: center;

View File

@ -0,0 +1,200 @@
"use strict";
const common_vendor = require("./common/vendor.js");
const common_assets = require("./common/assets.js");
if (!Array) {
const _component_donghua = common_vendor.resolveComponent("donghua");
const _component_arrowkeys = common_vendor.resolveComponent("arrowkeys");
(_component_donghua + _component_arrowkeys)();
}
const _sfc_main = /* @__PURE__ */ common_vendor.defineComponent({
__name: "Warehouse",
props: {
isShow: {
type: Boolean,
required: true
}
},
setup(__props) {
const darkFans = common_vendor.ref(false);
const getblue = common_vendor.ref(false);
const housedex = common_vendor.ref(-1);
const housactive = (index) => {
if (index > 5) {
return;
}
housedex.value = index;
};
const navurl = common_vendor.ref("");
const movecard = (type) => {
common_vendor.index.__f__("log", "at pages/Warehouse/Warehouse.vue:64", type);
switch (type) {
case 0:
housedex.value > 0 ? housedex.value-- : housedex.value = 3;
break;
case 1:
housedex.value > 2 ? housedex.value = 0 : housedex.value++;
break;
case 2:
housedex.value > 2 ? housedex.value = 0 : housedex.value++;
break;
case 3:
housedex.value > 0 ? housedex.value-- : housedex.value = 3;
break;
case 4:
common_vendor.index.__f__("log", "at pages/Warehouse/Warehouse.vue:84", "选中" + housedex.value);
if (housedex.value == 1) {
navurl.value = "pages/Warehouse/procurement";
}
common_vendor.index.navigateTo({
url: "/" + navurl.value
});
break;
case 5:
common_vendor.index.navigateBack();
break;
}
};
const beblue = common_vendor.ref(-1);
let clickResetTimer = null;
function onTap(dir) {
clearClickResetTimer();
beblue.value = dir;
clickResetTimer = setTimeout(() => {
beblue.value = -1;
clickResetTimer = null;
}, 500);
}
function clearClickResetTimer() {
if (clickResetTimer) {
clearTimeout(clickResetTimer);
clickResetTimer = null;
}
}
function genPaths(base, prefix, count, ext = "png", startIndex = 0, pad = false) {
return Array.from({ length: count }, (_, i) => {
const idx = pad ? String(i + startIndex).padStart(2, "0") : i + startIndex;
return `${base}/${prefix}${idx}.${ext}`;
});
}
const animArray = common_vendor.ref([
{
url: genPaths(
"/static/index/warehouse/animation",
"remit0",
5,
// 张数
"png",
1,
// 起始索引为 1
false
// 不补零
),
width: "29vw",
height: "21vw"
},
{
url: genPaths(
"/static/index/warehouse/animation",
"buy0",
5,
// 张数
"png",
1,
// 起始索引为 1
false
// 不补零
),
width: "26vw",
height: "16vw"
},
{
url: genPaths(
"/static/index/warehouse/animation",
"checkout0",
5,
// 张数
"png",
1,
// 起始索引为 1
false
// 不补零
),
width: "24vw",
height: "16vw"
},
{
url: genPaths(
"/static/index/warehouse/animation",
"Pick0",
4,
// 张数
"png",
1,
// 起始索引为 1
false
// 不补零
),
width: "17vw",
height: "13vw"
}
]);
return (_ctx, _cache) => {
return {
a: common_vendor.f(animArray.value, (item, index, i0) => {
return common_vendor.e({
a: housedex.value != index
}, housedex.value != index ? {
b: "/static/index/warehouse/active/w" + index + ".png"
} : {}, {
c: index === housedex.value,
d: "ce457564-0-" + i0,
e: common_vendor.p({
width: item.width,
height: item.height,
links: item.url,
playing: index === housedex.value
}),
f: common_vendor.n("itemact" + (index + 1)),
g: index,
h: common_vendor.o(($event) => housactive(index), index)
});
}),
b: common_vendor.f(12, (item, index, i0) => {
return {
a: "/static/index/warehouse/w" + index + ".png",
b: common_vendor.n("wareitem" + index),
c: index
};
}),
c: common_assets._imports_0$14,
d: common_vendor.o(($event) => housactive(1)),
e: common_vendor.f(["付款", "采购", "结账", "拣货", "护理单元", "中控室"], (v, i, i0) => {
return {
a: common_vendor.t(v),
b: common_vendor.n("annotation" + (i + 1)),
c: i
};
}),
f: common_assets._imports_1$11,
g: common_assets._imports_2$8,
h: common_vendor.o(movecard),
i: common_vendor.p({
getblue: getblue.value,
moveleft: 45
}),
j: common_vendor.f(["请领出库", "退货入库", "库存盘点", "实时监控"], (v, i, i0) => {
return {
a: common_vendor.t(v),
b: common_vendor.o(($event) => onTap(i)),
c: common_vendor.n(beblue.value === i ? "click-box-target grad-text" : "click-box")
};
}),
k: common_vendor.n(darkFans.value ? `darkbackgroundContainer` : `backgroundContainer`),
l: __props.isShow
};
};
}
});
const MiniProgramPage = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["__scopeId", "data-v-ce457564"]]);
exports.MiniProgramPage = MiniProgramPage;
//# sourceMappingURL=../.sourcemap/mp-weixin/Warehouse.js.map

View File

@ -18,6 +18,8 @@ if (!Math) {
"./pages/assess/index.js"; "./pages/assess/index.js";
"./pages/timeMatrix/index.js"; "./pages/timeMatrix/index.js";
"./pages/timeMatrix/indexnew.js"; "./pages/timeMatrix/indexnew.js";
"./pages/Warehouse/Warehouse.js";
"./pages/Warehouse/procurement.js";
} }
const _sfc_main = { const _sfc_main = {
onLaunch: function() { onLaunch: function() {

View File

@ -14,13 +14,16 @@
"pages/Initialization/index", "pages/Initialization/index",
"pages/assess/index", "pages/assess/index",
"pages/timeMatrix/index", "pages/timeMatrix/index",
"pages/timeMatrix/indexnew" "pages/timeMatrix/indexnew",
"pages/Warehouse/Warehouse",
"pages/Warehouse/procurement"
], ],
"window": { "window": {
"navigationBarTextStyle": "black", "navigationBarTextStyle": "black",
"navigationBarTitleText": "uni-app x", "navigationBarTitleText": "uni-app x",
"navigationBarBackgroundColor": "#F8F8F8", "navigationBarBackgroundColor": "#F8F8F8",
"backgroundColor": "#F8F8F8", "backgroundColor": "#F8F8F8",
"navigationStyle": "custom",
"bounce": "none" "bounce": "none"
}, },
"usingComponents": { "usingComponents": {

View File

@ -1,10 +1,10 @@
"use strict"; "use strict";
const _imports_0$o = "/static/index/superNu.png"; const _imports_0$p = "/static/index/superNu.png";
const _imports_0$n = "/static/left.png"; const _imports_0$o = "/static/left.png";
const _imports_0$m = "/static/index/oldman.png"; const _imports_0$n = "/static/index/oldman.png";
const _imports_0$l = "/static/index/watch/uni.png"; const _imports_0$m = "/static/index/watch/uni.png";
const _imports_1$k = "/static/index/watch/more.png"; const _imports_1$k = "/static/index/watch/more.png";
const _imports_2$e = "/static/index/newindex/curve/shezhi.png"; const _imports_2$f = "/static/index/newindex/curve/shezhi.png";
const _imports_3$a = "/static/nocamera.png"; const _imports_3$a = "/static/nocamera.png";
const _imports_4$7 = "/static/index/watch/laotai.png"; const _imports_4$7 = "/static/index/watch/laotai.png";
const _imports_5$6 = "/static/index/watch/laotou.png"; const _imports_5$6 = "/static/index/watch/laotou.png";
@ -13,24 +13,26 @@ const _imports_7$3 = "/static/index/watch/phone.png";
const _imports_8$3 = "/static/index/watch/phoneball.png"; const _imports_8$3 = "/static/index/watch/phoneball.png";
const _imports_9$3 = "/static/index/watch/pao.png"; const _imports_9$3 = "/static/index/watch/pao.png";
const _imports_10$2 = "/static/index/camera/back.png"; const _imports_10$2 = "/static/index/camera/back.png";
const _imports_0$k = "/static/click.png"; const _imports_0$l = "/static/click.png";
const _imports_1$j = "/static/x.png"; const _imports_1$j = "/static/x.png";
const _imports_2$d = "/static/bgc.png"; const _imports_2$e = "/static/bgc.png";
const _imports_3$9 = "/static/qiu.png"; const _imports_3$9 = "/static/qiu.png";
const _imports_0$j = "/static/kuai.png"; const _imports_0$k = "/static/kuai.png";
const _imports_1$i = "/static/sao.png"; const _imports_1$i = "/static/sao.png";
const _imports_2$c = "/static/qr.png"; const _imports_2$d = "/static/qr.png";
const _imports_0$i = "/static/index/leida/leftbgc.png"; const _imports_0$j = "/static/index/leida/leftbgc.png";
const _imports_1$h = "/static/index/leida/bigball.png"; const _imports_1$h = "/static/index/leida/bigball.png";
const _imports_2$b = "/static/index/leida/biao.png"; const _imports_2$c = "/static/index/leida/biao.png";
const _imports_3$8 = "/static/index/leida/ball.png"; const _imports_3$8 = "/static/index/leida/ball.png";
const _imports_4$6 = "/static/index/leida/shallow.png"; const _imports_4$6 = "/static/index/leida/shallow.png";
const _imports_5$5 = "/static/index/leida/play.png"; const _imports_5$5 = "/static/index/leida/play.png";
const _imports_5$4 = "/static/index/quxiao.png"; const _imports_5$4 = "/static/index/quxiao.png";
const _imports_0$h = "/static/index/customer.png"; const _imports_0$i = "/static/index/customer.png";
const _imports_1$g = "/static/index/Warehousing/house.png"; const _imports_0$h = "/static/index/tu.png";
const _imports_0$g = "/static/index/tu.png"; const _imports_1$g = "/static/index/newruler/jiao.png";
const _imports_1$f = "/static/index/newruler/jiao.png"; const _imports_0$g = "/static/index/warehouse/ys.gif";
const _imports_1$f = "/static/index/warehouse/y1.png";
const _imports_2$b = "/static/index/warehouse/y0.png";
const _imports_0$f = "/static/index/update/fly.png"; const _imports_0$f = "/static/index/update/fly.png";
const _imports_1$e = "/static/index/update/bgc.png"; const _imports_1$e = "/static/index/update/bgc.png";
const _imports_1$d = "/static/index/undericons/upguang.png"; const _imports_1$d = "/static/index/undericons/upguang.png";
@ -107,35 +109,36 @@ const _imports_1$1 = "/static/index/Warehousing/you.png";
const _imports_0 = "/static/index/Warehousing/shangchuanpeople.png"; const _imports_0 = "/static/index/Warehousing/shangchuanpeople.png";
const _imports_1 = "/static/index/Warehousing/shangchuantime.png"; const _imports_1 = "/static/index/Warehousing/shangchuantime.png";
const _imports_4 = "/static/index/Warehousing/pen.png"; const _imports_4 = "/static/index/Warehousing/pen.png";
exports._imports_0 = _imports_0$n; exports._imports_0 = _imports_0$o;
exports._imports_0$1 = _imports_0$o; exports._imports_0$1 = _imports_0$p;
exports._imports_0$10 = _imports_0$e; exports._imports_0$10 = _imports_0$e;
exports._imports_0$11 = _imports_0$d; exports._imports_0$11 = _imports_0$d;
exports._imports_0$12 = _imports_0$c; exports._imports_0$12 = _imports_0$c;
exports._imports_0$13 = _imports_0$b; exports._imports_0$13 = _imports_0$b;
exports._imports_0$14 = _imports_0$a; exports._imports_0$14 = _imports_0$g;
exports._imports_0$15 = _imports_0$9; exports._imports_0$15 = _imports_0$a;
exports._imports_0$16 = _imports_0$8; exports._imports_0$16 = _imports_0$9;
exports._imports_0$17 = _imports_0$7; exports._imports_0$17 = _imports_0$8;
exports._imports_0$18 = _imports_0$6; exports._imports_0$18 = _imports_0$7;
exports._imports_0$19 = _imports_0$5; exports._imports_0$19 = _imports_0$6;
exports._imports_0$2 = _imports_0$m; exports._imports_0$2 = _imports_0$n;
exports._imports_0$20 = _imports_0$4; exports._imports_0$20 = _imports_0$5;
exports._imports_0$21 = _imports_0$3; exports._imports_0$21 = _imports_0$4;
exports._imports_0$22 = _imports_0$2; exports._imports_0$22 = _imports_0$3;
exports._imports_0$23 = _imports_0$1; exports._imports_0$23 = _imports_0$2;
exports._imports_0$24 = _imports_0; exports._imports_0$24 = _imports_0$1;
exports._imports_0$3 = _imports_0$l; exports._imports_0$25 = _imports_0;
exports._imports_0$4 = _imports_0$k; exports._imports_0$3 = _imports_0$m;
exports._imports_0$5 = _imports_0$j; exports._imports_0$4 = _imports_0$l;
exports._imports_0$6 = _imports_0$i; exports._imports_0$5 = _imports_0$k;
exports._imports_0$7 = _imports_0$h; exports._imports_0$6 = _imports_0$j;
exports._imports_0$8 = _imports_0$g; exports._imports_0$7 = _imports_0$i;
exports._imports_0$8 = _imports_0$h;
exports._imports_0$9 = _imports_0$f; exports._imports_0$9 = _imports_0$f;
exports._imports_1 = _imports_1$k; exports._imports_1 = _imports_1$k;
exports._imports_1$1 = _imports_1$j; exports._imports_1$1 = _imports_1$j;
exports._imports_1$10 = _imports_1$a; exports._imports_1$10 = _imports_1$9;
exports._imports_1$11 = _imports_1$9; exports._imports_1$11 = _imports_1$f;
exports._imports_1$12 = _imports_1$8; exports._imports_1$12 = _imports_1$8;
exports._imports_1$13 = _imports_1$7; exports._imports_1$13 = _imports_1$7;
exports._imports_1$14 = _imports_1$6; exports._imports_1$14 = _imports_1$6;
@ -148,32 +151,33 @@ exports._imports_1$2 = _imports_1$i;
exports._imports_1$20 = _imports_1; exports._imports_1$20 = _imports_1;
exports._imports_1$3 = _imports_1$h; exports._imports_1$3 = _imports_1$h;
exports._imports_1$4 = _imports_1$g; exports._imports_1$4 = _imports_1$g;
exports._imports_1$5 = _imports_1$f; exports._imports_1$5 = _imports_1$e;
exports._imports_1$6 = _imports_1$e; exports._imports_1$6 = _imports_1$d;
exports._imports_1$7 = _imports_1$d; exports._imports_1$7 = _imports_1$c;
exports._imports_1$8 = _imports_1$c; exports._imports_1$8 = _imports_1$b;
exports._imports_1$9 = _imports_1$b; exports._imports_1$9 = _imports_1$a;
exports._imports_10 = _imports_10$2; exports._imports_10 = _imports_10$2;
exports._imports_10$1 = _imports_10$1; exports._imports_10$1 = _imports_10$1;
exports._imports_10$2 = _imports_10; exports._imports_10$2 = _imports_10;
exports._imports_11 = _imports_11$1; exports._imports_11 = _imports_11$1;
exports._imports_11$1 = _imports_11; exports._imports_11$1 = _imports_11;
exports._imports_12 = _imports_12; exports._imports_12 = _imports_12;
exports._imports_2 = _imports_2$e; exports._imports_2 = _imports_2$f;
exports._imports_2$1 = _imports_2$d; exports._imports_2$1 = _imports_2$e;
exports._imports_2$10 = _imports_2$4; exports._imports_2$10 = _imports_2$5;
exports._imports_2$11 = _imports_2$3; exports._imports_2$11 = _imports_2$4;
exports._imports_2$12 = _imports_2$2; exports._imports_2$12 = _imports_2$3;
exports._imports_2$13 = _imports_2$1; exports._imports_2$13 = _imports_2$2;
exports._imports_2$14 = _imports_2; exports._imports_2$14 = _imports_2$1;
exports._imports_2$2 = _imports_2$c; exports._imports_2$15 = _imports_2;
exports._imports_2$3 = _imports_2$b; exports._imports_2$2 = _imports_2$d;
exports._imports_2$3 = _imports_2$c;
exports._imports_2$4 = _imports_2$a; exports._imports_2$4 = _imports_2$a;
exports._imports_2$5 = _imports_2$9; exports._imports_2$5 = _imports_2$9;
exports._imports_2$6 = _imports_2$8; exports._imports_2$6 = _imports_2$8;
exports._imports_2$7 = _imports_2$7; exports._imports_2$7 = _imports_2$7;
exports._imports_2$8 = _imports_2$6; exports._imports_2$8 = _imports_2$b;
exports._imports_2$9 = _imports_2$5; exports._imports_2$9 = _imports_2$6;
exports._imports_3 = _imports_3$a; exports._imports_3 = _imports_3$a;
exports._imports_3$1 = _imports_3$9; exports._imports_3$1 = _imports_3$9;
exports._imports_3$10 = _imports_3; exports._imports_3$10 = _imports_3;

View File

@ -6159,8 +6159,8 @@ function populateParameters(fromRes, toRes) {
const parameters = { const parameters = {
appId: "__UNI__FB2D473", appId: "__UNI__FB2D473",
appName: "护理单元", appName: "护理单元",
appVersion: "1.6.2", appVersion: "1.6.6",
appVersionCode: 162, appVersionCode: 166,
appLanguage: getAppLanguage(hostLanguage), appLanguage: getAppLanguage(hostLanguage),
uniCompileVersion: "4.76", uniCompileVersion: "4.76",
uniCompilerVersion: "4.76", uniCompilerVersion: "4.76",
@ -6308,8 +6308,8 @@ const getAppBaseInfo = {
hostTheme: theme, hostTheme: theme,
appId: "__UNI__FB2D473", appId: "__UNI__FB2D473",
appName: "护理单元", appName: "护理单元",
appVersion: "1.6.2", appVersion: "1.6.6",
appVersionCode: 162, appVersionCode: 166,
appLanguage: getAppLanguage(hostLanguage), appLanguage: getAppLanguage(hostLanguage),
isUniAppX: false, isUniAppX: false,
uniPlatform: "mp-weixin", uniPlatform: "mp-weixin",
@ -7057,7 +7057,7 @@ function isConsoleWritable() {
function initRuntimeSocketService() { function initRuntimeSocketService() {
const hosts = "192.168.2.27,127.0.0.1"; const hosts = "192.168.2.27,127.0.0.1";
const port = "8090"; const port = "8090";
const id = "mp-weixin_XL3mmF"; const id = "mp-weixin_8k7N2X";
const lazy = typeof swan !== "undefined"; const lazy = typeof swan !== "undefined";
let restoreError = lazy ? () => { let restoreError = lazy ? () => {
} : initOnError(); } : initOnError();

View File

@ -254,13 +254,13 @@ const _sfc_main = /* @__PURE__ */ common_vendor.defineComponent({
}; };
}), }),
f: common_assets._imports_1$13, f: common_assets._imports_1$13,
g: common_assets._imports_2$9, g: common_assets._imports_2$10,
h: rightballarray.value[item0.states].url, h: rightballarray.value[item0.states].url,
i: common_vendor.t(rightballarray.value[item0.states].name), i: common_vendor.t(rightballarray.value[item0.states].name),
j: common_vendor.s(`background: ${rightballarray.value[item0.states].bgc};`), j: common_vendor.s(`background: ${rightballarray.value[item0.states].bgc};`),
k: item0.states == 1 || !item0.states k: item0.states == 1 || !item0.states
}, item0.states == 1 || !item0.states ? { }, item0.states == 1 || !item0.states ? {
l: common_assets._imports_0$15, l: common_assets._imports_0$16,
m: common_vendor.o(jumptodanyuan, index0), m: common_vendor.o(jumptodanyuan, index0),
n: common_assets._imports_4$4, n: common_assets._imports_4$4,
o: common_assets._imports_5$4, o: common_assets._imports_5$4,
@ -314,13 +314,13 @@ const _sfc_main = /* @__PURE__ */ common_vendor.defineComponent({
}; };
}), }),
G: common_assets._imports_1$13, G: common_assets._imports_1$13,
H: common_assets._imports_2$9, H: common_assets._imports_2$10,
I: rightballarrayspec.value[item0.states].url, I: rightballarrayspec.value[item0.states].url,
J: common_vendor.t(rightballarrayspec.value[item0.states].name), J: common_vendor.t(rightballarrayspec.value[item0.states].name),
K: common_vendor.s(`background: ${rightballarrayspec.value[item0.states].bgc};`), K: common_vendor.s(`background: ${rightballarrayspec.value[item0.states].bgc};`),
L: !item0.states L: !item0.states
}, !item0.states ? { }, !item0.states ? {
M: common_assets._imports_0$15, M: common_assets._imports_0$16,
N: common_vendor.o(jumptokufang, index0), N: common_vendor.o(jumptokufang, index0),
O: common_assets._imports_4$4, O: common_assets._imports_4$4,
P: common_assets._imports_5$4, P: common_assets._imports_5$4,

View File

@ -87,7 +87,7 @@ const _sfc_main = /* @__PURE__ */ common_vendor.defineComponent({
}); });
return (_ctx, _cache) => { return (_ctx, _cache) => {
return { return {
a: common_assets._imports_0$16, a: common_assets._imports_0$17,
b: common_vendor.n(progress.value < 1 ? "spin-anim" : "no-anim"), b: common_vendor.n(progress.value < 1 ? "spin-anim" : "no-anim"),
c: common_assets._imports_1$14, c: common_assets._imports_1$14,
d: common_vendor.n(progress.value < 1 ? "spin-anim-spec" : "no-anim-spec"), d: common_vendor.n(progress.value < 1 ? "spin-anim-spec" : "no-anim-spec"),
@ -129,7 +129,7 @@ const _sfc_main = /* @__PURE__ */ common_vendor.defineComponent({
p: common_vendor.o(($event) => onAnimEnd(allitem), allindex) p: common_vendor.o(($event) => onAnimEnd(allitem), allindex)
}); });
}), }),
j: common_assets._imports_2$10, j: common_assets._imports_2$11,
k: common_assets._imports_3$7, k: common_assets._imports_3$7,
l: scrollTop.value, l: scrollTop.value,
m: __props.isShow, m: __props.isShow,

View File

@ -41,7 +41,7 @@ const _sfc_main = {
"overlay-show": isVisible.value "overlay-show": isVisible.value
}), }),
c: common_vendor.o(whiteDrawer), c: common_vendor.o(whiteDrawer),
d: common_assets._imports_0$17, d: common_assets._imports_0$18,
e: isVisible.value && __props.canclose, e: isVisible.value && __props.canclose,
f: common_vendor.o(whiteDrawer), f: common_vendor.o(whiteDrawer),
g: common_vendor.n({ g: common_vendor.n({

View File

@ -137,7 +137,7 @@ const _sfc_main = /* @__PURE__ */ common_vendor.defineComponent({
return common_vendor.e({ return common_vendor.e({
a: common_assets._imports_0$12, a: common_assets._imports_0$12,
b: type.value == -1 || type.value == 4, b: type.value == -1 || type.value == 4,
c: common_assets._imports_1$10, c: common_assets._imports_1$9,
d: type.value == 3, d: type.value == 3,
e: common_assets._imports_2$6, e: common_assets._imports_2$6,
f: type.value == 2, f: type.value == 2,

View File

@ -446,7 +446,7 @@ const _sfc_main = /* @__PURE__ */ common_vendor.defineComponent({
e: common_vendor.o(($event) => changeMenuUnder(index), index) e: common_vendor.o(($event) => changeMenuUnder(index), index)
}; };
}), }),
by: common_assets._imports_1$7, by: common_assets._imports_1$6,
bz: common_vendor.n(__props.darkFans ? `under-father-img-font-dark` : `under-father-img-font`), bz: common_vendor.n(__props.darkFans ? `under-father-img-font-dark` : `under-father-img-font`),
bA: common_vendor.sr(drawer, "9f74ebdb-0", { bA: common_vendor.sr(drawer, "9f74ebdb-0", {
"k": "drawer" "k": "drawer"

View File

@ -33,9 +33,9 @@ const _sfc_main = /* @__PURE__ */ common_vendor.defineComponent({
const circlesNumber = common_vendor.ref(0); const circlesNumber = common_vendor.ref(0);
return (_ctx, _cache) => { return (_ctx, _cache) => {
return { return {
a: common_assets._imports_0$15, a: common_assets._imports_0$16,
b: common_assets._imports_1$15, b: common_assets._imports_1$15,
c: common_assets._imports_2$11, c: common_assets._imports_2$12,
d: common_assets._imports_3$8, d: common_assets._imports_3$8,
e: common_assets._imports_4$6, e: common_assets._imports_4$6,
f: common_assets._imports_5$5, f: common_assets._imports_5$5,

View File

@ -1126,7 +1126,7 @@ const _sfc_main = /* @__PURE__ */ common_vendor.defineComponent({
}), }),
T: songisopen.value T: songisopen.value
}, songisopen.value ? { }, songisopen.value ? {
U: common_assets._imports_1$8, U: common_assets._imports_1$7,
V: common_vendor.t(openValue.value.time + ":00"), V: common_vendor.t(openValue.value.time + ":00"),
W: common_vendor.f(openValue.value.array, (item, index2, i0) => { W: common_vendor.f(openValue.value.array, (item, index2, i0) => {
return { return {

View File

@ -879,7 +879,7 @@ const _sfc_main = /* @__PURE__ */ common_vendor.defineComponent({
m: item1.startTime m: item1.startTime
}, item1.startTime ? { }, item1.startTime ? {
n: common_assets._imports_0$11, n: common_assets._imports_0$11,
o: common_assets._imports_1$9 o: common_assets._imports_1$8
} : {}, { } : {}, {
p: common_vendor.n(getClass(item1, index0, index1)), p: common_vendor.n(getClass(item1, index0, index1)),
q: `-${computeDelay(index0, index1).toFixed(2)}s`, q: `-${computeDelay(index0, index1).toFixed(2)}s`,
@ -929,7 +929,7 @@ const _sfc_main = /* @__PURE__ */ common_vendor.defineComponent({
x: common_assets._imports_2$5, x: common_assets._imports_2$5,
y: common_vendor.n(bottomisShaking.value ? `super-end-items-img-father-active` : `super-end-items-img-father`), y: common_vendor.n(bottomisShaking.value ? `super-end-items-img-father-active` : `super-end-items-img-father`),
z: common_assets._imports_0$11, z: common_assets._imports_0$11,
A: common_assets._imports_1$9, A: common_assets._imports_1$8,
B: bottomisShaking.value, B: bottomisShaking.value,
C: scrollLeft.value, C: scrollLeft.value,
D: common_vendor.o(($event) => { D: common_vendor.o(($event) => {
@ -992,7 +992,7 @@ const _sfc_main = /* @__PURE__ */ common_vendor.defineComponent({
Q: common_assets._imports_5$3, Q: common_assets._imports_5$3,
R: common_assets._imports_0$8, R: common_assets._imports_0$8,
S: common_assets._imports_0$11, S: common_assets._imports_0$11,
T: common_assets._imports_1$9, T: common_assets._imports_1$8,
U: firsttop.value, U: firsttop.value,
V: !iszhouqi.value, V: !iszhouqi.value,
W: common_vendor.f(downList.value, (item, index2, i0) => { W: common_vendor.f(downList.value, (item, index2, i0) => {

View File

@ -73,7 +73,7 @@ const _sfc_main = {
} }
return (_ctx, _cache) => { return (_ctx, _cache) => {
return { return {
a: common_assets._imports_0$19, a: common_assets._imports_0$20,
b: __props.isShow, b: __props.isShow,
c: ballLeft.value + "px", c: ballLeft.value + "px",
d: ballTop.value + "px", d: ballTop.value + "px",

View File

@ -12,9 +12,9 @@ const _sfc_main = /* @__PURE__ */ common_vendor.defineComponent({
return (_ctx, _cache) => { return (_ctx, _cache) => {
return { return {
a: `/static/index/project3.png`, a: `/static/index/project3.png`,
b: common_assets._imports_0$20, b: common_assets._imports_0$21,
c: common_assets._imports_1$17, c: common_assets._imports_1$17,
d: common_assets._imports_2$13, d: common_assets._imports_2$14,
e: common_vendor.o(($event) => buttonclick(`qinggou`)), e: common_vendor.o(($event) => buttonclick(`qinggou`)),
f: common_vendor.o(($event) => buttonclick(`churuku`)) f: common_vendor.o(($event) => buttonclick(`churuku`))
}; };

View File

@ -113,7 +113,7 @@ const _sfc_main = /* @__PURE__ */ common_vendor.defineComponent({
k: item.sliding ? 1 : "" k: item.sliding ? 1 : ""
}; };
}), }),
c: common_assets._imports_0$21, c: common_assets._imports_0$22,
d: moveTop.value, d: moveTop.value,
e: common_vendor.o(addNewShop), e: common_vendor.o(addNewShop),
f: common_vendor.o(closeIt), f: common_vendor.o(closeIt),

View File

@ -85,9 +85,9 @@ const _sfc_main = /* @__PURE__ */ common_vendor.defineComponent({
d: index d: index
}; };
}), }),
e: common_assets._imports_0$22, e: common_assets._imports_0$23,
f: common_assets._imports_1$18, f: common_assets._imports_1$18,
g: common_assets._imports_2$14, g: common_assets._imports_2$15,
h: common_assets._imports_3$10, h: common_assets._imports_3$10,
i: common_assets._imports_4$7 i: common_assets._imports_4$7
}; };

View File

@ -71,7 +71,7 @@ const _sfc_main = /* @__PURE__ */ common_vendor.defineComponent({
return (_ctx, _cache) => { return (_ctx, _cache) => {
return { return {
a: `/static/index/project3.png`, a: `/static/index/project3.png`,
b: common_assets._imports_0$18, b: common_assets._imports_0$19,
c: common_vendor.t(blueValue.value), c: common_vendor.t(blueValue.value),
d: common_vendor.f(bluelist.value, (item, i, i0) => { d: common_vendor.f(bluelist.value, (item, i, i0) => {
return { return {
@ -107,7 +107,7 @@ const _sfc_main = /* @__PURE__ */ common_vendor.defineComponent({
n: common_vendor.o(() => { n: common_vendor.o(() => {
}), }),
o: common_vendor.o(($event) => whiteshow.value = !whiteshow.value), o: common_vendor.o(($event) => whiteshow.value = !whiteshow.value),
p: common_assets._imports_2$12, p: common_assets._imports_2$13,
q: common_assets._imports_3$9, q: common_assets._imports_3$9,
r: common_vendor.f(manyCard.value, (item, index, i0) => { r: common_vendor.f(manyCard.value, (item, index, i0) => {
return { return {

View File

@ -106,7 +106,7 @@ const _sfc_main = /* @__PURE__ */ common_vendor.defineComponent({
i: index i: index
}; };
}), }),
b: common_assets._imports_0$23, b: common_assets._imports_0$24,
c: common_vendor.f(photoArray.value, (item, index, i0) => { c: common_vendor.f(photoArray.value, (item, index, i0) => {
return { return {
a: item, a: item,

View File

@ -176,9 +176,9 @@ const _sfc_main = /* @__PURE__ */ common_vendor.defineComponent({
j: common_vendor.o(($event) => clickIndex(index), index) j: common_vendor.o(($event) => clickIndex(index), index)
}); });
}), }),
t: common_assets._imports_0$22, t: common_assets._imports_0$23,
v: common_assets._imports_1$18, v: common_assets._imports_1$18,
w: common_assets._imports_2$14, w: common_assets._imports_2$15,
x: `/static/index/project3.png` x: `/static/index/project3.png`
}); });
}; };

Some files were not shown because too many files have changed in this diff Show More