镇公司采集任务

This commit is contained in:
zmj 2023-11-08 09:13:20 +08:00
parent ed540901c1
commit e3c0ae2df9

View File

@ -44,7 +44,7 @@
</view>
</view>
</view>
<u-popup :show="show" @close="close" :round="10" mode="center" @open="open">
<!-- <u-popup :show="show" @close="close" :round="10" mode="center" @open="open">
<view style="padding: 20rpx;">
<u-button type="primary" @click="navgo(`/subpkg/townTask/townGather?type=plant&task_id=${task_id}`)"
style="margin-bottom: 20rpx;" color="#0122C7" text="养殖基地信息"></u-button>
@ -53,8 +53,8 @@
</view>
</u-popup>
<mybtn text="新建信息收集" @click="show=true">
</u-popup> -->
<mybtn text="新建信息收集" @click="creatFn">
</mybtn>
</view>
@ -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)
}
}