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/editCapitaluserdialog.vue | 28 ++++++++++++++--------------
1 files changed, 14 insertions(+), 14 deletions(-)
diff --git a/src/views/userlist/components/editCapitaluserdialog.vue b/src/views/userlist/components/editCapitaluserdialog.vue
index 936fbed..c17d561 100644
--- a/src/views/userlist/components/editCapitaluserdialog.vue
+++ b/src/views/userlist/components/editCapitaluserdialog.vue
@@ -47,7 +47,7 @@
export default {
components: {},
filters: {
- formatDate(value) {
+ formatDate (value) {
switch (value.accectType) {
case 'US':
return `美元(${value.symbol} ${value.availableBalance})`
@@ -59,49 +59,49 @@
default:
break
}
- },
+ }
},
props: {
getinit: {
type: Function,
- default: function () {},
+ default: function () {}
},
activeArr: {
type: Array,
- default: [],
- },
+ default: []
+ }
},
- data() {
+ data () {
return {
labelCol: {
xs: { span: 24 },
- sm: { span: 7 },
+ sm: { span: 7 }
},
wrapperCol: {
xs: { span: 24 },
- sm: { span: 13 },
+ sm: { span: 13 }
},
editUserform: this.$form.createForm(this),
editUserdialog: false,
editUserDialogloading: false,
fields: ['amt', 'direction', 'userId'],
- currentDetails: {},
+ currentDetails: {}
}
},
methods: {
- getEditorder(val) {
+ getEditorder (val) {
this.currentDetails = val
this.editUserdialog = true
this.fields.forEach((v) => this.editUserform.getFieldDecorator(v))
this.editUserform.setFieldsValue(pick(val, this.fields))
this.editUserform.setFieldsValue(pick({ userId: val.id }, this.fields))
},
- CanceleditUserdialog() {
+ CanceleditUserdialog () {
this.editUserdialog = false
const form = this.$refs.editUserform.form
form.resetFields()
},
- OkeditUserdialog() {
+ OkeditUserdialog () {
const form = this.$refs.editUserform.form
form.validateFields((errors, values) => {
console.log(values, 'from')
@@ -124,7 +124,7 @@
console.log(3333)
}
})
- },
- },
+ }
+ }
}
</script>
--
Gitblit v1.9.3