fix:曲阳证件照更改为人员照片

This commit is contained in:
shijing 2023-09-07 10:32:43 +08:00
parent 7e68104923
commit e9263cd087
5 changed files with 7 additions and 7 deletions

View File

@ -2,8 +2,8 @@
"name" : "曲阳金隅EHS", "name" : "曲阳金隅EHS",
"appid" : "__UNI__B00D419", "appid" : "__UNI__B00D419",
"description" : "曲阳金隅EHS", "description" : "曲阳金隅EHS",
"versionName" : "2.01.01", "versionName" : "2.01.03",
"versionCode" : 200101, "versionCode" : 200103,
"transformPx" : false, "transformPx" : false,
/* 5+App */ /* 5+App */
"app-plus" : { "app-plus" : {

View File

@ -59,7 +59,7 @@
</view> </view>
</view> </view>
<view class="item"> <view class="item">
<view class="title">证件照</view> <view class="title">人员照片</view>
<view class="content"> <view class="content">
<!-- <u-upload ref="uUpload" :file-list="fileList" :max-count="1" ></u-upload> --> <!-- <u-upload ref="uUpload" :file-list="fileList" :max-count="1" ></u-upload> -->
<image :src="userInfo.photo" @click="preView(userInfo.photo)"></image> <image :src="userInfo.photo" @click="preView(userInfo.photo)"></image>

View File

@ -20,7 +20,7 @@
</view> </view>
</view> </view>
<view class="item item_bottom_border" style="height: fit-content;" v-if="!hasPhoto"> <view class="item item_bottom_border" style="height: fit-content;" v-if="!hasPhoto">
<view class="title">证件照</view> <view class="title">人员照片</view>
<view style="flex: 3;"> <view style="flex: 3;">
<u-upload :action="vuex_apifile" :header="header" ref="uUpload" <u-upload :action="vuex_apifile" :header="header" ref="uUpload"
:file-list="fileList" max-count="1" @on-success="imgUpSuccess" ></u-upload> :file-list="fileList" max-count="1" @on-success="imgUpSuccess" ></u-upload>
@ -100,7 +100,7 @@
} }
if (!nonNullCheck(this.userInfo.photo)) { if (!nonNullCheck(this.userInfo.photo)) {
uni.showToast({ uni.showToast({
title: '请选择证件照', title: '请选择人员照片',
icon: "none" icon: "none"
}) })
return false; return false;

View File

@ -27,7 +27,7 @@
</view> </view>
<view class="item" style="height: fit-content;"> <view class="item" style="height: fit-content;">
<text class="star">*</text> <text class="star">*</text>
<view class="title">证件照</view> <view class="title">人员照片</view>
<view style="flex: 3;"> <view style="flex: 3;">
<u-upload :action="vuex_apifile" :header="upHeader" ref="uUpload" <u-upload :action="vuex_apifile" :header="upHeader" ref="uUpload"
max-count="1" :file-list="fileList" @on-success="imgUpSuccess"></u-upload> max-count="1" :file-list="fileList" @on-success="imgUpSuccess"></u-upload>

View File

@ -361,7 +361,7 @@
this.preImg = true; this.preImg = true;
if(srcImg=='' || srcImg == null){ if(srcImg=='' || srcImg == null){
uni.showToast({ uni.showToast({
title: '未上传证件照片', title: '未上传照片',
icon: 'none' icon: 'none'
}) })
} }