diff --git a/src/apps/AppCooperationPropaganda/AppCooperationPropaganda.vue b/src/apps/AppCooperationPropaganda/AppCooperationPropaganda.vue index f093b28c..d2e1336b 100644 --- a/src/apps/AppCooperationPropaganda/AppCooperationPropaganda.vue +++ b/src/apps/AppCooperationPropaganda/AppCooperationPropaganda.vue @@ -1,6 +1,9 @@ + + {{ item.name }} + @@ -19,12 +22,17 @@ 共需{{ item.groupOwnerCount || 0 }}名成员完成群发,目前已完成{{ item.completionRate || 0 }}% 创建部门: - {{ item.createUserDeptName }} + + + + 新增群发{{tabIndex==0? '居民群': tabIndex==1? '居民':'朋友圈'}} + + @@ -46,9 +54,15 @@ 已选择 请选择 - + + + 任务状态 + + + + 群发时间 @@ -75,7 +89,6 @@ - @@ -85,6 +98,21 @@ export default { appName: '协同宣发', data() { return { + tabs: [ + { + name: '群发居民群', + value: 'ResidentsGroup' + }, + { + name: '群发居民', + value: 'Residents' + }, + { + name: '群发朋友圈', + value: 'CircleOfFriends' + }, + ], + tabIndex: 0, current: 1, name: '', list: [], @@ -98,10 +126,16 @@ export default { taskTitle: '', createUserId: '', userList: [], - userIdList: [] + userIdList: [], + status: '', + sendType: '', } }, methods: { + tabClick(item,index) { + this.tabIndex = index; + this.sendType = item.value + }, toDetail(item) { uni.navigateTo({url: `./cooperationDetail?id=${item.id}&time=${item.createTime}`}) }, @@ -162,6 +196,9 @@ export default { }, confirmEnd(val) { this.endTime = val.year + '-' + val.month + '-' + val.day + }, + toAdd() { + uni.navigateTo({url: `./addPropaganda?type=${this.sendType}`}) } }, onShow() { @@ -181,11 +218,54 @@ export default {