群发统计
This commit is contained in:
@@ -136,8 +136,8 @@
|
|||||||
<el-table-column slot="user" label="成员" align="left">
|
<el-table-column slot="user" label="成员" align="left">
|
||||||
<template slot-scope="{ row }">
|
<template slot-scope="{ row }">
|
||||||
<div class="userinfo">
|
<div class="userinfo">
|
||||||
<span>{{ row.groupOwnerName }}</span>
|
<span>{{ row.userName }}</span>
|
||||||
<span style="color: #999">{{ row.mainDepartmentName }}</span>
|
<span style="color: #999">{{ row.userDepartmentName }}</span>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
@@ -252,8 +252,8 @@
|
|||||||
}
|
}
|
||||||
}).then(res => {
|
}).then(res => {
|
||||||
if (res.code === 0) {
|
if (res.code === 0) {
|
||||||
// this.tableData1 = res.data.executedList.records
|
this.tableData1 = res.data.executedList.records
|
||||||
// this.total1 = res.data.executedList.total
|
this.total1 = res.data.executedList.total
|
||||||
this.memberInfo = res.data
|
this.memberInfo = res.data
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|||||||
@@ -33,14 +33,14 @@
|
|||||||
@change="search.current = 1, getList()"
|
@change="search.current = 1, getList()"
|
||||||
placeholder="选择群发结束日期">
|
placeholder="选择群发结束日期">
|
||||||
</el-date-picker>
|
</el-date-picker>
|
||||||
<ai-wechat-selecter :instance="instance" @change="onUserChange" :isMultiple="false" v-model="user">
|
<ai-user-selecter :instance="instance" @change="onUserChange" :isMultiple="false" v-model="user">
|
||||||
<div class="userSelcet">
|
<div class="userSelcet">
|
||||||
<span style="color: #606266;" v-if="search.createUserId">{{ name }}</span>
|
<span style="color: #606266;" v-if="search.createUserId">{{ name }}</span>
|
||||||
<span v-else>创建人</span>
|
<span v-else>创建人</span>
|
||||||
<i class="el-icon-arrow-up" v-if="!search.createUserId"></i>
|
<i class="el-icon-arrow-up" v-if="!search.createUserId"></i>
|
||||||
<i class="el-icon-circle-close" v-if="search.createUserId" @click.stop="user = [], search.createUserId = '', name = '', search.current = 1, getList()"></i>
|
<i class="el-icon-circle-close" v-if="search.createUserId" @click.stop="user = [], search.createUserId = '', name = '', search.current = 1, getList()"></i>
|
||||||
</div>
|
</div>
|
||||||
</ai-wechat-selecter>
|
</ai-user-selecter>
|
||||||
</template>
|
</template>
|
||||||
<template slot="right">
|
<template slot="right">
|
||||||
<el-input
|
<el-input
|
||||||
|
|||||||
@@ -1,8 +1,8 @@
|
|||||||
<template>
|
<template>
|
||||||
<div class="AppAnnounceWeChat">
|
<div class="AppAnnounceWeChat">
|
||||||
<!-- <keep-alive :include="['List']"> -->
|
<keep-alive :include="['List']">
|
||||||
<component ref="component" :is="component" @change="onChange" :params="params" :instance="instance" :dict="dict"></component>
|
<component ref="component" :is="component" @change="onChange" :params="params" :instance="instance" :dict="dict"></component>
|
||||||
<!-- </keep-alive> -->
|
</keep-alive>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
@@ -55,7 +55,7 @@
|
|||||||
this.params = data.params
|
this.params = data.params
|
||||||
}
|
}
|
||||||
|
|
||||||
if (data.type === 'list') {
|
if (data.type === 'List') {
|
||||||
this.component = 'List'
|
this.component = 'List'
|
||||||
this.params = data.params
|
this.params = data.params
|
||||||
|
|
||||||
|
|||||||
@@ -663,7 +663,7 @@ export default {
|
|||||||
|
|
||||||
cancel(isRefresh) {
|
cancel(isRefresh) {
|
||||||
this.$emit('change', {
|
this.$emit('change', {
|
||||||
type: 'list',
|
type: 'List',
|
||||||
isRefresh: !!isRefresh
|
isRefresh: !!isRefresh
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
<template>
|
<template>
|
||||||
<ai-detail class="AppAnnounceDetail">
|
<ai-detail class="AppAnnounceDetail" v-loading="isLoading">
|
||||||
<template slot="title">
|
<template slot="title">
|
||||||
<ai-title title="群发详情" isShowBack isShowBottomBorder @onBackClick="cancel(false)">
|
<ai-title title="群发详情" isShowBack isShowBottomBorder @onBackClick="cancel(true)">
|
||||||
</ai-title>
|
</ai-title>
|
||||||
</template>
|
</template>
|
||||||
<template slot="content">
|
<template slot="content">
|
||||||
@@ -136,8 +136,8 @@
|
|||||||
<el-table-column slot="user" label="成员" align="left">
|
<el-table-column slot="user" label="成员" align="left">
|
||||||
<template slot-scope="{ row }">
|
<template slot-scope="{ row }">
|
||||||
<div class="userinfo">
|
<div class="userinfo">
|
||||||
<span>{{ row.groupOwnerName }}</span>
|
<span>{{ row.userName }}</span>
|
||||||
<span style="color: #999">{{ row.mainDepartmentName }}</span>
|
<span style="color: #999">{{ row.userDepartmentName }}</span>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
@@ -210,10 +210,6 @@
|
|||||||
info: {},
|
info: {},
|
||||||
content: '',
|
content: '',
|
||||||
currIndex: 0,
|
currIndex: 0,
|
||||||
colConfigs3: [
|
|
||||||
{ prop: 'groupOwnerName', label: '群主' },
|
|
||||||
{ prop: 'groupNames', label: '群名称' }
|
|
||||||
],
|
|
||||||
colConfigs1: [
|
colConfigs1: [
|
||||||
{ slot: 'user', label: '成员' },
|
{ slot: 'user', label: '成员' },
|
||||||
{ prop: 'groupCount', label: '预计送达居民群', align: 'center' }
|
{ prop: 'groupCount', label: '预计送达居民群', align: 'center' }
|
||||||
@@ -223,7 +219,8 @@
|
|||||||
min: 60,
|
min: 60,
|
||||||
isDisabled: false,
|
isDisabled: false,
|
||||||
rejecterId: '',
|
rejecterId: '',
|
||||||
userNames: ''
|
userNames: '',
|
||||||
|
isLoading: false
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
@@ -249,8 +246,8 @@
|
|||||||
}
|
}
|
||||||
}).then(res => {
|
}).then(res => {
|
||||||
if (res.code === 0) {
|
if (res.code === 0) {
|
||||||
// this.tableData1 = res.data.executedList.records
|
this.tableData1 = res.data.executedList.records
|
||||||
// this.total1 = res.data.executedList.total
|
this.total1 = res.data.executedList.total
|
||||||
this.memberInfo = res.data
|
this.memberInfo = res.data
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
@@ -268,7 +265,7 @@
|
|||||||
},
|
},
|
||||||
|
|
||||||
sendMsg () {
|
sendMsg () {
|
||||||
this.instance.post(`/app/whchatmomentstask/remindExamine?id=${this.params.id}`).then(res => {
|
this.instance.post(`/app/whchatmomentstask/remindSend?id=${this.params.id}`).then(res => {
|
||||||
if (res.code === 0) {
|
if (res.code === 0) {
|
||||||
this.$message.success('提醒成功')
|
this.$message.success('提醒成功')
|
||||||
this.getInfo(this.params.id)
|
this.getInfo(this.params.id)
|
||||||
@@ -292,6 +289,7 @@
|
|||||||
},
|
},
|
||||||
|
|
||||||
getInfo (id) {
|
getInfo (id) {
|
||||||
|
this.isLoading = true
|
||||||
this.instance.post(`/app/whchatmomentstask/queryDetailById?id=${id}`).then(res => {
|
this.instance.post(`/app/whchatmomentstask/queryDetailById?id=${id}`).then(res => {
|
||||||
if (res.code === 0) {
|
if (res.code === 0) {
|
||||||
this.info = res.data
|
this.info = res.data
|
||||||
@@ -327,6 +325,7 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
this.isLoading = false
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
|
|
||||||
@@ -352,7 +351,7 @@
|
|||||||
|
|
||||||
cancel (isRefresh) {
|
cancel (isRefresh) {
|
||||||
this.$emit('change', {
|
this.$emit('change', {
|
||||||
type: 'list',
|
type: 'List',
|
||||||
isRefresh: !!isRefresh
|
isRefresh: !!isRefresh
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -33,14 +33,14 @@
|
|||||||
@change="search.current = 1, getList()"
|
@change="search.current = 1, getList()"
|
||||||
placeholder="选择群发结束日期">
|
placeholder="选择群发结束日期">
|
||||||
</el-date-picker>
|
</el-date-picker>
|
||||||
<ai-wechat-selecter :instance="instance" @change="onUserChange" :isMultiple="false" v-model="user">
|
<ai-user-selecter :instance="instance" @change="onUserChange" :isMultiple="false" v-model="user">
|
||||||
<div class="userSelcet">
|
<div class="userSelcet">
|
||||||
<span style="color: #606266;" v-if="search.createUserId">{{ name }}</span>
|
<span style="color: #606266;" v-if="search.createUserId">{{ name }}</span>
|
||||||
<span v-else>创建人</span>
|
<span v-else>创建人</span>
|
||||||
<i class="el-icon-arrow-up" v-if="!search.createUserId"></i>
|
<i class="el-icon-arrow-up" v-if="!search.createUserId"></i>
|
||||||
<i class="el-icon-circle-close" v-if="search.createUserId" @click.stop="user = [], search.createUserId = '', name = '', search.current = 1, getList()"></i>
|
<i class="el-icon-circle-close" v-if="search.createUserId" @click.stop="user = [], search.createUserId = '', name = '', search.current = 1, getList()"></i>
|
||||||
</div>
|
</div>
|
||||||
</ai-wechat-selecter>
|
</ai-user-selecter>
|
||||||
</template>
|
</template>
|
||||||
<template slot="right">
|
<template slot="right">
|
||||||
<el-input
|
<el-input
|
||||||
|
|||||||
Reference in New Issue
Block a user