|
@@ -36,6 +36,15 @@
|
|
|
<view class="uni-input">{{info.applicationMonth}}</view>
|
|
|
</span>
|
|
|
</view>
|
|
|
+ <view class="withdraw-head ">
|
|
|
+ <b>充电收入</b><span class="classFFF">{{info.chargingIncome}}元</span>
|
|
|
+ </view>
|
|
|
+ <view class="withdraw-head border-n">
|
|
|
+ <b>分润提现明细表</b><span class="download" @click="ckdownload" >
|
|
|
+ <u-icon name="download"></u-icon> 下载
|
|
|
+ </span>
|
|
|
+ </view>
|
|
|
+
|
|
|
<view class="withdraw-head">
|
|
|
<b>审核进度</b>
|
|
|
<span>
|
|
@@ -341,6 +350,33 @@
|
|
|
|
|
|
},
|
|
|
methods: {
|
|
|
+ ckdownload(){
|
|
|
+ uni.showLoading({
|
|
|
+ title: "加载中",
|
|
|
+ mask: true,
|
|
|
+ })
|
|
|
+ API.profitDetailsExcel({
|
|
|
+ stationId:this.info.stationId,
|
|
|
+ yearMonth:this.info.applicationMonth,
|
|
|
+
|
|
|
+ }).then((resDown) => {
|
|
|
+ uni.hideLoading()
|
|
|
+ if(resDown.data){
|
|
|
+ window.location.href=resDown.data
|
|
|
+
|
|
|
+ }else{
|
|
|
+ uni.showToast({
|
|
|
+ title:"无文件下载"
|
|
|
+ })
|
|
|
+ }
|
|
|
+ }).catch(error => {
|
|
|
+
|
|
|
+ uni.showToast({
|
|
|
+ title:error
|
|
|
+ })
|
|
|
+ })
|
|
|
+
|
|
|
+ },
|
|
|
getInfo(){
|
|
|
uni.showLoading({
|
|
|
title: "加载中",
|
|
@@ -374,10 +410,13 @@
|
|
|
}
|
|
|
</style>
|
|
|
<style lang="scss" scoped>
|
|
|
+ // .download {
|
|
|
+ // color: #185AC6;
|
|
|
+ // }
|
|
|
+
|
|
|
.download {
|
|
|
- color: #185AC6;
|
|
|
+ color: #185AC6 !important;
|
|
|
}
|
|
|
-
|
|
|
/deep/.u-tab-bar {
|
|
|
background-color: #0076FF !important;
|
|
|
}
|