Commit a4271a89 by 展昭

tj

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