From a0bb8245f38adc5ef06d1d61584a75c5f433fcb5 Mon Sep 17 00:00:00 2001 From: scout <1134087124@qq.com> Date: Tue, 4 Mar 2025 15:12:17 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E4=BD=9C=E5=93=81=E5=90=8D?= =?UTF-8?q?=E7=A7=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/stores/userStore.js | 4 +- src/views/reg-details/index.vue | 195 ++++++++++++++------- src/views/upload-id-card/content/three.vue | 76 ++++++-- src/views/upload-id-card/index.vue | 5 +- 4 files changed, 203 insertions(+), 77 deletions(-) diff --git a/src/stores/userStore.js b/src/stores/userStore.js index c78e09e..15c525d 100644 --- a/src/stores/userStore.js +++ b/src/stores/userStore.js @@ -20,6 +20,7 @@ const iDCardImage=ref({ const recentPhoto = ref('') const artworkFile = ref('') const detailAddress=ref('') + const artWorkName=ref('') const submitReturnData=ref(storage.getItem('submitReturnData')) const temSubmitReturnData=ref(null) watch(submitReturnData,()=>{ @@ -35,6 +36,7 @@ const iDCardImage=ref({ detailAddress, submitReturnData, formatToCustomDate, - temSubmitReturnData + temSubmitReturnData, + artWorkName } }); diff --git a/src/views/reg-details/index.vue b/src/views/reg-details/index.vue index 4e1155c..017766b 100644 --- a/src/views/reg-details/index.vue +++ b/src/views/reg-details/index.vue @@ -180,22 +180,20 @@ const goRouter = () => { diff --git a/src/views/upload-id-card/index.vue b/src/views/upload-id-card/index.vue index c043be2..ace46c6 100644 --- a/src/views/upload-id-card/index.vue +++ b/src/views/upload-id-card/index.vue @@ -11,7 +11,7 @@ import { useUserStore } from "@/stores/userStore.js"; import { showToast } from "vant"; import { check_id_card, save_register_info } from "@/apis/index.js"; const userStore = useUserStore() -const { idCardInfo, iDCardImage, recentPhoto, artworkFile, telNum, selectAddress, detailAddress, submitReturnData } = storeToRefs(userStore); +const { idCardInfo, iDCardImage, recentPhoto, artworkFile, telNum, selectAddress, detailAddress, submitReturnData, artWorkName } = storeToRefs(userStore); const route = useRoute() const router = useRouter() const active = ref(Number(route.params.active)) @@ -45,7 +45,8 @@ const submitClick = async () => { idCardPhoto: iDCardImage.value.front, idCardBackPhoto: iDCardImage.value.back, artistPhoto: recentPhoto.value, - artworkFile: artworkFile.value + artworkFile: artworkFile.value, + artworkName: artWorkName.value } const res = await save_register_info(data) if (res.status === 0) {