列表
This commit is contained in:
@@ -144,7 +144,10 @@ export default {
|
|||||||
uni.clearStorageSync('ResidentTagsRemove')
|
uni.clearStorageSync('ResidentTagsRemove')
|
||||||
uni.clearStorageSync('circleTags')
|
uni.clearStorageSync('circleTags')
|
||||||
uni.clearStorageSync('circleTagsRemove')
|
uni.clearStorageSync('circleTagsRemove')
|
||||||
this.getList()
|
this.$dict.load('mstStatus').then(() => {
|
||||||
|
this.getList()
|
||||||
|
})
|
||||||
|
|
||||||
},
|
},
|
||||||
toDetail(item) {
|
toDetail(item) {
|
||||||
uni.navigateTo({url: `./cooperationDetail?id=${item.id}&time=${item.createTime}`})
|
uni.navigateTo({url: `./cooperationDetail?id=${item.id}&time=${item.createTime}`})
|
||||||
@@ -155,13 +158,20 @@ export default {
|
|||||||
this.getList()
|
this.getList()
|
||||||
},
|
},
|
||||||
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: {
|
params: {
|
||||||
current: this.current,
|
current: this.current,
|
||||||
taskTitle: this.taskTitle,
|
taskTitle: this.taskTitle,
|
||||||
startTime: this.start,
|
startTime: this.start,
|
||||||
endTime: this.end,
|
endTime: this.end,
|
||||||
createUserId: this.createUserId,
|
createUserId: this.createUserId,
|
||||||
|
status: this.status
|
||||||
}
|
}
|
||||||
}).then(res=> {
|
}).then(res=> {
|
||||||
if(res?.data) {
|
if(res?.data) {
|
||||||
@@ -213,7 +223,7 @@ export default {
|
|||||||
},
|
},
|
||||||
onShow() {
|
onShow() {
|
||||||
document.title = '协同宣发'
|
document.title = '协同宣发'
|
||||||
this.$dict.load(['mstStatus']).then(() => {
|
this.$dict.load('mstStatus').then(() => {
|
||||||
this.list = []
|
this.list = []
|
||||||
this.current = 1
|
this.current = 1
|
||||||
this.getList()
|
this.getList()
|
||||||
|
|||||||
@@ -69,6 +69,7 @@ export default {
|
|||||||
if(!this.selected.userId) {
|
if(!this.selected.userId) {
|
||||||
return this.$u.toast('请选择创建人')
|
return this.$u.toast('请选择创建人')
|
||||||
}
|
}
|
||||||
|
uni.$emit("pagePicker:custom", [this.selected])
|
||||||
uni.setStorageSync('userSelect', this.selected)
|
uni.setStorageSync('userSelect', this.selected)
|
||||||
uni.navigateBack()
|
uni.navigateBack()
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -36,13 +36,11 @@ export default {
|
|||||||
sendType: '',
|
sendType: '',
|
||||||
deptSelect: [],
|
deptSelect: [],
|
||||||
girdSelect: [],
|
girdSelect: [],
|
||||||
sendScope: '0',
|
sendScope: 0,
|
||||||
girdListIds: [],
|
girdListIds: [],
|
||||||
deptListIds: [],
|
deptListIds: [],
|
||||||
wxGroups: [], // 居民群,居民,朋友圈
|
wxGroups: [], // 居民群,居民,朋友圈
|
||||||
sex: '',
|
sex: '',
|
||||||
// groupList: [], // 居民
|
|
||||||
// executorList: [], // 朋友圈
|
|
||||||
ResidentTags: [],
|
ResidentTags: [],
|
||||||
ResidentTagsRemove: [],
|
ResidentTagsRemove: [],
|
||||||
startTime: '',
|
startTime: '',
|
||||||
@@ -56,7 +54,6 @@ export default {
|
|||||||
|
|
||||||
if(e.value == '1' || e.value == '2') {
|
if(e.value == '1' || e.value == '2') {
|
||||||
uni.navigateTo({url: `./scopedSelect?type=${e.value}&sendType=${this.sendType}`})
|
uni.navigateTo({url: `./scopedSelect?type=${e.value}&sendType=${this.sendType}`})
|
||||||
|
|
||||||
}
|
}
|
||||||
this.sendScope = e.value;
|
this.sendScope = e.value;
|
||||||
uni.setStorageSync('sendScope', this.sendScope)
|
uni.setStorageSync('sendScope', this.sendScope)
|
||||||
|
|||||||
@@ -68,7 +68,6 @@ export default {
|
|||||||
if(!this.selected.userId) {
|
if(!this.selected.userId) {
|
||||||
return this.$u.toast('请选择创建人')
|
return this.$u.toast('请选择创建人')
|
||||||
}
|
}
|
||||||
uni.$emit("pagePicker:custom", [this.selected])
|
|
||||||
uni.setStorageSync('userSelect', this.selected)
|
uni.setStorageSync('userSelect', this.selected)
|
||||||
uni.navigateBack()
|
uni.navigateBack()
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user