Commit b25aad75 by 徐忆琳

Merge branch 'xuyl_dev_v3.12.0' into 'v3.12.0'

企微群推送

See merge request !515
2 parents a1bc04c2 1aabe0e2
......@@ -239,13 +239,15 @@ export default {
sopId: {
type: String,
default: ''
},
sopType: {
type: String,
default: ''
}
},
mounted() {
// console.log('????????????')
this.tableParams.tableColumns = this.tableColumns
console.log('11')
this.getBaseData()
this.$refs.touchListRef.tableHeightValues = '400px'
this.$refs.touchListRef.refreshTable()
......@@ -291,7 +293,7 @@ export default {
this.labelOptUpdate = this.baseData.sopEventList.length && this.baseData.sopEventList[0].labelOptUpdate
if (this.baseData.sopEventList.length) {
this.baseData.sopEventList.forEach(item => {
item.confName = item.eventStartDate + ' ' + item.eventTime + ' ' + (item.repeatFlag == 'Y' ? this.diffsRepeatMode[item.repeatMode] : '单次') + ' ' + (this.sopInfo.sopType == 2 ? '企微群推送' : pushChannelTypeList[item.pushChannelType])
item.confName = item.eventStartDate + ' ' + item.eventTime + ' ' + (item.repeatFlag == 'Y' ? this.diffsRepeatMode[item.repeatMode] : '单次') + ' ' + (this.sopType == 2 ? '企微群推送' : pushChannelTypeList[item.pushChannelType])
// item.confName = item.eventStartDate + (item.repeatFlag == 'Y' ? (''-' + item.eventEndDate' || '') : '') + ' ' + item.eventTime + ' ' + pushChannelTypeList[item.pushChannelType]
})
this.getOptionsList('searchFormData', false)
......
......@@ -6,7 +6,7 @@
<complete-list v-if="activeName == 'compleList'" :sopId="routeInfo.id"></complete-list>
</el-tab-pane>
<el-tab-pane label="触达率分析" name="touchList">
<touch-list v-if="activeName == 'touchList'" :sopId="routeInfo.id"></touch-list>
<touch-list v-if="activeName == 'touchList'" :sopId="routeInfo.id" :sopType="routeInfo.sopType"></touch-list>
</el-tab-pane>
<el-tab-pane label="员工完成率分析" name="staffList" v-if=" routeInfo.sopType == 1">
<staff-list v-if="activeName == 'staffList'" :sopId="routeInfo.id"></staff-list>
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!