|
|
@@ -324,10 +324,12 @@ export default {
|
|
|
let next = '/cert'
|
|
|
// F2、F3 认证,判断是否已上传图片
|
|
|
if (this.id === '20' || this.id === '21') {
|
|
|
- next = encodeURIComponent(`${next}?attachment=${this.certVerifyUrl}`)
|
|
|
- if (!this.certVerifyUrl) {
|
|
|
+ // 由于不知道后端的状态值,前端均以 btn_name 判断状态
|
|
|
+ if (!this.certVerifyUrl && this.detail.btn_name === '未达标') {
|
|
|
this.$message.error('请先上传职级证明图片')
|
|
|
return
|
|
|
+ } else {
|
|
|
+ next = encodeURIComponent(`${next}?attachment=${this.certVerifyUrl}`)
|
|
|
}
|
|
|
}
|
|
|
if (screenWidth > 480) {
|