|
@@ -107,6 +107,7 @@
|
|
|
dateRange: [new Date().getFullYear() + '-' + (new Date().getMonth() + 1) + '-01', new Date()
|
|
|
.getFullYear() + '-' + (new Date().getMonth() + 1) + '-' + new Date().getDate()
|
|
|
],
|
|
|
+
|
|
|
}
|
|
|
},
|
|
|
computed: {
|
|
@@ -129,6 +130,7 @@
|
|
|
// 监听acceptData事件,获取上一页面通过eventChannel传送到当前页面的数据
|
|
|
eventChannel.on('acceptData', async (data) => {
|
|
|
this.info = data.item;
|
|
|
+ this.dateRange=[...data.date]
|
|
|
this.getCompanyList()
|
|
|
let res = await this.$http.get('/app/customer/' + this.info.id);
|
|
|
if (res.code == '200') {
|