协同宣发 接口对接
This commit is contained in:
@@ -79,19 +79,19 @@
|
|||||||
<div class="top-item__title">
|
<div class="top-item__title">
|
||||||
<h3>计划执行成员</h3>
|
<h3>计划执行成员</h3>
|
||||||
</div>
|
</div>
|
||||||
<p>3,324</p>
|
<p>{{ memberInfo.planCount || 0 }}</p>
|
||||||
</div>
|
</div>
|
||||||
<div class="top-item">
|
<div class="top-item">
|
||||||
<div class="top-item__title">
|
<div class="top-item__title">
|
||||||
<h3>未执行成员</h3>
|
<h3>未执行成员</h3>
|
||||||
</div>
|
</div>
|
||||||
<p>3,324</p>
|
<p>{{ memberInfo.cannotExecuteCount || 0 }}</p>
|
||||||
</div>
|
</div>
|
||||||
<div class="top-item">
|
<div class="top-item">
|
||||||
<div class="top-item__title">
|
<div class="top-item__title">
|
||||||
<h3>已执行成员</h3>
|
<h3>已执行成员</h3>
|
||||||
</div>
|
</div>
|
||||||
<p>3,324</p>
|
<p>{{ memberInfo.executedCount || 0 }}</p>
|
||||||
</div>
|
</div>
|
||||||
<div class="top-item">
|
<div class="top-item">
|
||||||
<div class="top-item__title">
|
<div class="top-item__title">
|
||||||
@@ -102,29 +102,29 @@
|
|||||||
<i class="iconfont iconDetails"></i>
|
<i class="iconfont iconDetails"></i>
|
||||||
</el-tooltip>
|
</el-tooltip>
|
||||||
</div>
|
</div>
|
||||||
<p>3,324</p>
|
<p>{{ memberInfo.unExecutedCount || 0 }}</p>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="bottom">
|
<div class="bottom">
|
||||||
<div class="bottom-search">
|
<div class="bottom-search">
|
||||||
<div class="left">
|
<div class="left">
|
||||||
<el-radio-group v-model="search2.sendStatus" size="small">
|
<el-radio-group v-model="search1.sendStatus" size="small" @change="search1.current = 1, getMemberInfo()">
|
||||||
<el-radio-button size="small" label="0">未执行</el-radio-button>
|
<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="1">已执行</el-radio-button>
|
||||||
<el-radio-button size="small" label="2">无法执行</el-radio-button>
|
<el-radio-button size="small" label="2">无法执行</el-radio-button>
|
||||||
</el-radio-group>
|
</el-radio-group>
|
||||||
</div>
|
</div>
|
||||||
<el-button type="primary">提醒成员发送</el-button>
|
<el-button type="primary" @click="sendMsg(0)">提醒成员发送</el-button>
|
||||||
</div>
|
</div>
|
||||||
<ai-table
|
<ai-table
|
||||||
:tableData="tableData"
|
:tableData="tableData1"
|
||||||
:col-configs="colConfigs"
|
:col-configs="colConfigs1"
|
||||||
:total="total"
|
:total="total1"
|
||||||
border
|
border
|
||||||
tableSize="small"
|
tableSize="small"
|
||||||
:current.sync="search1.current"
|
:current.sync="search1.current"
|
||||||
:size.sync="search1.size"
|
:size.sync="search1.size"
|
||||||
@getList="getList">
|
@getList="getMemberInfo">
|
||||||
</ai-table>
|
</ai-table>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@@ -134,47 +134,47 @@
|
|||||||
<div class="top-item__title">
|
<div class="top-item__title">
|
||||||
<h3>计划送达居民群</h3>
|
<h3>计划送达居民群</h3>
|
||||||
</div>
|
</div>
|
||||||
<p>3,324</p>
|
<p>{{ groupInfo.planCount || 0 }}</p>
|
||||||
</div>
|
</div>
|
||||||
<div class="top-item">
|
<div class="top-item">
|
||||||
<div class="top-item__title">
|
<div class="top-item__title">
|
||||||
<h3>未送达居民群</h3>
|
<h3>未送达居民群</h3>
|
||||||
</div>
|
</div>
|
||||||
<p>3,324</p>
|
<p>{{ groupInfo.planCount || 0 }}</p>
|
||||||
</div>
|
</div>
|
||||||
<div class="top-item">
|
<div class="top-item">
|
||||||
<div class="top-item__title">
|
<div class="top-item__title">
|
||||||
<h3>已送达居民群</h3>
|
<h3>已送达居民群</h3>
|
||||||
</div>
|
</div>
|
||||||
<p>3,324</p>
|
<p>{{ groupInfo.planCount || 0 }}</p>
|
||||||
</div>
|
</div>
|
||||||
<div class="top-item">
|
<div class="top-item">
|
||||||
<div class="top-item__title">
|
<div class="top-item__title">
|
||||||
<h3>无法送达居民群</h3>
|
<h3>无法送达居民群</h3>
|
||||||
</div>
|
</div>
|
||||||
<p>3,324</p>
|
<p>{{ groupInfo.planCount || 0 }}</p>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="bottom">
|
<div class="bottom">
|
||||||
<div class="bottom-search">
|
<div class="bottom-search">
|
||||||
<div class="left">
|
<div class="left">
|
||||||
<el-radio-group v-model="search1.sendStatus" size="small">
|
<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="0">未执行</el-radio-button>
|
||||||
<el-radio-button size="small" label="1">已执行</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-button size="small" label="2">无法执行</el-radio-button>
|
||||||
</el-radio-group>
|
</el-radio-group>
|
||||||
</div>
|
</div>
|
||||||
<el-button type="primary">提醒成员发送</el-button>
|
<el-button type="primary" @click="sendMsg(1)">提醒成员发送</el-button>
|
||||||
</div>
|
</div>
|
||||||
<ai-table
|
<ai-table
|
||||||
:tableData="tableData"
|
:tableData="tableData2"
|
||||||
:col-configs="colConfigs"
|
:col-configs="colConfigs2"
|
||||||
:total="total"
|
:total="total2"
|
||||||
border
|
border
|
||||||
tableSize="small"
|
tableSize="small"
|
||||||
:current.sync="search2.current"
|
:current.sync="search2.current"
|
||||||
:size.sync="search2.size"
|
:size.sync="search2.size"
|
||||||
@getList="getList">
|
@getList="getGroupInfo">
|
||||||
</ai-table>
|
</ai-table>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@@ -196,7 +196,8 @@
|
|||||||
|
|
||||||
data () {
|
data () {
|
||||||
return {
|
return {
|
||||||
total: 0,
|
total1: 0,
|
||||||
|
total2: 0,
|
||||||
radio1: '未执行',
|
radio1: '未执行',
|
||||||
search1: {
|
search1: {
|
||||||
current: 1,
|
current: 1,
|
||||||
@@ -212,18 +213,24 @@
|
|||||||
type: 1,
|
type: 1,
|
||||||
sendStatus: '0'
|
sendStatus: '0'
|
||||||
},
|
},
|
||||||
|
memberInfo: {},
|
||||||
|
groupInfo: {},
|
||||||
|
tableData1: [],
|
||||||
fileList: [],
|
fileList: [],
|
||||||
tableData: [],
|
tableData2: [],
|
||||||
info: {},
|
info: {},
|
||||||
content: '',
|
content: '',
|
||||||
currIndex: 0,
|
currIndex: 0,
|
||||||
colConfigs: [
|
colConfigs1: [
|
||||||
{ prop: 'position', label: '任务名称' },
|
{ prop: 'groupOwnerId', label: '成员', openType: 'userName' },
|
||||||
{ prop: 'mobile', label: '群发类型' },
|
{ prop: 'mainDepartment', label: '成员所属部门', openType: 'departmentName', align: 'center' },
|
||||||
{ prop: 'position', label: '创建人' },
|
{ prop: 'groupCount', label: '预计送达居民群', align: 'center' }
|
||||||
{ prop: 'mobile', label: '群发时间' },
|
],
|
||||||
{ prop: 'position', label: '状态' },
|
colConfigs2: [
|
||||||
{ prop: 'mobile', label: '任务完成率' }
|
{ prop: 'groupName', label: '居民群' },
|
||||||
|
{ prop: 'memberCount', label: '群人数', align: 'center' },
|
||||||
|
{ prop: 'groupOwnerId', label: '群主', openType: 'userName', align: 'center' },
|
||||||
|
{ prop: 'mainDepartment', label: '群主所属部门', openType: 'departmentName', align: 'center' }
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@@ -243,6 +250,17 @@
|
|||||||
}
|
}
|
||||||
}).then(res => {
|
}).then(res => {
|
||||||
if (res.code === 0) {
|
if (res.code === 0) {
|
||||||
|
this.tableData1 = res.data.executedList.records
|
||||||
|
this.total1 = res.data.executedList.total
|
||||||
|
this.memberInfo = res.data
|
||||||
|
}
|
||||||
|
})
|
||||||
|
},
|
||||||
|
|
||||||
|
sendMsg (type) {
|
||||||
|
this.instance.post(`/app/appmasssendingtask/remindSend?id=${this.params.id}`).then(res => {
|
||||||
|
if (res.code === 0) {
|
||||||
|
this.$message.success('提醒成功')
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
@@ -255,6 +273,9 @@
|
|||||||
}
|
}
|
||||||
}).then(res => {
|
}).then(res => {
|
||||||
if (res.code === 0) {
|
if (res.code === 0) {
|
||||||
|
this.tableData2 = res.data.executedList.records
|
||||||
|
this.total2 = res.data.executedList.total
|
||||||
|
this.groupInfo = res.data
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user