From 8477322adb238a81c46ffdc1fbf83628713aa389 Mon Sep 17 00:00:00 2001
From: jhzh <1628036192@qq.com>
Date: Sun, 07 Apr 2024 11:23:49 +0800
Subject: [PATCH] 提交页面备注
---
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 4210fa5..e20506f 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>
@@ -96,23 +96,23 @@
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),
+ bohuiform: this.$form.createForm(this)
}
},
methods: {
- Okbohuidialog() {
+ Okbohuidialog () {
const form = this.$refs.bohuiform.form
form.validateFields((errors, values) => {
if (!errors) {
@@ -133,15 +133,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) {
@@ -152,7 +152,7 @@
}
this.userDialog = false
})
- },
- },
+ }
+ }
}
</script>
--
Gitblit v1.9.3