Commit 7e02121c authored by tanjuanjuan's avatar tanjuanjuan

添加psn查询

parent fdd48d74
...@@ -26,7 +26,7 @@ ...@@ -26,7 +26,7 @@
</wd-form> </wd-form>
</view> </view>
<view class="container notform" v-else> <view class="container notform" v-else>
<template v-for="item in results"> <template v-for="item in results" v-if="results.length>0">
<wd-card type="rectangle" custom-class="insuitem"> <wd-card type="rectangle" custom-class="insuitem">
<template #title> <template #title>
<view>缴费时间:{{dayjs(item.clctTime).format('YYYY-MM-DD')}}</view> <view>缴费时间:{{dayjs(item.clctTime).format('YYYY-MM-DD')}}</view>
...@@ -39,6 +39,9 @@ ...@@ -39,6 +39,9 @@
</template> </template>
</wd-card> </wd-card>
</template> </template>
<template v-else>
<view>没有查询到相关缴费信息!</view>
</template>
</view> </view>
</view> </view>
</template> </template>
...@@ -132,7 +135,7 @@ ...@@ -132,7 +135,7 @@
success: (res) => { success: (res) => {
console.log("&&") console.log("&&")
console.log(res) console.log(res)
psnNo.value=res.data.biz_data.body.data[0].psnNo psnNo.value=res.data?.biz_data?.body?.data[0]?.psnNo
} }
}) })
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment