This commit is contained in:
wangweidong 2026-02-11 14:13:14 +08:00
parent 8e6fedd55f
commit 6b52b66b85
15 changed files with 115 additions and 81 deletions

View File

@ -9,13 +9,13 @@
<view style="font-size: 30rpx;">机构加盟</view>
</view>
</view>
<view :style="{height:`${uni.getStorageSync('moveHeight') + (code>0? 50:40)}px`}"></view>
<view :style="{height:`${uni.getStorageSync('moveHeight') + 40}px`}"></view>
<view class="contentred">
<view class="content-img" style="display: flex;align-items: center;justify-content: flex-end;color: red;" >
<text v-if="alldata.status==1" >待审核</text>
<text v-if="alldata.status==3&&code==0">审核驳回</text>
<text v-if="alldata.status==2&&code==0" style="color: #0089FE;">审核通过</text>
<view class="small-blue" @click="changeMessage" v-if="code>0">
<view class="small-blue" @click="changeMessage" v-if="code>0 && (alldata.orgStatus != '3' && alldata.orgStatus != '4') && (alldata.optType == 'rz' || (alldata.optType == 'bg' && (alldata.status == '2' || alldata.status == '3' )))">
编辑
</view>
</view>

View File

@ -187,7 +187,7 @@
uni.hideLoading()
uni.showToast({
title: '识别失败',
icon: 'error',
icon: 'none',
duration: 2000
})
uping.value = true;
@ -205,7 +205,7 @@
} else {
uni.showToast({
title: '识别失败',
icon: 'error',
icon: 'none',
duration: 2000
})
uping.value = true;
@ -215,7 +215,7 @@
fail: err => {
uni.showToast({
title: '上传出错',
icon: 'error'
icon: 'none'
})
uping.value = true;
uni.hideLoading()
@ -264,7 +264,7 @@
fail: err => {
uni.showToast({
title: '上传出错',
icon: 'error'
icon: 'none'
})
uni.hideLoading()
}
@ -299,7 +299,7 @@
} else {
uni.showToast({
title: '请上传清晰的营业执照',
icon: 'error'
icon: 'none'
})
}
}

View File

@ -14,6 +14,16 @@
</view>
</view>
<view :style="{height:`${uni.getStorageSync('moveHeight') + 30}px`}"></view>
<view class="contentred">
<view class="content-img" style="display: flex;align-items: center;justify-content: flex-end;color: red;" >
<text v-if="alldata.status==3">审核驳回</text>
<text v-if="alldata.status==2" style="color: #0089FE;">审核通过</text>
</view>
<view class="contentred-bgc" v-if="alldata.status==`3`">
驳回原因{{alldata.contentred}}
</view>
</view>
<view class="white-content">
<view class="content-title">
<view class="shu"></view>
@ -248,7 +258,7 @@
uni.hideLoading()
uni.showToast({
title: '识别失败',
icon: 'error',
icon: 'none',
duration: 2000
})
uping.value = true;
@ -277,7 +287,7 @@
uni.hideLoading()
uni.showToast({
title: '识别失败',
icon: 'error',
icon: 'none',
duration: 2000
})
uping.value = true;
@ -286,7 +296,7 @@
fail: err => {
uni.showToast({
title: '上传出错',
icon: 'error'
icon: 'none'
})
uni.hideLoading()
}
@ -355,7 +365,7 @@
fail: err => {
uni.showToast({
title: '上传出错',
icon: 'error'
icon: 'none'
})
uni.hideLoading()
}
@ -366,7 +376,7 @@
fail: err => {
uni.showToast({
title: '上传出错',
icon: 'error'
icon: 'none'
})
uni.hideLoading()
}
@ -647,4 +657,19 @@
.line {
margin: 10rpx 0;
}
.contentred{
width: 90%;
border-radius: 15rpx;
margin: 15rpx 0;
margin-left: 5%;
padding: 5rpx;
.contentred-bgc{
background-color: rgb(240,228,228);
border-radius: 15rpx;
color: red;
padding: 20rpx;
padding-bottom: 30rpx;
}
}
</style>

View File

@ -285,7 +285,7 @@
} else if (!form.orgBuildingArea) {
uni.showToast({
title: '请输入建筑面积',
icon: 'error'
icon: 'none'
})
return
}
@ -303,11 +303,11 @@
data.orgPropertyType = form.orgPropertyType
data.orgBuildingArea = form.orgBuildingArea
if (data.id === null) {
data.status = `4`
} else {
data.status = form.status
}
// if (data.id === null) {
// data.status = `4`
// } else {
// data.status = form.status
// }
uni.setStorageSync("backhuancun", data)
if (allNonEmpty) {
@ -316,11 +316,20 @@
if (data.endTime == '长期') {
data.endTime = swapLongTerm(data.endTime);
}
if((data.orgStatus != '3' && data.orgStatus != '4') && (data.optType == 'rz' || (data.optType == 'bg' && (data.status == '2' || data.status == '3' )))){
console.log(data.optType,data.status ,data.orgStatus)
if(data.optType == 'rz' && data.status == '3' && !data.orgStatus){
//
console.log(111111111111)
data.status = `1`
data.optType = "rz"
}
if((data.orgStatus != '3' && data.orgStatus != '4' && data.orgStatus) && (data.optType == 'rz' || (data.optType == 'bg' && (data.status == '2' || data.status == '3' )))){
//
console.log(222222222222)
data.status = `4`
data.optType = "bg"
}
console.log(data.optType,data.status ,data.orgStatus)
uni.setStorageSync("backhuancun", data)
changemessage(uni.getStorageSync('backhuancun'), ukey.value).then(res => {
if (res.success && res.result != '重复提交' && res.result != '未做变更') {
@ -353,7 +362,7 @@
} else {
uni.showToast({
title: '请完善信息',
icon: 'error'
icon: 'none'
})
}
}

View File

@ -203,18 +203,18 @@
// if (!form.relationship) {
// uni.showToast({
// title: '',
// icon: 'error'
// icon: 'none'
// })
// } else
if (!form.name) {
uni.showToast({
title: '请输入姓名',
icon: 'error'
icon: 'none'
})
} else if (!form.tel) {
uni.showToast({
title: '请输入电话号',
icon: 'error'
icon: 'none'
})
} else if (!isValid11DigitNumber(form.tel)) {
uni.showToast({
@ -225,7 +225,7 @@
} else if (!form.idCard) {
uni.showToast({
title: '请输入身份证号',
icon: 'error'
icon: 'none'
})
} else if (!isValid18DigitNumber(form.idCard)) {
uni.showToast({
@ -236,12 +236,12 @@
} else if (!form.homeAddress) {
uni.showToast({
title: '请输入家庭住址',
icon: 'error'
icon: 'none'
})
} else if (!form.workUnit) {
uni.showToast({
title: '请输入工作单位',
icon: 'error'
icon: 'none'
})
} else {
if (uni.getStorageSync('allinfo').name) {
@ -267,7 +267,7 @@
if (res.data.result == '重复提交') {
uni.showToast({
title: `重复提交`,
icon: 'error'
icon: 'none'
})
return
}
@ -314,7 +314,7 @@
if (res.data.result == '重复提交') {
uni.showToast({
title: `重复提交`,
icon: 'error'
icon: 'none'
})
return
}
@ -444,7 +444,7 @@
uni.hideLoading()
uni.showToast({
title: '识别失败',
icon: 'error',
icon: 'none',
duration: 2000
})
uping.value = true;
@ -466,7 +466,7 @@
fail: err => {
uni.showToast({
title: '上传出错',
icon: 'error'
icon: 'none'
})
uni.hideLoading()
}
@ -514,7 +514,7 @@
fail: err => {
uni.showToast({
title: '上传出错',
icon: 'error'
icon: 'none'
})
uni.hideLoading()
}

View File

@ -86,7 +86,7 @@
fail: err => {
uni.showToast({
title: '上传出错',
icon: 'error'
icon: 'none'
})
}

View File

@ -353,7 +353,7 @@
uni.hideLoading()
uni.showToast({
title: '识别失败',
icon: 'error',
icon: 'none',
duration: 2000
})
uping.value = true;
@ -390,7 +390,7 @@
uni.hideLoading()
uni.showToast({
title: '识别失败',
icon: 'error',
icon: 'none',
duration: 2000
})
uping.value = true;
@ -401,7 +401,7 @@
fail: err => {
uni.showToast({
title: '上传出错',
icon: 'error'
icon: 'none'
})
uni.hideLoading()
}
@ -473,7 +473,7 @@
fail: err => {
uni.showToast({
title: '上传出错',
icon: 'error'
icon: 'none'
})
uni.hideLoading()
}
@ -484,7 +484,7 @@
fail: err => {
uni.showToast({
title: '上传出错',
icon: 'error'
icon: 'none'
})
uni.hideLoading()
}
@ -691,7 +691,7 @@
if (res.data.result == '重复提交') {
uni.showToast({
title: `重复提交`,
icon: 'error'
icon: 'none'
})
return
}
@ -774,7 +774,7 @@
} else {
uni.showToast({
title: '请上传清晰的身份证',
icon: 'error'
icon: 'none'
})
}
}

View File

@ -96,7 +96,7 @@
fail: err => {
uni.showToast({
title: '上传出错',
icon: 'error'
icon: 'none'
})
}

View File

@ -241,7 +241,7 @@
uni.hideLoading()
uni.showToast({
title: '识别失败',
icon: 'error',
icon: 'none',
duration: 2000
})
uping.value = true;
@ -268,7 +268,7 @@
uni.hideLoading()
uni.showToast({
title: '识别失败',
icon: 'error',
icon: 'none',
duration: 2000
})
uping.value = true;
@ -277,7 +277,7 @@
fail: err => {
uni.showToast({
title: '上传出错',
icon: 'error'
icon: 'none'
})
uni.hideLoading()
}
@ -346,7 +346,7 @@
fail: err => {
uni.showToast({
title: '上传出错',
icon: 'error'
icon: 'none'
})
uni.hideLoading()
}
@ -357,7 +357,7 @@
fail: err => {
uni.showToast({
title: '上传出错',
icon: 'error'
icon: 'none'
})
uni.hideLoading()
}
@ -378,13 +378,13 @@
if (!fontphoto.value) {
uni.showToast({
title: '请上传身份证正面',
icon: 'error'
icon: 'none'
})
return
} else if (!endphoto.value) {
uni.showToast({
title: '请上传身份证背面',
icon: 'error'
icon: 'none'
})
return
}
@ -420,7 +420,7 @@
} else {
uni.showToast({
title: '请上传清晰的身份证',
icon: 'error'
icon: 'none'
})
}
}

View File

@ -245,7 +245,7 @@
fail: err => {
uni.showToast({
title: '上传出错',
icon: 'error'
icon: 'none'
})
uni.hideLoading()
}
@ -316,7 +316,7 @@
fail: err => {
uni.showToast({
title: '上传出错',
icon: 'error'
icon: 'none'
})
uni.hideLoading()
}
@ -327,7 +327,7 @@
fail: err => {
uni.showToast({
title: '上传出错',
icon: 'error'
icon: 'none'
})
uni.hideLoading()
}
@ -379,7 +379,7 @@
// } else {
// uni.showToast({
// title: '',
// icon: 'error'
// icon: 'none'
// })
// }
}

View File

@ -267,7 +267,7 @@
fail: err => {
uni.showToast({
title: '上传出错',
icon: 'error'
icon: 'none'
})
uni.hideLoading()
}
@ -289,7 +289,7 @@
const next = () => {
// uni.showToast({
// title: "999999999999999999",
// icon: 'error'
// icon: 'none'
// })
if (!uping.value) {
@ -297,7 +297,7 @@
}
// uni.showToast({
// title: "888888888888",
// icon: 'error'
// icon: 'none'
// })
let data = uni.getStorageSync('backhuancun');
data.healthZmPath = imgArray[0]
@ -312,24 +312,24 @@
// uni.showToast({
// title: "888888888888",
// icon: 'error'
// icon: 'none'
// })
console.log("AAAA", data, ukey.value)
changemessage(data, ukey.value).then(res => {
console.log("BBBB", res)
// uni.showToast({
// title: res,
// // icon: 'error'
// // icon: 'none'
// })
// uni.showToast({
// title: res.result,
// // icon: 'error'
// // icon: 'none'
// })
// return
if (res.result == '重复提交') {
uni.showToast({
title: `重复提交`,
icon: 'error'
icon: 'none'
})
return
}
@ -364,7 +364,7 @@
// } else {
// uni.showToast({
// title: res.message,
// icon: 'error'
// icon: 'none'
// })
// }
})

View File

@ -301,38 +301,38 @@
if (!form.maritalStatus) {
uni.showToast({
title: '请输入婚否',
icon: 'error'
icon: 'none'
})
} else if (!form.tel) {
uni.showToast({
title: '请输入联系电话',
icon: 'error'
icon: 'none'
})
} else if (!isValid11DigitNumber(form.tel)) {
uni.showToast({
title: '手机号格式错误',
icon: 'error'
icon: 'none'
})
return
} else if (!form.height) {
uni.showToast({
title: '请输入身高',
icon: 'error'
icon: 'none'
})
} else if (!form.weight) {
uni.showToast({
title: '请输入体重',
icon: 'error'
icon: 'none'
})
} else if (!form.healthStatus) {
uni.showToast({
title: '请输入健康状态',
icon: 'error'
icon: 'none'
})
} else if (!form.politicalAppearance) {
uni.showToast({
title: '请输入政治面貌',
icon: 'error'
icon: 'none'
})
} else if (!form.contactName) {
uni.showToast({
@ -358,12 +358,12 @@
} else if (!form.hukouType) {
uni.showToast({
title: '请输入户口性质',
icon: 'error'
icon: 'none'
})
} else if (!form.currentAddress) {
uni.showToast({
title: '请输入现住址',
icon: 'error'
icon: 'none'
})
} else {
const data = form

View File

@ -277,7 +277,7 @@
uni.hideLoading()
uni.showToast({
title: '识别失败',
icon: 'error',
icon: 'none',
duration: 2000
})
uping.value = true;
@ -296,7 +296,7 @@
} else {
uni.showToast({
title: '识别失败',
icon: 'error',
icon: 'none',
duration: 2000
})
uping.value = true;
@ -306,7 +306,7 @@
fail: err => {
uni.showToast({
title: '上传出错',
icon: 'error'
icon: 'none'
})
uping.value = true;
uni.hideLoading()
@ -366,7 +366,7 @@
fail: err => {
uni.showToast({
title: '上传出错',
icon: 'error'
icon: 'none'
})
uni.hideLoading()
}
@ -475,11 +475,11 @@
}
addSuppliers(form).then((res) => {
if (res.code == 500) {
uni.hideLoading()
uni.showToast({
title: res.message,
icon: 'none'
})
uni.hideLoading()
return
}
let data = {

View File

@ -191,7 +191,7 @@
if (!data) {
uni.showToast({
title: '服务器无响应',
icon: 'error'
icon: 'none'
});
return;
}
@ -203,7 +203,7 @@
// 使
uni.showToast({
title: '支付信息获取失败',
icon: 'error'
icon: 'none'
});
console.error('支付返回:', data);
}
@ -212,7 +212,7 @@
console.error('请求失败:', err);
uni.showToast({
title: '请求失败',
icon: 'error'
icon: 'none'
});
}
};
@ -267,7 +267,7 @@
console.error('WeixinJSBridge 调用异常', e);
uni.showToast({
title: '支付调用失败',
icon: 'error'
icon: 'none'
});
reject(e);
}
@ -315,7 +315,7 @@
console.error('uni.requestPayment 调用异常', e);
uni.showToast({
title: '支付调用失败',
icon: 'error'
icon: 'none'
});
reject(e);
}

View File

@ -89,7 +89,7 @@
}else{
uni.showToast({
title: '支付失败',
icon: 'error'
icon: 'none'
})
}
})