From abcf89c0931fc453f4fd8e1d4d48b8b469d0f3c7 Mon Sep 17 00:00:00 2001
From: dcc <dcc@163.com>
Date: Tue, 07 May 2024 10:19:31 +0800
Subject: [PATCH] xxx
---
src/views/userlist/components/audituserdialog.vue | 34 +++++++++++++++++-----------------
1 files changed, 17 insertions(+), 17 deletions(-)
diff --git a/src/views/userlist/components/audituserdialog.vue b/src/views/userlist/components/audituserdialog.vue
index b63007b..6deb6a7 100644
--- a/src/views/userlist/components/audituserdialog.vue
+++ b/src/views/userlist/components/audituserdialog.vue
@@ -15,18 +15,18 @@
currentDetails.isActive == 0 || currentDetails.isActive == 1
? 'blue'
: currentDetails.isActive == 2
- ? 'green'
- : 'red'
+ ? 'green'
+ : 'red'
"
>
{{
currentDetails.isActive == 0
? '待认证'
: currentDetails.isActive == 1
- ? '待审核'
- : currentDetails.isActive == 2
- ? '认证成功'
- : '驳回'
+ ? '待审核'
+ : currentDetails.isActive == 2
+ ? '认证成功'
+ : '驳回'
}}
</a-tag>
</a-descriptions-item>
@@ -106,25 +106,25 @@
components: {},
props: {
currentDetails: {
- type: Object,
+ type: Object
},
getinit: {
type: Function,
- default: function () {},
- },
+ default: function () {}
+ }
},
- data() {
+ data () {
return {
userDialog: false,
bohuidialog: false,
bohuidialogloading: false,
bohuiform: this.$form.createForm(this),
srcList1: [this.currentDetails.img1Key],
- srcList2: [this.currentDetails.img2Key],
+ srcList2: [this.currentDetails.img2Key]
}
},
methods: {
- Okbohuidialog() {
+ Okbohuidialog () {
const form = this.$refs.bohuiform.form
form.validateFields((errors, values) => {
if (!errors) {
@@ -145,15 +145,15 @@
}
})
},
- Cancelbohuidialog() {
+ Cancelbohuidialog () {
this.bohuidialog = false
const form = this.$refs.bohuiform.form
form.resetFields()
},
- gettongguo(val) {
+ gettongguo (val) {
var data = {
userId: this.currentDetails.id,
- state: val,
+ state: val
}
userauthByAdmin(data).then((res) => {
if (res.status == 0) {
@@ -164,7 +164,7 @@
}
this.userDialog = false
})
- },
- },
+ }
+ }
}
</script>
--
Gitblit v1.9.3