|
|
@@ -14,7 +14,8 @@
|
|
|
</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>
|
|
|
<template v-if="thirdStepList.length != 0">
|
|
|
<template v-for="(item, index) in thirdStepList" :key="index">
|
|
|
@@ -29,7 +30,7 @@
|
|
|
|
|
|
<script lang="ts" setup>
|
|
|
import { shallowRef, onMounted } from 'vue'
|
|
|
-import { CellGroup, Cell, showFailToast, showToast } from 'vant'
|
|
|
+import { CellGroup, Cell, showFailToast } from 'vant'
|
|
|
import { fullloading, dialog } from '@/utils/vant';
|
|
|
import { useNavigation } from '@mobile/router/navigation'
|
|
|
import { useRequest } from '@/hooks/request'
|
|
|
@@ -64,8 +65,8 @@ const { run } = useRequest(queryUsereSignRecords, {
|
|
|
},
|
|
|
onSuccess: (res) => {
|
|
|
if (res.data != null && res.data.length != 0) {
|
|
|
- dataList.value = res.data.filter(e => e.templatetype === 2 )
|
|
|
- thirdStepList.value = res.data.filter(e => e.templatetype === 3 )
|
|
|
+ dataList.value = res.data.filter(e => e.templatetype === 2)
|
|
|
+ thirdStepList.value = res.data.filter(e => e.templatetype === 3)
|
|
|
}
|
|
|
}
|
|
|
})
|
|
|
@@ -82,10 +83,7 @@ const iconName = (type: number) => {
|
|
|
const openWebview = (url: string) => {
|
|
|
const ua = window.navigator.userAgent.toLowerCase()
|
|
|
if (ua.indexOf('micromessenger') !== -1) {
|
|
|
- showToast({
|
|
|
- type: 'fail',
|
|
|
- message: '请使用浏览器打开此页面'
|
|
|
- })
|
|
|
+ showFailToast('请使用浏览器打开此页面')
|
|
|
} else {
|
|
|
plus.openWebview({
|
|
|
url,
|