diff --git a/subpkg/townTask/gatherRecords.vue b/subpkg/townTask/gatherRecords.vue index 6479b8d..a0a6815 100644 --- a/subpkg/townTask/gatherRecords.vue +++ b/subpkg/townTask/gatherRecords.vue @@ -44,7 +44,7 @@ - + + @@ -102,13 +102,20 @@ // townTask3List() }, methods: { - open() { - this.show = true - }, - close() { - this.show = false - }, + // open() { + // this.show = true + // }, + // close() { + // this.show = false + // }, + creatFn() { + if (this.page == 1) { + this.navgo(`/subpkg/townTask/townGather?type=plant&task_id=${this.task_id}`) + } else { + this.navgo(`/subpkg/townTask/townGather?type=supply&task_id=${this.task_id}`) + } + }, navgo(url) { this.show = false uni.navigateTo({ @@ -118,7 +125,7 @@ changeTypeCurrent(e) { this.page = e.id // if(e.) - console.log(e.id) + } }