图表更新、提现限制
This commit is contained in:
parent
6380bb1079
commit
6c9440f8af
|
@ -279,7 +279,7 @@ export default {
|
||||||
position: relative;
|
position: relative;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
flex: 1;
|
flex: 1;
|
||||||
padding: 44px 16px 20px 10px;
|
padding: 0;
|
||||||
|
|
||||||
.panel-chart {
|
.panel-chart {
|
||||||
float: right;
|
float: right;
|
||||||
|
|
|
@ -80,10 +80,10 @@ export default {
|
||||||
setOptions(data) {
|
setOptions(data) {
|
||||||
let option = {
|
let option = {
|
||||||
grid: {
|
grid: {
|
||||||
top: 4,
|
top: 42,
|
||||||
left: 4,
|
left: 16,
|
||||||
right: 4,
|
right: 16,
|
||||||
bottom: 4,
|
bottom: 24,
|
||||||
show: false,
|
show: false,
|
||||||
},
|
},
|
||||||
tooltip: {
|
tooltip: {
|
||||||
|
@ -107,7 +107,25 @@ export default {
|
||||||
color: this.color,
|
color: this.color,
|
||||||
data: data.map(item => item.value),
|
data: data.map(item => item.value),
|
||||||
type: this.type,
|
type: this.type,
|
||||||
smooth: true
|
smooth: true,
|
||||||
|
// label: {
|
||||||
|
// show: true,
|
||||||
|
// position: 'top'
|
||||||
|
// }
|
||||||
|
markPoint: {
|
||||||
|
symbol: 'pin',
|
||||||
|
symbolSize: 10,
|
||||||
|
data: [
|
||||||
|
{ type: 'max', name: '最大值' },
|
||||||
|
{ type: 'min', name: '最小值' }
|
||||||
|
]
|
||||||
|
},
|
||||||
|
// markLine: {
|
||||||
|
// data: [
|
||||||
|
// {type: 'max', name: '最大值'},
|
||||||
|
// {type: 'min', name: '最小值'}
|
||||||
|
// ]
|
||||||
|
// }
|
||||||
}]
|
}]
|
||||||
};
|
};
|
||||||
this.chart.setOption(option)
|
this.chart.setOption(option)
|
||||||
|
|
|
@ -71,13 +71,14 @@ export default {
|
||||||
series: [
|
series: [
|
||||||
{
|
{
|
||||||
left: '-50%',
|
left: '-50%',
|
||||||
|
top: '10%',
|
||||||
name: '用户组成',
|
name: '用户组成',
|
||||||
type: 'pie',
|
type: 'pie',
|
||||||
color: [
|
color: [
|
||||||
'#8D4EDA',
|
'#8D4EDA',
|
||||||
'#00B2FF'
|
'#00B2FF'
|
||||||
],
|
],
|
||||||
radius: ['50%', '80%'],
|
radius: ['30%', '50%'],
|
||||||
avoidLabelOverlap: false,
|
avoidLabelOverlap: false,
|
||||||
itemStyle: {
|
itemStyle: {
|
||||||
borderRadius: 0,
|
borderRadius: 0,
|
||||||
|
|
|
@ -250,6 +250,12 @@
|
||||||
<form-col :span="span * 2" label="备注" prop="remark">
|
<form-col :span="span * 2" label="备注" prop="remark">
|
||||||
<el-input v-model="form.remark" placeholder="请输入备注" :maxlength="500" show-word-limit type="textarea"/>
|
<el-input v-model="form.remark" placeholder="请输入备注" :maxlength="500" show-word-limit type="textarea"/>
|
||||||
</form-col>
|
</form-col>
|
||||||
|
<form-col :span="8" label="限制提现" prop="limitWithdraw">
|
||||||
|
<el-switch v-model="form.limitWithdraw" active-text="限制" inactive-text="不限制"/>
|
||||||
|
</form-col>
|
||||||
|
<form-col :span="16" label="限制原因" prop="limitWithdraw">
|
||||||
|
<el-input v-model="form.limitWithdrawReason" type="textarea" placeholder="请输入限制提现的原因(展示给用户查看)" show-word-limit maxlength="200"/>
|
||||||
|
</form-col>
|
||||||
<form-col :span="span" label="是否设备管理员" prop="deviceAdmin" label-width="9em">
|
<form-col :span="span" label="是否设备管理员" prop="deviceAdmin" label-width="9em">
|
||||||
<el-switch v-model="form.deviceAdmin" active-text="是" inactive-text="否" @change="onChangeDeviceAdmin"/>
|
<el-switch v-model="form.deviceAdmin" active-text="是" inactive-text="否" @change="onChangeDeviceAdmin"/>
|
||||||
</form-col>
|
</form-col>
|
||||||
|
|
Loading…
Reference in New Issue
Block a user