|
|
@@ -14,8 +14,7 @@
|
|
|
</CellGroup>
|
|
|
<CellGroup inset>
|
|
|
<template v-for="(item, index) in dataList" :key="index">
|
|
|
- <Cell :title="item.templatename" :icon="iconName(item.recordstatus)" @click="signer(item)"
|
|
|
- is-link />
|
|
|
+ <Cell :title="item.templatename" :icon="iconName(item.recordstatus)" @click="signer(item)" is-link />
|
|
|
</template>
|
|
|
</CellGroup>
|
|
|
</div>
|
|
|
@@ -28,7 +27,7 @@
|
|
|
</template>
|
|
|
|
|
|
<script lang="ts" setup>
|
|
|
-import { shallowRef } from 'vue'
|
|
|
+import { shallowRef, onMounted } from 'vue'
|
|
|
import { CellGroup, Cell, showFailToast, showToast } from 'vant'
|
|
|
import { fullloading, dialog } from '@/utils/vant';
|
|
|
import { useNavigation } from '@mobile/router/navigation'
|
|
|
@@ -40,10 +39,8 @@ import { getUserId } from '@/services/methods/user'
|
|
|
import { useUserStore } from '@/stores'
|
|
|
import { decryptAES } from '@/services/websocket/package/crypto'
|
|
|
import eventBus from '@/services/bus'
|
|
|
-import { investorDel, modifyPassword, requestAddAuth, requestAddUser, requestBankCard4, requestCaptcaResend, requestCaptchaVerify, requestCreateContract, requestCreateContractAndAddSigner, requestCreateFlowByTemplateDirectly, requestSignCompleted, requestWillFace } from '@/services/api/account'
|
|
|
|
|
|
-
|
|
|
-const { getQueryStringToNumber, router } = useNavigation()
|
|
|
+const { getQueryStringToNumber } = useNavigation()
|
|
|
/// 所属机构
|
|
|
const memberUserId = getQueryStringToNumber('memberUserId')
|
|
|
/// userStore
|
|
|
@@ -53,7 +50,7 @@ const { createTemplate, createFormData } = useRequestCreateContract()
|
|
|
/// 电子签合同信息
|
|
|
const dataList = shallowRef<Model.UsereSignRecordsRsq[]>([])
|
|
|
/// 用户信息
|
|
|
-const { customername, cardnum, bankaccount, bankbankname, mobile2 } = userStore.userInfo
|
|
|
+const { customername, cardnum, bankaccount, bankbankname, mobile2 } = userStore.userInfo
|
|
|
/// 查询
|
|
|
const { run } = useRequest(queryUsereSignRecords, {
|
|
|
params: {
|
|
|
@@ -64,7 +61,7 @@ const { run } = useRequest(queryUsereSignRecords, {
|
|
|
onSuccess: (res) => {
|
|
|
if (res.data != null && res.data.length != 0) {
|
|
|
dataList.value = res.data
|
|
|
- }
|
|
|
+ }
|
|
|
}
|
|
|
})
|
|
|
|
|
|
@@ -106,10 +103,10 @@ const signer = (item: Model.UsereSignRecordsRsq) => {
|
|
|
/// 更新数据
|
|
|
run()
|
|
|
dialog({
|
|
|
- message: '立即签署协议!',
|
|
|
+ message: '是否立即签署协议?',
|
|
|
showCancelButton: true,
|
|
|
cancelButtonText: '暂不签署',
|
|
|
- confirmButtonText: '去签署'
|
|
|
+ confirmButtonText: '立即签署'
|
|
|
}).then(() => {
|
|
|
openWebview(res.data.signUrl)
|
|
|
})
|
|
|
@@ -127,9 +124,7 @@ const documentVisibilityStateNotify = eventBus.$on('DocumentVisibilityStateNotif
|
|
|
}
|
|
|
})
|
|
|
|
|
|
-const onClose = () => {
|
|
|
- router.back()
|
|
|
+onMounted(() => {
|
|
|
documentVisibilityStateNotify.cancel()
|
|
|
-}
|
|
|
-
|
|
|
+})
|
|
|
</script>
|