This commit is contained in:
shijingjing
2022-09-13 15:03:56 +08:00
parent 59c332152a
commit 92c8d8d5f2
4 changed files with 16 additions and 9 deletions

View File

@@ -144,7 +144,10 @@ export default {
uni.clearStorageSync('ResidentTagsRemove')
uni.clearStorageSync('circleTags')
uni.clearStorageSync('circleTagsRemove')
this.getList()
this.$dict.load('mstStatus').then(() => {
this.getList()
})
},
toDetail(item) {
uni.navigateTo({url: `./cooperationDetail?id=${item.id}&time=${item.createTime}`})
@@ -155,13 +158,20 @@ export default {
this.getList()
},
getList() {
this.$http.post(`/app/appmasssendingtask/list`, null, {
let url = ''
if(this.tabIndex==0) {
url = `/app/appmasssendingtask/list`
} else if(this.tabIndex==1 || this.tabIndex==2) {
url = `/app/whchatmomentstask/list`
}
this.$http.post(url, null, {
params: {
current: this.current,
taskTitle: this.taskTitle,
startTime: this.start,
endTime: this.end,
createUserId: this.createUserId,
status: this.status
}
}).then(res=> {
if(res?.data) {
@@ -213,7 +223,7 @@ export default {
},
onShow() {
document.title = '协同宣发'
this.$dict.load(['mstStatus']).then(() => {
this.$dict.load('mstStatus').then(() => {
this.list = []
this.current = 1
this.getList()