| | |
| | | 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> |
| | |
| | | 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) { |
| | |
| | | } |
| | | }) |
| | | }, |
| | | 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) { |
| | |
| | | } |
| | | this.userDialog = false |
| | | }) |
| | | }, |
| | | }, |
| | | } |
| | | } |
| | | } |
| | | </script> |