合并代码

This commit is contained in:
Teng 2026-02-10 17:27:00 +08:00
parent bda0132983
commit 520707401f
152 changed files with 961 additions and 630 deletions

View File

@ -19,6 +19,7 @@
background: rgba(0, 0, 0, 0.6);
transition: all 0.3s ease-in-out 0s;
pointer-events: none;
}
.zy-modal::before {
@ -44,11 +45,14 @@
vertical-align: middle;
margin-left: auto;
margin-right: auto;
width: 680upx;
width: 780upx;
max-width: 100%;
background-color: #f8f8f8;
border-radius: 10upx;
/* background-color: #f8f8f8; */
/* border-radius: 10upx; */
overflow: hidden;
/* background-color: red; */
background: #ffffff;
border-radius: 40rpx;
}
.zy-modal.bottom-modal::before {
@ -471,14 +475,15 @@ button.cuIcon.lg {
}
.padding-xl {
padding: 20px;
padding: 10px 30px;
/* padding-top: 10px; */
height: 270upx;
background-color: #ebeef5;
/* background-color: #ebeef5; */
}
.padding-top-xs {
padding-top: 10upx;
}
.padding-top-sm {
@ -612,11 +617,15 @@ button.cuIcon.lg {
==================== */
.zy-bar {
display: flex;
/* display: flex; */
position: relative;
align-items: center;
min-height: 100upx;
justify-content: space-between;
/* justify-content: space-between; */
justify-content: center;
display: flex;
margin-bottom: 30rpx;
margin-top: 20rpx;
}
.zy-bar .action {

View File

@ -1,11 +1,11 @@
<template>
<view class="zy-modal" :class="dshow?'show':''">
<view style="position: absolute;top: 150rpx;left: 940rpx;z-index: 9999;" >
<image style="width: 300rpx;height: 400rpx;position: absolute;top: 0rpx;left: 0rpx;" src="/static/index/update/fly.png" />
<view style="position: absolute;top: 240rpx;left: 850rpx;z-index: 9999;" >
<image style="width: 400rpx;height: 370rpx;position: absolute;top: 0rpx;left: 0rpx;" src="/static/index/update/fly.png" />
</view>
<view class="zy-dialog" style="background-color: #fff;border-radius: 40rpx;">
<view style="height: 400rpx;width: 100%;position: relative;">
<image style="width: 1800rpx;height: 1600rpx;position: absolute;top: -370rpx;left: -220rpx;" src="/static/index/update/bgc.png" />
<view class="zy-dialog">
<view style="height: 250rpx;width: 100%;position: relative;background: linear-gradient(to bottom,#d7e3f8 , #ffffff);">
<!-- <image style="width: 1800rpx;height: 1600rpx;position: absolute;top: -370rpx;left: -220rpx;" src="/static/index/update/bgc.png" /> -->
</view>
<view :class="'zy-upgrade-topbg-'+theme">
<view>
@ -15,7 +15,7 @@
</view>
<text class="flex-wrap" style="margin-top: 10rpx;">{{version}}</text>
</view>
<view class="padding-xl bg-white text-left">
<view class="padding-xl text-left">
<scroll-view class="scroll-box" scroll-y="true">
<text>{{update_tips}}</text>
</scroll-view>
@ -25,7 +25,7 @@
</view>
</view>
</view>
<view class="zy-bar bg-white " style="justify-content: center;display: flex;margin-bottom: 60rpx;">
<view class="zy-bar">
<view class="action" v-if="!update_flag && forceupgrade">
<button class="zy-btn" :class="'bg-'+theme" @click="upgrade_checked">确认升级</button>
@ -112,7 +112,7 @@
computed:{
version(){
let retversion = ''
retversion = this.currentversion + (this.currentversion!=''&&this.updated2version!=''?'->':'')+this.updated2version
retversion = this.currentversion + (this.currentversion!=''&&this.updated2version!=''?' -> ':'')+this.updated2version
return retversion
}
},
@ -299,11 +299,11 @@
}
.zy-upgrade-title {
font-size: 35rpx;
font-weight: 600;
font-weight: 800;
/* color: white; */
}
.scroll-box{
height: 200rpx;
height: 250rpx;
}
/* ✅ 显示滚动条App / H5 都有效) */
.scroll-box::-webkit-scrollbar {

View File

@ -400,7 +400,7 @@
fwzlarr.value = zlarr.value?.hqList
}
fwzldex.value = -1
console.log(zlarr.value,serverUrl.value)
// console.log(zlarr.value,serverUrl.value)
}
const zldex = (e) =>{
if(e>-1&&e==fwzldex.value){

View File

@ -537,7 +537,7 @@
const firstgetqueryCgdList = (nuId) => {
form.nuId = nuId;
queryOrderList(form).then(res => {
console.log(res.result.records)
console.log(`这啥啊啊啊啊啊`,form , res.result.records)
if (res.result.records.length > 0) {
res.result.records.forEach((item, l) => {
item.flag = false;

View File

@ -883,6 +883,8 @@
color: #999999;
font-size: 32rpx;
margin-left: 5rpx;
/* background-color: red; */
height: 130rpx;
}
.card-bao {
@ -940,7 +942,7 @@
.ellipsis {
position: absolute;
left: 105rpx;
left: 120rpx;
top: 20rpx;
display: flex;
gap: 5rpx;
@ -998,8 +1000,10 @@
.serviceContent {
color: #999999;
margin-top: 20rpx;
margin-top: 10rpx;
font-size: 25rpx;
width: 100%;
height: 90rpx;
}
.weight-time {

View File

@ -1,7 +1,7 @@
<!-- 护嘱 -->
<template>
<view class="right-container" :style="isshow?{opacity: `1`}:{opacity: `0`}">
<severcard ></severcard>
<severcard></severcard>
<view class="doctorsay-container-view">
<view class="doctorsay-container-container">
<view class="super-card">
@ -137,7 +137,8 @@
</view>
<text style="color: #4690FF;">
每天
{{ initdate(item) }}
</text>
<view class="spec-shu">
|
@ -183,7 +184,7 @@
|
</view>
<text style="color: #4690FF;">
每天
{{ initdate(item) }}
</text>
<view class="spec-shu">
|
@ -234,9 +235,9 @@
:style="firstListTarget===index?{transform: `rotate(180deg)`}:{}">
<image class="open-img" src="/static/index/down.png" lazy-load />
</view>
<view class="serviceContent" v-if="firstListTarget===index">
<scroll-view class="serviceContent" v-if="firstListTarget===index" scroll-y >
{{ item.serviceContent }}
</view>
</scroll-view>
</view>
</view>
</scroll-view>
@ -273,7 +274,7 @@
</view>
<view style="display: flex;width: 1000rpx;">
<image class="history-img" lazy-load
:src="`${serverUrl}${item.previewFileSmall}`" />
:src="item.previewFileSmall?`${serverUrl}${item.previewFileSmall}`:noimageshowtarget" />
<view style="margin-left: 5rpx;">
<view class="history-name">
{{ splitString(item.directiveName)[0]}}
@ -315,12 +316,12 @@
</view>
<view style="display: flex;width: 1000rpx;">
<image class="history-img" lazy-load
:src="`${serverUrl}${item.previewFileSmall}`" />
:src="item.previewFileSmall?`${serverUrl}${item.previewFileSmall}`:noimageshowtarget" />
<view style="margin-left: 5rpx;">
<view class="history-name">
{{ splitString(item.directiveName)[0]}}
<text
style="font-size: 20rpx;margin-top: 7rpx;font-weight: 400;"
style="font-size: 20rpx;margin-top: 15rpx;font-weight: 400;"
v-if="splitString(item.directiveName)[1]">
({{ splitString(item.directiveName)[1]}})
</text>
@ -339,9 +340,9 @@
{{ item.serviceContent }}
</view> -->
</view>
<view class="small-font-target">
<scroll-view class="small-font-target" scroll-y >
{{ item.serviceContent }}
</view>
</scroll-view>
<view class="future-info-second" v-if="secondListTarget===index">
<view class="info" v-if="item.optType == 2">
<image class="info-img" lazy-load
@ -444,6 +445,7 @@
const bodystatustarget = ref(-1);
const facestatus = ref(false);
const facestatustarget = ref(-1);
const noimageshowtarget = `/static/logotarget.png`;
const firstListTarget = ref(-1)
const secondListTarget = ref(-1)
@ -1055,8 +1057,27 @@
const dateshow = () => {
opendata.value = true;
}
function initdate(item) {
switch (item.cycleTypeId) {
case `1`:
return "每天"
case `3`:
return weekDays[Number(item.cycleValue)]
case `4`:
return Number(item.cycleValue) + "日"
case `5`:
if (item.cycleValue) {
return Number(item.cycleValue) + "天执行一次"
} else {
return "临时一次"
}
}
}
const searchtable = (item : any) => {
// console.log("aaaaaaa",item)
console.log("aaaaaaa", item)
firstListTarget.value = -1;
secondListTarget.value = -1;
moveById.value = item.id

View File

@ -1,32 +1,34 @@
<template>
<view>
<!-- 回退单 滑动 组件 -->
<scroll-view scroll-y="true" class="itembox" scroll-with-animation @scrolltolower="scrolltolower()" enable-back-to-top>
<scroll-view scroll-y="true" class="itembox" scroll-with-animation @scrolltolower="scrolltolower()"
enable-back-to-top>
<view class="box">
<view class="fler" v-for="(v,index) in InvoicingList" :key="index">
<scroll-view class="carditem guodu" @touchend="handleTouchEnd($event,v,index)"
@touchstart="touchstart($event,v,index)" scroll-with-animation scroll-x="true"
:scroll-left="v.scrollleft" @scroll="scroll" >
<view class="speitem guodu" >
:scroll-left="v.scrollleft" @scroll="scroll">
<view class="speitem guodu">
<view class="imge">
<image :src="v.materialInfo?.materialImg?serverUrl+v.materialInfo?.materialImg:'/static/index/procurement/k.png'"
<image
:src="v.materialInfo?.materialImg?serverUrl+v.materialInfo?.materialImg:'/static/index/procurement/k.png'"
mode="aspectFill">
</image>
</view>
<view class="cardp">
<view v-if="v.materialInfo?.categoryName">{{v.materialInfo?.categoryName}}</view>
<view v-if="v.materialInfo?.typeName">{{v.materialInfo?.typeName}}</view>
<view v-if="v.materialInfo?.medicationName">{{v.materialInfo?.medicationName}}</view>
</view>
</view>
<view class="msitem guodu" >
<view class="msitem guodu">
<view>
<view>{{v.materialInfo?.materialName}}</view>
</view>
<view>
<text style="white-space: nowrap;"> 规格型号: </text>
<view>{{v.materialInfo?.specificationModel}}</view>
<text style="white-space: nowrap;"> 规格型号: </text>
<view style="color: black;">{{v.materialInfo?.specificationModel}}</view>
</view>
<view>
<view>
@ -41,7 +43,7 @@
</view>
<view class="add" @click.stop="del(v,i)" v-if="status=='3'">
<!-- <image v-if="v.isAdd!=1" :src="'/static/index/procurement/+.png'" mode="aspectFill"></image> -->
<image :src="'/static/index/procurement/-.png'" mode="aspectFill"></image>
<image :src="'/static/index/procurement/-.png'" mode="aspectFill"></image>
</view>
<view class="zkadd guodu" v-if="status=='3'">
<view @click.stop="comfig(v,index,1)" @touchend.stop>
@ -50,62 +52,64 @@
</view>
</scroll-view>
</view>
<defaultr cont="暂无数据" v-if="InvoicingList.length==0 " style="position: absolute;width: 10vw;height: 10vw;"></defaultr>
<defaultr cont="暂无数据" v-if="InvoicingList.length==0 "
style="position: absolute;width: 10vw;height: 10vw;"></defaultr>
</view>
</scroll-view>
<taking :show="tuihuoshow" :objtake="tuihuoobj.materialInfo" :num="tuihuoobj.qlNum" @fill="tuihuoshow = false" @right="right"></taking>
<taking :show="tuihuoshow" :objtake="tuihuoobj.materialInfo" :num="tuihuoobj.qlNum" @fill="tuihuoshow = false"
@right="right"></taking>
<tanchuang @back="delshow = false" :show="delshow" font="确定将该物料从本次请领清单中移除吗?" @right="dell"></tanchuang>
</view>
</template>
<script setup lang="ts">
import { ref, onMounted, onBeforeUnmount, computed, nextTick, watch, reactive } from 'vue';
import { ref, onMounted, onBeforeUnmount, computed, nextTick, watch, reactive } from 'vue';
import taking from './takeing.vue'
import defaultr from '../common/default.vue'
const props = defineProps({
InvoicingList: {
type: Array,
required: true
required: true
},
status: {
type: String
}
}
})
const carnum = ref(0)
const caigouobj = ref({})
const serverUrl = ref(uni.getStorageSync('serverUrl') + '/sys/common/static/')
const emit = defineEmits([ 'scrolltolower' ,'comfig','del'])
const emit = defineEmits(['scrolltolower', 'comfig', 'del'])
const delshow = ref(false)
const pageX = ref(0);
const pageY = ref(0);
const ones = ref(true)
const touchstart = (event : any, v : any,i:number) => {
const touchstart = (event : any, v : any, i : number) => {
caigouobj.value = v;
pageX.value = event.changedTouches[0].pageX;
pageY.value = event.changedTouches[0].pageY;
if(ones.value){
if (ones.value) {
ones.value = false;
solleft(v, i)
}
}
const tuihuoshow = ref(false)
const tuihuoobj = ref({})
const comfig=(v,i,t)=>{
const comfig = (v, i, t) => {
tuihuoobj.value = v;
tuihuoshow.value = true;
// emit('comfig',v,i,t)
}
const dell = () =>{
emit('del',tuihuoobj.value);
const dell = () => {
emit('del', tuihuoobj.value);
delshow.value = false;
}
const del =(v,i)=>{
const del = (v, i) => {
tuihuoobj.value = v;
delshow.value = true;
}
const right = (e,v) =>{
emit('comfig',e,tuihuoobj.value);
const right = (e, v) => {
emit('comfig', e, tuihuoobj.value);
tuihuoshow.value = false;
}
const handleTouchEnd = (event : any, v : any, i : number) => {
@ -114,29 +118,29 @@
let absx = Math.abs(x - pageX.value)
let absy = Math.abs(y - pageY.value);
ones.value = true;
if (absy > 30 && absx+10<absy) {
if (absy > 30 && absx + 10 < absy) {
caigouobj.value.scrollleft = 0.01
setTimeout(()=>{
setTimeout(() => {
caigouobj.value.scrollleft = 0
},20)
}, 20)
return
}
if (absx < 10 && absy < 10) {
if(caigouobj.value.zk==false){
setTimeout(()=>{
if (caigouobj.value.zk == false) {
setTimeout(() => {
caigouobj.value.scrollleft = 0
},20)
}
}, 20)
}
return
}
if(scrollLeft.value <=40){
if (scrollLeft.value <= 40) {
caigouobj.value.scrollleft = scrollLeft.value;
caigouobj.value.zk = false;
nextTick(()=>{
nextTick(() => {
caigouobj.value.scrollleft = 0;
scrollLeft.value = 0;
})
}else{
} else {
scrollLeft.value = 150
caigouobj.value.scrollleft = scrollLeft.value;
caigouobj.value.zk = true;
@ -144,19 +148,19 @@
caigouobj.value.zk = x > pageX.value ? false : true;
caigouobj.value.scrollleft = caigouobj.value.zk ? 150 : 0;
}
const solleft = (v : any, i : number) => {
const solleft = (v : any, i : number) => {
props.InvoicingList.forEach((item, k) => {
if (k != i&&item.zk==true) {
if (k != i && item.zk == true) {
item.zk = false;
item.scrollleft = 0;
item.scrollleft = 0;
}
})
}
const scrolltolower = () => {
emit('scrolltolower')
emit('scrolltolower')
}
const scrollLeft = ref(0)
const scroll = (e)=>{
const scroll = (e) => {
scrollLeft.value = e.detail.scrollLeft
// console.log(e.detail.scrollLeft)
}
@ -164,17 +168,20 @@
<style scoped lang="less">
.zkadd {
width: 4vw;
width: 9.3vw;
height: 100%;
display: inline-flex;
justify-content: flex-end;
position: absolute;
top: 0;
right: -4vw;
view:active{
background:rgba(85, 166, 249, 1) !important;
right: -9.3vw;
// background-color: blue;
view:active {
background: rgba(85, 166, 249, 1) !important;
color: #FFFFFF !important;
}
>view {
width: 4vw;
height: 100%;
@ -185,21 +192,22 @@
align-items: center;
writing-mode: vertical-rl;
text-orientation: upright;
letter-spacing:2px;
background:rgba(85, 166, 249, 1) !important;
letter-spacing: 2px;
background: rgba(85, 166, 249, 1) !important;
color: #FFFFFF !important;
}
}
.add {
width:5vw;
width: 5vw;
height: 13vw;
display: inline-flex;
justify-content: space-between;
align-items: center;
position: absolute;
top:0;
right:0.8vw;
top: 0;
right: 0.8vw;
>view {
width: 4.5vw;
height: 1.8vw;
@ -216,45 +224,52 @@
top: 0.8vw;
right: 0vw;
}
image {
width: 3vw;
height: 3vw;
width: 2.4vw;
height: 2.4vw;
position: absolute;
bottom: 0.8vw;
right: 0vw;
bottom: 1vw;
right: 0.6vw;
}
}
.msitem {
width: 11.5vw;
height: 100%;
position: absolute;
top:0;
top: 0;
left: 10vw;
>view {
margin-top: 0vw;
&:nth-child(3) {
width: 100%;
height: 3.4vw;
display: flex;
justify-content: space-between;
>view {
width: 50%;
height: 100%;
display: flex;
flex-direction: column;
position: relative;
margin-top:1vw;
margin-top: 1vw;
white-space: nowrap;
&:nth-child(1){
&:nth-child(1) {
padding-right: 1.7vw;
align-items: flex-start;
}
&:nth-child(2){
&:nth-child(2) {
padding-left: 1.7vw;
align-items: flex-start;
}
&:nth-child(1)::after {
content: '';
position: absolute;
@ -264,14 +279,14 @@
border-right: 1px solid #C9C9C9;
top: 0.6vw;
}
text {
&:nth-child(1) {
font-weight: bold;
font-size: 1.7vw;
color: #555555;
}
&:nth-child(2) {
font-weight: 400;
font-size: 1.1vw;
@ -281,20 +296,21 @@
}
}
}
&:nth-child(2) {
&:nth-child(2) {
display: flex;
justify-content: space-between;
flex-direction: column;
margin-top: 0.1vw;
view{
font-size: 1.4vw;
// margin-top: 0.1vw;
view {
font-size: 1.3vw;
color: #888888;
text-overflow: ellipsis;
overflow: hidden;
white-space: nowrap;
}
text {
font-weight: 400;
font-size: 1.1vw;
@ -302,16 +318,17 @@
margin-top: 0.25vw;
}
}
&:nth-child(1) {
view{
view {
display: inline-block;
width: 10vw;
font-weight: bold;
width: 13vw;
font-weight: 800;
font-size: 1.6vw;
color: #222222;
height: 3vw;
padding-top: 1vw;
margin-top: 0.25vw;
text-overflow: ellipsis;
overflow: hidden;
white-space: nowrap;
@ -319,88 +336,106 @@
}
}
}
.zding{
.zding {
width: 4.6vw;
height: 4.6vw;
position: absolute;
left: 0;
top: 0;
z-index: 11;
image{
image {
width: 100%;
height: 100%;
}
}
.speitem {
width: 10vw;
width: 38vw;
height: 100%;
display: inline-flex;
flex-direction: column;
position: absolute;
top:0;
top: 0;
left: 0;
.cardp {
width:8vw;
height: 4vw;
width: 8vw;
// height: 4.7vw;
display: flex;
margin: 0 auto;
align-items: center;
justify-content: center;
flex-direction: column;
view {
min-width: 5.5vw;
height: 1.6vw;
width: 5.5vw;
height: 1.5vw;
border-radius: 0.9vw;
border: 1px solid #D2D2D2;
margin: 0.25vw 0 0 0.5vw;
display: flex;
justify-content: center;
align-items: center;
margin: 0vw 0 0.3vw 1.5vw;
text-align: center;
// display: flex;
// justify-content: center;
// align-items: center;
font-weight: 400;
font-size: 0.8vw;
font-size: 1vw;
color: #555555;
padding: 0 0.25vw;
// padding: 0 0.25vw;
white-space: nowrap;
/* 不换行 */
overflow: hidden;
/* 隐藏溢出部分 */
text-overflow: ellipsis;
/* 显示省略号 */
}
}
.imge{
width: 8vw;
height: 7vw;
padding: 0.5vw;
margin: 0.3vw auto 0.25vw;
background: #f5f5f5;
.imge {
width: 6.5vw;
height: 6.5vw;
margin-left: 1.5vw;
margin-top: 1.5vw;
// padding: 0.5vw;
// margin: 0.3vw auto 0.25vw;
border-radius: 1.1vw;
>image {
width: 100%;
height: 100%;
border-radius: 1.1vw;
}
}
}
.itembox{
width: 55vw;
height: calc(100vh - 11.5vw);
padding:0vw 0.5vw 1vw;
.box{
.itembox {
width: 60vw;
height: calc(100vh - 8vw);
padding: 1vw 0.5vw 0vw 0.8vw;
// background-color: blue;
.box {
width: 100%;
display: grid;
grid-template-columns: 1fr 1fr;
}
.fler{
width: 27vw;
.fler {
width: 29vw;
height: 13vw;
margin-bottom: 0.7vw;
margin-left: 0.7vw;
// background-color: #fff;
.carditem{
width: 27vw;
margin-bottom: 0.8vw;
margin-left: 0.6vw;
.carditem {
width: 29vw;
height: 13vw;
background-color: #fff;
background: #f5f5f5;
border-radius: 1.1vw;
position: relative;
overflow: hidden;
}
}
}
</style>
}
</style>

View File

@ -340,20 +340,20 @@
height: 7vw;
display: flex;
justify-content: flex-end;
font-size: 35rpx;
font-size: 32rpx;
padding-right: 1vw;
view{
display: flex;
justify-content: center;
align-items: center;
min-width: 9.1vw;
min-width: 8vw;
height: 3.8vw;
color: rgba(92, 121, 146, 1);
border-radius:1.9vw;
font-size: 1.8vw;
font-size: 1.5vw;
border: 1px solid #EDEDEF;
margin-left: 1vw;
padding: 0 2vw;
padding: 0 1.3vw;
}
.quxiao{
background: #EDEDEF;

View File

@ -48,8 +48,14 @@
<scroll-view scroll-y="true" scroll-with-animation class="left-menu-scroll" :scroll-top="leftscrolltop"
@scrolltolower="plsbuytolower" :lower-threshold="200">
<!-- <view style="height: 1%;"></view> -->
<view class="haventmessage" v-if="!plsbuy.length">
<view class="que">
<image src="/static/index/procurement/que.png" mode="aspectFill"></image>
<view>暂无数据</view>
</view>
</view>
<view class="pls-card" v-for="(v,i) in plsbuy" :key='i' @click="clickLeftMenu(i,v)" :style="{
borderColor: i === lefttarget ? '' : 'transparent',
borderColor: i === lefttarget ? '#0f9fff' : '',
// background: i === lefttarget ? '#fff' : 'rgba(255,255,255,0.6)'
}">
<view
@ -161,6 +167,24 @@
</view>
</view>
</view>
<view class="pls-card center" v-if="plsbuy.length===1">
<view class="que">
<image src="/static/index/procurement/que.png" mode="aspectFill"></image>
<view>暂无数据</view>
</view>
</view>
<view class="pls-card center" v-if="plsbuy.length===1">
<view class="que">
<image src="/static/index/procurement/que.png" mode="aspectFill"></image>
<view>暂无数据</view>
</view>
</view>
<view class="pls-card center" v-if="plsbuy.length===2">
<view class="que">
<image src="/static/index/procurement/que.png" mode="aspectFill"></image>
<view>暂无数据</view>
</view>
</view>
</scroll-view>
</view>
<view class="other-contain-right">
@ -354,6 +378,7 @@
cannomessage.value = false
plsbuy.value = []
// console.log("6666",res.result.records)
plsbuy.value.push(...res.result.records)
alltotal.value = res.result.total
@ -755,14 +780,11 @@
margin-top: 2.5%;
height: 97%;
width: 100%;
// position: relative;
// overflow: auto;
// background-color: red;
.pls-card {
width: 98%;
height: 356rpx;
border: #0f9fff 4rpx solid;
border: transparent 4rpx solid;
background-color: #fff;
border-radius: 40rpx;
margin-bottom: 16rpx;
@ -1012,6 +1034,7 @@
height: 106%;
background-color: #fff;
border-radius: 30rpx;
margin-top: 0.5vh;
.right-contain {
width: 100%;
@ -1133,4 +1156,38 @@
}
}
}
.haventmessage {
width: 97%;
height: 100%;
background-color: #fff;
display: flex;
justify-content: center;
align-items: center;
border-radius: 30rpx;
}
.que {
width: 10vw;
height: 10vw;
// margin: auto;
image {
width: 100%;
height: 100%;
}
view {
margin-top: -30rpx;
width: 100%;
text-align: center;
font-weight: 300;
font-size: 1.2vw;
color: #555555;
}
}
.center{
display: flex;
justify-content: center;
align-items: center;
}
</style>

View File

@ -3,6 +3,10 @@
<view class="button-tilte">
回退单
</view>
<view class="center-font">
<image src="/static/index/purchaseorder/company.png" mode="aspectFill" class="center-font-imge"></image>
{{ uni.getStorageSync('nuName')}}
</view>
<view class="right-button-father" v-if="!nomessageshow&&plsbuy[lefttarget]?.status=='3'">
<view class="right-button" @click="badshow=true">
<image src="/static/index/warehouse/procurement/picking/bebad.png" />
@ -17,7 +21,7 @@
</view>
</view>
</view>
<nomessage cont="暂无数据" :show="nomessageshow" />
</view>
@ -35,13 +39,18 @@
</view> -->
<scroll-view scroll-y="true" scroll-with-animation class="left-menu-scroll" :scroll-top="leftscrolltop"
@scrolltolower="plsbuytolower" :lower-threshold="200">
<view style="height: 1%;"></view>
<view class="haventmessage" v-if="!plsbuy.length">
<view class="que">
<image src="/static/index/procurement/que.png" mode="aspectFill"></image>
<view>暂无数据</view>
</view>
</view>
<view class="pls-card" v-for="(v,i) in plsbuy" :key='i' @click="clickLeftMenu(i,v)" :style="{
borderColor: i === lefttarget ? '' : 'transparent',
background: i === lefttarget ? '#fff' : 'rgba(255,255,255,0.6)'
borderColor: i === lefttarget ? '#0f9fff' : '',
}">
<view
style="background: #ff5757;position: absolute;width: 1.3vw;height: 1.3vw;border-radius: 50%;right: -0.5vw;top: -0.2vw;"
style="background: #ff5757;position: absolute;width: 1.3vw;height: 1.3vw;border-radius: 50%;right: 0vw;top: 0vw;"
v-if="v.izYgRead=='N'">
</view>
<view class="pls-card-title">
@ -86,10 +95,12 @@
</view>
<view class="middle-heng-father">
<image class="middle-ball-img" style="width: 32rpx;height: 32rpx;" v-if="v?.status === '2' || v?.status === '3'" src="/static/index/requestform/iserror.png" />
<view class="middle-ball" style="background-color: #1083F8;" v-else >
<image class="middle-ball-img" style="width: 32rpx;height: 32rpx;"
v-if="v?.status === '2' || v?.status === '3'"
src="/static/index/requestform/iserror.png" />
<view class="middle-ball" style="background-color: #1083F8;" v-else>
</view>
<!-- <image class="middle-ball-img" v-else src="/static/index/requestform/isok.png" /> -->
</view>
<view class="end-font">
@ -117,10 +128,7 @@
<view class="middle-title">
{{ Number(v?.status)==5 ? v.shTime?.slice(0,10).replace(/-/g, '.') :""}}
</view>
<view class="middle-heng-father">
<!-- <view class="middle-ball" :style="{backgroundColor: `#1083F8`}"></view> -->
<view class="middle-ball" :style="{backgroundColor: `#E5E5E5`}"
v-if="Number(v?.status)!=5"></view>
<image class="middle-ball-img" v-else src="/static/index/requestform/isok.png" />
@ -147,14 +155,33 @@
</view>
</view>
</view>
<view class="pls-card center" v-if="plsbuy.length===1">
<view class="que">
<image src="/static/index/procurement/que.png" mode="aspectFill"></image>
<view>暂无数据</view>
</view>
</view>
<view class="pls-card center" v-if="plsbuy.length===1">
<view class="que">
<image src="/static/index/procurement/que.png" mode="aspectFill"></image>
<view>暂无数据</view>
</view>
</view>
<view class="pls-card center" v-if="plsbuy.length===2">
<view class="que">
<image src="/static/index/procurement/que.png" mode="aspectFill"></image>
<view>暂无数据</view>
</view>
</view>
</scroll-view>
</view>
<view class="other-contain-right">
<htditem :InvoicingList="rightarray" :status="plsbuy[lefttarget]?.status" @comfig="comfig" @del="del"></htditem>
<htditem :InvoicingList="rightarray" :status="plsbuy[lefttarget]?.status" @comfig="comfig" @del="del">
</htditem>
</view>
<errorshow :show="openerror" :font="errmsg" @close="openerror=false" />
<errorshow :show="openerror" :font="errmsg" @close="openerror=false" />
<submits :show="tijiaoshow" :list="rightarray" @fill="tijiaoshow = false" @config="tijiao"></submits>
<!-- <tijiao :show="tijiaoshow" :plsbuy="plsbuy[lefttarget]" @back="tijiaoshow=false;"> </tijiao> -->
</view>
</template>
@ -162,13 +189,13 @@
<script setup lang="ts">
import { ref, onMounted, onBeforeUnmount, computed, nextTick, watch, reactive } from 'vue';
import { onShow, onLoad, onHide, onPageScroll } from "@dcloudio/uni-app"
import { queryQld, queryQldWlInfo, transRead, cancellation, confirmReceipt,updateQldWlSl,deleteQldWl,submitQld } from '../api/api.js'
import { queryQld, queryQldWlInfo, transRead, cancellation, confirmReceipt, updateQldWlSl, deleteQldWl, submitQld } from '../api/api.js'
import nomessage from '../common/nomessage.vue'
import htditem from '../common/htditem.vue'
import submits from '../common/submits.vue'
const props = defineProps({
isShow: {
type: Boolean
type: Boolean
},
});
const openerror = ref(false)
@ -203,7 +230,7 @@
if ((selectType.value == index) && index) {
return
}
leftscrolltop.value = 1
leftscrolltop.value = 0.01
setTimeout(() => {
leftscrolltop.value = 0
}, 50)
@ -238,7 +265,7 @@
plzinfo.canpull = true;
lefttarget.value = 0
firstgetqueryCgdList()
leftscrolltop.value = 1
leftscrolltop.value = 0.01
setTimeout(() => {
leftscrolltop.value = 0
}, 10)
@ -283,10 +310,11 @@
nomessageshow.value = true;
return
}
cannomessage.value = false
plsbuy.value = [];
// console.log(res)
// console.log("6666",res.result.records)
plsbuy.value.push(...res.result.records)
// console.log("", plzinfo)
// console.log("", res.result.records)
@ -304,25 +332,25 @@
})
}
const del = (e) =>{
const del = (e) => {
let obj = {
qldNo:plsbuy.value[lefttarget.value].qldNo,
wlId:e.wlId,
qldNo: plsbuy.value[lefttarget.value].qldNo,
wlId: e.wlId,
}
deleteQldWl(obj).then(res=>{
if(res.success){
deleteQldWl(obj).then(res => {
if (res.success) {
rightinfolist();
}else{
} else {
errmsg.value = res.result?.message ? res.result?.message : res.message
openerror.value = true;
}
})
// /api/pad/invoicing/qld/deleteQldWl
}
const rightinfolist = ()=>{
const rightinfolist = () => {
queryQldWlInfo({ qldNo: plsbuy.value[lefttarget.value].qldNo }).then((element : any) => {
rightarray.value = [];
console.log("kankan",element.result)
// console.log("kankan", element.result)
rightarray.value.push(...element.result)
rightdonghua.value = true;
})
@ -351,7 +379,7 @@
}
const clickLeftMenu = (index : any, item : any) => {
let num = Math.ceil((index + 1))
leftscrolltop.value = (num - 2) * 175.4;
leftscrolltop.value = (num - 2) * 203;
lefttarget.value = index;
rightdonghua.value = false;
rightinfolist();
@ -368,16 +396,16 @@
}
}
const comfig = (e,v) =>{
const comfig = (e, v) => {
let obj = {
qldNo:plsbuy.value[lefttarget.value].qldNo,
wlId:v.wlId,
qlNum:e
qldNo: plsbuy.value[lefttarget.value].qldNo,
wlId: v.wlId,
qlNum: e
}
updateQldWlSl(obj).then(res=>{
if(res.success){
updateQldWlSl(obj).then(res => {
if (res.success) {
rightinfolist();
}else{
} else {
errmsg.value = res.result?.message ? res.result?.message : res.message
openerror.value = true;
}
@ -392,7 +420,7 @@
elderId: uni.getStorageSync('elderId'),
nuName: uni.getStorageSync('nuName'),
elderName: uni.getStorageSync(`NUall`).elderInfo.name
}
cancellation(data).then((res : any) => {
badshow.value = false
@ -401,7 +429,7 @@
} else {
plzinfo.pageNo = 1;
plzinfo.canpull = true;
leftscrolltop.value = 1
leftscrolltop.value = 0.01
setTimeout(() => {
leftscrolltop.value = 0
}, 50)
@ -412,7 +440,7 @@
setTimeout(() => {
uni.showToast({
title: res.success ? res.result.message : res.message,
icon:res.success ?'success': 'none', // 'none'
icon: res.success ? 'success' : 'none', // 'none'
duration: 3000
})
}, 300)
@ -420,37 +448,36 @@
})
}
const tijiaoshow = ref(false);
const tijiao = ()=>{
const tijiao = () => {
let obj = {
nuId:plzinfo.nuId,
elderId:plzinfo.elderId,
qldNo:plsbuy.value[lefttarget.value].qldNo,
nuName:uni.getStorageSync('nuName'),
elderName:uni.getStorageSync(`NUall`).elderInfo.name
nuId: plzinfo.nuId,
elderId: plzinfo.elderId,
qldNo: plsbuy.value[lefttarget.value].qldNo,
nuName: uni.getStorageSync('nuName'),
elderName: uni.getStorageSync(`NUall`).elderInfo.name
}
submitQld(obj).then(res=>{
submitQld(obj).then(res => {
console.log(res)
if(res.success){
if (res.success) {
uni.showToast({
icon:'success',
title:'提交成功'
icon: 'success',
title: '提交成功'
})
setTimeout(()=>{
queryQld({searchContent:plsbuy.value[lefttarget.value].qldNo}).then((res : any) => {
setTimeout(() => {
queryQld({ searchContent: plsbuy.value[lefttarget.value].qldNo }).then((res : any) => {
plsbuy.value[lefttarget.value] = res.result.records[0];
})
tijiaoshow.value = false;
rightinfolist();
},800)
}else{
}, 800)
} else {
errmsg.value = res.result?.message ? res.result?.message : res.message
openerror.value = true;
}
})
}
</script>
<style scoped lang="less">
@ -471,16 +498,36 @@
.buttons-father {
width: 100%;
height: 90rpx;
height: 6vh;
transition: opacity 1s ease;
display: flex;
position: relative;
margin-top: 2vh;
margin-bottom: 0.3vh;
.center-font {
position: absolute;
left: 31%;
top: 50%;
transform: translateY(-50%);
color: #555555;
font-size: 29rpx;
font-weight: 800;
display: flex;
align-items: center;
.center-font-imge {
width: 48rpx;
height: 48rpx;
margin-right: 10rpx;
}
}
.button-tilte {
font-size: 38rpx;
font-weight: 600;
font-size: 34rpx;
font-weight: 800;
margin: auto 0;
margin-left: 1.2vw;
margin-left: 0.5vw;
}
.ipt {
@ -543,12 +590,14 @@
}
.right-button-father{
.right-button-father {
position: absolute;
right: 1.8vw;
top: 0;
display: flex;
}
.right-button {
width: 6.5vw;
height: 3.3vw;
@ -585,25 +634,27 @@
.other-contain {
width: 100%;
height: 1050rpx;
height: 1200rpx;
display: flex;
transition: opacity 1s ease;
// background-color: red;
.other-contain-left {
width: 35%;
width: 30%;
height: 100%;
.left-menu-scroll {
margin-bottom: 3%;
height: 100.5%;
width: 100%;
.pls-card {
width: 98%;
height: 25.3vh;
border: #0f9fff 3rpx solid;
height: 390rpx;
border: transparent 4rpx solid;
background-color: #fff;
border-radius: 40rpx;
margin-bottom: 1.5vh;
margin-bottom: 16rpx;
// margin: 1vh 0;
padding: 0 30rpx;
position: relative;
@ -616,11 +667,12 @@
align-items: flex-end;
padding-left: 10rpx;
padding-right: 35rpx;
padding-right: 25rpx;
.middle-title-spec {
color: #888888;
font-size: 29rpx;
font-size: 25rpx;
margin-bottom: 3rpx;
}
.title-left {
@ -655,7 +707,7 @@
.pls-card-middle {
width: 100%;
height: 11vh;
margin-top: 1.5vh;
margin-top: 3.5vh;
display: flex;
position: relative;
@ -708,7 +760,7 @@
height: 20rpx;
background-color: #1083F8;
position: absolute;
top: 50%;
top: 47%;
left: 50%;
transform: translate(-50%, -50%);
border-radius: 50%;
@ -735,7 +787,7 @@
justify-content: space-between;
position: relative;
padding-left: 15rpx;
margin-top: 10rpx;
margin-top: 32rpx;
.end-left {
height: 100%;
@ -751,9 +803,9 @@
margin-top: 3rpx;
width: 400rpx;
// background-color: #007CFF;
// font-size: 26rpx;
font-size: 30rpx;
color: #666666;
margin-left: 3rpx;
margin-left: 20rpx;
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
@ -844,7 +896,48 @@
}
.other-contain-right {
width: 55vw;
width: 61.8vw;
background-color: #fff;
margin-left: 8rpx;
border-radius: 35rpx;
height: calc(100vh - 6.4vw);
}
}
.haventmessage {
width: 98%;
height: 100%;
background-color: #fff;
display: flex;
justify-content: center;
align-items: center;
border-radius: 30rpx;
}
.que {
width: 10vw;
height: 10vw;
// margin: auto;
image {
width: 100%;
height: 100%;
}
view {
margin-top: -30rpx;
width: 100%;
text-align: center;
font-weight: 300;
font-size: 1.2vw;
color: #555555;
}
}
.center {
display: flex;
justify-content: center;
align-items: center;
}
</style>

View File

@ -118,7 +118,7 @@
})
getPermissionList({ employeesId: uni.getStorageSync('userInfo').employeesId }).then(res => {
listarr.value = res.result;
console.log("这个是啥", listarr.value)
// console.log("", listarr.value)
})
})
const gospecial = (index : number) => {

View File

@ -258,7 +258,7 @@
nuId:nuId
}
queryCountByType(data).then(res=>{
console.log(res)
// console.log(res)
hldyobj.value = res.result
})
}

View File

@ -5,14 +5,16 @@
<leftcontent :list="arrlist" @navurl="navurl" :userInfo="userInfo"></leftcontent>
</view>
<view class="boxrt">
<index :isShow="menuop == 0" v-if="swipdex == 0" @swip="swip"/>
<material :isShow="menuop == 1" v-if="swipdex == 1" ref="materials"></material>
<picking :isShow="menuop == 2" v-if="swipdex == 2"></picking>
<finish :isShow="menuop == 3" v-if="swipdex == 3"></finish>
<outbound :isShow="menuop == 4" v-if="swipdex == 4"></outbound>
<retstock :isShow="menuop == 5" v-if="swipdex == 5"></retstock>
<inventory :isShow="menuop == 6" v-if="swipdex == 6" ref="inventorys"></inventory>
<nurse :isshow="menuop == 7" v-if="swipdex==7&&uni.getStorageSync('nuId')" />
<index :isShow="menuop == 0" v-if="swipdex == 0" @swip="swip" />
<material :isShow="menuop == 1" v-if="swipdex == 1" ref="materials"></material>
<picking :isShow="menuop == 2" v-if="swipdex == 2"></picking>
<finish :isShow="menuop == 3" v-if="swipdex == 3"></finish>
<outbound :isShow="menuop == 4" v-if="swipdex == 4"></outbound>
<retstock :isShow="menuop == 5" v-if="swipdex == 5"></retstock>
<inventory :isShow="menuop == 6 " v-if="swipdex == 6&& !specialPage" ref="inventorys"
@changepages="changepages"></inventory>
<addtory :isShow="menuop == 6" v-if="swipdex == 6&&specialPage=='1'" :specialitem="specialitem" ></addtory>
<nurse :isshow="menuop == 7" v-if="swipdex==7&&uni.getStorageSync('nuId')" />
<!-- <invoicing :isshow="menuop == 8" v-if="swipdex==8&&uni.getStorageSync('nuId')" /> -->
<logistics :isshow="menuop == 9" v-if="swipdex==9&&uni.getStorageSync('nuId')" />
<invoicing :isshow="menuop == 10" v-if="swipdex==10&&uni.getStorageSync('nuId')" />
@ -23,8 +25,8 @@
<script setup lang="ts">
import { ref, onMounted, onBeforeUnmount, nextTick } from 'vue';
import { onShow, onLoad, onHide, onPageScroll } from "@dcloudio/uni-app"
import { queryPadPageList ,getPermissionList} from '@/pages/watch/api/lunpan.js'
import { onShow, onLoad, onHide, onPageScroll, onBackPress } from "@dcloudio/uni-app"
import { queryPadPageList, getPermissionList } from '@/pages/watch/api/lunpan.js'
import leftcontent from "@/pages/NursingNew/component/leftcontent/leftcontent.vue"
import material from "@/pages/procurement/material.vue";
import index from "./component/index.vue"
@ -34,21 +36,38 @@
import finish from "@/pages/Warehouse/finish.vue"
import outbound from "@/pages/procurement/outbound.vue";
import inventory from "@/pages/procurement/inventory.vue";
import addtory from "@/pages/procurement/addtory.vue";
import retstock from "@/pages/procurement/retstock.vue";
// import logistics from "@/pages/NursingNew/component/logistics/index.vue"
import invoicing from "@/pages/NursingNew/component/invoicing/index.vue"
import logistics from "@/pages/NursingNew/component/logistics/index.vue"
import nurse from "@/pages/NursingNew/component/nurse/index.vue"
const tabbrarr = ref([
{ name: '护理', url: '/static/shouye/sy/n0.png', urls: '/static/shouye/sy/n1.png' ,type:'kzgn_hljz'},
{ name: '医疗', url: '/static/shouye/sy/y0.png', urls: '/static/shouye/sy/y1.png' ,type:'kzgn_yljz'},
{ name: '后勤', url: '/static/shouye/sy/l0.png', urls: '/static/shouye/sy/l1.png' ,type:'kzgn_hqjz'},
{ name: '库房', url: '/static/shouye/sy/l0.png', urls: '/static/shouye/sy/l1.png' ,type:'kzgn_kfjz'},
{ name: '护理', url: '/static/shouye/sy/n0.png', urls: '/static/shouye/sy/n1.png', type: 'kzgn_hljz' },
{ name: '医疗', url: '/static/shouye/sy/y0.png', urls: '/static/shouye/sy/y1.png', type: 'kzgn_yljz' },
{ name: '后勤', url: '/static/shouye/sy/l0.png', urls: '/static/shouye/sy/l1.png', type: 'kzgn_hqjz' },
{ name: '库房', url: '/static/shouye/sy/l0.png', urls: '/static/shouye/sy/l1.png', type: 'kzgn_kfjz' },
])
const menuop = ref(0)
const swipdex = ref(0)
onBackPress(() => {
if (specialPage.value) {
specialPage.value--
return true; //
} else {
return false; //
}
})
const specialPage = ref(0)
const specialitem = ref({})
const changepages = (item : any) => {
specialPage.value = 1
specialitem.value = item
}
// onMounted(() => {
// //
// navurl(0)
@ -56,136 +75,136 @@
// onShow(()=>{
// navurl(0,arrlist[0])
// })
const navurl = (e : number,v:any) => {
const navurl = (e : number, v : any) => {
//
menuop.value = -1;
swipdex.value = -1;
setTimeout(()=>{
switch (v.type){
setTimeout(() => {
switch (v.type) {
case 'sy':
swipdex.value = 0;
setTimeout(()=>{
menuop.value = 0
},100)
swipdex.value = 0;
setTimeout(() => {
menuop.value = 0
}, 100)
break;
case 'kf_cg':
swipdex.value = 1;
setTimeout(()=>{
menuop.value = 1
},100)
swipdex.value = 1;
setTimeout(() => {
menuop.value = 1
}, 100)
break;
case 'kf_jh':
swipdex.value = 2;
setTimeout(()=>{
menuop.value = 3
},100)
swipdex.value = 2;
setTimeout(() => {
menuop.value = 3
}, 100)
break;
case 'kf_wj':
swipdex.value = 3;
setTimeout(()=>{
menuop.value = 3
},100)
swipdex.value = 3;
setTimeout(() => {
menuop.value = 3
}, 100)
break;
case 'kf_ql':
swipdex.value = 4;
setTimeout(()=>{
menuop.value = 4
},100)
swipdex.value = 4;
setTimeout(() => {
menuop.value = 4
}, 100)
break;
case 'kf_th':
swipdex.value = 5;
setTimeout(()=>{
menuop.value = 5
},100)
swipdex.value = 5;
setTimeout(() => {
menuop.value = 5
}, 100)
break;
case 'kf_pd':
swipdex.value = 6;
setTimeout(()=>{
menuop.value = 6
},100)
swipdex.value = 6;
setTimeout(() => {
menuop.value = 6
}, 100)
break;
case 'kzgn_hljz':
swipdex.value = 7;
setTimeout(()=>{
menuop.value =7;
},100)
console.log('护理矩阵')
swipdex.value = 7;
setTimeout(() => {
menuop.value = 7;
}, 100)
console.log('护理矩阵')
break;
case 'kzgn_yljz':
swipdex.value = 7;
setTimeout(()=>{
menuop.value = 7;
},100)
console.log('医疗矩阵')
swipdex.value = 7;
setTimeout(() => {
menuop.value = 7;
}, 100)
console.log('医疗矩阵')
break;
case 'kzgn_hqjz':
swipdex.value = 9;
setTimeout(()=>{
menuop.value = 9;
},100)
console.log('后勤矩阵')
swipdex.value = 9;
setTimeout(() => {
menuop.value = 9;
}, 100)
console.log('后勤矩阵')
break;
case 'kzgn_kfjz':
swipdex.value = 10;
setTimeout(()=>{
menuop.value =10;
},100)
console.log('库房')
swipdex.value = 10;
setTimeout(() => {
menuop.value = 10;
}, 100)
console.log('库房')
break;
case 'back':
uni.navigateBack()
uni.navigateBack()
break;
default:
break;
}
},10)
}, 10)
}
const arrlist = ref([ ])
const arrlist = ref([])
const listarr = ref([])
const swip = ()=>{
const swip = () => {
let nuId = uni.getStorageSync('nuId');
getPermissionList({employeesId:uni.getStorageSync('userInfo').employeesId}).then(res=>{
res.result.forEach(item=>{
if(item.nuId == nuId){
listarr.value = item.dataList
getPermissionList({ employeesId: uni.getStorageSync('userInfo').employeesId }).then(res => {
res.result.forEach(item => {
if (item.nuId == nuId) {
listarr.value = item.dataList
}
})
})
let nuName = uni.getStorageSync('nuName')
queryPadPageList({'pageNo':-1,'nuName':nuName}).then((res => {
queryPadPageList({ 'pageNo': -1, 'nuName': nuName }).then((res => {
let arr = res.result.records[0].permissionList;
arrlist.value = [
{ name: '首页', url: '/static/shouye/ck/h0.png', urls: '/static/shouye/ck/h1.png' ,type:'sy'},
{ name: '采购', url: '/static/shouye/ck/c0.png', urls: '/static/shouye/ck/c1.png' ,type:'kf_cg'},
{ name: '拣货', url: '/static/shouye/ck/j0.png', urls: '/static/shouye/ck/j1.png' ,type:'kf_jh'},
{ name: '完结', url: '/static/shouye/ck/w0.png', urls: '/static/shouye/ck/w1.png' ,type:'kf_wj'},
{ name: '请领出库', url: '/static/shouye/ck/q0.png', urls: '/static/shouye/ck/q1.png' ,type:'kf_ql'},
{ name: '退货入库', url: '/static/shouye/ck/t0.png', urls: '/static/shouye/ck/t1.png' ,type:'kf_th'},
{ name: '库存盘点', url: '/static/shouye/ck/p0.png', urls: '/static/shouye/ck/p1.png' ,type:'kf_pd'},
{ name: '首页', url: '/static/shouye/ck/h0.png', urls: '/static/shouye/ck/h1.png', type: 'sy' },
{ name: '采购', url: '/static/shouye/ck/c0.png', urls: '/static/shouye/ck/c1.png', type: 'kf_cg' },
{ name: '拣货', url: '/static/shouye/ck/j0.png', urls: '/static/shouye/ck/j1.png', type: 'kf_jh' },
{ name: '完结', url: '/static/shouye/ck/w0.png', urls: '/static/shouye/ck/w1.png', type: 'kf_wj' },
{ name: '请领出库', url: '/static/shouye/ck/q0.png', urls: '/static/shouye/ck/q1.png', type: 'kf_ql' },
{ name: '退货入库', url: '/static/shouye/ck/t0.png', urls: '/static/shouye/ck/t1.png', type: 'kf_th' },
{ name: '库存盘点', url: '/static/shouye/ck/p0.png', urls: '/static/shouye/ck/p1.png', type: 'kf_pd' },
];
let tbr = [];
if(arr){
arr.forEach((v,i)=>{
let obj = listarr.value.find(item=>
if (arr) {
arr.forEach((v, i) => {
let obj = listarr.value.find(item =>
item.menuCode == v.menuCode
);
if(obj){
if (obj) {
tbr.push(v)
}
})
tbr.forEach(item=>{
let obj = tabbrarr.value.find(r=>
tbr.forEach(item => {
let obj = tabbrarr.value.find(r =>
r.type == item.menuCode
);
if(obj){
if (obj) {
arrlist.value.push(obj);
}
})
})
}
let back =[
{ name: '返回', url: '/static/shouye/sy/f0.png', urls: '/static/shouye/sy/f1.png' ,type:'back'},
let back = [
{ name: '返回', url: '/static/shouye/sy/f0.png', urls: '/static/shouye/sy/f1.png', type: 'back' },
]
arrlist.value.push(...back);
}))
@ -193,12 +212,12 @@
const materials = ref<InstanceType<typeof ChildComponent>>();
const inventorys = ref<InstanceType<typeof ChildComponent>>()
const userInfo = ref({})
onShow(()=>{
onShow(() => {
userInfo.value = uni.getStorageSync('userInfo');
if(menuop.value == 1){
materials.value.gwcsx();
if (menuop.value == 1) {
materials.value.gwcsx();
}
if(menuop.value == 6){
if (menuop.value == 6) {
inventorys.value.firstgetqueryCgdList()
}
})
@ -219,7 +238,7 @@
.left {
width: 8.2vw;
height: 100vh;
}
.boxrt {

View File

@ -220,18 +220,19 @@
const getImg = () => {
if (/^\d{11}$/.test(form.username)) {
isRel(form.username).then((res : any) => {
console.log("啥啊", res)
console.log("啥啊", res.result)
if (res.result.code == `0`) {
// console.log("")
uni.setStorageSync('serverUrl', res.result.orgList[0].serverUrl);
uni.setStorageSync('orgList', res.result.orgList);
uni.setStorageSync('orgListName', res.result.orgList[0].departName);
uni.setStorageSync('orgListCode', res.result.orgList[0].orgCode);
allserve.value = res.result.orgList
time.value = Date.now();
getLoginCode(time.value).then((res : any) => {
console.log("啥啊", res)
// console.log("", res)
form.captcha = res.message
canclick.value = true
})

View File

@ -1,16 +1,15 @@
<template>
<view class="all-bgc">
<view class="topcard">
<!-- <text>盘点单号101P20251012001</text> -->
</view>
<view class="tablist">
<view class="lefts">
<view class="pddl">盘点单</view>
<view class="pdh">{{pddobj.pddNo}}</view>
<view class="nms">{{pddobj.pddStartBy}} | {{pddobj.pddStartTime.substring(0,10).replace(/-/g, '.')}}</view>
<view class="shypk">
{{pddobj.nuName}}
</view>
<view class="tablist">
<view class="lefts">
<view class="pddl">盘点单</view>
<view class="pdh">{{pddobj.pddNo}}</view>
<view class="nms">{{pddobj.pddStartBy}} | {{pddobj.pddStartTime?.substring(0,10).replace(/-/g, '.')}}
</view>
<view class="shypk">
{{pddobj.nuName}}
</view>
</view>
<view class="rith">
<view class="left-selecttype">
@ -24,25 +23,26 @@
<view class="pdbt">{{pddobj.pddType_dictText}}</view>
<!-- <view class="pdbt">{{已完成}}</view> -->
</view>
</view>
<view class="list">
<toryitem :pddlist="pddlist" @scrolltolower="scrolltolower" :pddType="pddobj?.pddType" :status="status" @tabitem="tabitem" @right="right"></toryitem>
</view>
<view class="submit" v-if="pddobj.pddType=='1'">
<view @click="pddzfshow = true">取消盘点</view>
<view @click="subitshowing">提交盘点单</view>
</view>
<errorshow :show="openerror" :font="errmsg" @close="openerror=false" />
<pddsub :show="subitshow" :pddobj="pddobj" @close="subitshow=false"></pddsub>
<tanchuang :show="pddzfshow" font="确定要作废盘点单吗" @back="pddzfshow=false;" @right="pddzf"> </tanchuang>
</view>
<view class="list">
<toryitem :pddlist="pddlist" @scrolltolower="scrolltolower" :pddType="pddobj?.pddType" :status="status"
@tabitem="tabitem" @right="right"></toryitem>
</view>
<view class="submit" v-if="pddobj.pddType=='1'">
<view @click="pddzfshow = true">取消盘点</view>
<view @click="subitshowing">提交盘点单</view>
</view>
<errorshow :show="openerror" :font="errmsg" @close="openerror=false" />
<pddsub :show="subitshow" :pddobj="pddobj" @close="subitshow=false"></pddsub>
<tanchuang :show="pddzfshow" font="确定要作废盘点单吗" @back="pddzfshow=false;" @right="pddzf"> </tanchuang>
</view>
</template>
<script setup lang="ts">
import { ref, onMounted, onBeforeUnmount, computed, nextTick, watch, reactive } from 'vue';
import { onShow, onLoad, onHide, onPageScroll} from "@dcloudio/uni-app"
import { queryPddInfoList,editPddInfo,voidedPddMain } from './api/lunpan.js'
import { onShow, onLoad, onHide, onPageScroll } from "@dcloudio/uni-app"
import { queryPddInfoList, editPddInfo, voidedPddMain } from './api/lunpan.js'
import toryitem from './common/toryitem.vue'
import pddsub from './common/pddsub.vue'
const leftscrolltop = ref(0)
@ -52,6 +52,11 @@
const subitshow = ref(false)
const pddzfshow = ref(false)
const selectType = ref(0)
const props = defineProps({
specialitem: {
type: Object
},
});
const changetype = (index : number) => {
if ((selectType.value == index) && index) {
return
@ -63,161 +68,170 @@
selectType.value = index;
pageNo.value = 1;
pddlist.value = [];
uni.removeStorage({ key: 'valitem'})
uni.removeStorage({ key: 'valitem' })
pandian();
}
onLoad((e)=>{
pddobj.value = JSON.parse(e.pddobj);
pandian()
})
const pageNo = ref(1);
const status = ref('loadmore');
const pddlist = ref([]);
const pandian = ()=>{
const pandian = () => {
let obj = {
pddId:pddobj.value.id,
paramType:selectType.value==0?'':selectType.value,
pageNo:pageNo.value,
pageSize:10
pddId: pddobj.value.id,
paramType: selectType.value == 0 ? '' : selectType.value,
pageNo: pageNo.value,
pageSize: 10
}
queryPddInfoList(obj).then(res=>{
res.result.records.forEach((item,i)=>{
queryPddInfoList(obj).then(res => {
res.result.records.forEach((item, i) => {
item.picPatharr = [];
item.zk = false;
item.yczk=false;
item.bz=false;
item.pz=false;
if(item.picPath!=''&&item.picPath!=null){
item.yczk = false;
item.bz = false;
item.pz = false;
if (item.picPath != '' && item.picPath != null) {
item.picPatharr = item.picPath.split(",");
item.picPatharr = item.picPatharr.filter(item => item !== '');
}
})
pddlist.value.push(...res.result.records);
let s = Math.ceil(res.result.total / 3);
pddlist.value.forEach((item,i)=>{
if(Math.ceil((i + 1) / 3) == s && s>2){
pddlist.value.forEach((item, i) => {
if (Math.ceil((i + 1) / 3) == s && s > 2) {
item.dczk = true;
}
})
status.value = (res.result.total == pddlist.value.length ? 'nomore' : 'loadmore');
})
}
const scrolltolower = () =>{
if(status.value == 'loading' || status.value == 'nomore'){return}
const scrolltolower = () => {
if (status.value == 'loading' || status.value == 'nomore') { return }
status.value = 'loading'
pageNo.value++;
pandian()
}
const tabitem = (i,v) =>{
const tabitem = (i, v) => {
pddlist.value[i] = v;
}
const right = (e,i)=>{
const right = (e, i) => {
let obj = {
id:e.id,
dqkcsl:e.dqkcsl,
pdsl:e.pdsl,
content:e.content,
picPath:e.picPath
id: e.id,
dqkcsl: e.dqkcsl,
pdsl: e.pdsl,
content: e.content,
picPath: e.picPath
}
editPddInfo(obj).then(res=>{
if(res.success){
editPddInfo(obj).then(res => {
if (res.success) {
res.result.zk = false;
res.result.yczk=false;
res.result.bz=false;
res.result.pz=false;
res.result.yczk = false;
res.result.bz = false;
res.result.pz = false;
res.result.picPatharr = [];
if(res.result.picPath!=''&&res.result.picPath!=null){
if (res.result.picPath != '' && res.result.picPath != null) {
res.result.picPatharr = res.result.picPath.split(",");
res.result.picPatharr = res.result.picPatharr.filter(item => item !== '');
}
if(e.dczk == true){
if (e.dczk == true) {
res.result.dczk = true;
}
pddlist.value[i] = res.result;
uni.removeStorage({ key: 'valitem'})
}else{
uni.removeStorage({ key: 'valitem' })
} else {
errmsg.value = res.message;
openerror.value = true;
}
})
}
const subitshowing = ()=>{
const subitshowing = () => {
let obj = {
pddId:pddobj.value.id,
paramType:4,
pageNo:-1,
pageSize:10
pddId: pddobj.value.id,
paramType: 4,
pageNo: -1,
pageSize: 10
}
queryPddInfoList(obj).then(res=>{
if(res.result.total == 0){
queryPddInfoList(obj).then(res => {
if (res.result.total == 0) {
subitshow.value = true;
}else{
} else {
errmsg.value = '有未完成的盘点信息,不能提交盘点单';
openerror.value = true;
}
})
}
const pddzf = ()=>{
voidedPddMain({id:pddobj.value.id}).then(res=>{
if(res.success){
const pddzf = () => {
voidedPddMain({ id: pddobj.value.id }).then(res => {
if (res.success) {
pddzfshow.value = true;
setTimeout(()=>{
setTimeout(() => {
uni.navigateBack()
},800)
}else{
}, 800)
} else {
errmsg.value = res.message;
openerror.value = true;
}
})
}
onMounted(() => {
pddobj.value = props.specialitem
pandian()
})
</script>
<style scoped lang="less">
.pdbt{
.pdbt {
width: 7.1vw;
height: 3.2vw;
background: linear-gradient(0deg, #CAE0F9, #E9F4FF);
border-radius: 1.6vw;
border: 1px solid rgba(3,133,250,0.34);
border: 1px solid rgba(3, 133, 250, 0.34);
font-weight: 400;
font-size: 1.4vw;
color: #1083F8;
margin-left: 0.7vw;
// margin-left: 0.7vw;
display: flex;
justify-content: center;
align-items: center;
margin-right: 2vw;
}
.submit{
width: 100%;
height: 3.2vw;
margin-top: 0.4vw;
padding-right: 2vw;
.submit {
width: 100.5%;
height: 4vw;
margin-top: 0.5vw;
padding-right: 0.7vw;
display: flex;
justify-content: flex-end;
view{
align-items: center;
background-color: #fff;
border-radius: 35rpx;
view {
display: flex;
justify-content: center;
align-items: center;
&:nth-child(1){
&:nth-child(1) {
width: 8.7vw;
height: 3.2vw;
background: #F8F8F8;
background: #fff;
border-radius: 1.6vw;
border: 1px solid #E5E5E5;
font-weight: 400;
font-size: 1.4vw;
color: #555555;
}
&:nth-child(2){
&:nth-child(2) {
width: 10.2vw;
height: 3.2vw;
background: linear-gradient(0deg, #CAE0F9, #E9F4FF);
border-radius: 1.6vw;
border: 1px solid rgba(3,133,250,0.34);
border: 1px solid rgba(3, 133, 250, 0.34);
font-weight: 400;
font-size: 1.4vw;
color: #1083F8;
@ -225,21 +239,24 @@
}
}
}
.list{
width: 100vw;
height: 51.5vw;
margin: 0.8vw auto 0;
padding:0 0 0 2vw;
.list {
width: 91vw;
height: 53vw;
margin: 0vw auto 0;
overflow: hidden;
}
.tablist{
width: 100vw;
.tablist {
width: 91vw;
height: 3.3vw;
display: flex;
justify-content: space-between;
padding:0 2vw;
margin-top: -3.3vw;
.rith{
// padding: 0 2vw;
// margin-top: -3.3vw;
.rith {
.left-selecttype {
width: 30vw;
height: 70rpx;
@ -249,21 +266,21 @@
padding-right: 30rpx;
padding-left: 15rpx;
position: relative;
.heng-blue {
position: absolute;
bottom: 0;
bottom: 3rpx;
left: 50%;
transform: translateX(-50%);
width: 25rpx;
height: 8rpx;
width: 30rpx;
height: 5rpx;
border-radius: 10rpx;
background-color: #1083F8;
transition: 0.3s all ease;
}
.selecttype {
width: 20%;
height: 100%;
@ -273,9 +290,9 @@
color: #999999;
font-size: 31rpx;
position: relative;
}
.selecttype-target {
width: 20%;
height: 100%;
@ -289,99 +306,71 @@
}
}
}
.lefts{
height: 100%;
align-items: center;
.shypk{
width: 7.5vw;
.lefts {
height: 100%;
align-items: center;
.shypk {
// width: 7.5vw;
height: 2.3vw;
background: #DFEFFF;
border-radius: 0.5vw;
border: 1px solid #C7D2E4;
font-weight: 400;
font-size: 1.2vw;
padding: 0 15rpx;
color: #1083F8;
display: flex;
justify-content: center;
align-items: center;
margin-left: 0.9vw;
}
.nms{
font-weight: 400;
font-size: 1.3vw;
color: #222222;
margin-left: 1.3vw;
}
.pdh{
font-weight: bold;
font-size: 1.8vw;
color: #222222;
margin-left: 0.7vw;
}
.pddl{
width: 5.7vw;
height: 2.2vw;
background: #DADADA;
border-radius: 0.5vw;
font-weight: 400;
font-size: 1.4vw;
color: #555555;
display: flex;
justify-content: center;
align-items: center;
}
}
.nms {
font-weight: 400;
font-size: 1.3vw;
color: #222222;
margin-left: 1.3vw;
}
.pdh {
font-weight: bold;
font-size: 1.8vw;
color: #222222;
margin-left: 0.7vw;
}
.pddl {
width: 5.7vw;
height: 2.2vw;
background: #fff;
border-radius: 0.5vw;
font-weight: 400;
font-size: 1.4vw;
color: #555555;
display: flex;
justify-content: center;
align-items: center;
}
}
>view{
>view {
width: 50%;
display: flex;
&:nth-child(2){
&:nth-child(2) {
justify-content: flex-end;
}
}
}
.topcard{
width: 100vw;
height: 3.3vw;
position: relative;
display: flex;
justify-content: center;
align-items: center;
padding:0 2vw;
text{
font-weight: bold;
font-size: 1.8vw;
color: #222222;
}
view{
width: 7.3vw;
height: 3.3vw;
background: #FFFFFF;
position: absolute;
right: 2vw;
top: 0;
border-radius: 1.65vw;
border: 1px solid #D9DADC;
font-weight: 400;
font-size: 1.4vw;
color: #222;
display: flex;
justify-content: center;
align-items: center;
margin: 0 0 0 0.7vw;
color: #555555;
image {
width: 1.5vw;
height: 1.5vw;
margin: 0 0.2vw 0 0;
}
}
}
.all-bgc {
width: 100vw;
width: 91vw;
height: 100vh;
background-color: rgb(239, 240, 244);
padding-top: 2.5vh;
padding: 0 1vw;
// background-color: red;
// padding-top: 2.5vh;
}
</style>
</style>

View File

@ -28,7 +28,11 @@
{{v?.materialUnits}}
</view>
<view class="cot" style="white-space: nowrap;display: block;overflow: hidden;text-overflow: ellipsis;height: 1.7vw;">
<text style="display: inline-block;">规格型号</text>{{v?.specificationModel}}
<text style="display: inline-block;">规格型号</text>
<!-- <text style="margin-left: 10rpx;color: black;"> -->
{{v?.specificationModel}}
<!-- </text> -->
</view>
<view class="wltwo">
<view>
@ -300,9 +304,11 @@
.itembox {
width: 100%;
height: 50vw;
height: 53vw;
display: flex;
margin-top: 0.75vw;
margin-top: 0.6vw;
// background-color: blue;
.itembord1 {
border-radius: 1.6vw !important;
transition: 1s;
@ -325,22 +331,22 @@
}
.items {
width: 31.5vw;
height: 16vw;
width: 44.4vw;
height: 16.8vw;
background: #FFFFFF;
border-radius: 1.6vw;
display: inline-block;
margin: 0 0.8vw 0.5vw 0;
margin: 0 0.9vw 0.5vw 0;
position: relative;
z-index: 20;
top: 0;
.tan {
position: absolute;
width: 31.5vw;
width: 100%;
height: 17vw;
background: #fff;
top: 15.5vw;
top: 16.8vw;
left: 0;
z-index: 27;
border-radius: 0 0 1.6vw 1.6vw;
@ -384,7 +390,7 @@
}
.bpq {
width: 31vw;
width: 100%;
height: 2.6vw;
position: absolute;
display: flex;
@ -625,8 +631,8 @@
}
.chae {
width: 4vw;
height: 4vw;
width: 6vw;
height: 8vw;
position: absolute;
right: 0;
top: 0;
@ -656,15 +662,15 @@
}
.pandian {
width: 3.3vw;
height: 3.3vw;
// width: 5vw;
// height: 4.5vw;
position: absolute;
right: 0;
bottom: 0;
right: 2.7vw;
bottom: 2vw;
image {
width: 1.7vw;
height: 1.7vw;
width: 2.6vw;
height: 2.6vw;
}
}
@ -673,7 +679,7 @@
height: 100%;
overflow: hidden;
position: absolute;
left: 13vw;
left: 15vw;
top: 0;
.wltwo {
@ -682,6 +688,7 @@
display: flex;
margin-top: 1.2vw;
justify-content: space-between;
margin-left: -2vw;
>view {
// min-width: 5vw;
@ -691,11 +698,11 @@
justify-content: space-around;
position: relative;
align-items: left;
padding: 0 1vw;
padding: 0 2vw;
view {
font-weight: bold;
font-size: 1.7vw;
font-weight: 800;
font-size: 1.5vw;
color: #555555;
}
@ -723,27 +730,28 @@
.cot {
width: 18vw;
font-weight: 400;
font-size: 1.3vw;
font-size: 1.4vw;
color: rgba(85, 85, 85, 1);
margin-top: 0.2vw;
// margin-top: 0.1vw;
text {
color: rgba(153, 153, 153, 1);
font-size: 1.2vw;
font-size: 1.3vw;
font-weight: 300;
// font-weight: 600;
}
}
.tite {
width: 13vw;
font-weight: bold;
font-size: 1.6vw;
font-weight: 800;
font-size: 1.8vw;
color: #222222;
height: 2vw;
white-space: nowrap;
text-overflow: ellipsis;
overflow: hidden;
margin: 1.3vw 0 1.2vw 0;
margin: 1.5vw 0 1vw 0;
}
}
@ -754,18 +762,18 @@
display: flex;
flex-direction: column;
position: absolute;
left: 0.4vw;
left: 1vw;
top: 0;
.cardp {
width: 12vw;
width: 14vw;
height: 4vw;
display: flex;
flex-wrap: wrap;
margin: 0 auto;
align-items: center;
view {
min-width: 5vw;
min-width: 6vw;
height: 1.8vw;
border-radius: 0.9vw;
border: 1px solid #D2D2D2;
@ -774,7 +782,7 @@
justify-content: center;
align-items: center;
font-weight: 400;
font-size: 0.8vw;
font-size: 1.2vw;
color: #555555;
padding: 0 0.25vw;
@ -792,18 +800,19 @@
}
.imgs {
width: 9.8vw;
height: 9.8vw;
background: #F8F8F8;
width: 13vw;
height: 10vw;
// background: #F8F8F8;
border-radius: 1.1vw;
display: flex;
justify-content: center;
align-items: center;
margin: 0.8vw auto 0;
padding: 0.5vw;
margin-top: 1.5vw;
// margin: 0.8vw auto 0;
// padding: 0.5vw;
>image {
width: 8.8vw;
height: 7.5vw;
width: 9vw;
height: 9vw;
border-radius: 0.4vw;
}
}

View File

@ -148,12 +148,16 @@
<style scoped lang="less">
.jsuq{
width: 100%;
width: 44.4vw;
display: flex;
height: 12vw;
justify-content: space-between;
.rigsbt{
width: 19vw;
height: 100%;
margin-right: 4vw;
.calculator-father {
width: 18vw;
height: 100%;
@ -188,6 +192,7 @@
justify-content: space-around;
align-items: center;
padding: 0 1.5vw;
margin-left: 4vw;
.shu{
font-weight: 400;
font-size: 1.2vw;

View File

@ -1,5 +1,5 @@
<template>
<view class="all-bgc guodu" :style="!transition?'opacity: 0':'opacity: 1'" style="transition: opacity 1s ease;">
<view class="all-bgc guodu" :style="!transition?'opacity: 0':'opacity: 1'" style="transition: opacity 1s ease;">
<view class="buttons-father">
<view class="ipt">
<input type="text" v-model="plzinfo.pddInfo" placeholder="盘点单号/盘点人/盘点日期" @confirm="clickconfirm" />
@ -27,7 +27,8 @@
v-for="(item,index) in tagsarray" @click="changetype(index)">
{{ item }}
</view>
<view class="heng-blue" :style="{ left: `${selectType === 0 ? 14 :(selectType==3?12:13) + selectType * 24}%` }">
<view class="heng-blue"
:style="{ left: `${selectType === 0 ? 14 :(selectType==3?12:13) + selectType * 24}%` }">
</view>
</view>
@ -58,9 +59,10 @@
<view class="scroll-title-left">
<view class="title-font">
{{ item.pddNo }}
</view>
</view>
</view>
<view class="scroll-title-right" :style="item.pddType==3?'color: #FF5757;border: 2rpx solid #FF5757;background-color: #FFF1F1;':''">
<view class="scroll-title-right"
:style="item.pddType==3?'color: #FF5757;border: 2rpx solid #FF5757;background-color: #FFF1F1;':''">
{{ item.pddType_dictText }}
</view>
@ -272,7 +274,7 @@
const openselect = ref(false);
const manyselect = ref(false);
const addshow = ref(false)
const tagsarray = ref(["全部", "盘点中", "已完成",'作废'])
const tagsarray = ref(["全部", "盘点中", "已完成", '作废'])
const cgrlist = ref([]);
const props = defineProps({
isShow: {
@ -281,13 +283,13 @@
});
const transition = ref(false);
onMounted(() => {
chongzhi()
getSelectList();
chongzhi()
getSelectList();
transition.value = false;
setTimeout(() => {
transition.value = true;
}, 50)
})
})
watch(
() => props.isShow,
(newVal, oldVal) => {
@ -345,7 +347,7 @@
break
case 3:
plzinfo.pddType = `3`
break
}
@ -566,13 +568,16 @@
}
const errormessage = ref("")
const openmessage = ref(false)
const emit = defineEmits(['changepages'])
const addnew = () => {
addPddMain({ nuId: uni.getStorageSync('nuId') }).then((res : any) => {
if (res.success) {
addshow.value = false
chongzhi();
let pddobj = res.result;
uni.navigateTo({ url: '/pages/procurement/addtory?pddobj=' + JSON.stringify(pddobj) })
emit("changepages", pddobj)
// uni.navigateTo({ url: '/pages/procurement/addtory?pddobj=' + JSON.stringify(pddobj) })
} else {
openmessage.value = true
errormessage.value = res.message
@ -581,8 +586,9 @@
}
const pdurl = (v) => {
console.log(v)
uni.navigateTo({ url: '/pages/procurement/addtory?pddobj=' + JSON.stringify(v) })
// console.log(v)
emit("changepages", v)
// uni.navigateTo({ url: '/pages/procurement/addtory?pddobj=' + JSON.stringify(v) })
}
defineExpose({
firstgetqueryCgdList
@ -593,8 +599,8 @@
.all-bgc {
background-color: rgb(239, 240, 244);
padding-left: 1vw;
padding-top:2vh;
width: 90vw;
padding-top: 1vh;
width: 92vw;
}
.buttons-father {
@ -808,8 +814,8 @@
}
.all-contain {
width: 100%;
height: 87vh;
width: 100.5%;
height: 89vh;
.all-scroll {
width: 100%;
@ -822,10 +828,10 @@
flex-wrap: wrap;
.scroll-item {
width: 31.95%;
width: 32%;
margin-right: 1%;
margin-bottom: 1%;
height: 370rpx;
height: 384rpx;
background-color: #fff;
border-radius: 30rpx;
// padding: 0 1%;
@ -946,11 +952,13 @@
display: flex;
justify-content: space-between;
align-items: center;
>view{
>view {
margin-top: 15rpx;
display: flex;
align-items: center;
}
.title-success {
width: 65rpx;
height: 40rpx;
@ -965,7 +973,7 @@
margin-left: 5rpx;
border-radius: 5rpx;
}
.title-error {
width: 65rpx;
height: 40rpx;
@ -981,6 +989,7 @@
margin-right: 5rpx;
border-radius: 5rpx;
}
.title-imge {
width: 1.8vw;
height: 1.8vw;

View File

@ -694,10 +694,11 @@
.all-bgc {
background-color: rgb(239, 240, 244);
// background-color: red;
// padding: 2vw;
padding-left: 1vw;
// padding-top: 1.5vh;
width: 90vw;
width: 92vw;
}
.right-container-tem {
@ -1119,7 +1120,7 @@
}
.other-contain-right {
width: 65%;
width: 65.5%;
margin-left: 1%;
height: 97%;
background-color: #fff;
@ -1139,15 +1140,16 @@
display: flex;
width: 100%;
flex-wrap: wrap;
padding-left: 20rpx;
padding-left: 15rpx;
padding-top: 13rpx;
padding-bottom: 80rpx;
.right-one {
width: 570rpx;
width: 592rpx;
height: 270rpx;
margin-left: 20rpx;
margin-top: 15rpx;
margin-bottom: 15rpx;
background-color: #F9F9F9;
border-radius: 30rpx;
display: flex;
@ -1304,7 +1306,7 @@
.right-buttons {
position: absolute;
right: 1.8vw;
right: 1.4vw;
top: 0;
display: flex;

View File

@ -31,7 +31,7 @@ export default (params) => {
// console.log("请求返回了啥啊",response)
// 根据返回的状态码做出对应的操作
//获取成功
// console.log(res.statusCode);
// console.log("接口总线",res);
if (res.statusCode == 200) {
resolve(res.data);
loginout = false;

Binary file not shown.

Before

Width:  |  Height:  |  Size: 245 KiB

After

Width:  |  Height:  |  Size: 224 KiB

BIN
static/ceshi7.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 295 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.3 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 774 KiB

After

Width:  |  Height:  |  Size: 169 KiB

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\timport {\r\n\t\tconnectWs,\r\n\t\tcloseWs\r\n\t} from '@/common/websocketManager.js';\r\n\tlet globalWs = null;\r\n\r\n\texport default {\r\n\t\tonLaunch() {\r\n\t\t\t// #ifdef APP-PLUS\r\n\t\t\t// 检测是否为 Android\r\n\t\t\tif (plus.os.name === 'Android') {\r\n\t\t\t\t// 隐藏虚拟按键(底部横线)\r\n\t\t\t\tconst mainActivity = plus.android.runtimeMainActivity();\r\n\t\t\t\tconst Window = plus.android.importClass('android.view.Window');\r\n\t\t\t\tconst View = plus.android.importClass('android.view.View');\r\n\t\t\t\r\n\t\t\t\tconst window = mainActivity.getWindow();\r\n\t\t\t\tconst decorView = window.getDecorView();\r\n\t\t\t\r\n\t\t\t\t// 隐藏导航栏\r\n\t\t\t\tconst uiOptions = View.SYSTEM_UI_FLAG_HIDE_NAVIGATION\r\n\t\t\t\t\t| View.SYSTEM_UI_FLAG_FULLSCREEN\r\n\t\t\t\t\t| View.SYSTEM_UI_FLAG_IMMERSIVE_STICKY;\r\n\t\t\t\r\n\t\t\t\tplus.android.invoke(decorView, 'setSystemUiVisibility', uiOptions);\r\n\t\t\t\r\n\t\t\t\t// 监听焦点变化,防止导航栏重新显示\r\n\t\t\t\tdecorView.setOnSystemUiVisibilityChangeListener(\r\n\t\t\t\t\tnew plus.android.implements('OnSystemUiVisibilityChangeListener', {\r\n\t\t\t\t\t\tonSystemUiVisibilityChange: function (visibility) {\r\n\t\t\t\t\t\t\tif ((visibility & View.SYSTEM_UI_FLAG_FULLSCREEN) === 0) {\r\n\t\t\t\t\t\t\t\tplus.android.invoke(decorView, 'setSystemUiVisibility', uiOptions);\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t})\r\n\t\t\t\t);\r\n\t\t\t}\r\n\t\t\t// #endif\r\n\t\t\t\r\n\t\t},\r\n\r\n\t\tonShow() {\r\n\t\t\t// console.log('App Show');\r\n\t\t\t// if (uni.getStorageSync('userInfo')) {\r\n\t\t\t// \t// 重置重连计数,确保立即重连\r\n\t\t\t// \tconnectWs()\r\n\t\t\t// }\r\n\t\t},\r\n\r\n\t\tonHide() {\r\n\t\t\t// console.log('App Hide');\r\n\t\t\t// if (uni.getStorageSync('userInfo')) {\r\n\t\t\t// \t// 可选择关闭 socket或只是停止心跳\r\n\t\t\t// \tcloseWs()\r\n\t\t\t// }\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</style>","// #ifdef VUE3\r\nimport { createSSRApp } from 'vue'\r\nimport App from './App'\r\nimport uView from './uni_modules/vk-uview-ui'\r\nimport donghua from '@/component/public/donghua.vue'\r\nimport errorshow from '@/component/public/errorshow.vue'\r\nimport tanchuang from '@/pages/procurement/components/tanchuang.vue'\r\nimport severcard from '@/component/public/severcard.vue'\r\n// import WsRequest from '@/common/websocket.js' // default 导入,文件必须有 export default\r\n\r\nexport function createApp() {\r\n const app = createSSRApp(App)\r\n\r\n // // 延后创建实例(构造不会阻塞主线程)\r\n // const websocket = new WsRequest(\r\n // 'wss://www.focusnu.com/ws101/sdWebsocket/1942419556028956674',\r\n // {\r\n // debug: true,\r\n // heartbeatInterval: 25000\r\n // }\r\n // )\r\n\r\n // app.config.globalProperties.$socket = websocket\r\n // app.provide('socket', websocket)\r\n\r\n app.use(uView)\r\n app.component('donghua', donghua)\r\n app.component('tanchuang', tanchuang)\r\n app.component('errorshow', errorshow)\r\n app.component('severcard', severcard)\r\n\r\n return { app }\r\n}\r\n// #endif\r\n"],"names":["createSSRApp","App","uView"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAOC,MAAK,YAAU;AAAA,EACd,WAAW;AAAA,EAgCV;AAAA,EAED,SAAS;AAAA,EAMR;AAAA,EAED,SAAS;AAAA,EAMT;AACD;ACrDD,MAAM,UAAU,MAAW;AAC3B,MAAM,YAAY,MAAW;AAC7B,MAAM,YAAY,MAAW;AAC7B,MAAM,YAAY,MAAW;AAGtB,SAAS,YAAY;AAC1B,QAAM,MAAMA,cAAY,aAACC,SAAG;AAc5B,MAAI,IAAIC,iCAAK;AACb,MAAI,UAAU,WAAW,OAAO;AAChC,MAAI,UAAU,aAAa,SAAS;AACpC,MAAI,UAAU,aAAa,SAAS;AACpC,MAAI,UAAU,aAAa,SAAS;AAEpC,SAAO,EAAE,IAAK;AAChB;;;"}

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

View File

@ -0,0 +1 @@
{"version":3,"file":"websocketManager.js","sources":["common/websocketManager.js"],"sourcesContent":["// websocketManager.js\nimport WsRequest from '@/common/websocket.js';\n\nlet globalWs = null;\n\nconst initWs = (url, options = {}) => {\n // 如果已经有 WebSocket 实例且 URL 相同,直接返回\n if (globalWs) {\n if (globalWs.url === url) {\n return globalWs;\n }\n // 否则先将旧实例以“手动关闭”方式关闭并清理,避免旧实例干扰\n try {\n globalWs._shouldReconnect = false;\n globalWs.close(1000, 'reinit', true);\n } catch (e) {\n // 忽略关闭错误\n }\n globalWs = null;\n }\n\n // 强烈建议:全局只 bind 一次WsRequest 内部已用静态保护)\n const opt = Object.assign({ bindGlobal: true }, options);\n globalWs = new WsRequest(url, opt);\n return globalWs;\n};\n\nconst connectWs = () => {\n if (!globalWs) return;\n // 如果已经连接,直接返回,避免重复 open\n if (globalWs.connected) return;\n // 明确表示这是一次主动连接请求,允许自动重连\n globalWs.reconnectAttempts = 0;\n globalWs._shouldReconnect = true;\n globalWs._manualClose = false;\n globalWs.open();\n};\n\nconst closeWs = (manual = true) => {\n if (!globalWs) return;\n // 主动关闭时先禁止自动重连\n if (manual) {\n globalWs._shouldReconnect = false;\n }\n // 传 manual 参数到 close以便内部区分是否允许重连\n globalWs.close(1000, 'manager close', !!manual);\n // 如果你想下次重新 init 时创建新实例,可以把 globalWs 置空\n // globalWs = null;\n};\n\nexport { initWs, connectWs, closeWs };\n"],"names":["WsRequest"],"mappings":";;AAGA,IAAI,WAAW;AAEV,MAAC,SAAS,CAAC,KAAK,UAAU,OAAO;AAEpC,MAAI,UAAU;AACZ,QAAI,SAAS,QAAQ,KAAK;AACxB,aAAO;AAAA,IACR;AAED,QAAI;AACF,eAAS,mBAAmB;AAC5B,eAAS,MAAM,KAAM,UAAU,IAAI;AAAA,IACpC,SAAQ,GAAG;AAAA,IAEX;AACD,eAAW;AAAA,EACZ;AAGD,QAAM,MAAM,OAAO,OAAO,EAAE,YAAY,KAAI,GAAI,OAAO;AACvD,aAAW,IAAIA,iBAAAA,UAAU,KAAK,GAAG;AACjC,SAAO;AACT;AAEK,MAAC,YAAY,MAAM;AACtB,MAAI,CAAC;AAAU;AAEf,MAAI,SAAS;AAAW;AAExB,WAAS,oBAAoB;AAC7B,WAAS,mBAAmB;AAC5B,WAAS,eAAe;AACxB,WAAS,KAAI;AACf;;;"}

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

View File

@ -0,0 +1 @@
{"version":3,"file":"errorshow.js","sources":["component/public/errorshow.vue","../猫meme/HBuilderX.4.76.2025082103/HBuilderX/plugins/uniapp-cli-vite/uniComponent:/RDovaGxkeV9hcHBfbWluaS9jb21wb25lbnQvcHVibGljL2Vycm9yc2hvdy52dWU"],"sourcesContent":["<!-- 使用示例 已经全局暴露了,直接用-->\r\n<!-- <errorshow :show=\"openmessage\" :font=\"errormessage\" @close=\"openmessage=false\" /> -->\r\n<template>\r\n\t<view>\r\n\t\t<view class=\"addall\" v-if=\"show\" :style=\"style\">\r\n\t\t\t<image class=\"addallimge\" v-if=\"icons\" src=\"/static/error.png\" mode=\"aspectFill\"></image>\r\n\t\t\t<view class=\"addallfont\">{{ font }}</view>\r\n\t\t\t<view class=\"qd\" @click=\"onClose\">确定</view>\r\n\t\t</view>\r\n\r\n\t\t<view class=\"mengban\" v-if=\"show\" @click=\"onClose\"></view>\r\n\t</view>\r\n</template>\r\n\r\n<script setup>\r\n\tconst props = defineProps({\r\n\t\tshow: {\r\n\t\t\ttype: Boolean,\r\n\t\t\tdefault: false\r\n\t\t},\r\n\t\tfont: {\r\n\t\t\ttype: String,\r\n\t\t\tdefault: ''\r\n\t\t},\r\n\t\ticons:{\r\n\t\t\ttype: Boolean,\r\n\t\t\tdefault: true\r\n\t\t},\r\n\t\tstyle:{\r\n\t\t\t// type:String\r\n\t\t}\r\n\t})\r\n\r\n\tconst emit = defineEmits(['close'])\r\n\r\n\tfunction onClose() {\r\n\t\temit('close')\r\n\t}\r\n\r\n</script>\r\n\r\n<style scoped lang=\"less\">\r\n\t.addall {\r\n\t\twidth: 30vw;\r\n\t\tbackground: #FFFFFF;\r\n\t\tbox-shadow: 0rpx 0rpx 1.3vw 0rpx rgba(163, 167, 182, 0.16);\r\n\t\tborder-radius: 1.9vw;\r\n\t\tposition: fixed;\r\n\t\ttop: 50%;\r\n\t\tleft: 50%;\r\n\t\ttransform: translate(-50%, -50%);\r\n\t\tpadding: 3vw 4vw;\r\n\t\tz-index: 9120;\r\n\t\tdisplay: flex;\r\n\t\tflex-direction: column;\r\n\r\n\t\t.addallimge {\r\n\t\t\twidth: 4.3vw;\r\n\t\t\theight: 4.3vw;\r\n\t\t\tmargin: 1vw auto 1.5vw auto;\r\n\t\t}\r\n\r\n\t\t.addallfont {\r\n\t\t\twidth: 23vw;\r\n\t\t\tfont-weight: 400;\r\n\t\t\tfont-size: 1.3vw;\r\n\t\t\tcolor: #888888;\r\n\t\t\tline-height: 1.7vw;\r\n\t\t\tflex-wrap: wrap;\r\n\t\t\tmargin-bottom: 4vw;\r\n\t\t\ttext-align: center;\r\n\t\t\toverflow-wrap: break-word;\r\n\t\t}\r\n\r\n\t\t.qd {\r\n\t\t\tbackground: linear-gradient(0deg, #CAE0F9, #E9F4FF);\r\n\t\t\tborder: 1px solid rgba(3, 133, 250, 0.34);\r\n\t\t\tcolor: #0385FA;\r\n\t\t\tposition: absolute;\r\n\t\t\tright: 3vw;\r\n\t\t\tbottom: 2vw;\r\n\t\t\twidth: 6.3vw;\r\n\t\t\theight: 3vw;\r\n\t\t\tborder-radius: 1.6vw;\r\n\t\t\tfont-weight: 400;\r\n\t\t\tfont-size: 1.4vw;\r\n\t\t\tdisplay: flex;\r\n\t\t\tjustify-content: center;\r\n\t\t\talign-items: center;\r\n\t\t}\r\n\t}\r\n\r\n\t.mengban {\r\n\t\twidth: 100vw;\r\n\t\theight: 100vh;\r\n\t\tposition: fixed;\r\n\t\ttop: 0;\r\n\t\tleft: 0;\r\n\t\tz-index: 9100;\r\n\t\tbackground: rgba(239, 240, 244, 0.55);\r\n\t}\r\n</style>","import Component from 'D:/hldy_app_mini/component/public/errorshow.vue'\nwx.createComponent(Component)"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;AAiCC,UAAM,OAAO;AAEb,aAAS,UAAU;AAClB,WAAK,OAAO;AAAA,IACZ;;;;;;;;;;;;;;;;;;;;;ACpCF,GAAG,gBAAgB,SAAS;"}

View File

@ -1 +1 @@
{"version":3,"file":"exit.js","sources":["component/public/exit.vue","../猫meme/HBuilderX.4.76.2025082103/HBuilderX/plugins/uniapp-cli-vite/uniComponent:/RDovaGxkeV9hcHBfbWluaS9jb21wb25lbnQvcHVibGljL2V4aXQudnVl"],"sourcesContent":["<template>\r\n\t<!-- 通过 v-show 控制显隐,并根据 show 添加 is-active 类触发 CSS 过渡 -->\r\n\t<view :class=\"['neuro-wrapper', donghua ? 'is-active' : '']\" v-show=\"show\">\r\n\t\t<!-- 遮罩层,点击触发关闭 -->\r\n\t\t<view class=\"neuro-mask\" @click=\"handleClose\"></view>\r\n\t\t<!-- 拟态框,阻止冒泡点击 -->\r\n\t\t<view class=\"neuro-box\" @click.stop>\r\n\r\n\t\t\t<view class=\"button-father\">\r\n\t\t\t\t<view class=\"button-white\" @click=\"handleClose\">取消</view>\r\n\t\t\t\t<view class=\"button\" @click=\"go\">确定</view>\r\n\t\t\t</view>\r\n\r\n\t\t\t<view class=\"title\">退出登录</view>\r\n\t\t\t<view class=\"card-font\">\r\n\t\t\t\t确定要注销账户吗\r\n\t\t\t</view>\r\n\t\t</view>\r\n\t</view>\r\n</template>\r\n\r\n<script setup>\r\n\timport {\r\n\t\tref,\r\n\t\twatch\r\n\t} from 'vue'\r\n\r\n\t// 接收 show 属性并支持 update:show 事件\r\n\tconst props = defineProps({\r\n\t\tshow: {\r\n\t\t\ttype: Boolean,\r\n\t\t\tdefault: true\r\n\t\t},\r\n\r\n\t});\r\n\t// 区分首次渲染与动态添加\r\n\tconst donghua = ref(false);\r\n\twatch(\r\n\t\t() => props.show,\r\n\t\t(newVal, oldVal) => {\r\n\t\t\tif (!oldVal && newVal) {\r\n\t\t\t\tdonghua.value = false\r\n\t\t\t\tsetTimeout(()=>donghua.value = true,50)\r\n\r\n\t\t\t}\r\n\t\t}\r\n\t)\r\n\tconst emit = defineEmits([\"close\"]);\r\n\r\n\t// 关闭方法,通知父组件更新 show\r\n\tfunction handleClose() {\r\n\t\temit('close');\r\n\t}\r\n\tconst go = () => {\r\n\t\tuni.setStorageSync('token', 1);\r\n\t\t\r\n\t\tuni.redirectTo({\r\n\t\t\turl: '/pages/login/login'\r\n\t\t});\r\n\t}\r\n</script>\r\n\r\n<style lang=\"scss\" scoped>\r\n\t/* 容器默认隐藏,透明度为 0不接受点击 */\r\n\t.neuro-wrapper {\r\n\t\tposition: fixed;\r\n\t\tinset: 0;\r\n\t\tdisplay: flex;\r\n\t\tjustify-content: center;\r\n\t\talign-items: center;\r\n\t\tz-index: 999;\r\n\t\topacity: 0;\r\n\t\tpointer-events: none;\r\n\t\ttransition: opacity 0.3s ease;\r\n\t}\r\n\r\n\t/* 显示时透明度过渡到 1可接受点击 */\r\n\t.neuro-wrapper.is-active {\r\n\t\topacity: 1;\r\n\t\tpointer-events: auto;\r\n\t}\r\n\r\n\t/* 遮罩层,半透明黑色 */\r\n\t.neuro-mask {\r\n\t\tposition: absolute;\r\n\t\tinset: 0;\r\n\t\tbackground-color: rgba(0, 0, 0, 0.3);\r\n\t}\r\n\r\n\t/* 拟态框 固定尺寸 + 阴影样式 + 相对定位于 wrapper */\r\n\t.neuro-box {\r\n\t\tposition: relative;\r\n\t\twidth: 600rpx;\r\n\t\theight: 450rpx;\r\n\t\tborder-radius: 30rpx;\r\n\t\tbackground-color: #fff;\r\n\t\tdisplay: flex;\r\n\t\tflex-direction: column;\r\n\t\talign-items: center;\r\n\t\tz-index: 1;\r\n\t\tpadding: 0 10%;\r\n\t}\r\n\r\n\t.button {\r\n\t\twidth: 47%;\r\n\t\tbackground-color: #ddf0ff;\r\n\t\tdisplay: flex;\r\n\t\tjustify-content: center;\r\n\t\talign-items: center;\r\n\t\tcolor: #007CFF;\r\n\t\tborder: 1rpx solid #007CFF;\r\n\t\tfont-size: 25rpx;\r\n\t\tborder-radius: 30rpx;\r\n\t}\r\n\r\n\t.title {\r\n\t\tmargin-top: 70rpx;\r\n\t}\r\n\r\n\t.card-font {\r\n\t\tmargin-top: 70rpx;\r\n\t\twidth: 600rpx;\r\n\t\tjustify-content: center;\r\n\t\tdisplay: flex;\r\n\t}\r\n\r\n\t.button-white {\r\n\t\twidth: 47%;\r\n\t\tborder: 2rpx solid #c3cacd;\r\n\t\tbackground: linear-gradient(to bottom, #f3f3f5, #dee4e9);\r\n\t\tdisplay: flex;\r\n\t\tjustify-content: center;\r\n\t\talign-items: center;\r\n\t\tfont-size: 25rpx;\r\n\t\tborder-radius: 30rpx;\r\n\t}\r\n\r\n\t.button-father {\r\n\t\tposition: absolute;\r\n\t\tbottom: 60rpx;\r\n\t\tleft: 50%;\r\n\t\ttransform: translateX(-50%);\r\n\t\twidth: 100%;\r\n\t\theight: 70rpx;\r\n\t\tdisplay: flex;\r\n\t\tjustify-content: space-between;\r\n\t\tpadding: 0 50rpx;\r\n\t}\r\n</style>","import Component from 'D:/hldy_app_mini/component/public/exit.vue'\nwx.createComponent(Component)"],"names":["ref","watch","uni"],"mappings":";;;;;;;;;;;;AA4BC,UAAM,QAAQ;AAQd,UAAM,UAAUA,kBAAI,KAAK;AACzBC,kBAAK;AAAA,MACJ,MAAM,MAAM;AAAA,MACZ,CAAC,QAAQ,WAAW;AACnB,YAAI,CAAC,UAAU,QAAQ;AACtB,kBAAQ,QAAQ;AAChB,qBAAW,MAAI,QAAQ,QAAQ,MAAK,EAAE;AAAA,QAEtC;AAAA,MACD;AAAA,IACD;AACD,UAAM,OAAO;AAGb,aAAS,cAAc;AACtB,WAAK,OAAO;AAAA,IACZ;AACD,UAAM,KAAK,MAAM;AAChBC,oBAAAA,MAAI,eAAe,SAAS,CAAC;AAE7BA,oBAAAA,MAAI,WAAW;AAAA,QACd,KAAK;AAAA,MACR,CAAG;AAAA,IACD;;;;;;;;;;;;;;;AC1DF,GAAG,gBAAgB,SAAS;"}
{"version":3,"file":"exit.js","sources":["component/public/exit.vue","../猫meme/HBuilderX.4.76.2025082103/HBuilderX/plugins/uniapp-cli-vite/uniComponent:/RDovaGxkeV9hcHBfbWluaS9jb21wb25lbnQvcHVibGljL2V4aXQudnVl"],"sourcesContent":["<template>\r\n\t<!-- 通过 v-show 控制显隐,并根据 show 添加 is-active 类触发 CSS 过渡 -->\r\n\t<view :class=\"['neuro-wrapper', donghua ? 'is-active' : '']\" v-show=\"show\">\r\n\t\t<!-- 遮罩层,点击触发关闭 -->\r\n\t\t<view class=\"neuro-mask\" @click=\"handleClose\"></view>\r\n\t\t<!-- 拟态框,阻止冒泡点击 -->\r\n\t\t<view class=\"neuro-box\" @click.stop>\r\n\r\n\t\t\t<view class=\"button-father\">\r\n\t\t\t\t<view class=\"button-white\" @click=\"handleClose\">取消</view>\r\n\t\t\t\t<view class=\"button\" @click=\"go\">确定</view>\r\n\t\t\t</view>\r\n\r\n\t\t\t<view class=\"title\">退出登录</view>\r\n\t\t\t<view class=\"card-font\">\r\n\t\t\t\t确定要退出登录吗\r\n\t\t\t</view>\r\n\t\t</view>\r\n\t</view>\r\n</template>\r\n\r\n<script setup>\r\n\timport {\r\n\t\tref,\r\n\t\twatch\r\n\t} from 'vue'\r\n\r\n\t// 接收 show 属性并支持 update:show 事件\r\n\tconst props = defineProps({\r\n\t\tshow: {\r\n\t\t\ttype: Boolean,\r\n\t\t\tdefault: true\r\n\t\t},\r\n\r\n\t});\r\n\t// 区分首次渲染与动态添加\r\n\tconst donghua = ref(false);\r\n\twatch(\r\n\t\t() => props.show,\r\n\t\t(newVal, oldVal) => {\r\n\t\t\tif (!oldVal && newVal) {\r\n\t\t\t\tdonghua.value = false\r\n\t\t\t\tsetTimeout(()=>donghua.value = true,50)\r\n\r\n\t\t\t}\r\n\t\t}\r\n\t)\r\n\tconst emit = defineEmits([\"close\"]);\r\n\r\n\t// 关闭方法,通知父组件更新 show\r\n\tfunction handleClose() {\r\n\t\temit('close');\r\n\t}\r\n\tconst go = () => {\r\n\t\tuni.setStorageSync('token', 1);\r\n\t\tuni.setStorageSync('userInfo', null);\r\n\t\t\r\n\t\tuni.redirectTo({\r\n\t\t\turl: '/pages/login/login'\r\n\t\t});\r\n\t}\r\n</script>\r\n\r\n<style lang=\"scss\" scoped>\r\n\t/* 容器默认隐藏,透明度为 0不接受点击 */\r\n\t.neuro-wrapper {\r\n\t\tposition: fixed;\r\n\t\tinset: 0;\r\n\t\tdisplay: flex;\r\n\t\tjustify-content: center;\r\n\t\talign-items: center;\r\n\t\tz-index: 999;\r\n\t\topacity: 0;\r\n\t\tpointer-events: none;\r\n\t\ttransition: opacity 0.3s ease;\r\n\t}\r\n\r\n\t/* 显示时透明度过渡到 1可接受点击 */\r\n\t.neuro-wrapper.is-active {\r\n\t\topacity: 1;\r\n\t\tpointer-events: auto;\r\n\t}\r\n\r\n\t/* 遮罩层,半透明黑色 */\r\n\t.neuro-mask {\r\n\t\tposition: absolute;\r\n\t\tinset: 0;\r\n\t\tbackground-color: rgba(0, 0, 0, 0.3);\r\n\t}\r\n\r\n\t/* 拟态框 固定尺寸 + 阴影样式 + 相对定位于 wrapper */\r\n\t.neuro-box {\r\n\t\tposition: relative;\r\n\t\twidth: 600rpx;\r\n\t\theight: 450rpx;\r\n\t\tborder-radius: 30rpx;\r\n\t\tbackground-color: #fff;\r\n\t\tdisplay: flex;\r\n\t\tflex-direction: column;\r\n\t\talign-items: center;\r\n\t\tz-index: 1;\r\n\t\tpadding: 0 10%;\r\n\t}\r\n\r\n\t.button {\r\n\t\twidth: 47%;\r\n\t\tbackground-color: #ddf0ff;\r\n\t\tdisplay: flex;\r\n\t\tjustify-content: center;\r\n\t\talign-items: center;\r\n\t\tcolor: #007CFF;\r\n\t\tborder: 1rpx solid #007CFF;\r\n\t\tfont-size: 25rpx;\r\n\t\tborder-radius: 30rpx;\r\n\t}\r\n\r\n\t.title {\r\n\t\tmargin-top: 70rpx;\r\n\t}\r\n\r\n\t.card-font {\r\n\t\tmargin-top: 70rpx;\r\n\t\twidth: 600rpx;\r\n\t\tjustify-content: center;\r\n\t\tdisplay: flex;\r\n\t}\r\n\r\n\t.button-white {\r\n\t\twidth: 47%;\r\n\t\tborder: 2rpx solid #c3cacd;\r\n\t\tbackground: linear-gradient(to bottom, #f3f3f5, #dee4e9);\r\n\t\tdisplay: flex;\r\n\t\tjustify-content: center;\r\n\t\talign-items: center;\r\n\t\tfont-size: 25rpx;\r\n\t\tborder-radius: 30rpx;\r\n\t}\r\n\r\n\t.button-father {\r\n\t\tposition: absolute;\r\n\t\tbottom: 60rpx;\r\n\t\tleft: 50%;\r\n\t\ttransform: translateX(-50%);\r\n\t\twidth: 100%;\r\n\t\theight: 70rpx;\r\n\t\tdisplay: flex;\r\n\t\tjustify-content: space-between;\r\n\t\tpadding: 0 50rpx;\r\n\t}\r\n</style>","import Component from 'D:/hldy_app_mini/component/public/exit.vue'\nwx.createComponent(Component)"],"names":["ref","watch","uni"],"mappings":";;;;;;;;;;;;AA4BC,UAAM,QAAQ;AAQd,UAAM,UAAUA,kBAAI,KAAK;AACzBC,kBAAK;AAAA,MACJ,MAAM,MAAM;AAAA,MACZ,CAAC,QAAQ,WAAW;AACnB,YAAI,CAAC,UAAU,QAAQ;AACtB,kBAAQ,QAAQ;AAChB,qBAAW,MAAI,QAAQ,QAAQ,MAAK,EAAE;AAAA,QAEtC;AAAA,MACD;AAAA,IACD;AACD,UAAM,OAAO;AAGb,aAAS,cAAc;AACtB,WAAK,OAAO;AAAA,IACZ;AACD,UAAM,KAAK,MAAM;AAChBC,oBAAAA,MAAI,eAAe,SAAS,CAAC;AAC7BA,oBAAAA,MAAI,eAAe,YAAY,IAAI;AAEnCA,oBAAAA,MAAI,WAAW;AAAA,QACd,KAAK;AAAA,MACR,CAAG;AAAA,IACD;;;;;;;;;;;;;;;AC3DF,GAAG,gBAAgB,SAAS;"}

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

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

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

View File

@ -0,0 +1 @@
{"version":3,"file":"api.js","sources":["pages/NursingNew/component/doctorask/api/api.js"],"sourcesContent":["// 引入 request 文件\r\nimport request from '@/request/index.js'\r\n \r\nexport const queryOrderList = (params) => {\r\n\treturn request({\r\n\t\turl: `${uni.getStorageSync('serverUrl')}/api/pad/serviceorder/queryOrderList`,\r\n\t\tmethod: 'get',\r\n\t\tdata: params,\r\n\t})\r\n}\r\nexport const queryOrderInfoList = (params) => {\r\n\treturn request({\r\n\t\turl: `${uni.getStorageSync('serverUrl')}/api/pad/serviceorder/queryOrderInfoList`,\r\n\t\tmethod: 'get',\r\n\t\tdata: params,\r\n\t})\r\n}\r\n\r\nexport const startOrder = (params) => {\r\n\treturn request({\r\n\t\turl: `${uni.getStorageSync('serverUrl')}/api/pad/serviceorder/startOrder`,\r\n\t\tmethod: 'post',\r\n\t\tdata: params,\r\n\t})\r\n}\r\nexport const endOrder = (params) => {\r\n\treturn request({\r\n\t\turl: `${uni.getStorageSync('serverUrl')}/api/pad/serviceorder/endOrder`,\r\n\t\tmethod: 'post',\r\n\t\tdata: params,\r\n\t})\r\n}\r\nexport const editSubMp4 = (params) => {\r\n\treturn request({\r\n\t\turl: `${uni.getStorageSync('serverUrl')}/api/pad/serviceorder/editSubMp4`,\r\n\t\tmethod: 'post',\r\n\t\tdata: params,\r\n\t})\r\n}\r\nexport const editSubPicPath = (params) => {\r\n\treturn request({\r\n\t\turl: `${uni.getStorageSync('serverUrl')}/api/pad/serviceorder/editSubPicPath`,\r\n\t\tmethod: 'post',\r\n\t\tdata: params,\r\n\t})\r\n}\r\n// (业务)转单/协助时查询员工信息\r\nexport const queryEmpList = (params) => {\r\n\treturn request({\r\n\t\turl: `${uni.getStorageSync('serverUrl')}/api/pad/employee/queryEmpList`,\r\n\t\tmethod: 'get',\r\n\t\tdata: params,\r\n\t})\r\n}\r\n// (业务)服务指令转单\r\n\r\nexport const transferOrder = (params) => {\r\n\treturn request({\r\n\t\turl: `${uni.getStorageSync('serverUrl')}/api/pad/serviceorder/transferOrder`,\r\n\t\tmethod: 'post',\r\n\t\tdata: params,\r\n\t})\r\n}\r\n// (业务)服务指令协助执行\r\nexport const assistOrder = (params) => {\r\n\treturn request({\r\n\t\turl: `${uni.getStorageSync('serverUrl')}/api/pad/serviceorder/assistOrder`,\r\n\t\tmethod: 'post',\r\n\t\tdata: params,\r\n\t})\r\n}\r\n\r\n// 业务)生成即时指令工单接口\r\nexport const generateInstant = (params) => {\r\n\treturn request({\r\n\t\turl: `${uni.getStorageSync('serverUrl')}/api/pad/serviceorder/generateInstant`,\r\n\t\tmethod: 'post',\r\n\t\tdata: params,\r\n\t})\r\n}"],"names":["request","uni"],"mappings":";;;AAGY,MAAC,iBAAiB,CAAC,WAAW;AACzC,SAAOA,sBAAQ;AAAA,IACd,KAAK,GAAGC,cAAG,MAAC,eAAe,WAAW,CAAC;AAAA,IACvC,QAAQ;AAAA,IACR,MAAM;AAAA,EACR,CAAE;AACF;AACY,MAAC,qBAAqB,CAAC,WAAW;AAC7C,SAAOD,sBAAQ;AAAA,IACd,KAAK,GAAGC,cAAG,MAAC,eAAe,WAAW,CAAC;AAAA,IACvC,QAAQ;AAAA,IACR,MAAM;AAAA,EACR,CAAE;AACF;AAEY,MAAC,aAAa,CAAC,WAAW;AACrC,SAAOD,sBAAQ;AAAA,IACd,KAAK,GAAGC,cAAG,MAAC,eAAe,WAAW,CAAC;AAAA,IACvC,QAAQ;AAAA,IACR,MAAM;AAAA,EACR,CAAE;AACF;AACY,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;AACY,MAAC,aAAa,CAAC,WAAW;AACrC,SAAOD,sBAAQ;AAAA,IACd,KAAK,GAAGC,cAAG,MAAC,eAAe,WAAW,CAAC;AAAA,IACvC,QAAQ;AAAA,IACR,MAAM;AAAA,EACR,CAAE;AACF;AACY,MAAC,iBAAiB,CAAC,WAAW;AACzC,SAAOD,sBAAQ;AAAA,IACd,KAAK,GAAGC,cAAG,MAAC,eAAe,WAAW,CAAC;AAAA,IACvC,QAAQ;AAAA,IACR,MAAM;AAAA,EACR,CAAE;AACF;AA4BY,MAAC,kBAAkB,CAAC,WAAW;AAC1C,SAAOD,sBAAQ;AAAA,IACd,KAAK,GAAGC,cAAG,MAAC,eAAe,WAAW,CAAC;AAAA,IACvC,QAAQ;AAAA,IACR,MAAM;AAAA,EACR,CAAE;AACF;;;;;;;;"}

View File

@ -0,0 +1 @@
{"version":3,"file":"doctorask.js","sources":["../猫meme/HBuilderX.4.76.2025082103/HBuilderX/plugins/uniapp-cli-vite/uniPage:/cGFnZXMvTnVyc2luZ05ldy9jb21wb25lbnQvZG9jdG9yYXNrL2RvY3RvcmFzay52dWU"],"sourcesContent":["import MiniProgramPage from 'D:/hldy_app_mini/pages/NursingNew/component/doctorask/doctorask.vue'\nwx.createPage(MiniProgramPage)"],"names":["MiniProgramPage"],"mappings":";;AACA,GAAG,WAAWA,UAAe,eAAA;"}

View File

@ -0,0 +1 @@
{"version":3,"file":"doctorask2.js","sources":["../猫meme/HBuilderX.4.76.2025082103/HBuilderX/plugins/uniapp-cli-vite/uniPage:/RDovaGxkeV9hcHBfbWluaS9wYWdlcy9OdXJzaW5nTmV3L2NvbXBvbmVudC9kb2N0b3Jhc2svZG9jdG9yYXNrLnZ1ZQ"],"sourcesContent":["import MiniProgramPage from 'D:/hldy_app_mini/pages/NursingNew/component/doctorask/doctorask.vue'\nwx.createPage(MiniProgramPage)"],"names":["MiniProgramPage"],"mappings":";;AACA,GAAG,WAAWA,UAAe,eAAA;"}

View File

@ -0,0 +1 @@
{"version":3,"file":"medical.js","sources":["pages/NursingNew/component/doctorask/medical/medical.vue","../猫meme/HBuilderX.4.76.2025082103/HBuilderX/plugins/uniapp-cli-vite/uniPage:/cGFnZXMvTnVyc2luZ05ldy9jb21wb25lbnQvZG9jdG9yYXNrL21lZGljYWwvbWVkaWNhbC52dWU"],"sourcesContent":["<template>\r\n\t<view>\r\n\t\t<view style=\"width: 100vw;\r\n\t\theight: 100vh;\r\n\t\tline-height: 100vh;\r\n\t\tfont-size: 4.5vw;\r\n\t\ttext-align: center;\">\r\n\t\t\t敬请期待\r\n\t\t</view>\r\n\t</view>\r\n</template>\r\n\r\n<script>\r\n\texport default {\r\n\t\tdata() {\r\n\t\t\treturn {\r\n\t\t\t\t\r\n\t\t\t}\r\n\t\t},\r\n\t\tmethods: {\r\n\t\t\t\r\n\t\t}\r\n\t}\r\n</script>\r\n\r\n<style>\r\n\r\n</style>\r\n","import MiniProgramPage from 'D:/hldy_app_mini/pages/NursingNew/component/doctorask/medical/medical.vue'\nwx.createPage(MiniProgramPage)"],"names":[],"mappings":";;AAaC,MAAK,YAAU;AAAA,EACd,OAAO;AACN,WAAO,CAEP;AAAA,EACA;AAAA,EACD,SAAS,CAET;AACD;;;;;ACrBD,GAAG,WAAW,eAAe;"}

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":"api.js","sources":["pages/NursingNew/component/invoicing/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')}/api/pad/invoicing/directive/getServiceTree`,\r\n\t\tmethod: 'get',\r\n\t})\r\n}\r\n// 查询表格\r\nexport const getNclist = (nuId,elderId) => {\r\n\treturn request({\r\n\t\turl: `${uni.getStorageSync('serverUrl')}/api/pad/invoicing/directive/getNclist?nuId=${nuId}&elderId=${elderId}`,\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')}/api/pad/invoicing/directive/addBatch`,\r\n\t\tmethod: 'post',\r\n\t\tdata: params,\r\n\t})\r\n}\r\n// 查询指令包\r\nexport const getNcPackagelist = (nuId,elderId) => {\r\n\treturn request({\r\n\t\turl: `${uni.getStorageSync('serverUrl')}/api/pad/invoicing/directive/getNcPackagelist`,\r\n\t\tmethod: 'get',\r\n\t})\r\n}\r\n\r\n// 新增服务指令\r\nexport const addDirective = (params) => {\r\n\treturn request({\r\n\t\turl: `${uni.getStorageSync('serverUrl')}/api/pad/invoicing/directive/addDirective`,\r\n\t\tmethod: 'post',\r\n\t\tdata: params,\r\n\t})\r\n}\r\n\r\n// 新增即时指令\r\nexport const addInstant = (params) => {\r\n\treturn request({\r\n\t\turl: `${uni.getStorageSync('serverUrl')}/api/pad/invoicing/directive/addInstant`,\r\n\t\tmethod: 'post',\r\n\t\tdata: params,\r\n\t})\r\n}\r\n\r\n// 新增情绪/体型标签\r\nexport const addElderTag = (params) => {\r\n\treturn request({\r\n\t\turl: `${uni.getStorageSync('serverUrl')}/api/pad/invoicing/directive/addElderTag`,\r\n\t\tmethod: 'post',\r\n\t\tdata: params,\r\n\t})\r\n}\r\n\r\n// 编排护理流程-删除服务指令\r\nexport const deleteDirective = (params) => {\r\n\treturn request({\r\n\t\turl: `${uni.getStorageSync('serverUrl')}/api/pad/invoicing/directive/deleteDirective`,\r\n\t\tmethod: 'post',\r\n\t\tdata: params,\r\n\t})\r\n}\r\n\r\n// 编排护理流程-删除即时服务指令\r\nexport const deleteInstant = (params) => {\r\n\treturn request({\r\n\t\turl: `${uni.getStorageSync('serverUrl')}//api/pad/invoicing/directive/deleteInstant`,\r\n\t\tmethod: 'post',\r\n\t\tdata: params,\r\n\t})\r\n}\r\n\r\n// 编排护理流程-删除情绪/体型标签\r\nexport const deleteElderTag = (params) => {\r\n\treturn request({\r\n\t\turl: `${uni.getStorageSync('serverUrl')}/api/pad/invoicing/directive/deleteElderTag`,\r\n\t\tmethod: 'post',\r\n\t\tdata: params,\r\n\t})\r\n}\r\n// 编排护理流程-修改服务指令\r\nexport const editDirective = (params) => {\r\n\treturn request({\r\n\t\turl: `${uni.getStorageSync('serverUrl')}/api/pad/invoicing/directive/editDirective`,\r\n\t\tmethod: 'post',\r\n\t\tdata: params,\r\n\t})\r\n}"],"names":["request","uni"],"mappings":";;;AAaY,MAAC,YAAY,CAAC,MAAK,YAAY;AAC1C,SAAOA,sBAAQ;AAAA,IACd,KAAK,GAAGC,cAAG,MAAC,eAAe,WAAW,CAAC,+CAA+C,IAAI,YAAY,OAAO;AAAA,IAC7G,QAAQ;AAAA,EACV,CAAE;AACF;AAkBY,MAAC,eAAe,CAAC,WAAW;AACvC,SAAOD,sBAAQ;AAAA,IACd,KAAK,GAAGC,cAAG,MAAC,eAAe,WAAW,CAAC;AAAA,IACvC,QAAQ;AAAA,IACR,MAAM;AAAA,EACR,CAAE;AACF;AAGY,MAAC,aAAa,CAAC,WAAW;AACrC,SAAOD,sBAAQ;AAAA,IACd,KAAK,GAAGC,cAAG,MAAC,eAAe,WAAW,CAAC;AAAA,IACvC,QAAQ;AAAA,IACR,MAAM;AAAA,EACR,CAAE;AACF;AAYY,MAAC,kBAAkB,CAAC,WAAW;AAC1C,SAAOD,sBAAQ;AAAA,IACd,KAAK,GAAGC,cAAG,MAAC,eAAe,WAAW,CAAC;AAAA,IACvC,QAAQ;AAAA,IACR,MAAM;AAAA,EACR,CAAE;AACF;AAGY,MAAC,gBAAgB,CAAC,WAAW;AACxC,SAAOD,sBAAQ;AAAA,IACd,KAAK,GAAGC,cAAG,MAAC,eAAe,WAAW,CAAC;AAAA,IACvC,QAAQ;AAAA,IACR,MAAM;AAAA,EACR,CAAE;AACF;AAWY,MAAC,gBAAgB,CAAC,WAAW;AACxC,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

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

View File

@ -0,0 +1 @@
{"version":3,"file":"api.js","sources":["pages/NursingNew/component/logistics/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')}/api/pad/logistics/directive/getServiceTree`,\r\n\t\tmethod: 'get',\r\n\t})\r\n}\r\n// 查询表格\r\nexport const getNclist = (nuId,elderId) => {\r\n\treturn request({\r\n\t\turl: `${uni.getStorageSync('serverUrl')}/api/pad/logistics/directive/getNclist?nuId=${nuId}&elderId=${elderId}`,\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')}/api/pad/logistics/directive/addBatch`,\r\n\t\tmethod: 'post',\r\n\t\tdata: params,\r\n\t})\r\n}\r\n// 查询指令包\r\nexport const getNcPackagelist = (nuId,elderId) => {\r\n\treturn request({\r\n\t\turl: `${uni.getStorageSync('serverUrl')}/api/pad/logistics/directive/getNcPackagelist`,\r\n\t\tmethod: 'get',\r\n\t})\r\n}\r\n\r\n// 新增服务指令\r\nexport const addDirective = (params) => {\r\n\treturn request({\r\n\t\turl: `${uni.getStorageSync('serverUrl')}/api/pad/logistics/directive/addDirective`,\r\n\t\tmethod: 'post',\r\n\t\tdata: params,\r\n\t})\r\n}\r\n\r\n// 新增即时指令\r\nexport const addInstant = (params) => {\r\n\treturn request({\r\n\t\turl: `${uni.getStorageSync('serverUrl')}/api/pad/logistics/directive/addInstant`,\r\n\t\tmethod: 'post',\r\n\t\tdata: params,\r\n\t})\r\n}\r\n\r\n// 新增情绪/体型标签\r\nexport const addElderTag = (params) => {\r\n\treturn request({\r\n\t\turl: `${uni.getStorageSync('serverUrl')}/api/pad/logistics/directive/addElderTag`,\r\n\t\tmethod: 'post',\r\n\t\tdata: params,\r\n\t})\r\n}\r\n\r\n// 编排护理流程-删除服务指令\r\nexport const deleteDirective = (params) => {\r\n\treturn request({\r\n\t\turl: `${uni.getStorageSync('serverUrl')}/api/pad/logistics/directive/deleteDirective`,\r\n\t\tmethod: 'post',\r\n\t\tdata: params,\r\n\t})\r\n}\r\n\r\n// 编排护理流程-删除即时服务指令\r\nexport const deleteInstant = (params) => {\r\n\treturn request({\r\n\t\turl: `${uni.getStorageSync('serverUrl')}//api/pad/logistics/directive/deleteInstant`,\r\n\t\tmethod: 'post',\r\n\t\tdata: params,\r\n\t})\r\n}\r\n\r\n// 编排护理流程-删除情绪/体型标签\r\nexport const deleteElderTag = (params) => {\r\n\treturn request({\r\n\t\turl: `${uni.getStorageSync('serverUrl')}/api/pad/logistics/directive/deleteElderTag`,\r\n\t\tmethod: 'post',\r\n\t\tdata: params,\r\n\t})\r\n}\r\n// 编排护理流程-修改服务指令\r\nexport const editDirective = (params) => {\r\n\treturn request({\r\n\t\turl: `${uni.getStorageSync('serverUrl')}/api/pad/logistics/directive/editDirective`,\r\n\t\tmethod: 'post',\r\n\t\tdata: params,\r\n\t})\r\n}"],"names":["request","uni"],"mappings":";;;AAaY,MAAC,YAAY,CAAC,MAAK,YAAY;AAC1C,SAAOA,sBAAQ;AAAA,IACd,KAAK,GAAGC,cAAG,MAAC,eAAe,WAAW,CAAC,+CAA+C,IAAI,YAAY,OAAO;AAAA,IAC7G,QAAQ;AAAA,EACV,CAAE;AACF;AAkBY,MAAC,eAAe,CAAC,WAAW;AACvC,SAAOD,sBAAQ;AAAA,IACd,KAAK,GAAGC,cAAG,MAAC,eAAe,WAAW,CAAC;AAAA,IACvC,QAAQ;AAAA,IACR,MAAM;AAAA,EACR,CAAE;AACF;AAGY,MAAC,aAAa,CAAC,WAAW;AACrC,SAAOD,sBAAQ;AAAA,IACd,KAAK,GAAGC,cAAG,MAAC,eAAe,WAAW,CAAC;AAAA,IACvC,QAAQ;AAAA,IACR,MAAM;AAAA,EACR,CAAE;AACF;AAYY,MAAC,kBAAkB,CAAC,WAAW;AAC1C,SAAOD,sBAAQ;AAAA,IACd,KAAK,GAAGC,cAAG,MAAC,eAAe,WAAW,CAAC;AAAA,IACvC,QAAQ;AAAA,IACR,MAAM;AAAA,EACR,CAAE;AACF;AAGY,MAAC,gBAAgB,CAAC,WAAW;AACxC,SAAOD,sBAAQ;AAAA,IACd,KAAK,GAAGC,cAAG,MAAC,eAAe,WAAW,CAAC;AAAA,IACvC,QAAQ;AAAA,IACR,MAAM;AAAA,EACR,CAAE;AACF;AAWY,MAAC,gBAAgB,CAAC,WAAW;AACxC,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

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

View File

@ -0,0 +1 @@
{"version":3,"file":"default.js","sources":["pages/NursingNew/component/nurse/component/default.vue","../猫meme/HBuilderX.4.76.2025082103/HBuilderX/plugins/uniapp-cli-vite/uniComponent:/RDovaGxkeV9hcHBfbWluaS9wYWdlcy9OdXJzaW5nTmV3L2NvbXBvbmVudC9udXJzZS9jb21wb25lbnQvZGVmYXVsdC52dWU"],"sourcesContent":["<template>\r\n\t<view>\r\n\t\t<view class=\"que\">\r\n\t\t\t<image src=\"/static/index/procurement/haven.png\" mode=\"aspectFill\"></image>\r\n\t\t\t<view>{{cont}}</view>\r\n\t\t</view>\r\n\t</view>\r\n</template>\r\n\r\n<script>\r\n\texport default {\r\n\t\tprops:{\r\n\t\t\tcont:'',\r\n\t\t}\r\n\t}\r\n</script>\r\n\r\n<style scoped lang=\"less\">\r\n.que{\r\n\twidth: 10vw;\r\n\theight: 10vw;\r\n\tposition: absolute;\r\n\ttop: 50%;\r\n\tleft: 50%;\r\n\ttransform: translate(-50%,-50%);\r\n\t\r\n\timage{\r\n\t\twidth: 100%;\r\n\t\theight: 100%;\r\n\t}\r\n\tview{\r\n\t\twidth: 100%;\r\n\t\ttext-align: center;\r\n\t\tposition: absolute;\r\n\t\tbottom: 0.3vw;\r\n\t\tleft: 0;\r\n\t\tfont-weight: 300;\r\n\t\tfont-size: 1.4vw;\r\n\t\tcolor: #555555;\r\n\t}\r\n}\r\n</style>\r\n","import Component from 'D:/hldy_app_mini/pages/NursingNew/component/nurse/component/default.vue'\nwx.createComponent(Component)"],"names":[],"mappings":";;;AAUC,MAAK,YAAU;AAAA,EACd,OAAM;AAAA,IACL,MAAK;AAAA,EACN;AACD;;;;;;;;ACbD,GAAG,gBAAgB,SAAS;"}

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

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":"default.js","sources":["pages/NursingNew/component/pleasetake/common/default.vue","../猫meme/HBuilderX.4.76.2025082103/HBuilderX/plugins/uniapp-cli-vite/uniComponent:/RDovaGxkeV9hcHBfbWluaS9wYWdlcy9OdXJzaW5nTmV3L2NvbXBvbmVudC9wbGVhc2V0YWtlL2NvbW1vbi9kZWZhdWx0LnZ1ZQ"],"sourcesContent":["<template>\r\n\t<view>\r\n\t\t<view class=\"que\" :style=\"style\">\r\n\t\t\t<image src=\"/static/index/procurement/que.png\" mode=\"aspectFill\"></image>\r\n\t\t\t<view>{{cont}}</view>\r\n\t\t</view>\r\n\t</view>\r\n</template>\r\n\r\n<script>\r\n\texport default {\r\n\t\tprops:{\r\n\t\t\tcont:'',\r\n\t\t\tstyle:{}\r\n\t\t}\r\n\t}\r\n</script>\r\n\r\n<style scoped lang=\"less\">\r\n.que{\r\n\twidth: 16vw;\r\n\theight: 16vw;\r\n\tposition: fixed;\r\n\ttop: 0;\r\n\tleft: 0;\r\n\tright: 0;\r\n\tbottom: 0;\r\n\tmargin: auto;\r\n\timage{\r\n\t\twidth: 100%;\r\n\t\theight: 100%;\r\n\t}\r\n\tview{\r\n\t\twidth: 100%;\r\n\t\ttext-align: center;\r\n\t\tposition: absolute;\r\n\t\tbottom: 0.5vw;\r\n\t\tleft: 0;\r\n\t\tfont-weight: 300;\r\n\t\tfont-size: 1.4vw;\r\n\t\tcolor: #555555;\r\n\t}\r\n}\r\n</style>\r\n","import Component from 'D:/hldy_app_mini/pages/NursingNew/component/pleasetake/common/default.vue'\nwx.createComponent(Component)"],"names":[],"mappings":";;;AAUC,MAAK,YAAU;AAAA,EACd,OAAM;AAAA,IACL,MAAK;AAAA,IACL,OAAM,CAAC;AAAA,EACR;AACD;;;;;;;;;ACdD,GAAG,gBAAgB,SAAS;"}

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":"nomessage.js","sources":["pages/NursingNew/component/pleasetake/common/nomessage.vue","../猫meme/HBuilderX.4.76.2025082103/HBuilderX/plugins/uniapp-cli-vite/uniComponent:/RDovaGxkeV9hcHBfbWluaS9wYWdlcy9OdXJzaW5nTmV3L2NvbXBvbmVudC9wbGVhc2V0YWtlL2NvbW1vbi9ub21lc3NhZ2UudnVl"],"sourcesContent":["<template>\r\n\t<view class=\"que\" v-if=\"show\">\r\n\t\t<image src=\"/static/index/procurement/que.png\" mode=\"aspectFill\"></image>\r\n\t\t<view>{{cont}}</view>\r\n\t</view>\r\n\r\n</template>\r\n\r\n<script>\r\n\texport default {\r\n\t\tprops: {\r\n\t\t\tcont: {\r\n\t\t\t\ttype: String,\r\n\t\t\t\tdefault: ''\r\n\t\t\t},\r\n\t\t\tshow: {\r\n\t\t\t\ttype: Boolean,\r\n\t\t\t\tdefault: false\r\n\t\t\t}\r\n\t\t}\r\n\t}\r\n</script>\r\n\r\n<style scoped lang=\"less\">\r\n\t.que {\r\n\t\tposition: fixed;\r\n\t\ttop: 9%;\r\n\t\tleft: 10%;\r\n\t\twidth: 85%;\r\n\t\theight: 88%;\r\n\t\tz-index: 100;\r\n\t\tbackground-color: #f5f6fa;\r\n\t\tdisplay: flex;\r\n\t\tjustify-content: center;\r\n\t\talign-items: center;\r\n\t\tflex-direction: column;\r\n\r\n\t\timage {\r\n\t\t\twidth: 16.3vw;\r\n\t\t\theight: 16.3vw;\r\n\t\t}\r\n\r\n\t\tview {\r\n\t\t\ttext-align: center;\r\n\t\t\tfont-weight: 300;\r\n\t\t\tfont-size: 1.4vw;\r\n\t\t\tcolor: #555555;\r\n\t\t}\r\n\t}\r\n\r\n</style>","import Component from 'D:/hldy_app_mini/pages/NursingNew/component/pleasetake/common/nomessage.vue'\nwx.createComponent(Component)"],"names":[],"mappings":";;;AASC,MAAK,YAAU;AAAA,EACd,OAAO;AAAA,IACN,MAAM;AAAA,MACL,MAAM;AAAA,MACN,SAAS;AAAA,IACT;AAAA,IACD,MAAM;AAAA,MACL,MAAM;AAAA,MACN,SAAS;AAAA,IACV;AAAA,EACD;AACD;;;;;;;;;;ACnBD,GAAG,gBAAgB,SAAS;"}

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

View File

@ -0,0 +1 @@
{"version":3,"file":"tanchuang.js","sources":["pages/NursingNew/component/pleasetake/common/tanchuang.vue","../猫meme/HBuilderX.4.76.2025082103/HBuilderX/plugins/uniapp-cli-vite/uniComponent:/RDovaGxkeV9hcHBfbWluaS9wYWdlcy9OdXJzaW5nTmV3L2NvbXBvbmVudC9wbGVhc2V0YWtlL2NvbW1vbi90YW5jaHVhbmcudnVl"],"sourcesContent":["<template>\r\n\t<view>\r\n\t\t<view class=\"addall guodu\" :class=\"show?'':'unclass'\" :style=\"showbox?'z-index:220':'z-index:-2'\">\r\n\t\t\t<view>温馨提示</view>\r\n\t\t\t<view>\r\n\t\t\t\t<image src=\"/static/index/procurement/ddj.png\" mode=\"aspectFill\"></image>\r\n\t\t\t</view>\r\n\t\t\t<view style=\"text-align: center;\">{{ font }}</view>\r\n\t\t\t<view>\r\n\t\t\t\t<view @click=\"$emit('back')\">取消</view>\r\n\t\t\t\t<view class=\"qd\" @click=\"$emit('right')\">确定</view>\r\n\t\t\t</view>\r\n\t\t</view>\r\n\t\t<view class=\"mengban\" v-if=\"show\" @click=\"$emit('back')\"></view>\r\n\t</view>\r\n</template>\r\n\r\n<script>\r\n\texport default {\r\n\t\tprops: {\r\n\t\t\tshow: {\r\n\t\t\t\ttype: Boolean,\r\n\t\t\t\tdefault: false\r\n\t\t\t},\r\n\t\t\tfont: {\r\n\t\t\t\ttype: String,\r\n\t\t\t\tdefault: ''\r\n\t\t\t},\r\n\t\t},\r\n\t\tdata() {\r\n\t\t\treturn {\r\n\t\t\t\tshowbox: false\r\n\t\t\t}\r\n\t\t},\r\n\t\twatch: {\r\n\t\t\tshow(n, o) {\r\n\t\t\t\tif (n) {\r\n\t\t\t\t\tsetTimeout(() => {\r\n\t\t\t\t\t\tthis.showbox = true\r\n\t\t\t\t\t}, 50)\r\n\t\t\t\t} else {\r\n\t\t\t\t\tthis.showbox = false\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t},\r\n\t\tmethods: {\r\n\r\n\t\t}\r\n\t}\r\n</script>\r\n\r\n<style scoped lang=\"less\">\r\n\t.addall {\r\n\t\twidth: 42.4vw;\r\n\t\theight: 26vw;\r\n\t\tbackground: #FFFFFF;\r\n\t\tbox-shadow: 0rpx 0rpx 1.3vw 0rpx rgba(163, 167, 182, 0.16);\r\n\t\tborder-radius: 1.6vw;\r\n\t\tposition: fixed;\r\n\t\ttop: 0;\r\n\t\tleft: 0;\r\n\t\tright: 0;\r\n\t\tbottom: 0;\r\n\t\tmargin: auto;\r\n\t\tpadding: 2.8vw;\r\n\t\tz-index: 9120;\r\n\r\n\t\t>view {\r\n\t\t\t&:nth-child(4) {\r\n\t\t\t\twidth: 22vw;\r\n\t\t\t\tdisplay: flex;\r\n\t\t\t\tjustify-content: space-around;\r\n\t\t\t\tmargin: 1.8vw auto 0;\r\n\r\n\t\t\t\tview {\r\n\t\t\t\t\twidth: 8.2vw;\r\n\t\t\t\t\theight: 3.3vw;\r\n\t\t\t\t\tbackground: #EDEDEF;\r\n\t\t\t\t\tborder-radius: 1.6vw;\r\n\t\t\t\t\tfont-weight: 400;\r\n\t\t\t\t\tfont-size: 1.6vw;\r\n\t\t\t\t\tcolor: #888888;\r\n\t\t\t\t\tdisplay: flex;\r\n\t\t\t\t\tjustify-content: center;\r\n\t\t\t\t\talign-items: center;\r\n\t\t\t\t\tborder: 1px solid #EDEDEF;\r\n\t\t\t\t}\r\n\r\n\t\t\t\t.qd {\r\n\t\t\t\t\tbackground: linear-gradient(0deg, #CAE0F9, #E9F4FF);\r\n\t\t\t\t\tborder: 1px solid rgba(3, 133, 250, 0.34);\r\n\t\t\t\t\tcolor: #0385FA;\r\n\t\t\t\t}\r\n\t\t\t}\r\n\r\n\t\t\t&:nth-child(3) {\r\n\t\t\t\twidth: 33vw;\r\n\t\t\t\theight: 3.4vw;\r\n\t\t\t\tfont-weight: 400;\r\n\t\t\t\tfont-size: 1.3vw;\r\n\t\t\t\tcolor: #888888;\r\n\t\t\t\tline-height: 1.7vw;\r\n\t\t\t\tmargin: 0.4vw auto 0;\r\n\t\t\t}\r\n\r\n\t\t\t&:nth-child(2) {\r\n\t\t\t\twidth: 7.6vw;\r\n\t\t\t\theight: 7.6vw;\r\n\t\t\t\tmargin: 1.1vw auto 0;\r\n\r\n\t\t\t\timage {\r\n\t\t\t\t\twidth: 100%;\r\n\t\t\t\t\theight: 100%;\r\n\t\t\t\t}\r\n\t\t\t}\r\n\r\n\t\t\t&:nth-child(1) {\r\n\t\t\t\tfont-weight: 400;\r\n\t\t\t\tfont-size: 1.6vw;\r\n\t\t\t\tcolor: #333333;\r\n\t\t\t}\r\n\t\t}\r\n\t}\r\n\r\n\t.unclass {\r\n\t\topacity: 0 !important;\r\n\t}\r\n\r\n\t.guodu {\r\n\t\ttransition: .4s;\r\n\t\t-webkit-transform-style: preserve-3d;\r\n\t\t-webkit-overflow-scrolling: touch;\r\n\t}\r\n\r\n\t.mengban {\r\n\t\twidth: 100vw;\r\n\t\theight: 100vh;\r\n\t\tposition: fixed;\r\n\t\ttop: 0;\r\n\t\tleft: 0;\r\n\t\tz-index: 100;\r\n\t\tbackground: RGBA(239, 240, 244, 0.55);\r\n\t}\r\n</style>","import Component from 'D:/hldy_app_mini/pages/NursingNew/component/pleasetake/common/tanchuang.vue'\nwx.createComponent(Component)"],"names":[],"mappings":";;;AAkBC,MAAK,YAAU;AAAA,EACd,OAAO;AAAA,IACN,MAAM;AAAA,MACL,MAAM;AAAA,MACN,SAAS;AAAA,IACT;AAAA,IACD,MAAM;AAAA,MACL,MAAM;AAAA,MACN,SAAS;AAAA,IACT;AAAA,EACD;AAAA,EACD,OAAO;AACN,WAAO;AAAA,MACN,SAAS;AAAA,IACV;AAAA,EACA;AAAA,EACD,OAAO;AAAA,IACN,KAAK,GAAG,GAAG;AACV,UAAI,GAAG;AACN,mBAAW,MAAM;AAChB,eAAK,UAAU;AAAA,QACf,GAAE,EAAE;AAAA,aACC;AACN,aAAK,UAAU;AAAA,MAChB;AAAA,IACD;AAAA,EACA;AAAA,EACD,SAAS,CAET;AACD;;;;;;;;;;;;;;;AC/CD,GAAG,gBAAgB,SAAS;"}

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

View File

@ -0,0 +1 @@
{"version":3,"file":"takehome.js","sources":["pages/NursingNew/component/pleasetake/takehome.vue","../猫meme/HBuilderX.4.76.2025082103/HBuilderX/plugins/uniapp-cli-vite/uniComponent:/RDovaGxkeV9hcHBfbWluaS9wYWdlcy9OdXJzaW5nTmV3L2NvbXBvbmVudC9wbGVhc2V0YWtlL3Rha2Vob21lLnZ1ZQ"],"sourcesContent":["<template>\r\n\t<view class=\"index-content-other\" :style=\"transition?{opacity: `1`}:{opacity: `0`}\">\r\n\t\t<!-- <view class=\"right-container-title-nav\">\r\n\t\t\t<text style=\"margin-left: 30rpx;\">\r\n\t\t\t\tNUID{{ uni.getStorageSync('nuId')}}\r\n\t\t\t</text>\r\n\t\t\t<text class=\"new-weight\">\r\n\t\t\t\t{{ uni.getStorageSync('nuName')}}\r\n\t\t\t</text>\r\n\t\t\t<view class=\"right-icons\">\r\n\t\t\t\t<image class=\"right-icons-img-back\" src=\"/static/index/requestform/back.png\" v-if=\"hometype>0\" @click=\"hometype=0\" />\r\n\t\t\t\t<view v-if=\"hometype>0\" @click=\"hometype=0\">返回</view>\r\n\t\t\t</view>\r\n\t\t</view> -->\r\n\t\t<takehomep :isShow=\"hometype==0\" @changePageNumber=\"changehometype\" ></takehomep>\r\n\t\t<requestformView :isShow=\"hometype==1\" />\r\n\t\t<returnorder :isShow=\"hometype==2\" />\r\n\t\t<severcard ></severcard>\r\n\t</view>\r\n</template>\r\n\r\n<script setup lang=\"ts\">\r\n\timport { ref, onMounted, onBeforeUnmount, computed, nextTick, watch, reactive } from 'vue';\r\n\timport { onShow, onLoad, onHide, onPageScroll,onBackPress } from \"@dcloudio/uni-app\"\r\n\timport { queryCgdList } from '@/pages/Warehouse/api/lunpan.js'\r\n\timport requestformView from './component/requestform.vue'\r\n\timport takehomep from './component/takehomep.vue'\r\n\timport returnorder from './component/returnorder.vue'\r\n\t\r\n\t\r\n\tonBackPress(() => {\r\n\t\tif(hometype.value){\r\n\t\t\thometype.value = 0\r\n\t\t\treturn true;\r\n\t\t}else{\r\n\t\t\treturn false\r\n\t\t}\r\n\t\t\r\n\t})\r\n\t\r\n\tconst hometype = ref(-1)\r\n\tconst transition = ref(false);\r\n\tconst props = defineProps({\r\n\t\tisShow: {\r\n\t\t\ttype: Boolean \r\n\t\t},\r\n\t});\r\n\tonMounted(()=>{\r\n\t\thometype.value = 0;\r\n\t\ttransition.value = false;\r\n\t\tsetTimeout(() => {\r\n\t\t\ttransition.value = true;\r\n\t\t}, 50)\r\n\t})\r\n\twatch(\r\n\t\t() => props.isShow,\r\n\t\t(newVal, oldVal) => {\r\n\t\t\t// 当旧值为false新值为true时延迟0.2秒调用方法\r\n\t\t\tif (!oldVal && newVal) {\r\n\t\t\t\ttransition.value = false;\r\n\t\t\t\tsetTimeout(() => {\r\n\t\t\t\t\ttransition.value = true;\r\n\t\t\t\t}, 50)\r\n\t\t\t} else {\r\n\t\t\t\ttransition.value = false;\r\n\t\t\t}\r\n\t\r\n\t\t}\r\n\t)\r\n\tconst changehometype = (index:number) => {\r\n\t\thometype.value = index\r\n\t}\r\n</script>\r\n\r\n<style scoped lang=\"scss\">\r\n\t@import \"./css/take.less\";\r\n\t.index-content-other {\r\n\t\twidth: calc(100% - 202rpx);\r\n\t\theight: 100%;\r\n\t\ttransition: opacity 1s ease;\r\n\t\t// background-color: red;\r\n\t\tposition: relative;\r\n\t\tmargin-left: 1.2vw;\r\n\t}\r\n</style>\r\n","import Component from 'D:/hldy_app_mini/pages/NursingNew/component/pleasetake/takehome.vue'\nwx.createComponent(Component)"],"names":["onBackPress","ref","onMounted","watch"],"mappings":";;;;;;;;;AAyBC,MAAA,kBAA4B,MAAA;AAC5B,MAAA,YAAsB,MAAA;AACtB,MAAA,cAAwB,MAAA;;;;;;;;;AAGxBA,kBAAAA,YAAY,MAAM;AACjB,UAAG,SAAS,OAAM;AACjB,iBAAS,QAAQ;AACV,eAAA;AAAA,MAAA,OACH;AACG,eAAA;AAAA,MACR;AAAA,IAAA,CAEA;AAEK,UAAA,WAAWC,cAAAA,IAAI,EAAE;AACjB,UAAA,aAAaA,kBAAI,KAAK;AAC5B,UAAM,QAAQ;AAKdC,kBAAAA,UAAU,MAAI;AACb,eAAS,QAAQ;AACjB,iBAAW,QAAQ;AACnB,iBAAW,MAAM;AAChB,mBAAW,QAAQ;AAAA,SACjB,EAAE;AAAA,IAAA,CACL;AACDC,kBAAA;AAAA,MACC,MAAM,MAAM;AAAA,MACZ,CAAC,QAAQ,WAAW;AAEf,YAAA,CAAC,UAAU,QAAQ;AACtB,qBAAW,QAAQ;AACnB,qBAAW,MAAM;AAChB,uBAAW,QAAQ;AAAA,aACjB,EAAE;AAAA,QAAA,OACC;AACN,qBAAW,QAAQ;AAAA,QACpB;AAAA,MAED;AAAA,IAAA;AAEK,UAAA,iBAAiB,CAAC,UAAiB;AACxC,eAAS,QAAQ;AAAA,IAAA;;;;;;;;;;;;;;;;;;;;;;;ACrEnB,GAAG,gBAAgB,SAAS;"}

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

View File

@ -0,0 +1 @@
{"version":3,"file":"finish2.js","sources":["../猫meme/HBuilderX.4.76.2025082103/HBuilderX/plugins/uniapp-cli-vite/uniPage:/RDovaGxkeV9hcHBfbWluaS9wYWdlcy9XYXJlaG91c2UvZmluaXNoLnZ1ZQ"],"sourcesContent":["import MiniProgramPage from 'D:/hldy_app_mini/pages/Warehouse/finish.vue'\nwx.createPage(MiniProgramPage)"],"names":["MiniProgramPage"],"mappings":";;AACA,GAAG,WAAWA,OAAe,eAAA;"}

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

View File

@ -0,0 +1 @@
{"version":3,"file":"picking2.js","sources":["../猫meme/HBuilderX.4.76.2025082103/HBuilderX/plugins/uniapp-cli-vite/uniPage:/RDovaGxkeV9hcHBfbWluaS9wYWdlcy9XYXJlaG91c2UvcGlja2luZy52dWU"],"sourcesContent":["import MiniProgramPage from 'D:/hldy_app_mini/pages/Warehouse/picking.vue'\nwx.createPage(MiniProgramPage)"],"names":["MiniProgramPage"],"mappings":";;AACA,GAAG,WAAWA,QAAe,eAAA;"}

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":"history.js","sources":["pages/controlroom/component/history.vue","../猫meme/HBuilderX.4.76.2025082103/HBuilderX/plugins/uniapp-cli-vite/uniComponent:/RDovaGxkeV9hcHBfbWluaS9wYWdlcy9jb250cm9scm9vbS9jb21wb25lbnQvaGlzdG9yeS52dWU"],"sourcesContent":["<template>\r\n\t<view class=\"right-top\">\r\n\t\t<scroll-view class=\"top-list\" scroll-y>\r\n\t\t\t<view class=\"list-view\" \r\n\t\t\t\tv-for=\"(item,index) in array\" :key=\"index\" >\r\n\t\t\t\t<view class=\"\">\r\n\t\t\t\t\t{{ item.directiveName }}\r\n\t\t\t\t</view>\r\n\t\t\t\t<view class=\"card-bottom\">\r\n\t\t\t\t\t{{ item?.startTime }}\r\n\t\t\t\t\t-\r\n\t\t\t\t\t{{ item?.endTime }}\r\n\t\t\t\t\t<view class=\"bottom-blue\">\r\n\t\t\t\t\t\t待执行\r\n\t\t\t\t\t</view>\r\n\t\t\t\t</view>\t\r\n\t\t\t</view>\r\n\t\t</scroll-view>\r\n\t</view>\r\n</template>\r\n\r\n<script setup>\r\nimport { ref, onMounted, onBeforeUnmount, computed, nextTick, watch } from 'vue';\r\n\r\nconst array = ref([]);\r\n\r\nonMounted(()=>{\r\n\tarray.value = uni.getStorageSync('NUall').elderServerEntityList || []\r\n})\r\n</script>\r\n\r\n<style scoped lang=\"less\">\r\n\t.right-top {\r\n\t\tmargin-top: 20rpx;\r\n\t\twidth: 100%;\r\n\t\theight: 40vh;\r\n\t\tbackground-color: #fff;\r\n\t\tborder-radius: 4vh;\r\n\t\tpadding-top: 2vh;\r\n\r\n\t\t.top-title {\r\n\t\t\twidth: 100%;\r\n\t\t\theight: 7vh;\r\n\t\t\tdisplay: flex;\r\n\t\t\talign-items: center;\r\n\t\t\tmargin-left: 2vw;\r\n\t\t\tfont-size: 1.4vw;\r\n\t\t\tfont-weight: 600;\r\n\t\t}\r\n\r\n\t\t.top-list {\r\n\t\t\twidth: 100%;\r\n\t\t\theight: 36vh;\r\n\t\t\t\r\n\r\n\t\t\t.list-view {\r\n\t\t\t\twidth: 90%;\r\n\t\t\t\tmargin-left: 5%;\r\n\t\t\t\theight: 10vh;\r\n\t\t\t\tmargin-bottom: 1vh;\r\n\t\t\t\tborder-radius: 1vw;\r\n\t\t\t\tbackground-color: rgba(226, 227, 231, 0.5);\r\n\t\t\t\tdisplay: flex;\r\n\t\t\t\tflex-direction: column;\r\n\t\t\t\talign-items: center;\r\n\t\t\t\tjustify-content: center;\r\n\t\t\t\tfont-size: 1.5vw;\r\n\t\t\t\t.card-bottom{\r\n\t\t\t\t\tmargin-top: 0.5vh;\r\n\t\t\t\t\tdisplay: flex;\r\n\t\t\t\t\talign-items: center;\r\n\t\t\t\t\tfont-size: 1.2vw;\r\n\t\t\t\t\t.bottom-blue{\r\n\t\t\t\t\t\twidth: 4vw;\r\n\t\t\t\t\t\theight: 2vw;\r\n\t\t\t\t\t\tmargin-left: 1vw;\r\n\t\t\t\t\t\tborder-radius: 0.5vw;\r\n\t\t\t\t\t\tbackground-color: #4874CB;\r\n\t\t\t\t\t\tcolor: #fff;\r\n\t\t\t\t\t\tdisplay: flex;\r\n\t\t\t\t\t\tjustify-content: center;\r\n\t\t\t\t\t\talign-items: center;\r\n\t\t\t\t\t\tfont-size: 1vw;\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t}\r\n\r\n\t\t}\r\n\t}\r\n</style>","import Component from 'D:/hldy_app_mini/pages/controlroom/component/history.vue'\nwx.createComponent(Component)"],"names":["ref","onMounted","uni"],"mappings":";;;;;AAwBA,UAAM,QAAQA,cAAAA,IAAI,CAAA,CAAE;AAEpBC,kBAAAA,UAAU,MAAI;AACb,YAAM,QAAQC,cAAG,MAAC,eAAe,OAAO,EAAE,yBAAyB,CAAE;AAAA,IACtE,CAAC;;;;;;;;;;;;;;;;AC3BD,GAAG,gBAAgB,SAAS;"}

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})\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;;;;"}
{"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//获得图片base\r\nexport const getPublicMediaUrl = (time) => {\n\treturn request({\n\t\turl: `/api/baseInfo/getPublicMediaUrl`,\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\nexport const updatePassword = (form) => {\n\treturn request({\n\t\turl: `${uni.getStorageSync('serverUrl')}/sys/user/updatePassword`,\n\t\tmethod: 'put',\n\t\tdata: {\n\t\t\tusername: form.username,\r\n\t\t\toldpassword: form.oldpassword,\r\n\t\t\tpassword: form.password,\r\n\t\t\tconfirmpassword: form.confirmpassword,\n\t\t}\n\t})\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;AAEY,MAAC,oBAAoB,CAAC,SAAS;AAC1C,SAAOD,sBAAQ;AAAA,IACd,KAAK;AAAA,IACL,QAAQ;AAAA,EACV,CAAE;AACF;AAGY,MAAC,WAAW,CAAC,WAAW;AACnC,SAAOA,sBAAQ;AAAA,IACd,KAAK,GAAGC,cAAG,MAAC,eAAe,WAAW,CAAC;AAAA,IACvC,QAAQ;AAAA,IACR,MAAM;AAAA,EACR,CAAE;AACF;AAEY,MAAC,iBAAiB,CAAC,SAAS;AACvC,SAAOD,sBAAQ;AAAA,IACd,KAAK,GAAGC,cAAG,MAAC,eAAe,WAAW,CAAC;AAAA,IACvC,QAAQ;AAAA,IACR,MAAM;AAAA,MACL,UAAU,KAAK;AAAA,MACf,aAAa,KAAK;AAAA,MAClB,UAAU,KAAK;AAAA,MACf,iBAAiB,KAAK;AAAA,IACtB;AAAA,EACH,CAAE;AACF;;;;;;"}

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

File diff suppressed because one or more lines are too long

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