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