|
@@ -27,14 +27,14 @@
|
|
|
<template #input>
|
|
<template #input>
|
|
|
<Image fit="contain" :src="getFileUrl(formData.cardbackphotourl)" width="100" height="100"
|
|
<Image fit="contain" :src="getFileUrl(formData.cardbackphotourl)" width="100" height="100"
|
|
|
v-if="isReadonly" />
|
|
v-if="isReadonly" />
|
|
|
- <app-uploader @success="b_afterRead" />
|
|
|
|
|
|
|
+ <app-uploader @success="b_afterRead" v-else />
|
|
|
</template>
|
|
</template>
|
|
|
</Field>
|
|
</Field>
|
|
|
<Field name="halfbodyphotourl" v-if="showHalfBodyPhoto === '1'" :label="halfBodyPhotoTitle" :rules="formRules.halfbodyphotourl">
|
|
<Field name="halfbodyphotourl" v-if="showHalfBodyPhoto === '1'" :label="halfBodyPhotoTitle" :rules="formRules.halfbodyphotourl">
|
|
|
<template #input>
|
|
<template #input>
|
|
|
<Image fit="contain" :src="getFileUrl(formData.halfbodyphotourl)" width="100" height="100"
|
|
<Image fit="contain" :src="getFileUrl(formData.halfbodyphotourl)" width="100" height="100"
|
|
|
v-if="isReadonly" />
|
|
v-if="isReadonly" />
|
|
|
- <app-uploader @success="h_afterRead" />
|
|
|
|
|
|
|
+ <app-uploader @success="h_afterRead" v-else />
|
|
|
</template>
|
|
</template>
|
|
|
</Field>
|
|
</Field>
|
|
|
</CellGroup>
|
|
</CellGroup>
|
|
@@ -59,11 +59,11 @@ import { queryTencentUsereSignRecords, requestCheckCardNum } from '@/services/ap
|
|
|
import { addAuthReq } from '@/business/user/account';
|
|
import { addAuthReq } from '@/business/user/account';
|
|
|
import { validateRules } from '@/constants/regex';
|
|
import { validateRules } from '@/constants/regex';
|
|
|
import { useUserStore } from '@/stores'
|
|
import { useUserStore } from '@/stores'
|
|
|
-import AppSelect from '@mobile/components/base/select/index.vue'
|
|
|
|
|
-import AppUploader from '@mobile/components/base/uploader/index.vue'
|
|
|
|
|
import { useNavigation } from '@mobile/router/navigation'
|
|
import { useNavigation } from '@mobile/router/navigation'
|
|
|
import { getWskhOpenAccountConfigs } from '@/services/api/account'
|
|
import { getWskhOpenAccountConfigs } from '@/services/api/account'
|
|
|
import { getUserId, getMemberUserId } from '@/services/methods/user'
|
|
import { getUserId, getMemberUserId } from '@/services/methods/user'
|
|
|
|
|
+import AppSelect from '@mobile/components/base/select/index.vue'
|
|
|
|
|
+import AppUploader from '@mobile/components/base/uploader/index.vue'
|
|
|
|
|
|
|
|
const { router } = useNavigation()
|
|
const { router } = useNavigation()
|
|
|
const userStore = useUserStore()
|
|
const userStore = useUserStore()
|
|
@@ -147,7 +147,7 @@ const formRules: { [key in keyof Model.AddAuthReq]?: FieldRule[] } = {
|
|
|
}],
|
|
}],
|
|
|
cardbackphotourl: [{
|
|
cardbackphotourl: [{
|
|
|
required: true,
|
|
required: true,
|
|
|
- message: '请上传证件背面照片',
|
|
|
|
|
|
|
+ message: '请上传证件反面照片',
|
|
|
}],
|
|
}],
|
|
|
cardfrontphotourl: [{
|
|
cardfrontphotourl: [{
|
|
|
required: true,
|
|
required: true,
|