|
|
@@ -30,7 +30,7 @@
|
|
|
<script lang="ts" setup>
|
|
|
import { shallowRef } from 'vue'
|
|
|
import { CellGroup, Cell, showFailToast, showToast } from 'vant'
|
|
|
-import { fullloading } from '@/utils/vant';
|
|
|
+import { fullloading, dialog } from '@/utils/vant';
|
|
|
import { useNavigation } from '@mobile/router/navigation'
|
|
|
import { useRequest } from '@/hooks/request'
|
|
|
import { queryUsereSignRecords } from '@/services/api/account';
|
|
|
@@ -40,6 +40,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()
|
|
|
/// 所属机构
|
|
|
@@ -101,7 +103,16 @@ const signer = (item: Model.UsereSignRecordsRsq) => {
|
|
|
/// 创建合同
|
|
|
createTemplate().then((res) => {
|
|
|
hideLoading()
|
|
|
- openWebview(res.data.signUrl)
|
|
|
+ /// 更新数据
|
|
|
+ run()
|
|
|
+ dialog({
|
|
|
+ message: '立即签署协议!',
|
|
|
+ showCancelButton: true,
|
|
|
+ cancelButtonText: '暂不签署',
|
|
|
+ confirmButtonText: '去签署'
|
|
|
+ }).then(() => {
|
|
|
+ openWebview(res.data.signUrl)
|
|
|
+ })
|
|
|
}).catch((err) => {
|
|
|
hideLoading(err, 'fail')
|
|
|
})
|