Commit d6609fe1 by wangzhihui

累计结算金额样式修改

1 parent 15cef4c2
...@@ -149,3 +149,53 @@ export const channelObj = { ...@@ -149,3 +149,53 @@ export const channelObj = {
'BIRDWORK':'智鸟-银行卡', 'BIRDWORK':'智鸟-银行卡',
'SHENBIANYUN_JX':'身边云(江西)-银行卡' 'SHENBIANYUN_JX':'身边云(江西)-银行卡'
} }
export const statisticsTypeList = [
{
confId: 'yiXuanSettleAmount',
confLabel: '熠轩-银行卡'
},
{
confId: 'zxSettleAmount',
confLabel: '中雄-银行卡'
},
{
confId: 'yunHuoSettleAmount',
confLabel: '云获(嘀加)-银行卡'
},
{
confId: 'yunHuoZYSettleAmount',
confLabel: '云获(中赢)-银行卡'
},
{
confId: 'yunHuoWXSettleAmount',
confLabel: '云获(中赢)-微信'
},
{
confId: 'shenBianYunXHSettleAmount',
confLabel: '身边云(翔禾)-银行卡'
},
{
confId: 'shenBianYunYJSettleAmount',
confLabel: '身边云(雅钧)-银行卡'
},
{
confId: 'shenBianYunBCSettleAmount',
confLabel: '身边云(博晟)-银行卡'
},
{
confId: 'shenBianYunCJSettleAmount',
confLabel: '身边云(晨景)-银行卡'
},
{
confId: 'birdWorkSettleAmount',
confLabel: '智鸟-银行卡'
},
{
confId: 'shenBianYunJXSettleAmount',
confLabel: '身边云(江西)-银行卡'
},
{
confId: 'xinXiangYunSettleAmount',
confLabel: '薪享云-银行卡'
}
]
\ No newline at end of file \ No newline at end of file
...@@ -7,27 +7,22 @@ ...@@ -7,27 +7,22 @@
<el-cascader :options="baseData.channelList" :props="props" style="width: 100%" v-model="searchForm.channelList" :placeholder="'请选择'" filterable @change="selectAddAttr($event, 'searchForm')"></el-cascader> <el-cascader :options="baseData.channelList" :props="props" style="width: 100%" v-model="searchForm.channelList" :placeholder="'请选择'" filterable @change="selectAddAttr($event, 'searchForm')"></el-cascader>
</template> </template>
</GLCombiForm> </GLCombiForm>
<div class="table-header"> <div class="statistics">
<h2>积分提现列表</h2> <div class="title">累计结算金额</div>
<div> <div class="content">
<div class="select-wrap flex"> <div class="content-item" v-for="(item, index) in statisticsTypeList.slice(0, 4)" :key="index">
<el-button size="small" style="margin-right: 10px" @click="handleAllBatch(true)">全部生成批次</el-button> <div class="content-item-title">{{ item.confLabel }}</div>
<el-select v-model="operaForm.batch" placeholder="批量操作" class="selectBtn"> <div class="content-item-price">
<el-option v-for="(item, index) in batchOptions" :key="index" :label="item" :value="index" @click.native="handleSelectBtn(index, 'batch')"></el-option> {{ settleAmount[item.confId] }}
</el-select> <span class="unit">元</span>
<el-select v-model="operaForm.key" placeholder="一键操作" class="selectOneBtn">
<el-option v-for="(item, index) in keyOptions" :key="index" :label="item" :value="index" @click.native="handleSelectBtn(index, 'key')"></el-option>
</el-select>
<!-- <el-button size="small" @click="handleCheck()" type="primary" plain>批量审核</el-button>
<el-button size="small" @click="handlePay()">批量付款</el-button> -->
<el-button size="small" @click="handleImport">提现导入</el-button>
<el-button size="small" @click="exportExcel">导出</el-button>
</div> </div>
</div> </div>
</div> </div>
<div class="statistics"> <div class="fold" @click="isMore=true">
<div :class="['content', !isFold ? 'dynamic' : '']"> 查看更多
<i class="el-icon-arrow-right"></i>
</div>
<!-- <div :class="['content', !isFold ? 'dynamic' : '']">
累计结算金额:熠轩-银行卡 累计结算金额:熠轩-银行卡
<span class="price">{{ settleAmount.yiXuanSettleAmount }}</span> <span class="price">{{ settleAmount.yiXuanSettleAmount }}</span>
元, 中雄-银行卡 元, 中雄-银行卡
...@@ -52,18 +47,29 @@ ...@@ -52,18 +47,29 @@
<span class="price">{{ settleAmount.shenBianYunJXSettleAmount }}</span> <span class="price">{{ settleAmount.shenBianYunJXSettleAmount }}</span>
元, 薪享云-银行卡 元, 薪享云-银行卡
<span class="price">{{ settleAmount.xinXiangYunSettleAmount }}</span> <span class="price">{{ settleAmount.xinXiangYunSettleAmount }}</span>
</div> -->
</div> </div>
<div @click="handleFold"> <div class="table-header">
<div class="fold" v-if="isFold"> <h2>积分提现列表</h2>
展开 <div>
<i class="el-icon-arrow-down"></i> <div class="select-wrap flex">
</div> <el-button size="small" style="margin-right: 10px" @click="handleAllBatch(true)">全部生成批次</el-button>
<div class="fold" v-else> <el-select v-model="operaForm.batch" placeholder="批量操作" class="selectBtn">
收起 <el-option v-for="(item, index) in batchOptions" :key="index" :label="item" :value="index" @click.native="handleSelectBtn(index, 'batch')"></el-option>
<i class="el-icon-arrow-up"></i> </el-select>
<el-select v-model="operaForm.key" placeholder="一键操作" class="selectOneBtn">
<el-option v-for="(item, index) in keyOptions" :key="index" :label="item" :value="index" @click.native="handleSelectBtn(index, 'key')"></el-option>
</el-select>
<!-- <el-button size="small" @click="handleCheck()" type="primary" plain>批量审核</el-button>
<el-button size="small" @click="handlePay()">批量付款</el-button> -->
<el-button size="small" @click="handleImport">提现导入</el-button>
<el-button size="small" @click="exportExcel">导出</el-button>
</div> </div>
</div> </div>
</div> </div>
<!-- 表格区域 开始 --> <!-- 表格区域 开始 -->
<GLTable ref="withdrawRef" :getListApi="getListApi" :noDataImg="url" :searchForm="tableSearchForm" :tableParams="tableParams" :pageConf="pageConf" :beforeSearchFn="beforeSearchFn" @setTableFinishFun="setTableFinishFun" @selectionTable="selectionTable"> <GLTable ref="withdrawRef" :getListApi="getListApi" :noDataImg="url" :searchForm="tableSearchForm" :tableParams="tableParams" :pageConf="pageConf" :beforeSearchFn="beforeSearchFn" @setTableFinishFun="setTableFinishFun" @selectionTable="selectionTable">
<div class="flex_sc" slot="colorStatus" slot-scope="scope"> <div class="flex_sc" slot="colorStatus" slot-scope="scope">
...@@ -188,7 +194,19 @@ ...@@ -188,7 +194,19 @@
<iframe width="100%" height="700px" scrolling="yes" frameborder="0" :src="pdfUrl"></iframe> <iframe width="100%" height="700px" scrolling="yes" frameborder="0" :src="pdfUrl"></iframe>
</GLDialog> </GLDialog>
<!-- 详情 --> <!-- 详情 -->
<detail-dialog :detail-visible="detailVisible" :id="id" @dialogClose="dialogClose"></detail-dialog> <detail-dialog class="" :detail-visible="detailVisible" :id="id" @dialogClose="dialogClose"></detail-dialog>
<!-- 累计结算金额 -->
<GLDialog class="settleAmount-dialog" title="累计结算金额" mode="big" :visible.sync="isMore" :close-on-click-modal="false" :hasFooter="hasFooter">
<div class="content">
<div class="content-item" v-for="(item, index) in statisticsTypeList" :key="index">
<div class="content-item-title">{{ item.confLabel }}</div>
<div class="content-item-price">
{{ settleAmount[item.confId] }}
<span class="unit">元</span>
</div>
</div>
</div>
</GLDialog>
</div> </div>
</template> </template>
...@@ -198,7 +216,7 @@ import DetailDialog from './detail.vue' ...@@ -198,7 +216,7 @@ import DetailDialog from './detail.vue'
import * as dayjs from 'dayjs' import * as dayjs from 'dayjs'
import url from '@/assets/empty.png' import url from '@/assets/empty.png'
import util from '@/utils/index' import util from '@/utils/index'
import { modeTypeList, auditStatusStatusList, sourceList, withdrawalTypeList } from '@/utils/constants.js' import { modeTypeList, auditStatusStatusList, sourceList, withdrawalTypeList, statisticsTypeList } from '@/utils/constants.js'
const tableStatus = ['待审核', '已审核', '第三方处理', '成功', '失败', '驳回', '受理失败', '批次处理中'] const tableStatus = ['待审核', '已审核', '第三方处理', '成功', '失败', '驳回', '受理失败', '批次处理中']
const colors = ['#FDB757', '#2CCA74', '#5850FF', '#2CCA74', '#999999', '#EB4E4E', '#2CCA74', '#F59619FF'] const colors = ['#FDB757', '#2CCA74', '#5850FF', '#2CCA74', '#999999', '#EB4E4E', '#2CCA74', '#F59619FF']
const tabelHeaderModel = ['商户名称', '商户号', '客户名称', '客户手机号', '提现金额', '收款人姓名', '收款人身份证', '收款银行卡号', '收款银行', '收款人手机号'] const tabelHeaderModel = ['商户名称', '商户号', '客户名称', '客户手机号', '提现金额', '收款人姓名', '收款人身份证', '收款银行卡号', '收款银行', '收款人手机号']
...@@ -208,6 +226,8 @@ export default { ...@@ -208,6 +226,8 @@ export default {
}, },
data() { data() {
return { return {
isMore:false,
statisticsTypeList,
props: { props: {
value: 'code', value: 'code',
label: 'name', label: 'name',
...@@ -866,10 +886,9 @@ export default { ...@@ -866,10 +886,9 @@ export default {
}, },
selectAddAttr(e, formName) { selectAddAttr(e, formName) {
let [value1, value2, value3] = e let [value1, value2, value3] = e
this[formName].channel = value1 this[formName].channel = value1 ? value1 : ''
if (value3) { this[formName].levyCode = value3 ? value3 : '' //代征主体
this[formName].levyCode = value3 //代征主体
}
if (value2) { if (value2) {
let item = this.findChannelByCode(this.baseData.channelList, value2) let item = this.findChannelByCode(this.baseData.channelList, value2)
if (item.type == 1) { if (item.type == 1) {
...@@ -1492,19 +1511,46 @@ export default { ...@@ -1492,19 +1511,46 @@ export default {
font-size: 12px; font-size: 12px;
color: #999999; color: #999999;
line-height: 18px; line-height: 18px;
margin-bottom: 12px; margin-bottom: 16px;
position: relative;
.content {
display: flex; display: flex;
align-items: center; align-items: center;
.content { margin-right:140px;
height: 18px; .content-item {
overflow: hidden; padding: 20px;
white-space: nowrap; background: #f7f9fa;
text-overflow: ellipsis; flex:1;
margin-right:16px;
&-title {
color: #333333;
font-size: 14px;
margin-bottom: 12px;
}
&-price {
color: #333333;
font-size: 26px;
font-weight: bold;
.unit {
color: #333333;
font-size: 14px;
margin-left: 4px;
font-weight: normal;
}
}
} }
.dynamic { }
height: auto; // .dynamic {
overflow: initial; // height: auto;
white-space: wrap; // overflow: initial;
// white-space: wrap;
// }
.title {
color: #333333;
font-size: 16px;
line-height: 24px;
font-weight: bold;
margin-bottom: 16px;
} }
.fold { .fold {
cursor: pointer; cursor: pointer;
...@@ -1514,6 +1560,9 @@ export default { ...@@ -1514,6 +1560,9 @@ export default {
align-items: center; align-items: center;
white-space: nowrap; white-space: nowrap;
margin-left: 16px; margin-left: 16px;
position:absolute;
bottom:0;
right:58px;
} }
} }
.price { .price {
...@@ -1689,5 +1738,36 @@ export default { ...@@ -1689,5 +1738,36 @@ export default {
} }
} }
} }
.settleAmount-dialog{
.content {
display: flex;
align-items: center;
flex-wrap:wrap;
.content-item {
width: calc((100% - 16px * 4) / 4);
padding: 20px;
background: #f7f9fa;
margin-right:16px;
box-sizing: border-box;
margin-bottom:16px;
&-title {
color: #333333;
font-size: 14px;
margin-bottom: 12px;
}
&-price {
color: #333333;
font-size: 26px;
font-weight: bold;
.unit {
color: #333333;
font-size: 14px;
margin-left: 4px;
font-weight: normal;
}
}
}
}
}
</style> </style>
\ No newline at end of file \ No newline at end of file
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!