This commit is contained in:
Phoenix 2025-04-16 19:29:56 +08:00
parent 2036e060ac
commit 36fcab91a3

View File

@ -4,22 +4,14 @@ import { contractView, signOffline } from "~/api/goods/index.js"
import { codeAuthStore } from "~/stores-collect-code/auth/index.js" import { codeAuthStore } from "~/stores-collect-code/auth/index.js"
import { useI18n } from "vue-i18n" import { useI18n } from "vue-i18n"
import { fddInfo } from "@/api-collect-code/goods/index.js" import { fddInfo } from "@/api-collect-code/goods/index.js"
<<<<<<< HEAD
=======
import { showLoadingToast } from 'vant'; import { showLoadingToast } from 'vant';
>>>>>>> xingyy
definePageMeta({ definePageMeta({
i18n: 'signature.protocol.title' i18n: 'signature.protocol.title'
}) })
const { t } = useI18n() const { t } = useI18n()
const { formData, number, qrData } = codeAuthStore() const { formData, number, qrData } = codeAuthStore()
<<<<<<< HEAD
const activeNames = ref([])
=======
const activeNames = ref('') const activeNames = ref('')
>>>>>>> xingyy
const router = useRouter() const router = useRouter()
const pmblUrl = ref('') const pmblUrl = ref('')
@ -82,14 +74,11 @@ const handleCollapseChange = (name) => {
* - 其他用户: 走非大陆签署流程 * - 其他用户: 走非大陆签署流程
*/ */
const confirm = async () => { const confirm = async () => {
<<<<<<< HEAD
=======
const toast= showLoadingToast({ const toast= showLoadingToast({
message: '加载中...', message: '加载中...',
forbidClick: true, forbidClick: true,
}); });
>>>>>>> xingyy
try { try {
const fddResponse = await fddInfo({ phone: formData.value.phone }) const fddResponse = await fddInfo({ phone: formData.value.phone })
@ -116,11 +105,8 @@ const toast= showLoadingToast({
} }
} catch (error) { } catch (error) {
console.error('签署确认失败:', error) console.error('签署确认失败:', error)
<<<<<<< HEAD
=======
}finally{ }finally{
toast.close(); toast.close();
>>>>>>> xingyy
} }
} }