This commit is contained in:
wangweidong 2026-03-23 16:46:12 +08:00
parent 9455c44de0
commit 66bba7b185
12 changed files with 259 additions and 49 deletions

View File

@ -21,7 +21,8 @@
{ {
"path": "pages/login/threeselectone", "path": "pages/login/threeselectone",
"style": { "style": {
"navigationBarTitleText": "选择角色" "navigationBarTitleText": "选择角色",
"navigationStyle": "custom"
} }
}, },
@ -429,6 +430,13 @@
{ {
"navigationBarTitleText" : "" "navigationBarTitleText" : ""
} }
},
{
"path" : "pages/oldmanindex/paybill",
"style" :
{
"navigationBarTitleText" : ""
}
} }
], ],
"globalStyle": { "globalStyle": {

View File

@ -136,19 +136,16 @@
<view class="shu"></view> <view class="shu"></view>
<view class="content-weight">机构信息</view> <view class="content-weight">机构信息</view>
</view> </view>
<view class="white-photo" @click="getMessage(headPath)">
<view class="photo-left">
<view class="photo-weight" style="margin-left: -10rpx;">头像</view>
<!-- <view class="photo-font">请上传身份证人像面</view> -->
</view>
<view style="position: relative;">
<image class="photo" style="width: 200rpx;border-radius: 50%;"
:src="headPath ? headPath : (textArray[1]=='男'?'https://www.focusnu.com/media/directive/index/nan.png':'https://www.focusnu.com/media/directive/index/nv.png')" />
</view>
</view>
<view class="white-message"> <view class="white-message">
<view style="margin-bottom: 20rpx;"> <view style="margin-bottom: 20rpx;">
<view class="one" style="justify-content: space-between;" @click="getMessage(headPath)">
<view class="one-left">负责人头像</view>
<view class="one-right">
<image class="photo" style="height: 80rpx;width: 80rpx;border-radius: 50%;border: 1px solid #666;"
:src="headPath ? headPath : (textArray[1]=='女'?'https://www.focusnu.com/media/directive/index/nv.png':'https://www.focusnu.com/media/directive/index/nan.png')" />
</view>
</view>
<view v-for="(item,index) in nameArray1" :key="index" class="one" <view v-for="(item,index) in nameArray1" :key="index" class="one"
@click="openLook(textArray1[index])"> @click="openLook(textArray1[index])">
<view class="one-left">{{item}}</view> <view class="one-left">{{item}}</view>

View File

@ -63,7 +63,7 @@
<view class="content-weight">机构信息</view> <view class="content-weight">机构信息</view>
</view> </view>
<view class="white-message"> <view class="white-message">
<view class="white-photo" style="margin-top: 30rpx;" @click="selectphoto(2)"> <!-- <view class="white-photo" style="margin-top: 30rpx;">
<view class="photo-left"> <view class="photo-left">
<view class="photo-weight" style="margin-left: -10rpx;">头像</view> <view class="photo-weight" style="margin-left: -10rpx;">头像</view>
<view class="photo-font">请上传头像(选填)</view> <view class="photo-font">请上传头像(选填)</view>
@ -74,8 +74,18 @@
(form.sex=='男'?'https://www.focusnu.com/media/directive/index/nan.png': (form.sex=='男'?'https://www.focusnu.com/media/directive/index/nan.png':
'https://www.focusnu.com/media/directive/index/nv.png')" /> 'https://www.focusnu.com/media/directive/index/nv.png')" />
</view> </view>
</view> -->
<view @click="selectphoto(2)">
<view class="one" style="justify-content: space-between;">
<view class="one-left">负责人头像选填</view>
<image class="photo" style="height: 80rpx;width: 80rpx;border-radius: 50%;border: 1px solid #666;"
:src="form.headPath ? `${media_base_url}${form.headPath}` :
(form.sex=='男'?'https://www.focusnu.com/media/directive/index/nan.png':
'https://www.focusnu.com/media/directive/index/nv.png')" />
</view>
</view> </view>
<view @click="openpopupshow"> <view @click="openpopupshow">
<view class="one" style="position: relative;"> <view class="one" style="position: relative;">
<view class="one-left">机构位置</view> <view class="one-left">机构位置</view>
<input disabled style="cursor: not-allowed;pointer-events: none;" class="one-right" type="text" <input disabled style="cursor: not-allowed;pointer-events: none;" class="one-right" type="text"
@ -211,8 +221,8 @@
const photoclick = (element) => { const photoclick = (element) => {
if (element==2) { if (element==2) {
uni.previewImage({ uni.previewImage({
urls: [data.headPath], // urls: [`${media_base_url}${form.headPath}`], //
current: data.headPath, // urls[0] current: `${media_base_url}${form.headPath}`, // urls[0]
indicator: 'default', // H5/App 'default' 'number' indicator: 'default', // H5/App 'default' 'number'
longPressActions: { // App longPressActions: { // App
itemList: ['保存图片到相册'], itemList: ['保存图片到相册'],
@ -761,6 +771,7 @@
margin-left: 10rpx; margin-left: 10rpx;
font-size: 30rpx; font-size: 30rpx;
width: 250rpx; width: 250rpx;
white-space: nowrap;
} }
.one-right { .one-right {

View File

@ -85,10 +85,7 @@
确认并继续 确认并继续
</view> </view>
</view> --> </view> -->
<view style="display: flex;width: 100%;padding: 0 10%;justify-content: space-between;"> <view style="display: flex;width: 100%;">
<view class="back-button" @click="goBack">
上一步
</view>
<view class="finish-button" @click="next"> <view class="finish-button" @click="next">
下一步 下一步
</view> </view>
@ -725,14 +722,15 @@
display: flex; display: flex;
justify-content: center; justify-content: center;
align-items: center; align-items: center;
width: 44%; width: 80%;
height: 90rpx; height: 90rpx;
// margin: 0rpx auto; margin: 0rpx auto;
margin-bottom: 80rpx; margin-bottom: 80rpx;
margin-top: 20rpx;
background: linear-gradient(to bottom, #e7f4ff, #c5e5ff); background: linear-gradient(to bottom, #e7f4ff, #c5e5ff);
border: 2rpx solid #9AD1FF; border: 2rpx solid #9AD1FF;
color: #007CFF; color: #007CFF;
border-radius: 37rpx; border-radius: 35rpx;
font-size: 33rpx; font-size: 33rpx;
} }

View File

@ -333,7 +333,7 @@
data.healthFmPath = imgArray[1] data.healthFmPath = imgArray[1]
data.qualificationPath = imgArray[2] data.qualificationPath = imgArray[2]
data.noCrimeCertificate = imgArray[3] data.noCrimeCertificate = imgArray[3]
data.headPath = imgArray[4] data.headPath = data.headPath
if (data.endTime == '长期') { if (data.endTime == '长期') {
data.endTime = swapLongTerm(data.endTime); data.endTime = swapLongTerm(data.endTime);
} }

View File

@ -136,11 +136,15 @@
</view> </view>
</view> </view>
</view> </view>
<view style="display: flex;width: 100%;"> <view style="display: flex;width: 100%;padding: 0 10%;justify-content: space-between;">
<view class="back-button" @click="goBack">
上一步
</view>
<view class="finish-button" @click="next"> <view class="finish-button" @click="next">
下一步 下一步
</view> </view>
</view> </view>
<u-action-sheet :list="bottomlist" @click="photoclick" v-model="bottomshow" borderRadius="20"></u-action-sheet> <u-action-sheet :list="bottomlist" @click="photoclick" v-model="bottomshow" borderRadius="20"></u-action-sheet>
</div> </div>
</template> </template>
@ -487,6 +491,7 @@
icon: 'none' icon: 'none'
}) })
} else { } else {
form.headPath = headPath.value;
const data = form const data = form
const merged2 = { const merged2 = {
...uni.getStorageSync('backhuancun'), ...uni.getStorageSync('backhuancun'),
@ -499,12 +504,22 @@
}); });
} }
} }
const goBack = () => { const goBack = () => {
if (!uping.value) {
return
}
form.headPath = headPath.value;
const data = form
const merged2 = {
...uni.getStorageSync('backhuancun'),
...data
};
uni.navigateBack() uni.navigateBack()
} }
// const goBack = () => {
// uni.navigateBack()
// }
const sex = ref("") const sex = ref("")
onLoad(() => { onLoad(() => {
if (uni.getStorageSync('baddata')) { if (uni.getStorageSync('baddata')) {
@ -524,8 +539,8 @@
"currentAddress", "currentAddress",
'auditContent', 'auditContent',
"applyStatus", "applyStatus",
"modifyStatus" "modifyStatus",
"headPath"
] ]
keys.forEach(key => { keys.forEach(key => {
@ -536,11 +551,11 @@
form.showheight = form.height + 'cm'; form.showheight = form.height + 'cm';
form.showweight = form.weight + 'kg'; form.showweight = form.weight + 'kg';
sex.value = data.sex sex.value = data.sex
headPath.value = data.headPath
} else { } else {
uni.setStorageSync("isstaffchange", false) uni.setStorageSync("isstaffchange", false)
form.tel = uni.getStorageSync('tel') form.tel = uni.getStorageSync('tel')
} }
}) })
</script> </script>
@ -585,18 +600,27 @@
display: flex; display: flex;
justify-content: center; justify-content: center;
align-items: center; align-items: center;
width: 80%; width: 44%;
height: 90rpx; height: 90rpx;
margin: 0rpx auto;
margin-bottom: 80rpx; margin-bottom: 80rpx;
margin-top: 20rpx;
background: linear-gradient(to bottom, #e7f4ff, #c5e5ff); background: linear-gradient(to bottom, #e7f4ff, #c5e5ff);
border: 2rpx solid #9AD1FF; border: 2rpx solid #9AD1FF;
color: #007CFF; color: #007CFF;
border-radius: 35rpx; border-radius: 35rpx;
font-size: 33rpx; font-size: 33rpx;
} }
.back-button {
display: flex;
justify-content: center;
align-items: center;
width: 44%;
height: 90rpx;
margin-bottom: 80rpx;
border: 2rpx solid #c3cacd;
background: linear-gradient(to bottom, #f3f3f5, #dee4e9);
border-radius: 37rpx;
font-size: 33rpx;
}
.title-back { .title-back {
background-color: #F7F7F7; background-color: #F7F7F7;
width: 100%; width: 100%;

View File

@ -3,10 +3,10 @@
<view class="login-container"> <view class="login-container">
<image class="photo-imge" src="https://www.focusnu.com/media/directive/index/indexgif.gif" mode="widthFix" <image class="photo-imge" src="https://www.focusnu.com/media/directive/index/indexgif.gif" mode="widthFix"
lazy-load="false" /> lazy-load="false" />
<view class="title-back" :style="{height:`${uni.getStorageSync('moveHeight')+40}px`}" v-if="back"> <view class="title-back" :style="{height:`${uni.getStorageSync('moveHeight')+20}px`}" v-if="back">
<view class="left-father" @click="goBack"> <!-- <view class="left-father" @click="goBack">
<image class="back-img" src="https://www.focusnu.com/media/directive/index/left.png" /> <image class="back-img" src="https://www.focusnu.com/media/directive/index/left.png" />
</view> </view> -->
</view> </view>
<view :style="{height:`${uni.getStorageSync('moveHeight') + 40}px`}" v-if="back"></view> <view :style="{height:`${uni.getStorageSync('moveHeight') + 40}px`}" v-if="back"></view>
<view class="card" :style="back?{marginTop:`100rpx`}:{marginTop:`400rpx`} " @click="oldmanhowtojump"> <view class="card" :style="back?{marginTop:`100rpx`}:{marginTop:`400rpx`} " @click="oldmanhowtojump">
@ -255,7 +255,7 @@
} }
.title-back { .title-back {
background-color: #F7F7F7; background-color: rgba(255, 255, 255, 0);
width: 100%; width: 100%;
height: 70rpx; height: 70rpx;
display: flex; display: flex;

View File

@ -166,10 +166,10 @@
<view class="box-font">{{item0}}</view> <view class="box-font">{{item0}}</view>
</view> </view>
<view class="white-box"> <!-- <view class="white-box">
<image class="box-img" style="width: 40rpx;height: 40rpx;" <image class="box-img" style="width: 40rpx;height: 40rpx;"
:src="`https://www.focusnu.com/media/directive/index/oldmanphoto/more.png`" /> :src="`https://www.focusnu.com/media/directive/index/oldmanphoto/more.png`" />
</view> </view> -->
</view> </view>
</view> </view>
@ -334,7 +334,8 @@
const content = ref(""); const content = ref("");
const buttonArray = ref(["护理服务", "医疗服务", "账单查询", "视频影像", "外出申请", "长者信息", "监护人"]) // const buttonArray = ref(["", "", "", "", "", "", "",""])
const buttonArray = ref(["护理服务", "缴费账单", "账单查询", "视频影像", "外出申请", "长者信息", "监护人" ])
const statusarray = ["loading", "success", "fail"] const statusarray = ["loading", "success", "fail"]
const which = ref(0); const which = ref(0);
@ -413,6 +414,11 @@
const clickButton = (item, index) => { const clickButton = (item, index) => {
switch (index) { switch (index) {
case 1:
uni.navigateTo({
url: `/pages/oldmanindex/paybill`
});
break
case 2: case 2:
// console.log("NNNN",item.orgCode) // console.log("NNNN",item.orgCode)
uni.navigateTo({ uni.navigateTo({

View File

@ -0,0 +1,157 @@
<template>
<view>
<view class="title-back" :style="{height:`${uni.getStorageSync('moveHeight')+40}px`}">
<view class="left-father" @click="uni.navigateBack();">
<image class="back-img" src="https://www.focusnu.com/media/directive/index/left.png" />
</view>
</view>
<view :style="{height:`${uni.getStorageSync('moveHeight') + 40}px`}"></view>
<image class="bacimg" src="https://www.focusnu.com/media/directive/bgyg.png" mode="aspectFill"></image>
<view class="xmname">
<image src="https://www.focusnu.com/media/directive/hts.png" mode="aspectFill" class="bgt"></image>
<image src="https://www.focusnu.com/media/directive/sj.png" mode="aspectFill" class="ava"></image>
<view class="name">李富贵</view>
<view class="xbjs">
&nbsp;&nbsp;|&nbsp; 80&nbsp; |&nbsp; 2025.01.01
</view>
</view>
<view class="listacre">
<view class="top">
<view class="left">
<image src="https://www.focusnu.com/media/directive/dybb.png" mode="aspectFill"></image>
2026.03.01-2026.03.31
</view>
<view class="rits">计费</view>
</view>
</view>
</view>
</template>
<script setup lang="ts">
</script>
<style lang="scss" scoped>
.listacre{
width: 703rpx;
height: 349rpx;
background: #FFFFFF;
border-radius: 40rpx;
position: relative;
z-index: 2;
padding: 33rpx;
margin: 21rpx auto 0;
.top{
width: 100%;
height: 80rpx;
position: relative;
background: yellow;
justify-content: space-between;
align-items: center;
.rits{
width: 106rpx;
height: 45rpx;
background: #EEFBF6;
border-radius: 10rpx;
border: 1px solid #D3F0E4;
display: flex;
align-items: center;
justify-content: center;
font-weight: 400;
font-size: 24rpx;
color: #01A763;
}
.left{
font-weight: 400;
font-size: 28rpx;
color: #333333;
image{
width: 30rpx;
height: 30rpx;
margin-right: 16rpx;
}
}
}
}
.xmname{
width: 705rpx;
height: 155rpx;
margin: 20rpx auto 0;
position: relative;
z-index: 2;
.xbjs{
position: absolute;
top: 95rpx;
left: 143rpx;
z-index: 2;
font-weight: 400;
font-size: 23rpx;
color: #212327;
display: flex;
align-items: center;
}
.name{
font-weight: bold;
font-size: 36rpx;
color: #333333;
position: absolute;
top: 47rpx;
left: 143rpx;
z-index: 2;
}
.ava{
position: absolute;
width: 95rpx;
height: 95rpx;
border-radius: 50%;
top: 34rpx;
left: 30rpx;
z-index: 2;
}
.bgt{
position: absolute;
width: 100%;
height: 100%;
top: 0;
left: 0;
z-index: 1;
}
}
.bacimg{
width: 100%;
height: 780rpx;
position: fixed;
top: 0;
left: 0;
z-index: 0;
}
.title-back {
background : rgba(255, 255, 255,0);
width: 100%;
height: 70rpx;
display: flex;
justify-content: space-between;
align-items: flex-end;
padding-bottom: 20rpx;
position: fixed;
top: 0;
left: 0;
z-index: 9999;
}
.left-father {
display: flex;
align-items: center;
z-index: 1;
.back-img {
width: 45rpx;
height: 40rpx;
margin-left: 40rpx;
margin-right: 15rpx;
}
}
</style>

View File

@ -28,10 +28,13 @@
<view class="cont" style="margin-top: 23rpx;"> <view class="cont" style="margin-top: 23rpx;">
<text class="hui">品牌型号</text> <text class="hui">品牌型号</text>
<text class="hui">规格型号</text> <text class="hui">规格型号</text>
<text class="hui">生产厂家</text>
</view> </view>
<view class="cont" style="margin-top: 13rpx;"> <view class="cont" style="margin-top: 13rpx;">
<text class="hei">{{v.brandType}}</text> <text class="hei">{{v.brandType}}</text>
<text class="hei">{{v.specificationModel}}</text> <text class="hei">{{v.specificationModel}}</text>
<text class="hei">{{v.manufacturer}}</text>
</view> </view>
<view class="xian"></view> <view class="xian"></view>
<view class="cont" > <view class="cont" >
@ -52,9 +55,9 @@
src="https://www.focusnu.com/media/directive/index/none.png" mode="widthFix" lazy-load="false" /> src="https://www.focusnu.com/media/directive/index/none.png" mode="widthFix" lazy-load="false" />
<view class="">暂无物料信息</view> <view class="">暂无物料信息</view>
</view> </view>
<view class="fiedrightview"> <!-- <view class="fiedrightview">
+ +
</view> </view> -->
</view> </view>
</template> </template>
@ -158,7 +161,7 @@
} }
} }
.act{ .act{
border: 2rpx dashed #0083FA !important; border: 2px dashed #0083FA !important;
} }
.box{ .box{
width: 700rpx; width: 700rpx;
@ -168,7 +171,7 @@
border-radius: 25rpx; border-radius: 25rpx;
overflow: hidden; overflow: hidden;
margin: 24rpx auto ; margin: 24rpx auto ;
border: 2rpx solid #fff; border: 2px solid #fff;
.xian{ .xian{
width: 100%; width: 100%;
height: 1px; height: 1px;

View File

@ -16,6 +16,11 @@
<view class="left">规格型号</view> <view class="left">规格型号</view>
<view class="cot">{{obj.specificationModel}}</view> <view class="cot">{{obj.specificationModel}}</view>
</view> </view>
<view class="cont">
<view class="left">生产厂家</view>
<view class="cot">{{obj.manufacturer}}</view>
</view>
<view class="cont"> <view class="cont">
<view class="left">品牌型号</view> <view class="left">品牌型号</view>
<view class="cot">{{obj.brandType}}</view> <view class="cot">{{obj.brandType}}</view>
@ -30,7 +35,7 @@
<view class="cot"><input type="text" maxlength="5" placeholder="请输入销售单位" v-model="obj.salesUnit"></view> <view class="cot"><input type="text" maxlength="5" placeholder="请输入销售单位" v-model="obj.salesUnit"></view>
<image class="one-left-imge" src="https://www.focusnu.com/media/directive/index/canread.png" /> <image class="one-left-imge" src="https://www.focusnu.com/media/directive/index/canread.png" />
</view> </view>
<view class="cont"> <!-- <view class="cont">
<view class="left">是否启用</view> <view class="left">是否启用</view>
<view style="position: relative;" @click="flag=!flag" > <view style="position: relative;" @click="flag=!flag" >
<view class="bottom-button-qiehuan guodu" :class="flag?'':'noact'"> <view class="bottom-button-qiehuan guodu" :class="flag?'':'noact'">
@ -39,7 +44,7 @@
</view> </view>
</view> </view>
</view> </view>
</view> </view> -->
<view class="queding" @click="config"> <view class="queding" @click="config">
确定 确定
</view> </view>
@ -88,7 +93,8 @@
let hom = { let hom = {
id:obj.value.id, id:obj.value.id,
salesUnitPrice:obj.value.salesUnitPrice, salesUnitPrice:obj.value.salesUnitPrice,
salesUnit:obj.value.salesUnit salesUnit:obj.value.salesUnit,
suppliersId:obj.value.suppliersId
} }
editSuppliersWlInfo(hom).then(res=>{ editSuppliersWlInfo(hom).then(res=>{
if(res.success){ if(res.success){

View File

@ -1,6 +1,6 @@
// 全局请求封装 // 全局请求封装
// export const base_url = 'http://192.168.2.18:8081/opeapi/' export const base_url = 'http://192.168.2.18:8081/opeapi/'
export const base_url = 'https://www.focusnu.com/opeapi' // export const base_url = 'https://www.focusnu.com/opeapi'
export const media_base_url = 'https://www.focusnu.com/media/' export const media_base_url = 'https://www.focusnu.com/media/'
// export const base_url = 'http://192.168.2.24:8081/opeapi' // export const base_url = 'http://192.168.2.24:8081/opeapi'