新增是否显示剩余金额

This commit is contained in:
weipengfei 2023-09-13 17:23:30 +08:00
parent 30648dfd5e
commit d9e48c33c9
2 changed files with 4 additions and 1 deletions

View File

@ -193,7 +193,9 @@
// this.navTo('/subpkg/fileTask/fileTask?id=' + JSON.stringify(this.$props.datas?.extend?.informationg?.arr)) // this.navTo('/subpkg/fileTask/fileTask?id=' + JSON.stringify(this.$props.datas?.extend?.informationg?.arr))
this.navTo(`/subpkg/property/vehicle?task_id=${this.$props.datas?.id}`) this.navTo(`/subpkg/property/vehicle?task_id=${this.$props.datas?.id}`)
} else if (this.$props.datas.type == 33) { } else if (this.$props.datas.type == 33) {
this.navTo(`/subpkg/blockTransaction/blockTransaction?task_id=${this.$props.datas?.id}`) let is_show = true;
if(uni.$u.timeFormat(Date.now(), 'yyyy-mm-dd')!=this.$props.datas?.end_time) is_show = false;
this.navTo(`/subpkg/blockTransaction/blockTransaction?task_id=${this.$props.datas?.id}&is_show=${is_show}`)
} else if (this.$props.datas.type == 34) { } else if (this.$props.datas.type == 34) {
this.navTo(`/subpkg/otherTask/otherTask?task_id=${this.$props.datas?.id}`) this.navTo(`/subpkg/otherTask/otherTask?task_id=${this.$props.datas?.id}`)
} else if (this.$props.datas.type == 35) { } else if (this.$props.datas.type == 35) {

View File

@ -94,6 +94,7 @@ export default {
} }
}, },
onLoad (options) { onLoad (options) {
options.is_show ? this.card.is_show = options.is_show : null;
options.task_id ? this.task_id = options.task_id : null; options.task_id ? this.task_id = options.task_id : null;
this.initLoad(); this.initLoad();
}, },