Commit a4271a89 by 展昭

tj

parent e3a75976
......@@ -407,6 +407,7 @@ export default {
break;
} else {
this.currentPerId = this.period[localPerIndex].id;
this.savePerBeginDate(this.period[localPerIndex].beginDate);
}
}
}
......
......@@ -4,19 +4,21 @@
<HeaderW :title="title" />
</div>
<mescroll-vue ref="mescroll" :up="mescrollUp" @init="mescrollInit">
<div class="container-wrap" id="container-wrap">
<div class="list" v-for="(item, index) in dataList" :key="index">
<div class="title">
<div class="title_info">{{ item.feeType }}</div>
<i :class="item.amount>0?'orangeColor':''">{{ item.amount |moneyNum}}</i>
<div class="data-table" id="dataTable">
<mescroll-vue ref="mescroll" :up="mescrollUp" @init="mescrollInit">
<div class="container-wrap" id="container-wrap">
<div class="list" v-for="(item, index) in dataList" :key="index">
<div class="title">
<div class="title_info">{{ item.feeType }}</div>
<i :class="item.amount>0?'orangeColor':''">{{ item.amount |moneyNum}}</i>
</div>
<p>
<span>{{ item.dateTime|MM-DD HH:mm }}</span>
</p>
</div>
<p>
<span>{{ item.dateTime|MM-DD HH:mm }}</span>
</p>
</div>
</div>
</mescroll-vue>
</mescroll-vue>
</div>
</div>
</template>
......@@ -54,8 +56,8 @@ export default {
},
empty: {
// 列表第一页无任何数据时,显示的空提示布局; 需配置warpId才生效;
warpId: "dataList", // 父布局的id;
icon: "./static/mescroll/mescroll-empty.png", // 图标,支持网络图
warpId: "dataTable", // 父布局的id;
//icon: "../../assets/images/data-empty.png", // 图标,支持网络图
tip: "暂无相关数据~" // 提示
},
lazyLoad: {
......@@ -104,7 +106,7 @@ export default {
const fromType = this.$route.query.fromType;
console.log("fromType=", fromType);
if (!fromType) {
if (this.getBeginDate > "2020-04-30") {
if (dayjs(this.getBeginDate).valueOf() > dayjs("2020-04-30").valueOf()) {
this.title = dayjs(this.getBeginDate).format("M") + "月" + "资金记录";
}
}
......
......@@ -78,12 +78,13 @@ export default {
const failUrl=encodeURIComponent("https://pay.qinqinxiaobao.com/callback/fail");
const successUrl=encodeURIComponent("https://pay.qinqinxiaobao.com/callback/success");
let payUrl=`${this.payUrl}&accountType=19&selected=1&failUrl=${failUrl}&successUrl=${successUrl}`;
console.log('payUrl=',payUrl);
window.location.href=payUrl;
},
toPage() {
this.$router.push({
name: "billrecord",
query: { accountId: this.summary.accountId,formType:'more' }
query: { accountId: this.summary.accountId,fromType:'more' }
});
},
toNextPage(index, name) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment