|
@@ -147,7 +147,7 @@
|
|
|
</div>
|
|
|
|
|
|
<div class="action-group">
|
|
|
- <el-radio-group v-model="userType">
|
|
|
+ <el-radio-group v-model="userTypeText" @change="handleUserType">
|
|
|
<el-radio-button label="个微"></el-radio-button>
|
|
|
<el-radio-button label="企微"></el-radio-button>
|
|
|
</el-radio-group>
|
|
@@ -680,7 +680,8 @@ export default {
|
|
|
smsRemainCount: 0,
|
|
|
viewerType: '0',
|
|
|
viewerChart: null,
|
|
|
- userType: '个微',
|
|
|
+ userTypeText: '个微',
|
|
|
+ userType: 0,
|
|
|
dealerChart: null,
|
|
|
// 分公司数量
|
|
|
dealderCount: 0,
|
|
@@ -748,6 +749,15 @@ export default {
|
|
|
this.refresh();
|
|
|
},
|
|
|
methods: {
|
|
|
+ handleUserType(){
|
|
|
+ if(this.userTypeText === '个微'){
|
|
|
+ this.userType = 0
|
|
|
+ }else{
|
|
|
+ this.userType = 1
|
|
|
+ }
|
|
|
+
|
|
|
+ this.refresh()
|
|
|
+ },
|
|
|
/**
|
|
|
* 计算余额预计可持续的天数
|
|
|
* @param {number} balance - 当前账户余额
|
|
@@ -876,7 +886,8 @@ export default {
|
|
|
})
|
|
|
let param = {
|
|
|
startTime: '',
|
|
|
- endTime: ''
|
|
|
+ endTime: '',
|
|
|
+ userType: this.userType
|
|
|
};
|
|
|
// 获取当前日期时间
|
|
|
const today = dayjs();
|
|
@@ -988,7 +999,8 @@ export default {
|
|
|
getParam(){
|
|
|
let param = {
|
|
|
startTime: '',
|
|
|
- endTime: ''
|
|
|
+ endTime: '',
|
|
|
+ userType: this.userType
|
|
|
};
|
|
|
// 获取当前日期时间
|
|
|
const today = dayjs();
|