This commit is contained in:
wangweidong 2026-02-12 15:04:14 +08:00
parent 21e2c98458
commit c03d05503f
14 changed files with 59 additions and 43 deletions

View File

@ -387,13 +387,13 @@
const next = () => {
if (!fontphoto.value) {
uni.showToast({
title: '请上传身份证面',
title: '请上传身份证人像面',
icon: 'none'
})
return
} else if (!endphoto.value) {
uni.showToast({
title: '请上传身份证面',
title: '请上传身份证国徽面',
icon: 'none'
})
return

View File

@ -488,6 +488,9 @@
if (firstDot !== lastDot) {
cleaned = value.slice(0, lastDot);
}
if(cleaned>9999.99){
cleaned = 9999.99
}
// 4
if (cleaned.includes('.')) {

View File

@ -54,7 +54,7 @@
</view>
<view class="content-title" style="margin: 20rpx 0;">
<view class="shu"></view>
<view class="content-weight">确认身份证信息</view>
<view class="content-weight">身份证信息</view>
</view>
<view class="white-message">
<view>

View File

@ -68,7 +68,7 @@
<view class="white-photo" @click="getMessage(headImge)">
<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"
@ -82,7 +82,7 @@
<view class="white-photo" style="margin-top: 30rpx;" @click="getMessage(backImge)">
<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"
@ -95,7 +95,7 @@
</view>
<view class="content-title" style="margin: 20rpx 0;">
<view class="shu"></view>
<view class="content-weight">确认身份证信息</view>
<view class="content-weight">身份证信息</view>
</view>
<view class="white-message">
<view>
@ -113,10 +113,10 @@
<view class="content-weight">银行卡</view>
<view style="margin-top: 8rpx;margin-left: 12rpx;;font-size: 23rpx;">(选填)</view>
</view>
<view class="white-photo" @click="getMessage(fontphoto0)">
<view class="white-photo" @click="getMessage(fontphoto0,alldata.bankZmPath,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"
@ -129,10 +129,10 @@
</view>
</view>
<view class="white-photo" style="margin-top: 30rpx;" @click="getMessage(endphoto0)">
<view class="white-photo" style="margin-top: 30rpx;" @click="getMessage(endphoto0,alldata.bankFmPath,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"
@ -147,7 +147,7 @@
</view>
<view class="content-title" style="margin: 30rpx 0;">
<view class="shu"></view>
<view class="content-weight">确认银行卡信息</view>
<view class="content-weight">银行卡信息</view>
</view>
<view class="white-message">
<view>
@ -166,10 +166,10 @@
<view style="margin-top: 8rpx;margin-left: 12rpx;;font-size: 23rpx;">(选填)</view>
</view>
<view class="white-photo"
@click="getMessage(imgArray[0] ? `${media_base_url}${imgArray[0]}` : '')">
@click="getMessage((imgArray[0] ? `${media_base_url}${imgArray[0]}` : ''),imgArray[0],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" :src="imgArray[0] ? `${media_base_url}${imgArray[0]}` : ``" />
@ -206,7 +206,7 @@
<view style="margin-top: 8rpx;margin-left: 12rpx;;font-size: 23rpx;">(选填)</view>
</view>
<view class="white-photo"
@click="getMessage(imgArray[2] ? `${media_base_url}${imgArray[2]}` : '')">
@click="getMessage((imgArray[2] ? `${media_base_url}${imgArray[2]}` : ''),imgArray[2],1)">
<view class="photo-left">
<view class="photo-weight">资质证</view>
<view class="photo-font">请上传资质证</view>
@ -229,7 +229,7 @@
<view style="margin-top: 8rpx;margin-left: 12rpx;;font-size: 23rpx;">(选填)</view>
</view>
<view class="white-photo"
@click="getMessage(imgArray[3] ? `${media_base_url}${imgArray[3]}` : '')">
@click="getMessage((imgArray[3] ? `${media_base_url}${imgArray[3]}` : ''),imgArray[3],1)">
<view class="photo-left">
<view class="photo-weight">无犯罪证明</view>
<view class="photo-font">请上传无犯罪证明</view>
@ -303,7 +303,14 @@
const tempImagePath = ref('')
//
function getMessage(url) {
function getMessage(url,u,d) {
if(d==1&&!u){
uni.showToast({
icon:'none',
title:"没有可预览图片!"
})
return
}
if (!url) {
return
}

View File

@ -54,14 +54,16 @@
</view>
<view class="content-title" style="margin: 20rpx 0;">
<view class="shu"></view>
<view class="content-weight">确认银行卡信息</view>
<view class="content-weight">银行卡信息</view>
</view>
<view class="white-message">
<view>
<view v-for="(item,index) in nameArray" :key="index" class="one"
@click="openLook(textArray[index])">
<view class="one-left">{{item}}</view>
<view class="one-right">{{textArray[index] ? textArray[index] : "自动获取" }}</view>
<input style="cursor: not-allowed; " class="one-right" type="text" @click.stop
placeholder="自动获取" v-model="textArray[index]" />
<!-- <view class="one-right">{{ ? textArray[index] : "自动获取" }}</view> -->
</view>
</view>
</view>
@ -365,7 +367,20 @@
if (!uping.value) {
return
}
if (!textArray[0]) {
uni.showToast({
title: '请输入开户行',
icon: 'none'
})
return
}
if (!textArray[1]) {
uni.showToast({
title: '请输入银行卡号',
icon: 'none'
})
return
}
// if (allNonEmpty) {
let data = uni.getStorageSync('backhuancun')
data.openingBank = textArray[0]

View File

@ -60,12 +60,9 @@
<image class="one-left-imge" src="https://www.focusnu.com/media/directive/index/canread.png" />
</view>
<view class="one" style="position: relative;">
<view class="one-left">身高</view>
<view class="one-left">身高cm</view>
<input class="one-right" type="number" maxlength="10" placeholder="请输入身高"
v-model="form.height" />
<view class="triangle-down-mi">
cm
</view>
<image class="one-left-imge" src="https://www.focusnu.com/media/directive/index/canread.png" />
<!-- <image class="triangle-down" src="https://www.focusnu.com/media/directive/login/xia.png" /> -->
</view>
@ -73,12 +70,9 @@
:default-value="[showshengaolist.findIndex(item => item.value == form.height)]"
@confirm="confirmshowshengao"></u-select>
<view class="one" style="position: relative;">
<view class="one-left">体重</view>
<view class="one-left">体重kg</view>
<input class="one-right" type="number" maxlength="10" placeholder="请输入体重"
v-model="form.weight" />
<view class="triangle-down-mi">
kg
</view>
<image class="one-left-imge" src="https://www.focusnu.com/media/directive/index/canread.png" />
<!-- <image class="triangle-down" src="https://www.focusnu.com/media/directive/login/xia.png" /> -->
</view>
@ -300,7 +294,7 @@
const next = () => {
if (!form.maritalStatus) {
uni.showToast({
title: '请输入婚否',
title: '请选择婚否',
icon: 'none'
})
} else if (!form.tel) {
@ -326,12 +320,12 @@
})
} else if (!form.healthStatus) {
uni.showToast({
title: '请输入健康状态',
title: '请选择健康状况',
icon: 'none'
})
} else if (!form.politicalAppearance) {
uni.showToast({
title: '请输入政治面貌',
title: '请选择政治面貌',
icon: 'none'
})
} else if (!form.contactName) {
@ -357,7 +351,7 @@
})
} else if (!form.hukouType) {
uni.showToast({
title: '请输入户口性质',
title: '请选择户口性质',
icon: 'none'
})
} else if (!form.currentAddress) {

View File

@ -138,7 +138,6 @@
display: flex;
align-items: center;
line-height: 50rpx;
text-align: center
}
.title-photo {

View File

@ -34,7 +34,7 @@
<view class="white-photo" @click="getMessage(headImge)">
<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"
@ -48,7 +48,7 @@
</view>
<view class="white-content">
<view class="content-title" :style="!applyStatus?{height: `100rpx`}:{height: `140rpx`}"
style="position: relative;margin-bottom: 20rpx;z-index: 999;">
style="position: relative;margin-bottom: 20rpx;z-index: 2;">
<view class="shu"></view>
<view class="content-weight">供应商信息</view>

View File

@ -60,7 +60,7 @@
<view>
<view class="one">
<view class="one-left">供应商名称</view>
<input class="one-right" maxlength="20" disabled placeholder="请输入供应商名称"
<input class="one-right" maxlength="20" disabled placeholder="自动获取"
v-model="form.suppliersName" />
</view>
@ -75,7 +75,7 @@
@confirm="confirmmarry"></u-select>
<view class="one">
<view class="one-left">供应商地址</view>
<input class="one-right" maxlength="50" disabled placeholder="请输入供应商地址"
<input class="one-right" maxlength="50" disabled placeholder="自动获取"
v-model="form.suppliersAddress" />
</view>
<view class="one">
@ -383,7 +383,7 @@
}
if (!form.suppliersName) {
uni.showToast({
title: '请输入供应商名称',
title: '请上传营业执照',
icon: 'none'
})
} else if (!form.suppliersNature) {

View File

@ -138,7 +138,6 @@
display: flex;
align-items: center;
line-height: 50rpx;
text-align: center
}
.title-photo {

View File

@ -66,7 +66,7 @@
// uni.setStorageSync('platId', res.result.platId);
})
const cardMenu = [ `审核记录`, `机构功能`]
const cardMenu = [ `审核记录` ]
const change = () => {
uni.navigateTo({

View File

@ -56,7 +56,7 @@
</view>
</swiper-item>
<swiper-item style="position: relative;">
<image class="title-img" :src="`https://www.focusnu.com/media/xcx/gys.png`" />
<image class="title-img" :src="`https://www.focusnu.com/media/xcx/gys.png`" style="top: 215rpx;"/>
<view style="width: 100%;padding-left: 75rpx;padding-right: 75rpx;position: absolute;left: 0;bottom: 150rpx;">
<view class="title-name">
<!-- <view class="gray-heng"></view> -->

View File

@ -108,7 +108,6 @@
width: 100%;
font-size: 28rpx;
color: #666666;
text-align: center;
}
}
}

View File

@ -1,9 +1,9 @@
// 全局请求封装
// export const base_url = 'http://192.168.2.37: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 base_url = 'http://192.168.2.24:8081/opeapi'
// export const base_url = 'http://192.168.2.24:8081/opeapi'
// export const base_url = 'http://192.168.2.27:8081/opeapi'
// 请求超出时间
const timeout = 5000