协同宣发
This commit is contained in:
		| @@ -446,8 +446,6 @@ export default { | |||||||
|       this.instance.post(`/app/wxcp/wxcorptag/listAll?size=100`).then(res => { |       this.instance.post(`/app/wxcp/wxcorptag/listAll?size=100`).then(res => { | ||||||
|         if (res.code == 0) { |         if (res.code == 0) { | ||||||
|           this.tags = res.data.records |           this.tags = res.data.records | ||||||
|  |  | ||||||
|           console.log(res.data.records) |  | ||||||
|         } |         } | ||||||
|       }) |       }) | ||||||
|     }, |     }, | ||||||
|   | |||||||
| @@ -67,15 +67,9 @@ | |||||||
|           </ai-wrapper> |           </ai-wrapper> | ||||||
|         </template> |         </template> | ||||||
|       </ai-card> |       </ai-card> | ||||||
|       <ai-card> |       <ai-card title="成员统计"> | ||||||
|         <template #title> |  | ||||||
|           <div class="AppAnnounceDetail-title"> |  | ||||||
|             <span :class="[currIndex === 0 ? 'active' : '']" @click="currIndex = 0">成员统计</span> |  | ||||||
|             <span :class="[currIndex === 1 ? 'active' : '']" @click="currIndex = 1">居民群统计</span> |  | ||||||
|           </div> |  | ||||||
|         </template> |  | ||||||
|         <template #content> |         <template #content> | ||||||
|           <div class="content-item" v-if="currIndex === 0"> |           <div class="content-item"> | ||||||
|             <div class="top"> |             <div class="top"> | ||||||
|               <div class="top-item"> |               <div class="top-item"> | ||||||
|                 <div class="top-item__title"> |                 <div class="top-item__title"> | ||||||
| @@ -150,76 +144,6 @@ | |||||||
|               </ai-table> |               </ai-table> | ||||||
|             </div> |             </div> | ||||||
|           </div> |           </div> | ||||||
|           <div class="content-item" v-if="currIndex === 1"> |  | ||||||
|             <div class="top"> |  | ||||||
|               <div class="top-item"> |  | ||||||
|                 <div class="top-item__title"> |  | ||||||
|                   <h3>计划送达居民群</h3> |  | ||||||
|                 </div> |  | ||||||
|                 <p>{{ groupInfo.planCount || 0 }}</p> |  | ||||||
|               </div> |  | ||||||
|               <div class="top-item"> |  | ||||||
|                 <div class="top-item__title"> |  | ||||||
|                   <h3>未送达居民群</h3> |  | ||||||
|                 </div> |  | ||||||
|                 <p>{{ groupInfo.unExecutedCount || 0 }}</p> |  | ||||||
|               </div> |  | ||||||
|               <div class="top-item"> |  | ||||||
|                 <div class="top-item__title"> |  | ||||||
|                   <h3>已送达居民群</h3> |  | ||||||
|                 </div> |  | ||||||
|                 <p>{{ groupInfo.executedCount || 0 }}</p> |  | ||||||
|               </div> |  | ||||||
|               <div class="top-item"> |  | ||||||
|                 <div class="top-item__title"> |  | ||||||
|                   <h3>无法送达居民群</h3> |  | ||||||
|                 </div> |  | ||||||
|                 <p>{{ groupInfo.cannotExecuteCount || 0 }}</p> |  | ||||||
|               </div> |  | ||||||
|             </div> |  | ||||||
|             <div class="bottom"> |  | ||||||
|               <div class="bottom-search"> |  | ||||||
|                 <div class="left"> |  | ||||||
|                   <el-radio-group v-model="search2.sendStatus" size="small" @change="search2.current = 1, getGroupInfo()"> |  | ||||||
|                     <el-radio-button size="small" label="0">未送达</el-radio-button> |  | ||||||
|                     <el-radio-button size="small" label="1">已送达</el-radio-button> |  | ||||||
|                     <el-radio-button size="small" label="2">无法送达</el-radio-button> |  | ||||||
|                   </el-radio-group> |  | ||||||
|                   <ai-picker |  | ||||||
|                     dialogTitle="选择部门" |  | ||||||
|                     action="/app/wxcp/wxdepartment/departList" |  | ||||||
|                     :instance="instance" |  | ||||||
|                     @pick="e => onUserChange(e, 'search2')" :multiple="false" v-model="user2"> |  | ||||||
|                     <div class="userSelcet"> |  | ||||||
|                       <span style="color: #606266;" v-if="search2.deptartId">{{ name2 }}</span> |  | ||||||
|                       <span v-else>部门</span> |  | ||||||
|                       <i class="el-icon-arrow-up"  v-if="!search2.deptartId"></i> |  | ||||||
|                       <i class="el-icon-circle-close" v-if="search2.deptartId" @click.stop="user1 = [], search2.deptartId = '', search2.current = 1, getGroupInfo()"></i> |  | ||||||
|                     </div> |  | ||||||
|                   </ai-picker> |  | ||||||
|                 </div> |  | ||||||
|                 <el-button :type="isDisabled ? '' : 'primary'" :disabled="isDisabled"  @click="sendMsg(1)" v-if="info.status === '4'">{{ isDisabled ? min + '分钟后可再次提醒' : '提醒成员发送' }}</el-button> |  | ||||||
|               </div> |  | ||||||
|               <ai-table |  | ||||||
|                 :tableData="tableData2" |  | ||||||
|                 :col-configs="colConfigs2" |  | ||||||
|                 :total="total2" |  | ||||||
|                 border |  | ||||||
|                 tableSize="small" |  | ||||||
|                 :current.sync="search2.current" |  | ||||||
|                 :size.sync="search2.size" |  | ||||||
|                 @getList="getGroupInfo"> |  | ||||||
|                 <el-table-column slot="user" label="群主" align="center"> |  | ||||||
|                   <template slot-scope="{ row }"> |  | ||||||
|                     <div class="userinfo"> |  | ||||||
|                       <span>{{ row.groupOwnerName }}</span> |  | ||||||
|                       <span style="color: #999">{{ row.mainDepartmentName }}</span> |  | ||||||
|                     </div> |  | ||||||
|                   </template> |  | ||||||
|                 </el-table-column> |  | ||||||
|               </ai-table> |  | ||||||
|             </div> |  | ||||||
|           </div> |  | ||||||
|         </template> |         </template> | ||||||
|       </ai-card> |       </ai-card> | ||||||
|       <ai-dialog |       <ai-dialog | ||||||
| @@ -301,11 +225,6 @@ | |||||||
|           { slot: 'user', label: '成员' }, |           { slot: 'user', label: '成员' }, | ||||||
|           { prop: 'groupCount', label: '预计送达居民群', align: 'center' } |           { prop: 'groupCount', label: '预计送达居民群', align: 'center' } | ||||||
|         ], |         ], | ||||||
|         colConfigs2: [ |  | ||||||
|           { prop: 'groupName', label: '居民群' }, |  | ||||||
|           { prop: 'memberCount', label: '群人数', align: 'center' }, |  | ||||||
|           { slot: 'user', label: '群主', align: 'center' }, |  | ||||||
|         ], |  | ||||||
|         groups: [], |         groups: [], | ||||||
|         timer: null, |         timer: null, | ||||||
|         min: 60, |         min: 60, | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user