增加详情中的创建时间

This commit is contained in:
wwz
2024-12-25 17:12:54 +08:00
parent 6e174be3b2
commit 71a8f48e70
4 changed files with 47 additions and 17 deletions

View File

@@ -63,7 +63,7 @@
</view>
<view v-if="textshow == '人脸'"
style="padding:10rpx 0; text-align: center; margin: 32rpx auto 0rpx auto; background: #1989fa; width: 200rpx;color: #fff; border-radius: 30rpx;"
@click="reset">
@click="clicktextshow(loginid,textshow)">
已认证
</view>
</view>
@@ -152,7 +152,7 @@
<text class="addshowboxinputtext">*办税人姓名</text>
<view class="addshowboxinput_inp">
<input type="text" placeholder="请输入" v-model="addform.taxname" />
</view>w
</view>
</view>
<view class="addshowboxinput flex-colum-start">
<text class="addshowboxinputtext">*办税人手机号码</text>
@@ -503,14 +503,18 @@
},
// 重置
reset() {
this.form = {
user_name: '',
time: "",
page: 1,
type: '-1',
status: 'loadmore',
list: []
}
// this.form = {
// user_name: '',
// time: "",
// page: 1,
// type: '-1',
// status: 'loadmore',
// }
this.form.user_name = ''
this.form.time = ''
this.form.page = 1
this.form.type = '-1'
this.form.status = 'loadmore'
this.textshow = ''
this.loginid = ''
this.codelang = ''
@@ -519,6 +523,22 @@
this.canvasshow = false
this.newissuedbyliststatus()
},
//查询人脸认证结果 其他没有
async clicktextshow(loginid, textshow) {
if (textshow == '人脸') {
let res = await this.api.researhqrcode({
id: this.loginid
})
this.canvasshow = false
uni.showToast({
title: res.message || res.msg,
icon: "none",
})
setTimeout(()=>{
this.reset()
},1000)
}
},
// 列表
async newissuedbyliststatus() {
this.form.status = 'loading';