flat: 暂存

This commit is contained in:
Apcallover
2024-04-18 14:30:35 +08:00
parent 6eb0768977
commit a044630563
6 changed files with 514 additions and 502 deletions

View File

@@ -63,10 +63,10 @@
if (resData.data.data) {
resolve()
} else {
this.$api.msg('您未申请开通该功能,请联系工作人员')
// this.navTo(
// '/pages/recruit/subPage/enterpriceCertification/enterpriceCertification'
// )
// this.$api.msg('您未申请开通该功能,请联系工作人员')
this.navTo(
'/pages/recruit/subPage/enterpriceCertification/enterpriceCertification'
)
}
} else {
reject()

View File

@@ -66,7 +66,7 @@
</UploadIdNumber>
</u-form-item>
<u-form-item labelWidth="100" prop="authUrlId">
<UploadIdNumber v-model="formData.authUrlId" backImg="/static/img/idcard.png">
<UploadIdNumber v-model="formData.authUrlId" backImg="/static/img/businessLicense.jpg">
</UploadIdNumber>
</u-form-item>
</view>

View File

@@ -1,8 +1,8 @@
<template>
<view class="content">
<u-upload :fileList="ImgUrl" @afterRead="afterRead" :deletable="true" @delete="deletePic" name="6" :maxCount="1"
width="280" height="150">
<image :src="backImg" mode="widthFix" style="width: 280px;height: 150px;"></image>
:width="width" :height="height">
<image :src="backImg" mode="widthFix" :style="`width: ${width}px;height: ${height}px;`"></image>
</u-upload>
</view>
</template>
@@ -21,7 +21,15 @@
value: {
type: String,
default: null
}
},
width: {
type: Number,
default: 250
},
height: {
type: Number,
default: 150
},
},
computed: {
ImgUrl(val) {