Commit be4b0867 by 杨北旺

开启我的分账的导出功能/精品升级介绍页添加升级流程

1 parent ea71e2c8
......@@ -51,6 +51,9 @@
</div>
<div class="right_widget">
<div class="cell_wrapper flex_sc">
<el-button class="cell_btn_max" size="mini" @click="toExport">导出数据</el-button>
</div>
<div class="cell_wrapper flex_sc">
<el-button class="cell_btn" size="mini" @click="clearFind">重置</el-button>
<el-button class="cell_btn" size="mini" type="primary" @click="handlerParams">查询</el-button>
</div>
......@@ -106,7 +109,6 @@
</div>
</div>
</template>
<script>
import { mydivision, exportMydivision, myAccountTotalNumOfJT } from '../../api/modules/rules'
import { converterApi } from '../../api/modules/converter'
......@@ -337,7 +339,7 @@ export default {
// this.pickerOptions = this.setDateLimit()
},
mounted() {
let params = this.resetTime()
let params = this.resetTime()
this.toGetMyDivision(params)
},
methods: {
......@@ -382,7 +384,7 @@ export default {
this.storeId = ''
this.$refs.table.page.pageNum = 1
this.curMerchantNo = ''
let params = this.resetTime()
let params = this.resetTime()
this.toGetMyDivision(params)
},
handlerParams() {
......@@ -406,8 +408,8 @@ export default {
delete params.successDateStartDate
delete params.successDateEndDate
}
if(!this.divisionTime&&!this.payTime){
params = this.resetTime()
if (!this.divisionTime && !this.payTime) {
params = this.resetTime()
}
if (this.divisionTypeStatus) {
params.divisionStatus = this.divisionTypeStatus
......@@ -508,13 +510,20 @@ export default {
let method = exportMydivision()
let para = {
routerMethod: method,
currentPage: this.$refs.table.page.pageNum,
pageSize: this.$refs.table.page.pageSize,
...this.httpParam
}
converterApi(para).then(res => {
let iframe = document.createElement('iframe')
iframe.style.display = 'none'
iframe.src = res
document.body.appendChild(iframe)
let tempaa = utils.getExplorer()
if (tempaa == 'QQ') {
window.open(res)
} else {
let iframe = document.createElement('iframe')
iframe.style.display = 'none'
iframe.src = res
document.body.appendChild(iframe)
}
})
}
}
......@@ -613,4 +622,4 @@ export default {
.table_wrap /deep/ .el-table tbody tr:hover > td {
background: #f4f3ff !important;
}
</style>
</style>
\ No newline at end of file
......@@ -79,8 +79,23 @@
</div>
</template>
</div>
<div class="step_wrap">
<span class="nodata_tip_3">精品合作升级流程</span>
<div class="step flex_scb">
<div class="stepIcon flex_cc">1</div>
<div class="stepLine"></div>
<div class="stepIcon flex_cc">2</div>
<div class="stepLine"></div>
<div class="stepIcon flex_cc">3</div>
</div>
<div class="step_content flex_scb">
<span class="h13_title">联系嘀加精品业务经理,开通此业务</span>
<span class="h13_title">确定合作细则,销售专员转发精品礼券</span>
<span class="h13_title">车主完成精品升级,您获得分账收益</span>
</div>
</div>
<el-dialog :visible.sync="videoShow" width="50%" :before-close="handleClose">
<div slot="title" style="height:18px"></div>
<div slot="title" style="height: 18px"></div>
<video v-if="videoShow" width="100%" height="100%" autoplay controls src="https://img02.glsx.com.cn/scrm/video/upgrade.mp4"></video>
</el-dialog>
<qrCode phone="138 2651 0577" :codeUrl="code"></qrCode>
......@@ -335,4 +350,52 @@ export default {
margin-top: 25px;
}
}
.step_wrap {
width: 100%;
padding: 20px;
background: #ffffff;
box-shadow: 0px 10px 20px 0px rgba(88, 80, 255, 0.1);
margin-top: 10px;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
.nodata_tip_3 {
width: 100%;
height: 25px;
font-size: 18px;
font-weight: 600;
color: #000000;
line-height: 25px;
margin-bottom: 40px;
text-align: left;
}
.step,
.step_content {
width: 100%;
box-sizing: border-box;
padding: 0 50px;
}
.step {
padding: 0 146px;
}
.step_content {
margin-top: 22px;
}
.stepLine {
width: 40%;
height: 1px;
background: #5850ff;
}
.stepIcon {
width: 32px;
height: 32px;
background: #5850ff;
font-size: 14px;
font-weight: 400;
color: #ffffff;
border-radius: 50%;
}
}
</style>
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!