flat: 暂存
This commit is contained in:
@@ -104,9 +104,12 @@ import {
|
||||
mapGetters
|
||||
} from 'vuex'
|
||||
import {
|
||||
phoneFilter, stringFilterNum
|
||||
phoneFilter,
|
||||
stringFilterNum
|
||||
} from '@/untils/format.js'
|
||||
import { labourUnionInfo } from '@/api/federation.js'
|
||||
import {
|
||||
labourUnionInfo
|
||||
} from '@/api/federation.js'
|
||||
export default {
|
||||
data() {
|
||||
return {
|
||||
@@ -114,9 +117,9 @@ export default {
|
||||
}
|
||||
},
|
||||
onLoad() {
|
||||
if (this.$store.state.user.token && this.authPass) {
|
||||
this.$store.dispatch('getVipCode')
|
||||
}
|
||||
// if (this.$store.state.user.token && this.authPass) {
|
||||
// this.$store.dispatch('getVipCode')
|
||||
// }
|
||||
},
|
||||
onShow() {
|
||||
if (!this.$store.state.user.token) {
|
||||
@@ -155,7 +158,8 @@ export default {
|
||||
phoneNumber: "18500206848"
|
||||
})
|
||||
},
|
||||
phoneFilter,stringFilterNum
|
||||
phoneFilter,
|
||||
stringFilterNum
|
||||
},
|
||||
computed: {
|
||||
...mapGetters(['userInfo', 'auth', 'authPass'])
|
||||
|
||||
@@ -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()
|
||||
|
||||
@@ -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>
|
||||
|
||||
@@ -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) {
|
||||
|
||||
BIN
static/img/businessLicense.jpg
Normal file
BIN
static/img/businessLicense.jpg
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 70 KiB |
@@ -50,7 +50,7 @@ const auth = {
|
||||
commit('SET_AUTH_BANKCARD', convert(authValue[2]))
|
||||
commit('SET_AUTH_INSURE', convert(authValue[3]))
|
||||
commit('SET_AUTH_INFO', data)
|
||||
dispatch('getVipCode')
|
||||
// dispatch('getVipCode')
|
||||
|
||||
resolve()
|
||||
}).catch(reject)
|
||||
@@ -70,7 +70,7 @@ const auth = {
|
||||
realName: name,
|
||||
idNumber: idNumber
|
||||
})
|
||||
dispatch('getVipCode')
|
||||
// dispatch('getVipCode')
|
||||
resolve()
|
||||
}).catch(reject)
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user