This commit is contained in:
commit
553c9d17f4
|
|
@ -22,7 +22,7 @@
|
|||
<view class="white-photo" @click="selectphoto(0)">
|
||||
<view class="photo-left">
|
||||
<view class="photo-weight">人像面</view>
|
||||
<view class="photo-font">请上传身份证人像面</view>
|
||||
<!-- <view class="photo-font">请上传身份证人像面</view> -->
|
||||
</view>
|
||||
<view style="position: relative;">
|
||||
<image class="photo"
|
||||
|
|
@ -38,7 +38,7 @@
|
|||
<view class="white-photo" style="margin-top: 30rpx;" @click="selectphoto(1)">
|
||||
<view class="photo-left">
|
||||
<view class="photo-weight">国徽面</view>
|
||||
<view class="photo-font">请上传身份证国徽面</view>
|
||||
<!-- <view class="photo-font">请上传身份证国徽面</view> -->
|
||||
</view>
|
||||
<view style="position: relative;">
|
||||
<!-- <image class="photo"
|
||||
|
|
@ -259,7 +259,9 @@
|
|||
} else if (JSON.parse(JSON.parse(uploadRes.data).result.data).data.back)
|
||||
|
||||
{
|
||||
|
||||
let father = JSON.parse(JSON.parse(uploadRes.data).result.data).data.back.data;
|
||||
console.log(father)
|
||||
textArray[6] = father.issueAuthority;
|
||||
textArray[7] = father.validPeriod;
|
||||
backImge.value = filePath;
|
||||
|
|
|
|||
|
|
@ -473,28 +473,31 @@
|
|||
}
|
||||
});
|
||||
}
|
||||
|
||||
const valm = ref(0)
|
||||
function formatArea(e) {
|
||||
console.log(e.detail.value)
|
||||
const value = form.orgBuildingArea;
|
||||
const firstDot = value.indexOf('.');
|
||||
const lastDot = value.lastIndexOf('.');
|
||||
let cleaned = value;
|
||||
|
||||
// 如果出现多个小数点,则去掉最后一个后面的
|
||||
if (firstDot !== lastDot) {
|
||||
cleaned = value.slice(0, lastDot);
|
||||
}
|
||||
if(Number(cleaned)>=10000){
|
||||
form.orgBuildingArea = e.detail.value.slice(0, 4);
|
||||
nextTick(() => {
|
||||
form.orgBuildingArea = valm.value;
|
||||
});
|
||||
}else{
|
||||
nextTick(() => {
|
||||
form.orgBuildingArea = cleaned;
|
||||
valm.value = form.orgBuildingArea
|
||||
});
|
||||
}
|
||||
|
||||
// 限制小数点后只能有最多 4 位
|
||||
if (cleaned.includes('.')) {
|
||||
const [intPart, decimalPart] = cleaned.split('.');
|
||||
cleaned = intPart + '.' + decimalPart.slice(0, 4);
|
||||
}
|
||||
console.log(form.orgBuildingArea)
|
||||
// 如果格式有变动,则更新
|
||||
if (cleaned !== value) {
|
||||
nextTick(() => {
|
||||
|
|
|
|||
|
|
@ -24,7 +24,7 @@
|
|||
<view class="white-photo" @click="selectphoto()">
|
||||
<view class="photo-left">
|
||||
<view class="photo-weight">人像面</view>
|
||||
<view class="photo-font">请上传身份证人像面</view>
|
||||
<!-- <view class="photo-font">请上传身份证人像面</view> -->
|
||||
</view>
|
||||
<view style="position: relative;">
|
||||
<image class="photo"
|
||||
|
|
|
|||
|
|
@ -348,10 +348,10 @@
|
|||
.shu-img {
|
||||
position: absolute;
|
||||
right: 20rpx;
|
||||
top: 40%;
|
||||
top: 48%;
|
||||
transform: translateY(-40%);
|
||||
width: 150rpx;
|
||||
height: 130rpx;
|
||||
width: 130rpx;
|
||||
height: 112rpx;
|
||||
}
|
||||
|
||||
.greenbgc {
|
||||
|
|
|
|||
|
|
@ -17,7 +17,7 @@
|
|||
<view class="white-photo" @click="selectphoto(2)">
|
||||
<view class="photo-left">
|
||||
<view class="photo-weight">人像面</view>
|
||||
<view class="photo-font">请上传身份证人像面</view>
|
||||
<!-- <view class="photo-font">请上传身份证人像面</view> -->
|
||||
</view>
|
||||
<view style="position: relative;">
|
||||
<image class="photo"
|
||||
|
|
@ -75,7 +75,7 @@
|
|||
<view class="white-photo" @click="selectphoto(0)">
|
||||
<view class="photo-left">
|
||||
<view class="photo-weight">人像面</view>
|
||||
<view class="photo-font">请上传身份证人像面</view>
|
||||
<!-- <view class="photo-font">请上传身份证人像面</view> -->
|
||||
</view>
|
||||
<view style="position: relative;">
|
||||
<image class="photo"
|
||||
|
|
|
|||
|
|
@ -23,7 +23,7 @@
|
|||
<view class="white-photo" @click="selectphoto(0)">
|
||||
<view class="photo-left">
|
||||
<view class="photo-weight">人像面</view>
|
||||
<view class="photo-font">请上传身份证人像面</view>
|
||||
<!-- <view class="photo-font">请上传身份证人像面</view> -->
|
||||
</view>
|
||||
<view style="position: relative;">
|
||||
<image class="photo"
|
||||
|
|
@ -39,7 +39,7 @@
|
|||
<view class="white-photo" style="margin-top: 30rpx;" @click="selectphoto(1)">
|
||||
<view class="photo-left">
|
||||
<view class="photo-weight">国徽面</view>
|
||||
<view class="photo-font">请上传身份证国徽面</view>
|
||||
<!-- <view class="photo-font">请上传身份证国徽面</view> -->
|
||||
</view>
|
||||
<view style="position: relative;">
|
||||
<image class="photo"
|
||||
|
|
@ -455,7 +455,7 @@
|
|||
textArray[4] = data.birthDate;
|
||||
textArray[5] = data.idCardAddress;
|
||||
textArray[6] = data.issuingAuthority;
|
||||
textArray[7] = `${data.startTime}-${data.endTime == '长期' ? swapLongTerm(data.endTime) : data.endTime}`;
|
||||
textArray[7] = `${data.startTime}-${data.endTime}`;
|
||||
headImge.value = `${media_base_url}${data.cardZmPath}`;
|
||||
backImge.value = `${media_base_url}${data.cardFmPath}`;
|
||||
fontphoto.value = data.cardZmPath
|
||||
|
|
@ -469,7 +469,7 @@
|
|||
textArray[4] = data.birthDate;
|
||||
textArray[5] = data.idCardAddress;
|
||||
textArray[6] = data.issuingAuthority;
|
||||
textArray[7] = `${data.startTime}-${data.endTime == '长期' ? swapLongTerm(data.endTime) : data.endTime}`;
|
||||
textArray[7] = `${data.startTime}-${data.endTime}`;
|
||||
headImge.value = `${media_base_url}${data.cardZmPath}`;
|
||||
backImge.value = `${media_base_url}${data.cardFmPath}`;
|
||||
fontphoto.value = data.cardZmPath
|
||||
|
|
|
|||
|
|
@ -277,7 +277,7 @@
|
|||
</view>
|
||||
|
||||
<view style="display: flex;width: 100%;padding: 0 10%;justify-content: space-between;margin-top: 20rpx;">
|
||||
<view class="back-button" @click="dexcard = 2;gotop()">
|
||||
<view class="back-button" @click="dexcard = 1;gotop()">
|
||||
上一步
|
||||
</view>
|
||||
<view class="finish-button" @click="goBack()">
|
||||
|
|
@ -648,10 +648,10 @@
|
|||
.shu-img {
|
||||
position: absolute;
|
||||
right: 20rpx;
|
||||
top: 40%;
|
||||
transform: translateY(-40%);
|
||||
width: 150rpx;
|
||||
height: 130rpx;
|
||||
top: 60%;
|
||||
transform: translateY(-50%);
|
||||
width: 130rpx;
|
||||
height: 112rpx;
|
||||
}
|
||||
|
||||
.greenbgc {
|
||||
|
|
|
|||
|
|
@ -225,18 +225,23 @@
|
|||
},
|
||||
formData: {},
|
||||
success: uploadRes => {
|
||||
|
||||
console.log("啥玩意啊",JSON.parse(uploadRes.data).success)
|
||||
if (!JSON.parse(uploadRes.data).success) {
|
||||
uni.hideLoading()
|
||||
// uping.value = true;
|
||||
savephoto(filePath, targetphoto.value);
|
||||
uping.value = true;
|
||||
// savephoto(filePath, targetphoto.value);
|
||||
uni.showToast({
|
||||
title: '请上传正确的银行卡',
|
||||
icon: 'none'
|
||||
})
|
||||
return
|
||||
}
|
||||
|
||||
// console.log("father",JSON.parse(JSON.parse(uploadRes.data).result.data).data)
|
||||
if (JSON.parse(JSON.parse(uploadRes.data).result.data).data.bankName) {
|
||||
let father = JSON.parse(JSON.parse(uploadRes.data).result.data).data;
|
||||
textArray[0] = father.bankName;
|
||||
textArray[1] = father.cardNumber;
|
||||
|
||||
savephoto(filePath, targetphoto.value);
|
||||
// uping.value = true;
|
||||
} else {
|
||||
|
|
|
|||
|
|
@ -17,7 +17,7 @@
|
|||
</view>
|
||||
<view class="normal">
|
||||
<text>
|
||||
{{ uni.getStorageSync('isstaffchange')?`请等待审核`:`欢迎加入护理单元大家庭` }}
|
||||
{{ uni.getStorageSync('isstaffchange')?`请等待审核!`:`请等待审核!` }}
|
||||
!
|
||||
</text>
|
||||
</view>
|
||||
|
|
|
|||
|
|
@ -12,7 +12,7 @@
|
|||
|
||||
|
||||
<view :style="{height:`${uni.getStorageSync('moveHeight') + 30}px`}"></view>
|
||||
<view style="width: 638rpx;
|
||||
<!-- <view style="width: 638rpx;
|
||||
min-height: 80rpx;
|
||||
border-radius: 10rpx;
|
||||
display: flex;
|
||||
|
|
@ -27,16 +27,34 @@
|
|||
驳回原因:{{alldata.elderModifyContent}}
|
||||
</text>
|
||||
<text style=" color:rgba(237, 72, 69, 1);white-space: nowrap;">审核驳回</text>
|
||||
</view> -->
|
||||
<view style="width: 638rpx;
|
||||
min-height: 80rpx;
|
||||
border-radius: 10rpx;
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
margin: 30rpx auto 0;
|
||||
padding:20rpx;
|
||||
background: RGBA(255, 240, 240, 1);
|
||||
border: 1px solid RGBA(247, 175, 174, 1);"
|
||||
v-if="alldata.modifyStatus==3||alldata.modifyStatus==5">
|
||||
<view style="width: 35rpx;height: 35rpx;border-radius: 50%;background: RGBA(237, 72, 69, 1);color: #fff;text-align: center;line-height: 35rpx;margin-right: 10rpx;">i</view>
|
||||
<text style="color: rgba(102, 102, 102, 1); width: 70%;word-break: break-all;">
|
||||
驳回原因:{{alldata.auditContent}}
|
||||
</text>
|
||||
<text style=" color:rgba(237, 72, 69, 1);white-space: nowrap;">审核驳回</text>
|
||||
</view>
|
||||
<view class="white-content">
|
||||
<view class="white-content" v-show="!targetpage">
|
||||
<view class="content-title" style="margin: 20rpx 0;justify-content: space-between;">
|
||||
<view style="display: flex;">
|
||||
<view class="shu"></view>
|
||||
<view class="content-weight" style="margin-top: -2rpx;">监护人信息</view>
|
||||
<image class="shu-img"
|
||||
:src="alldata.elderModifyStatus? `https://www.focusnu.com/media/directive/index/${statusarray[alldata.elderModifyStatus-1]}.png`:``" />
|
||||
<image class="shu-img" :style="alldata.modifyStatus==3?{top:`40%`}:{}"
|
||||
:src="alldata.modifyStatus? `https://www.focusnu.com/media/directive/index/${statusarray[alldata.modifyStatus-1]}.png`:``" />
|
||||
</view>
|
||||
</view>
|
||||
<!-- <image class="shu-img"
|
||||
:src="alldata.modifyStatus? `https://www.focusnu.com/media/directive/index/${statusarray[alldata.modifyStatus-1]}.png`:``" /> -->
|
||||
<view class="white-photo" @click="getMessage(headImge0)">
|
||||
<view class="photo-left">
|
||||
<view class="photo-weight">人像面</view>
|
||||
|
|
@ -61,9 +79,16 @@
|
|||
</view>
|
||||
</view>
|
||||
</view>
|
||||
|
||||
<view class="white-content">
|
||||
<view style="width: 638rpx;
|
||||
<view style="display: flex;width: 100%;padding: 0 10%;justify-content: center;" v-if="!targetpage">
|
||||
<!-- <view class="back-button" @click="dexcard = 0">
|
||||
上一步
|
||||
</view> -->
|
||||
<view class="finish-button" @click="targetpage = 1">
|
||||
下一步
|
||||
</view>
|
||||
</view>
|
||||
<view class="white-content" v-show="targetpage">
|
||||
<!-- <view style="width: 638rpx;
|
||||
min-height: 80rpx;
|
||||
border-radius: 10rpx;
|
||||
display: flex;
|
||||
|
|
@ -78,13 +103,13 @@
|
|||
驳回原因:{{alldata.auditContent}}
|
||||
</text>
|
||||
<text style=" color:rgba(237, 72, 69, 1);white-space: nowrap;">审核驳回</text>
|
||||
</view>
|
||||
</view> -->
|
||||
<view class="content-title" style="margin: 20rpx 0;justify-content: space-between;">
|
||||
<view style="display: flex;">
|
||||
<view class="shu"></view>
|
||||
<view class="content-weight" style="margin-top: -2rpx;">长者信息</view>
|
||||
<image class="shu-img"
|
||||
:src="alldata.modifyStatus? `https://www.focusnu.com/media/directive/index/${statusarray[alldata.modifyStatus-1]}.png`:``" />
|
||||
<!-- <image class="shu-img"
|
||||
:src="alldata.modifyStatus? `https://www.focusnu.com/media/directive/index/${statusarray[alldata.modifyStatus-1]}.png`:``" /> -->
|
||||
<!-- <view class="content-img" style="display: flex;align-items: center;justify-content: flex-end;color: red;">
|
||||
<text v-if="alldata.modifyStatus==1" >待审核</text>
|
||||
<text v-if="alldata.modifyStatus==2" style="color: #0089FE;">审核通过</text>
|
||||
|
|
@ -95,7 +120,7 @@
|
|||
|
||||
</view>
|
||||
|
||||
<view class="white-content">
|
||||
<view class="white-content" v-show="targetpage">
|
||||
|
||||
<view class="white-photo" @click="getMessage(`${media_base_url}${specialImge}`)">
|
||||
<view class="photo-left">
|
||||
|
|
@ -139,7 +164,14 @@
|
|||
</view>
|
||||
</view>
|
||||
</view>
|
||||
|
||||
<view style="display: flex;width: 100%;padding: 0 10%;justify-content: space-between;" v-if="targetpage">
|
||||
<view class="back-button" @click="targetpage = 0">
|
||||
上一步
|
||||
</view>
|
||||
<view class="finish-button" @click="goBack">
|
||||
关闭
|
||||
</view>
|
||||
</view>
|
||||
<view style="display: flex;width: 100%;margin-top: 40rpx;"></view>
|
||||
|
||||
</div>
|
||||
|
|
@ -168,6 +200,7 @@
|
|||
|
||||
const show = ref(false);
|
||||
const content = ref("");
|
||||
const targetpage = ref(0)
|
||||
|
||||
const statusarray = ["loading", "success", "fail"]
|
||||
|
||||
|
|
@ -494,10 +527,10 @@
|
|||
.shu-img {
|
||||
position: absolute;
|
||||
right: 20rpx;
|
||||
top: 40%;
|
||||
top:48%;
|
||||
transform: translateY(-40%);
|
||||
width: 150rpx;
|
||||
height: 130rpx;
|
||||
width: 130rpx;
|
||||
height: 112rpx;
|
||||
}
|
||||
|
||||
.greenbgc {
|
||||
|
|
@ -539,4 +572,30 @@
|
|||
font-size: 30rpx;
|
||||
z-index: 2;
|
||||
}
|
||||
.finish-button {
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
width: 44%;
|
||||
height: 90rpx;
|
||||
// margin: 0rpx auto;
|
||||
margin-bottom: 80rpx;
|
||||
border: 2rpx solid #9AD1FF;
|
||||
color: #007CFF;
|
||||
background: linear-gradient(to bottom, #e7f4ff, #c5e5ff);
|
||||
border-radius: 37rpx;
|
||||
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;
|
||||
}
|
||||
</style>
|
||||
|
|
@ -366,14 +366,20 @@
|
|||
width: 100%;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
position: relative;
|
||||
|
||||
.gray-border{
|
||||
color: black;
|
||||
// color: black;
|
||||
// padding: 5rpx;
|
||||
position: absolute;
|
||||
right: -18rpx;
|
||||
top:50%;
|
||||
transform: translateY(-50%);
|
||||
padding: 5rpx 8rpx;
|
||||
border: 2rpx solid black;
|
||||
margin-left: 20rpx;
|
||||
font-size: 23rpx;
|
||||
border: 2rpx solid #0093FF;
|
||||
color: #0093FF;
|
||||
// margin-left: 20rpx;
|
||||
font-size: 22rpx;
|
||||
border-radius: 13rpx;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -22,7 +22,7 @@
|
|||
v-if="item.applyStatus!=`-1`&& item.elderInfo">
|
||||
<view class="two-card">
|
||||
<view class="left-card">
|
||||
NUID:{{ item.elderInfo && item.elderInfo.nuId }}
|
||||
<!-- NUID:{{ item.elderInfo && item.elderInfo.nuId }} -->
|
||||
<view class="left-card-view">
|
||||
<image class="left-card-imge"
|
||||
src="https://www.focusnu.com/media/directive/index/uniicon.png" />
|
||||
|
|
@ -1228,13 +1228,12 @@
|
|||
.left-card-view {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
font-size: 23rpx;
|
||||
font-size: 26rpx;
|
||||
margin-top: 10rpx;
|
||||
color: black;
|
||||
|
||||
.left-card-imge {
|
||||
width: 25rpx;
|
||||
height: 25rpx;
|
||||
.left-card-imge{
|
||||
width: 35rpx;
|
||||
height: 35rpx;
|
||||
margin-right: 10rpx;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -19,10 +19,10 @@
|
|||
<image
|
||||
style="position: absolute;left: 20rpx;top: 50%;transform: translateY(-50%);width: 40rpx;height: 40rpx;"
|
||||
src="https://www.focusnu.com/media/directive/index/search.png" />
|
||||
<input style="font-size: 31rpx;" type="text" v-model="supervalue" placeholder="请输入入驻护理机构名称"
|
||||
<input style="font-size: 31rpx;" :style="supervalue?{width: `90%`}:{width: `100%`}" type="text" v-model="supervalue" placeholder="请输入入驻护理机构名称"
|
||||
@confirm="search" @input="detectinput" />
|
||||
<view @click="clearvalue" v-if="supervalue"
|
||||
style="position: absolute;right: 20rpx;top: 50%;transform: translateY(-50%);width: 40rpx;height: 40rpx;display: flex;justify-content: center;align-items: center;border-radius: 50%;background-color: #EBEBEB;">
|
||||
<view @click.stop="clearvalue" v-if="supervalue"
|
||||
style="position: absolute;right: 20rpx;top: 50%;transform: translateY(-50%);width: 40rpx;height: 40rpx;display: flex;justify-content: center;align-items: center;border-radius: 50%;background-color: #EBEBEB;z-index: 10;">
|
||||
<image style="width: 20rpx;height: 20rpx;"
|
||||
src="https://www.focusnu.com/media/directive/index/cha.png" />
|
||||
</view>
|
||||
|
|
|
|||
Loading…
Reference in New Issue