This commit is contained in:
parent
9455c44de0
commit
66bba7b185
10
pages.json
10
pages.json
|
|
@ -21,7 +21,8 @@
|
|||
{
|
||||
"path": "pages/login/threeselectone",
|
||||
"style": {
|
||||
"navigationBarTitleText": "选择角色"
|
||||
"navigationBarTitleText": "选择角色",
|
||||
"navigationStyle": "custom"
|
||||
}
|
||||
},
|
||||
|
||||
|
|
@ -429,6 +430,13 @@
|
|||
{
|
||||
"navigationBarTitleText" : ""
|
||||
}
|
||||
},
|
||||
{
|
||||
"path" : "pages/oldmanindex/paybill",
|
||||
"style" :
|
||||
{
|
||||
"navigationBarTitleText" : ""
|
||||
}
|
||||
}
|
||||
],
|
||||
"globalStyle": {
|
||||
|
|
|
|||
|
|
@ -136,19 +136,16 @@
|
|||
<view class="shu"></view>
|
||||
<view class="content-weight">机构信息</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 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"
|
||||
@click="openLook(textArray1[index])">
|
||||
<view class="one-left">{{item}}</view>
|
||||
|
|
|
|||
|
|
@ -63,7 +63,7 @@
|
|||
<view class="content-weight">机构信息</view>
|
||||
</view>
|
||||
<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-weight" style="margin-left: -10rpx;">头像</view>
|
||||
<view class="photo-font">请上传头像(选填)</view>
|
||||
|
|
@ -74,8 +74,18 @@
|
|||
(form.sex=='男'?'https://www.focusnu.com/media/directive/index/nan.png':
|
||||
'https://www.focusnu.com/media/directive/index/nv.png')" />
|
||||
</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 @click="openpopupshow">
|
||||
|
||||
<view class="one" style="position: relative;">
|
||||
<view class="one-left">机构位置</view>
|
||||
<input disabled style="cursor: not-allowed;pointer-events: none;" class="one-right" type="text"
|
||||
|
|
@ -211,8 +221,8 @@
|
|||
const photoclick = (element) => {
|
||||
if (element==2) {
|
||||
uni.previewImage({
|
||||
urls: [data.headPath], // 必填,所有要预览的图片地址数组
|
||||
current: data.headPath, // 可选,当前显示图片的地址,默认是 urls[0]
|
||||
urls: [`${media_base_url}${form.headPath}`], // 必填,所有要预览的图片地址数组
|
||||
current: `${media_base_url}${form.headPath}`, // 可选,当前显示图片的地址,默认是 urls[0]
|
||||
indicator: 'default', // 可选,指示器样式,H5/App 有效,值为 'default'(圆点)或 'number'(数字)
|
||||
longPressActions: { // 可选,仅 App 支持,长按图片时弹出的操作项
|
||||
itemList: ['保存图片到相册'],
|
||||
|
|
@ -761,6 +771,7 @@
|
|||
margin-left: 10rpx;
|
||||
font-size: 30rpx;
|
||||
width: 250rpx;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.one-right {
|
||||
|
|
|
|||
|
|
@ -85,10 +85,7 @@
|
|||
确认并继续
|
||||
</view>
|
||||
</view> -->
|
||||
<view style="display: flex;width: 100%;padding: 0 10%;justify-content: space-between;">
|
||||
<view class="back-button" @click="goBack">
|
||||
上一步
|
||||
</view>
|
||||
<view style="display: flex;width: 100%;">
|
||||
<view class="finish-button" @click="next">
|
||||
下一步
|
||||
</view>
|
||||
|
|
@ -725,14 +722,15 @@
|
|||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
width: 44%;
|
||||
width: 80%;
|
||||
height: 90rpx;
|
||||
// margin: 0rpx auto;
|
||||
margin: 0rpx auto;
|
||||
margin-bottom: 80rpx;
|
||||
margin-top: 20rpx;
|
||||
background: linear-gradient(to bottom, #e7f4ff, #c5e5ff);
|
||||
border: 2rpx solid #9AD1FF;
|
||||
color: #007CFF;
|
||||
border-radius: 37rpx;
|
||||
border-radius: 35rpx;
|
||||
font-size: 33rpx;
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -333,7 +333,7 @@
|
|||
data.healthFmPath = imgArray[1]
|
||||
data.qualificationPath = imgArray[2]
|
||||
data.noCrimeCertificate = imgArray[3]
|
||||
data.headPath = imgArray[4]
|
||||
data.headPath = data.headPath
|
||||
if (data.endTime == '长期') {
|
||||
data.endTime = swapLongTerm(data.endTime);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -136,11 +136,15 @@
|
|||
</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>
|
||||
</view>
|
||||
|
||||
<u-action-sheet :list="bottomlist" @click="photoclick" v-model="bottomshow" borderRadius="20"></u-action-sheet>
|
||||
</div>
|
||||
</template>
|
||||
|
|
@ -487,6 +491,7 @@
|
|||
icon: 'none'
|
||||
})
|
||||
} else {
|
||||
form.headPath = headPath.value;
|
||||
const data = form
|
||||
const merged2 = {
|
||||
...uni.getStorageSync('backhuancun'),
|
||||
|
|
@ -499,12 +504,22 @@
|
|||
});
|
||||
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
const goBack = () => {
|
||||
if (!uping.value) {
|
||||
return
|
||||
}
|
||||
form.headPath = headPath.value;
|
||||
const data = form
|
||||
const merged2 = {
|
||||
...uni.getStorageSync('backhuancun'),
|
||||
...data
|
||||
};
|
||||
uni.navigateBack()
|
||||
}
|
||||
// const goBack = () => {
|
||||
// uni.navigateBack()
|
||||
// }
|
||||
const sex = ref("")
|
||||
onLoad(() => {
|
||||
if (uni.getStorageSync('baddata')) {
|
||||
|
|
@ -524,8 +539,8 @@
|
|||
"currentAddress",
|
||||
'auditContent',
|
||||
"applyStatus",
|
||||
"modifyStatus"
|
||||
|
||||
"modifyStatus",
|
||||
"headPath"
|
||||
]
|
||||
|
||||
keys.forEach(key => {
|
||||
|
|
@ -536,11 +551,11 @@
|
|||
form.showheight = form.height + 'cm';
|
||||
form.showweight = form.weight + 'kg';
|
||||
sex.value = data.sex
|
||||
headPath.value = data.headPath
|
||||
} else {
|
||||
uni.setStorageSync("isstaffchange", false)
|
||||
form.tel = uni.getStorageSync('tel')
|
||||
}
|
||||
|
||||
})
|
||||
</script>
|
||||
|
||||
|
|
@ -585,18 +600,27 @@
|
|||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
width: 80%;
|
||||
width: 44%;
|
||||
height: 90rpx;
|
||||
margin: 0rpx auto;
|
||||
margin-bottom: 80rpx;
|
||||
margin-top: 20rpx;
|
||||
background: linear-gradient(to bottom, #e7f4ff, #c5e5ff);
|
||||
border: 2rpx solid #9AD1FF;
|
||||
color: #007CFF;
|
||||
border-radius: 35rpx;
|
||||
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 {
|
||||
background-color: #F7F7F7;
|
||||
width: 100%;
|
||||
|
|
|
|||
|
|
@ -3,10 +3,10 @@
|
|||
<view class="login-container">
|
||||
<image class="photo-imge" src="https://www.focusnu.com/media/directive/index/indexgif.gif" mode="widthFix"
|
||||
lazy-load="false" />
|
||||
<view class="title-back" :style="{height:`${uni.getStorageSync('moveHeight')+40}px`}" v-if="back">
|
||||
<view class="left-father" @click="goBack">
|
||||
<view class="title-back" :style="{height:`${uni.getStorageSync('moveHeight')+20}px`}" v-if="back">
|
||||
<!-- <view class="left-father" @click="goBack">
|
||||
<image class="back-img" src="https://www.focusnu.com/media/directive/index/left.png" />
|
||||
</view>
|
||||
</view> -->
|
||||
</view>
|
||||
<view :style="{height:`${uni.getStorageSync('moveHeight') + 40}px`}" v-if="back"></view>
|
||||
<view class="card" :style="back?{marginTop:`100rpx`}:{marginTop:`400rpx`} " @click="oldmanhowtojump">
|
||||
|
|
@ -255,7 +255,7 @@
|
|||
}
|
||||
|
||||
.title-back {
|
||||
background-color: #F7F7F7;
|
||||
background-color: rgba(255, 255, 255, 0);
|
||||
width: 100%;
|
||||
height: 70rpx;
|
||||
display: flex;
|
||||
|
|
|
|||
|
|
@ -166,10 +166,10 @@
|
|||
<view class="box-font">{{item0}}</view>
|
||||
|
||||
</view>
|
||||
<view class="white-box">
|
||||
<!-- <view class="white-box">
|
||||
<image class="box-img" style="width: 40rpx;height: 40rpx;"
|
||||
:src="`https://www.focusnu.com/media/directive/index/oldmanphoto/more.png`" />
|
||||
</view>
|
||||
</view> -->
|
||||
</view>
|
||||
</view>
|
||||
|
||||
|
|
@ -334,7 +334,8 @@
|
|||
|
||||
const content = ref("");
|
||||
|
||||
const buttonArray = ref(["护理服务", "医疗服务", "账单查询", "视频影像", "外出申请", "长者信息", "监护人"])
|
||||
// const buttonArray = ref(["护理服务", "医疗服务", "账单查询", "视频影像", "外出申请", "长者信息", "监护人","缴费账单"])
|
||||
const buttonArray = ref(["护理服务", "缴费账单", "账单查询", "视频影像", "外出申请", "长者信息", "监护人" ])
|
||||
const statusarray = ["loading", "success", "fail"]
|
||||
const which = ref(0);
|
||||
|
||||
|
|
@ -413,6 +414,11 @@
|
|||
const clickButton = (item, index) => {
|
||||
|
||||
switch (index) {
|
||||
case 1:
|
||||
uni.navigateTo({
|
||||
url: `/pages/oldmanindex/paybill`
|
||||
});
|
||||
break
|
||||
case 2:
|
||||
// console.log("NNNN",item.orgCode)
|
||||
uni.navigateTo({
|
||||
|
|
|
|||
|
|
@ -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">
|
||||
女 | 80岁 | 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>
|
||||
|
|
@ -28,10 +28,13 @@
|
|||
<view class="cont" style="margin-top: 23rpx;">
|
||||
<text class="hui">品牌型号</text>
|
||||
<text class="hui">规格型号</text>
|
||||
<text class="hui">生产厂家</text>
|
||||
|
||||
</view>
|
||||
<view class="cont" style="margin-top: 13rpx;">
|
||||
<text class="hei">{{v.brandType}}</text>
|
||||
<text class="hei">{{v.specificationModel}}</text>
|
||||
<text class="hei">{{v.manufacturer}}</text>
|
||||
</view>
|
||||
<view class="xian"></view>
|
||||
<view class="cont" >
|
||||
|
|
@ -52,9 +55,9 @@
|
|||
src="https://www.focusnu.com/media/directive/index/none.png" mode="widthFix" lazy-load="false" />
|
||||
<view class="">暂无物料信息</view>
|
||||
</view>
|
||||
<view class="fiedrightview">
|
||||
<!-- <view class="fiedrightview">
|
||||
+
|
||||
</view>
|
||||
</view> -->
|
||||
</view>
|
||||
</template>
|
||||
|
||||
|
|
@ -158,7 +161,7 @@
|
|||
}
|
||||
}
|
||||
.act{
|
||||
border: 2rpx dashed #0083FA !important;
|
||||
border: 2px dashed #0083FA !important;
|
||||
}
|
||||
.box{
|
||||
width: 700rpx;
|
||||
|
|
@ -168,7 +171,7 @@
|
|||
border-radius: 25rpx;
|
||||
overflow: hidden;
|
||||
margin: 24rpx auto ;
|
||||
border: 2rpx solid #fff;
|
||||
border: 2px solid #fff;
|
||||
.xian{
|
||||
width: 100%;
|
||||
height: 1px;
|
||||
|
|
|
|||
|
|
@ -16,6 +16,11 @@
|
|||
<view class="left">规格型号</view>
|
||||
<view class="cot">{{obj.specificationModel}}</view>
|
||||
</view>
|
||||
<view class="cont">
|
||||
<view class="left">生产厂家</view>
|
||||
<view class="cot">{{obj.manufacturer}}</view>
|
||||
</view>
|
||||
|
||||
<view class="cont">
|
||||
<view class="left">品牌型号</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>
|
||||
<image class="one-left-imge" src="https://www.focusnu.com/media/directive/index/canread.png" />
|
||||
</view>
|
||||
<view class="cont">
|
||||
<!-- <view class="cont">
|
||||
<view class="left">是否启用</view>
|
||||
<view style="position: relative;" @click="flag=!flag" >
|
||||
<view class="bottom-button-qiehuan guodu" :class="flag?'':'noact'">
|
||||
|
|
@ -39,7 +44,7 @@
|
|||
</view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
</view> -->
|
||||
<view class="queding" @click="config">
|
||||
确定
|
||||
</view>
|
||||
|
|
@ -88,7 +93,8 @@
|
|||
let hom = {
|
||||
id:obj.value.id,
|
||||
salesUnitPrice:obj.value.salesUnitPrice,
|
||||
salesUnit:obj.value.salesUnit
|
||||
salesUnit:obj.value.salesUnit,
|
||||
suppliersId:obj.value.suppliersId
|
||||
}
|
||||
editSuppliersWlInfo(hom).then(res=>{
|
||||
if(res.success){
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
// 全局请求封装
|
||||
// export const base_url = 'http://192.168.2.18:8081/opeapi/'
|
||||
export const base_url = 'https://www.focusnu.com/opeapi'
|
||||
export const base_url = 'http://192.168.2.18:8081/opeapi/'
|
||||
// export const base_url = 'https://www.focusnu.com/opeapi'
|
||||
|
||||
export const media_base_url = 'https://www.focusnu.com/media/'
|
||||
// export const base_url = 'http://192.168.2.24:8081/opeapi'
|
||||
|
|
|
|||
Loading…
Reference in New Issue