diff --git a/pages/addjigou/name.vue b/pages/addjigou/name.vue index ff38865..a0570d4 100644 --- a/pages/addjigou/name.vue +++ b/pages/addjigou/name.vue @@ -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 diff --git a/pages/addjigou/where.vue b/pages/addjigou/where.vue index eec9656..33a366e 100644 --- a/pages/addjigou/where.vue +++ b/pages/addjigou/where.vue @@ -488,6 +488,9 @@ if (firstDot !== lastDot) { cleaned = value.slice(0, lastDot); } + if(cleaned>9999.99){ + cleaned = 9999.99 + } // 限制小数点后只能有最多 4 位 if (cleaned.includes('.')) { diff --git a/pages/addstaff/IDcard.vue b/pages/addstaff/IDcard.vue index 6ad4700..c5583e4 100644 --- a/pages/addstaff/IDcard.vue +++ b/pages/addstaff/IDcard.vue @@ -54,7 +54,7 @@ - 确认身份证信息 + 身份证信息 diff --git a/pages/addstaff/all.vue b/pages/addstaff/all.vue index 15cbcdb..dbb5608 100644 --- a/pages/addstaff/all.vue +++ b/pages/addstaff/all.vue @@ -68,7 +68,7 @@ 人像面 - 请上传身份证人像面 + 国徽面 - 请上传身份证国徽面 + - 确认身份证信息 + 身份证信息 @@ -113,10 +113,10 @@ 银行卡 (选填) - + 银行卡正面 - 请上传银行卡正面 + - + 银行卡反面 - 请上传银行卡反面 + - 确认银行卡信息 + 银行卡信息 @@ -166,10 +166,10 @@ (选填) + @click="getMessage((imgArray[0] ? `${media_base_url}${imgArray[0]}` : ''),imgArray[0],1)"> 健康证正面 - 请上传健康证正面 + @@ -206,7 +206,7 @@ (选填) + @click="getMessage((imgArray[2] ? `${media_base_url}${imgArray[2]}` : ''),imgArray[2],1)"> 资质证 请上传资质证 @@ -229,7 +229,7 @@ (选填) + @click="getMessage((imgArray[3] ? `${media_base_url}${imgArray[3]}` : ''),imgArray[3],1)"> 无犯罪证明 请上传无犯罪证明 @@ -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 } diff --git a/pages/addstaff/bankcard.vue b/pages/addstaff/bankcard.vue index b0e2a3a..307e21e 100644 --- a/pages/addstaff/bankcard.vue +++ b/pages/addstaff/bankcard.vue @@ -54,14 +54,16 @@ - 确认银行卡信息 + 银行卡信息 {{item}} - {{textArray[index] ? textArray[index] : "自动获取" }} + + @@ -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] diff --git a/pages/addstaff/information.vue b/pages/addstaff/information.vue index 22ec34d..deafdf0 100644 --- a/pages/addstaff/information.vue +++ b/pages/addstaff/information.vue @@ -60,12 +60,9 @@ - 身高 + 身高cm - - cm - @@ -73,12 +70,9 @@ :default-value="[showshengaolist.findIndex(item => item.value == form.height)]" @confirm="confirmshowshengao"> - 体重 + 体重kg - - kg - @@ -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) { diff --git a/pages/addstaff/successpush.vue b/pages/addstaff/successpush.vue index b6c9142..1c8ecec 100644 --- a/pages/addstaff/successpush.vue +++ b/pages/addstaff/successpush.vue @@ -138,7 +138,6 @@ display: flex; align-items: center; line-height: 50rpx; - text-align: center } .title-photo { diff --git a/pages/addsupplier/all.vue b/pages/addsupplier/all.vue index 03e4177..8b864a5 100644 --- a/pages/addsupplier/all.vue +++ b/pages/addsupplier/all.vue @@ -34,7 +34,7 @@ - 请上传营业执照 + 营业执照 + style="position: relative;margin-bottom: 20rpx;z-index: 2;"> 供应商信息 diff --git a/pages/addsupplier/information.vue b/pages/addsupplier/information.vue index 25525f8..7212a67 100644 --- a/pages/addsupplier/information.vue +++ b/pages/addsupplier/information.vue @@ -60,7 +60,7 @@ 供应商名称 - @@ -75,7 +75,7 @@ @confirm="confirmmarry"> 供应商地址 - @@ -383,7 +383,7 @@ } if (!form.suppliersName) { uni.showToast({ - title: '请输入供应商名称', + title: '请上传营业执照', icon: 'none' }) } else if (!form.suppliersNature) { diff --git a/pages/addsupplier/successpush.vue b/pages/addsupplier/successpush.vue index 4b17184..8283838 100644 --- a/pages/addsupplier/successpush.vue +++ b/pages/addsupplier/successpush.vue @@ -138,7 +138,6 @@ display: flex; align-items: center; line-height: 50rpx; - text-align: center } .title-photo { diff --git a/pages/index/mine.vue b/pages/index/mine.vue index 85a6d5f..85fdbc4 100644 --- a/pages/index/mine.vue +++ b/pages/index/mine.vue @@ -66,7 +66,7 @@ // uni.setStorageSync('platId', res.result.platId); }) - const cardMenu = [ `审核记录`, `机构功能`] + const cardMenu = [ `审核记录` ] const change = () => { uni.navigateTo({ diff --git a/pages/login/xuanchuan.vue b/pages/login/xuanchuan.vue index 4805ac5..8e6e7c8 100644 --- a/pages/login/xuanchuan.vue +++ b/pages/login/xuanchuan.vue @@ -56,7 +56,7 @@ - + diff --git a/pages/oldmanindex/oldmansuccess.vue b/pages/oldmanindex/oldmansuccess.vue index d3973c5..1415720 100644 --- a/pages/oldmanindex/oldmansuccess.vue +++ b/pages/oldmanindex/oldmansuccess.vue @@ -108,7 +108,6 @@ width: 100%; font-size: 28rpx; color: #666666; - text-align: center; } } } diff --git a/request/index.js b/request/index.js index 0768da9..7597bd5 100644 --- a/request/index.js +++ b/request/index.js @@ -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