This commit is contained in:
墨大叔 2024-09-10 18:25:59 +08:00
parent 902904a693
commit 32a59b2557
4 changed files with 24 additions and 20 deletions

View File

@ -8,10 +8,9 @@
</div>
<count-to :start-val="0" :end-val="briefData.deviceCount" :duration="2600" class="card-panel-num" />
<div class="card-panel-compare">
在线
<span class="up">
{{briefData.onlineCount}}
</span>
<div>
在线 <span class="up">{{briefData.onlineCount}} </span>
</div>
</div>
</div>
<div class="card-panel-icon-wrapper">
@ -27,11 +26,12 @@
</div>
<count-to :start-val="0" :end-val="briefData.rechargeCount" :duration="2600" class="card-panel-num" />
<div class="card-panel-compare">
今日
<span class="up">
{{briefData.todayRechargeCount}}
<svg-icon icon-class="up" />
</span>
<div>
今日<span class="up"> {{briefData.todayRechargeCount}} <svg-icon icon-class="up" /></span>
</div>
<div>
今日<span class="up"> {{briefData.todayRechargeCount}} <svg-icon icon-class="up" /></span>
</div>
</div>
</div>
<div class="card-panel-icon-wrapper">

View File

@ -90,7 +90,10 @@
</template>
</el-table-column>
<el-table-column label="主体类型" align="center" prop="subjectType" sortable="custom" :sort-orders="orderSorts" v-if="isShow('subjectType')">
<dict-tag slot-scope="d" :value="d.row.subjectType" :options="dict.type.record_balance_subject_type"/>
<template slot-scope="d">
<dict-tag v-if="d.row.subjectType === RecordBalanceSubjectType.USER" :value="d.row.userType" :options="dict.type.user_type"/>
<dict-tag v-else :value="d.row.subjectType" :options="dict.type.record_balance_subject_type"/>
</template>
</el-table-column>
<el-table-column label="业务类型" align="center" prop="bstType" sortable="custom" :sort-orders="orderSorts" v-if="isShow('bstType')">
<template slot-scope="d">
@ -181,7 +184,7 @@ const defaultSort = {
export default {
name: "RecordBalance",
mixins: [$showColumns, $view],
dicts: ['record_balance_bst_type', 'record_balance_subject_type'],
dicts: ['record_balance_bst_type', 'record_balance_subject_type', 'user_type'],
computed: {
RecordBalanceSubjectType() {
return RecordBalanceSubjectType

View File

@ -128,6 +128,9 @@
<el-card class="box-card">
<el-tabs>
<el-tab-pane label="套餐列表" :lazy="true" v-if="checkPermi(['ss:suit:list'])">
<suit v-if="deviceData.storeId != null" :query="{storeId: deviceData.storeId}" :view="views.device"/>
</el-tab-pane>
<el-tab-pane label="订单列表" :lazy="true" v-if="checkPermi(['system:bill:list'])">
<recharge v-if="deviceData.deviceId != null" :query="{deviceId: deviceData.deviceId}" :view="views.device"/>
</el-tab-pane>

View File

@ -41,15 +41,12 @@
@keyup.enter.native="handleQuery"
/>
</el-form-item>
<el-form-item label="交易状态" prop="status">
<el-select v-model="queryParams.status" clearable placeholder="请选择交易状态" @change="handleQuery">
<el-option
v-for="dict in dict.type.sm_transaction_bill_status"
:key="dict.value"
:label="dict.label"
:value="dict.value"
/>
</el-select>
<el-form-item label="交易状态" prop="statusList">
<el-checkbox-group v-model="queryParams.statusList" @change="handleQuery" size="mini">
<el-checkbox-button v-for="dict in dict.type.sm_transaction_bill_status" :label="dict.value" :key="dict.value">
{{dict.label}}
</el-checkbox-button>
</el-checkbox-group>
</el-form-item>
<!-- <el-form-item label="支付方式" prop="channelId">-->
<!-- <el-select v-model="queryParams.channelId" clearable placeholder="请选择支付方式" @change="handleQuery">-->
@ -278,6 +275,7 @@ export default {
deviceName: null,
landlordName: null,
type: "1", //
statusList: ['1','2','3','6','7','8','9'],
},
//
form: {},