修复bug

This commit is contained in:
liaofei 2020-01-13 10:35:25 +08:00
parent 18b3f227e8
commit 0c2a5b96b8
3 changed files with 6 additions and 0 deletions

View File

@ -182,6 +182,7 @@
}, },
mounted:function () { mounted:function () {
this.getBadge(); this.getBadge();
var that = this;
layList.laydate.render({ layList.laydate.render({
elem:this.$refs.date_time, elem:this.$refs.date_time,
trigger:'click', trigger:'click',

View File

@ -190,6 +190,7 @@
}, },
mounted:function () { mounted:function () {
this.getBadge(); this.getBadge();
var that = this;
layList.laydate.render({ layList.laydate.render({
elem:this.$refs.date_time, elem:this.$refs.date_time,
trigger:'click', trigger:'click',

View File

@ -554,18 +554,22 @@
}, },
watch: { watch: {
'where.status':function () { 'where.status':function () {
this.where.excel=0;
this.getBadge(); this.getBadge();
layList.reload(this.where,true); layList.reload(this.where,true);
}, },
'where.data':function () { 'where.data':function () {
this.where.excel=0;
this.getBadge(); this.getBadge();
layList.reload(this.where,true); layList.reload(this.where,true);
}, },
'where.type':function () { 'where.type':function () {
this.where.excel=0;
this.getBadge(); this.getBadge();
layList.reload(this.where,true); layList.reload(this.where,true);
}, },
'where.pay_type':function () { 'where.pay_type':function () {
this.where.excel=0;
this.getBadge(); this.getBadge();
layList.reload(this.where,true); layList.reload(this.where,true);
} }