This commit is contained in:
parent
49a0bd992b
commit
de4ed3fdd8
|
|
@ -375,9 +375,12 @@
|
||||||
} else if (JSON.parse(JSON.parse(uploadRes.data).result.data).data.back) {
|
} 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;
|
let father = JSON.parse(JSON.parse(uploadRes.data).result.data).data.back.data;
|
||||||
let regex = /[\u4E00-\u9FA5\uF900-\uFA2D]{1,}/;
|
let regex = /[\u4E00-\u9FA5\uF900-\uFA2D]{1,}/;
|
||||||
console.log(regex.test(father.validPeriod),father.validPeriod)
|
if(!regex.test(father.validPeriod)||father.validPeriod.indexOf('长期')){
|
||||||
|
textArray[6] = father.issueAuthority;
|
||||||
if(father.validPeriod == "女"){
|
textArray[7] = father.validPeriod;
|
||||||
|
backImge.value = filePath;
|
||||||
|
savephoto(filePath, 1);
|
||||||
|
}else{
|
||||||
uni.showToast({
|
uni.showToast({
|
||||||
title: '识别失败',
|
title: '识别失败',
|
||||||
icon: 'none',
|
icon: 'none',
|
||||||
|
|
@ -387,10 +390,7 @@
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
textArray[6] = father.issueAuthority;
|
|
||||||
textArray[7] = father.validPeriod;
|
|
||||||
backImge.value = filePath;
|
|
||||||
savephoto(filePath, 1);
|
|
||||||
} else {
|
} else {
|
||||||
uni.hideLoading()
|
uni.hideLoading()
|
||||||
uni.showToast({
|
uni.showToast({
|
||||||
|
|
|
||||||
|
|
@ -138,6 +138,7 @@
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
line-height: 50rpx;
|
line-height: 50rpx;
|
||||||
|
text-align: left;
|
||||||
}
|
}
|
||||||
|
|
||||||
.title-photo {
|
.title-photo {
|
||||||
|
|
|
||||||
|
|
@ -2,6 +2,9 @@
|
||||||
<div class="container">
|
<div class="container">
|
||||||
<image style="width: 200rpx;height:200rpx"
|
<image style="width: 200rpx;height:200rpx"
|
||||||
:src="special?`https://www.focusnu.com/media/directive/index/jumpImge/jigou.png`: `https://www.focusnu.com/media/directive/index/jumpImge/jiameng.png`" />
|
:src="special?`https://www.focusnu.com/media/directive/index/jumpImge/jigou.png`: `https://www.focusnu.com/media/directive/index/jumpImge/jiameng.png`" />
|
||||||
|
<view style="font-size: 35rpx;font-weight: 600;margin: 30rpx 0;">
|
||||||
|
{{ uni.getStorageSync('isstaffchange') ? '变更信息已提交' : '提交成功' }}
|
||||||
|
</view>
|
||||||
<view class="white-font">
|
<view class="white-font">
|
||||||
尊敬的用户,您的机构{{ special?`变更`:`加盟` }}申请已成功提交
|
尊敬的用户,您的机构{{ special?`变更`:`加盟` }}申请已成功提交
|
||||||
</view>
|
</view>
|
||||||
|
|
|
||||||
|
|
@ -119,24 +119,6 @@
|
||||||
// console.log("?????",item.value)
|
// console.log("?????",item.value)
|
||||||
})
|
})
|
||||||
const tother = ref(0)
|
const tother = ref(0)
|
||||||
// onShow(()=>{
|
|
||||||
// if(tother.value == 1){
|
|
||||||
// uni.navigateBack({delta:2})
|
|
||||||
// }
|
|
||||||
// })
|
|
||||||
onHide(()=>{
|
|
||||||
tother.value = 1;
|
|
||||||
uni.request({
|
|
||||||
url: payurl.value+'/api/nuInfo/cancelBind',
|
|
||||||
method: 'POST',
|
|
||||||
header: {
|
|
||||||
'Content-Type': 'application/json'
|
|
||||||
},
|
|
||||||
data: {
|
|
||||||
nuId:item.value.nuId
|
|
||||||
}
|
|
||||||
});
|
|
||||||
})
|
|
||||||
// 发起支付入口(async)
|
// 发起支付入口(async)
|
||||||
const initiatePayment = async () => {
|
const initiatePayment = async () => {
|
||||||
try {
|
try {
|
||||||
|
|
|
||||||
|
|
@ -3,6 +3,9 @@
|
||||||
|
|
||||||
<!-- <view class="white-content"> -->
|
<!-- <view class="white-content"> -->
|
||||||
<image style="width: 200rpx;height:200rpx" :src="isjianhu?`https://www.focusnu.com/media/directive/index/jumpImge/jianhu.png`: `https://www.focusnu.com/media/directive/index/jumpImge/addold.png`" />
|
<image style="width: 200rpx;height:200rpx" :src="isjianhu?`https://www.focusnu.com/media/directive/index/jumpImge/jianhu.png`: `https://www.focusnu.com/media/directive/index/jumpImge/addold.png`" />
|
||||||
|
<view style="font-size: 35rpx;font-weight: 600;margin: 30rpx 0;">
|
||||||
|
{{ uni.getStorageSync('isstaffchange') ? '变更信息已提交' : '提交成功' }}
|
||||||
|
</view>
|
||||||
<view class="white-font">
|
<view class="white-font">
|
||||||
尊敬的用户,您已成功{{ ischange? '修改':"添加" }}{{ isjianhu?`监护人`: `长者` }}信息
|
尊敬的用户,您已成功{{ ischange? '修改':"添加" }}{{ isjianhu?`监护人`: `长者` }}信息
|
||||||
</view>
|
</view>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue