flat: 暂存
This commit is contained in:
@@ -104,9 +104,12 @@ import {
|
|||||||
mapGetters
|
mapGetters
|
||||||
} from 'vuex'
|
} from 'vuex'
|
||||||
import {
|
import {
|
||||||
phoneFilter, stringFilterNum
|
phoneFilter,
|
||||||
|
stringFilterNum
|
||||||
} from '@/untils/format.js'
|
} from '@/untils/format.js'
|
||||||
import { labourUnionInfo } from '@/api/federation.js'
|
import {
|
||||||
|
labourUnionInfo
|
||||||
|
} from '@/api/federation.js'
|
||||||
export default {
|
export default {
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
@@ -114,9 +117,9 @@ export default {
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
onLoad() {
|
onLoad() {
|
||||||
if (this.$store.state.user.token && this.authPass) {
|
// if (this.$store.state.user.token && this.authPass) {
|
||||||
this.$store.dispatch('getVipCode')
|
// this.$store.dispatch('getVipCode')
|
||||||
}
|
// }
|
||||||
},
|
},
|
||||||
onShow() {
|
onShow() {
|
||||||
if (!this.$store.state.user.token) {
|
if (!this.$store.state.user.token) {
|
||||||
@@ -155,7 +158,8 @@ export default {
|
|||||||
phoneNumber: "18500206848"
|
phoneNumber: "18500206848"
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
phoneFilter,stringFilterNum
|
phoneFilter,
|
||||||
|
stringFilterNum
|
||||||
},
|
},
|
||||||
computed: {
|
computed: {
|
||||||
...mapGetters(['userInfo', 'auth', 'authPass'])
|
...mapGetters(['userInfo', 'auth', 'authPass'])
|
||||||
|
|||||||
@@ -63,10 +63,10 @@
|
|||||||
if (resData.data.data) {
|
if (resData.data.data) {
|
||||||
resolve()
|
resolve()
|
||||||
} else {
|
} else {
|
||||||
this.$api.msg('您未申请开通该功能,请联系工作人员')
|
// this.$api.msg('您未申请开通该功能,请联系工作人员')
|
||||||
// this.navTo(
|
this.navTo(
|
||||||
// '/pages/recruit/subPage/enterpriceCertification/enterpriceCertification'
|
'/pages/recruit/subPage/enterpriceCertification/enterpriceCertification'
|
||||||
// )
|
)
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
reject()
|
reject()
|
||||||
|
|||||||
@@ -66,7 +66,7 @@
|
|||||||
</UploadIdNumber>
|
</UploadIdNumber>
|
||||||
</u-form-item>
|
</u-form-item>
|
||||||
<u-form-item labelWidth="100" prop="authUrlId">
|
<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>
|
</UploadIdNumber>
|
||||||
</u-form-item>
|
</u-form-item>
|
||||||
</view>
|
</view>
|
||||||
|
|||||||
@@ -1,8 +1,8 @@
|
|||||||
<template>
|
<template>
|
||||||
<view class="content">
|
<view class="content">
|
||||||
<u-upload :fileList="ImgUrl" @afterRead="afterRead" :deletable="true" @delete="deletePic" name="6" :maxCount="1"
|
<u-upload :fileList="ImgUrl" @afterRead="afterRead" :deletable="true" @delete="deletePic" name="6" :maxCount="1"
|
||||||
width="280" height="150">
|
:width="width" :height="height">
|
||||||
<image :src="backImg" mode="widthFix" style="width: 280px;height: 150px;"></image>
|
<image :src="backImg" mode="widthFix" :style="`width: ${width}px;height: ${height}px;`"></image>
|
||||||
</u-upload>
|
</u-upload>
|
||||||
</view>
|
</view>
|
||||||
</template>
|
</template>
|
||||||
@@ -21,7 +21,15 @@
|
|||||||
value: {
|
value: {
|
||||||
type: String,
|
type: String,
|
||||||
default: null
|
default: null
|
||||||
}
|
},
|
||||||
|
width: {
|
||||||
|
type: Number,
|
||||||
|
default: 250
|
||||||
|
},
|
||||||
|
height: {
|
||||||
|
type: Number,
|
||||||
|
default: 150
|
||||||
|
},
|
||||||
},
|
},
|
||||||
computed: {
|
computed: {
|
||||||
ImgUrl(val) {
|
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_BANKCARD', convert(authValue[2]))
|
||||||
commit('SET_AUTH_INSURE', convert(authValue[3]))
|
commit('SET_AUTH_INSURE', convert(authValue[3]))
|
||||||
commit('SET_AUTH_INFO', data)
|
commit('SET_AUTH_INFO', data)
|
||||||
dispatch('getVipCode')
|
// dispatch('getVipCode')
|
||||||
|
|
||||||
resolve()
|
resolve()
|
||||||
}).catch(reject)
|
}).catch(reject)
|
||||||
@@ -70,7 +70,7 @@ const auth = {
|
|||||||
realName: name,
|
realName: name,
|
||||||
idNumber: idNumber
|
idNumber: idNumber
|
||||||
})
|
})
|
||||||
dispatch('getVipCode')
|
// dispatch('getVipCode')
|
||||||
resolve()
|
resolve()
|
||||||
}).catch(reject)
|
}).catch(reject)
|
||||||
})
|
})
|
||||||
|
|||||||
Reference in New Issue
Block a user