Handy_Cao 2 лет назад
Родитель
Сommit
5b44b5898c

+ 5 - 2
src/business/user/account.ts

@@ -1,5 +1,5 @@
 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 cryptojs from 'crypto-js'
 
@@ -9,10 +9,12 @@ const accountStore = useAccountStore()
 // 用户实名认证
 export function addAuthReq() {
     const loading = shallowRef(false)
+    /// 审核备注
+    const modifyremark = useUserStore().userAccount.modifyremark ?? ''
 
     const formData = reactive<Model.AddAuthReq>({
         userid: loginStore.userId,
-        cardtype: 0
+        cardtype: 0,
     })
 
     const formSubmit = async () => {
@@ -29,6 +31,7 @@ export function addAuthReq() {
 
     return {
         loading,
+        modifyremark,
         formData,
         formSubmit
     }

+ 2 - 1
src/packages/mobile/views/account/certification/Index.vue

@@ -29,6 +29,7 @@
                         <app-uploader @success="h_afterRead" />
                     </template>
                 </Field>
+                <Field v-if="modifyremark != ''" v-model="modifyremark" readonly name="modifyremark" label="审核备注" />
             </CellGroup>
         </Form>
         <img src="../../../assets/images/certification.png" />
@@ -51,7 +52,7 @@ import { useNavigation } from '@mobile/router/navigation'
 import AppUploader from '@mobile/components/base/uploader/index.vue'
 
 const formRef = shallowRef<FormInstance>()
-const { formData, formSubmit } = addAuthReq()
+const { formData, formSubmit, modifyremark } = addAuthReq()
 const { router } = useNavigation()
 
 const b_afterRead = (filePath: string) => {

+ 1 - 1
src/packages/tjmd/views/account/certification/Index.vue

@@ -65,7 +65,7 @@ const { formData, formSubmit, loading } = addAuthReq()
 const isReadonly = false//computed(() => userESignRecords.value.some((e) => e.recordstatus === 3))
 
 /// 查询记录
-const { loading: buttonLoading, dataList: userESignRecords } = useRequest(queryTencentUsereSignRecords, {
+const { loading: buttonLoading } = useRequest(queryTencentUsereSignRecords, {
     params: {
         userId: getUserId(),
         memberUserId: getMemberUserId()