|
@@ -1,5 +1,5 @@
|
|
|
import { shallowRef, reactive } from 'vue'
|
|
import { shallowRef, reactive } from 'vue'
|
|
|
-import { useLoginStore, useAccountStore } from '@/stores'
|
|
|
|
|
|
|
+import { useLoginStore, useAccountStore, useUserStore } from '@/stores'
|
|
|
import { investorDel, modifyPassword, requestAddAuth, requestAddUser, requestCreateContractAndAddSigner, requestCreateFlowByTemplateDirectly, requestSignCompleted, requestWillFace } from '@/services/api/account'
|
|
import { investorDel, modifyPassword, requestAddAuth, requestAddUser, requestCreateContractAndAddSigner, requestCreateFlowByTemplateDirectly, requestSignCompleted, requestWillFace } from '@/services/api/account'
|
|
|
import cryptojs from 'crypto-js'
|
|
import cryptojs from 'crypto-js'
|
|
|
|
|
|
|
@@ -9,10 +9,12 @@ const accountStore = useAccountStore()
|
|
|
// 用户实名认证
|
|
// 用户实名认证
|
|
|
export function addAuthReq() {
|
|
export function addAuthReq() {
|
|
|
const loading = shallowRef(false)
|
|
const loading = shallowRef(false)
|
|
|
|
|
+ /// 审核备注
|
|
|
|
|
+ const modifyremark = useUserStore().userAccount.modifyremark ?? ''
|
|
|
|
|
|
|
|
const formData = reactive<Model.AddAuthReq>({
|
|
const formData = reactive<Model.AddAuthReq>({
|
|
|
userid: loginStore.userId,
|
|
userid: loginStore.userId,
|
|
|
- cardtype: 0
|
|
|
|
|
|
|
+ cardtype: 0,
|
|
|
})
|
|
})
|
|
|
|
|
|
|
|
const formSubmit = async () => {
|
|
const formSubmit = async () => {
|
|
@@ -29,6 +31,7 @@ export function addAuthReq() {
|
|
|
|
|
|
|
|
return {
|
|
return {
|
|
|
loading,
|
|
loading,
|
|
|
|
|
+ modifyremark,
|
|
|
formData,
|
|
formData,
|
|
|
formSubmit
|
|
formSubmit
|
|
|
}
|
|
}
|