Commit be4b0867 by 杨北旺

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

1 parent ea71e2c8
...@@ -51,6 +51,9 @@ ...@@ -51,6 +51,9 @@
</div> </div>
<div class="right_widget"> <div class="right_widget">
<div class="cell_wrapper flex_sc"> <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" @click="clearFind">重置</el-button>
<el-button class="cell_btn" size="mini" type="primary" @click="handlerParams">查询</el-button> <el-button class="cell_btn" size="mini" type="primary" @click="handlerParams">查询</el-button>
</div> </div>
...@@ -106,7 +109,6 @@ ...@@ -106,7 +109,6 @@
</div> </div>
</div> </div>
</template> </template>
<script> <script>
import { mydivision, exportMydivision, myAccountTotalNumOfJT } from '../../api/modules/rules' import { mydivision, exportMydivision, myAccountTotalNumOfJT } from '../../api/modules/rules'
import { converterApi } from '../../api/modules/converter' import { converterApi } from '../../api/modules/converter'
...@@ -406,7 +408,7 @@ export default { ...@@ -406,7 +408,7 @@ export default {
delete params.successDateStartDate delete params.successDateStartDate
delete params.successDateEndDate delete params.successDateEndDate
} }
if(!this.divisionTime&&!this.payTime){ if (!this.divisionTime && !this.payTime) {
params = this.resetTime() params = this.resetTime()
} }
if (this.divisionTypeStatus) { if (this.divisionTypeStatus) {
...@@ -508,13 +510,20 @@ export default { ...@@ -508,13 +510,20 @@ export default {
let method = exportMydivision() let method = exportMydivision()
let para = { let para = {
routerMethod: method, routerMethod: method,
currentPage: this.$refs.table.page.pageNum,
pageSize: this.$refs.table.page.pageSize,
...this.httpParam ...this.httpParam
} }
converterApi(para).then(res => { converterApi(para).then(res => {
let tempaa = utils.getExplorer()
if (tempaa == 'QQ') {
window.open(res)
} else {
let iframe = document.createElement('iframe') let iframe = document.createElement('iframe')
iframe.style.display = 'none' iframe.style.display = 'none'
iframe.src = res iframe.src = res
document.body.appendChild(iframe) document.body.appendChild(iframe)
}
}) })
} }
} }
......
...@@ -79,8 +79,23 @@ ...@@ -79,8 +79,23 @@
</div> </div>
</template> </template>
</div> </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"> <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> <video v-if="videoShow" width="100%" height="100%" autoplay controls src="https://img02.glsx.com.cn/scrm/video/upgrade.mp4"></video>
</el-dialog> </el-dialog>
<qrCode phone="138 2651 0577" :codeUrl="code"></qrCode> <qrCode phone="138 2651 0577" :codeUrl="code"></qrCode>
...@@ -335,4 +350,52 @@ export default { ...@@ -335,4 +350,52 @@ export default {
margin-top: 25px; 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> </style>
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!