diff --git a/src/components/FormCol/index.vue b/src/components/FormCol/index.vue index 2543509..d43e12c 100644 --- a/src/components/FormCol/index.vue +++ b/src/components/FormCol/index.vue @@ -1,12 +1,20 @@ diff --git a/src/components/Pagination/index.vue b/src/components/Pagination/index.vue index 3eb5f7a..ec2b6f8 100644 --- a/src/components/Pagination/index.vue +++ b/src/components/Pagination/index.vue @@ -37,7 +37,7 @@ export default { pageSizes: { type: Array, default() { - return [10, 20, 30, 50] + return [10, 20, 30, 50, 100] } }, // 移动端页码按钮的数量端默认值5 diff --git a/src/views/system/device/detail.vue b/src/views/system/device/detail.vue index e2fdfbd..bc1f7f8 100644 --- a/src/views/system/device/detail.vue +++ b/src/views/system/device/detail.vue @@ -206,9 +206,9 @@ - + diff --git a/src/views/system/smUser/components/UserFormDialog.vue b/src/views/system/smUser/components/UserFormDialog.vue new file mode 100644 index 0000000..c35b429 --- /dev/null +++ b/src/views/system/smUser/components/UserFormDialog.vue @@ -0,0 +1,169 @@ + + + \ No newline at end of file diff --git a/src/views/system/smUser/detail.vue b/src/views/system/smUser/detail.vue index 654fc0f..1e7b0ff 100644 --- a/src/views/system/smUser/detail.vue +++ b/src/views/system/smUser/detail.vue @@ -8,7 +8,22 @@
用户详情
- 用户配置 + 配置 + 编辑
@@ -17,58 +32,110 @@
- {{detail.realOrUserName}} - + {{ detail.realOrUserName }} + -
{{detail.phonenumber}}
+
{{ detail.phonenumber }}
- - - - - - - - + + + + + + + +
- {{detail.realServiceRate | money | defaultValue}} % + {{ detail.realServiceRate | money | defaultValue }} % - {{detail.agentServiceRate | money | defaultValue}} % + {{ detail.agentServiceRate | money | defaultValue }} % - + - + 解除实名 + >解除实名 - {{detail.realName | defaultValue}} + {{ detail.realName | defaultValue }} - {{detail.realIdCard | defaultValue}} + {{ detail.realIdCard | defaultValue }} - {{detail.realPhone | defaultValue}} + {{ detail.realPhone | defaultValue }} - {{detail.remark | defaultValue}} + {{ + detail.remark | defaultValue + }}
@@ -77,12 +144,15 @@ - + - + - + @@ -93,61 +163,94 @@ - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + + + @@ -176,12 +279,35 @@ import UserDailyRechargeReport from '@/views/system/smUser/components/UserDailyR import Bonus from '@/views/ss/bonus/index.vue' import RiskInfo from '@/views/ss/riskInfo/index.vue' import BindRecord from '@/views/system/bindRecord/index.vue' - +import UserFormDialog from '@/views/system/smUser/components/UserFormDialog.vue' export default { name: 'User/:userId', mixins: [$view, $serviceType], dicts: ['sm_user_type', 'service_type', 'withdraw_service_type'], - components: { BindRecord, RiskInfo, Bonus, UserDailyRechargeReport, Risk, ReceiveBill, UserConfigDialog, RealName, Withdraw, BooleanTag, Recharge, Device, Suit, Account, RecordBalance, Store, Access, UserRechargeReport, UserAccount, UserDevice, LineChart}, + components: { + BindRecord, + RiskInfo, + Bonus, + UserDailyRechargeReport, + Risk, + ReceiveBill, + UserConfigDialog, + RealName, + Withdraw, + BooleanTag, + Recharge, + Device, + Suit, + Account, + RecordBalance, + Store, + Access, + UserRechargeReport, + UserAccount, + UserDevice, + LineChart, + UserFormDialog + }, data() { return { BonusArrivalType, @@ -189,6 +315,7 @@ export default { detail: {}, loading: false, showConfigDialog: false, + showEditDialog: false, } }, computed: { @@ -243,7 +370,7 @@ export default { .phone-number { font-size: 18px; line-height: 30px; - color: #9B9B9B; + color: #9b9b9b; } .user-header { text-align: center; diff --git a/src/views/system/smUser/index.vue b/src/views/system/smUser/index.vue index 06da38b..e5086b3 100644 --- a/src/views/system/smUser/index.vue +++ b/src/views/system/smUser/index.vue @@ -224,78 +224,22 @@ @pagination="getList" /> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + +