Commit cdb5fb45 by chenwq

feat(公告配置): 新增多个日报、周报和月报模版配置项

添加轻改区域日报、权益区域日报、延保区域日报、区域经理周报、运营主管周报、区域经理月报和运营主管月报等模版配置项,并更新相关表单和映射关系
1 parent c8f8e0a6
......@@ -6,7 +6,7 @@
<span class="weight-5 color6 font-14 ml12">{{ merchantName }}</span>
</div>
<div class="config-wrap gl-form-page">
<el-form ref="form" :model="form" label-width="154px">
<el-form ref="form" :model="form" label-width="295px">
<el-form-item label="所属企业:">
<el-select v-model="config.merchantId" placeholder="请选择" @change="handleMerchatChange"
@visible-change="hideSelect">
......@@ -46,7 +46,7 @@
</el-form-item>
<!-- #喜报>> : -->
<template v-for="(bulletin, index) in buttetinList">
<el-form-item :label="'#' + (index + 1) + bulletin.label + '>>' + ':'" class="group-item-box" :key="index">
<el-form-item :label="(index > 10 && index < 26) ? bulletin.label + ' 推送至群聊' + ':' : '#' + (index + 1) + bulletin.label + '>>' + ':'" class="group-item-box" :key="index">
<div class="group-box">
<div class="input-box" v-for="(i, k) in groupCofListInput[bulletin.storageList]" :key="k">
<!-- <el-input v-model="i.name" ></el-input> -->
......@@ -135,7 +135,22 @@ export default {
viewReport: [],
InvoicingReport: [],
storeReport: [],
constructionReport: []
constructionReport: [],
lightModifyReport: [],
equityRegionalOperationsDaily: [],
regionalOperationsReport: [],
equityRegionalManagerWeeklyReport21: [],
regionalManagerWeeklyReport: [],
equityRegionalManagerWeeklyReport23: [],
equityOperationManagerWeeklyReport21: [],
operationManagerWeeklyReport11: [],
equityOperationManagerWeeklyReport23: [],
regionalManagerMonthlyReport11: [],
equityRegionalManagerMonthlyReport21: [],
equityRegionalManagerMonthlyReport23: [],
equityOperationManagerMonthlyReport21: [],
operationManagerMonthlyReport11: [],
equityOperationManagerMonthlyReport23: []
},
switchList: {
// xiReport: [],
......@@ -145,6 +160,21 @@ export default {
InvoicingReport: [],
storeReport: [],
constructionReport: [],
lightModifyReport: [],
equityRegionalOperationsDaily: [],
regionalOperationsReport: [],
equityRegionalManagerWeeklyReport21: [],
regionalManagerWeeklyReport: [],
equityRegionalManagerWeeklyReport23: [],
equityOperationManagerWeeklyReport21: [],
operationManagerWeeklyReport11: [],
equityOperationManagerWeeklyReport23: [],
regionalManagerMonthlyReport11: [],
equityRegionalManagerMonthlyReport21: [],
equityRegionalManagerMonthlyReport23: [],
equityOperationManagerMonthlyReport21: [],
operationManagerMonthlyReport11: [],
equityOperationManagerMonthlyReport23: [],
saReport: [
{ switchType: 401, switchStatus: 'Y', actionReportType: 4 },
{ switchType: 402, switchStatus: 'Y', actionReportType: 4 }
......@@ -169,7 +199,22 @@ export default {
zhanReportValue: [],
saasReportValue: [],
storeReportValue: [],
constructionReportValue: []
constructionReportValue: [],
lightModifyReportValue: [],
equityRegionalOperationsDailyValue: [],
regionalOperationsReportValue: [],
equityRegionalManagerWeeklyReport21Value: [],
regionalManagerWeeklyReportValue: [],
equityRegionalManagerWeeklyReport23Value: [],
equityOperationManagerWeeklyReport21Value: [],
operationManagerWeeklyReport11Value: [],
equityOperationManagerWeeklyReport23Value: [],
regionalManagerMonthlyReport11Value: [],
equityRegionalManagerMonthlyReport21Value: [],
equityRegionalManagerMonthlyReport23Value: [],
equityOperationManagerMonthlyReport21Value: [],
operationManagerMonthlyReport11Value: [],
equityOperationManagerMonthlyReport23Value: []
},
groupToType: [
// {
......@@ -219,6 +264,66 @@ export default {
{
attr: 'constructionReport',
type: 32
},
{
attr: 'lightModifyReport',
type: 34
},
{
attr: 'equityRegionalOperationsDaily',
type: 35
},
{
attr: 'regionalOperationsReport',
type: 25
},
{
attr: 'equityRegionalManagerWeeklyReport21',
type: 36
},
{
attr: 'regionalManagerWeeklyReport',
type: 37
},
{
attr: 'equityRegionalManagerWeeklyReport23',
type: 38
},
{
attr: 'equityOperationManagerWeeklyReport21',
type: 39
},
{
attr: 'operationManagerWeeklyReport11',
type: 40
},
{
attr: 'equityOperationManagerWeeklyReport23',
type: 41
},
{
attr: 'regionalManagerMonthlyReport11',
type: 42
},
{
attr: 'equityRegionalManagerMonthlyReport21',
type: 43
},
{
attr: 'equityRegionalManagerMonthlyReport23',
type: 44
},
{
attr: 'equityOperationManagerMonthlyReport21',
type: 45
},
{
attr: 'operationManagerMonthlyReport11',
type: 46
},
{
attr: 'equityOperationManagerMonthlyReport23',
type: 47
}
],
buttetinList: [
......@@ -280,6 +385,96 @@ export default {
// text: '预览配置',
storageList: 'constructionReportValue'
// componentName: 'InvoicingDialog'
},
{
label: '1.1轻改区域日报模版',
storageList: 'lightModifyReportValue',
componentName: '',
eyeIcon: ''
},
{
label: '2.1权益区域日报模版',
storageList: 'equityRegionalOperationsDailyValue',
componentName: '',
eyeIcon: ''
},
{
label: '2.3延保区域日报模版',
storageList: 'regionalOperationsReportValue',
componentName: '',
eyeIcon: ''
},
{
label: '2.1区域经理周报模版',
storageList: 'equityRegionalManagerWeeklyReport21Value',
componentName: '',
eyeIcon: ''
},
{
label: '1.1区域经理周报模版',
storageList: 'regionalManagerWeeklyReportValue',
componentName: '',
eyeIcon: ''
},
{
label: '2.3区域经理周报模版',
storageList: 'equityRegionalManagerWeeklyReport23Value',
componentName: '',
eyeIcon: ''
},
{
label: '2.1运营主管周报模版',
storageList: 'equityOperationManagerWeeklyReport21Value',
componentName: '',
eyeIcon: ''
},
{
label: '1.1运营主管周报模版',
storageList: 'operationManagerWeeklyReport11Value',
componentName: '',
eyeIcon: ''
},
{
label: '2.3运营主管周报模版',
storageList: 'equityOperationManagerWeeklyReport23Value',
componentName: '',
eyeIcon: ''
},
{
label: '1.1区域经理月报模版',
storageList: 'regionalManagerMonthlyReport11Value',
componentName: '',
eyeIcon: ''
},
{
label: '2.1区域经理月报模版',
storageList: 'equityRegionalManagerMonthlyReport21Value',
componentName: '',
eyeIcon: ''
},
{
label: '2.3区域经理月报模版',
storageList: 'equityRegionalManagerMonthlyReport23Value',
componentName: '',
eyeIcon: ''
},
{
label: '2.1运营主管月报模版',
storageList: 'equityOperationManagerMonthlyReport21Value',
componentName: '',
eyeIcon: ''
},
{
label: '1.1运营主管月报模版',
storageList: 'operationManagerMonthlyReport11Value',
componentName: '',
eyeIcon: ''
},
{
label: '2.3运营主管月报模版',
storageList: 'equityOperationManagerMonthlyReport23Value',
componentName: '',
eyeIcon: ''
}
]
}
......@@ -352,7 +547,34 @@ export default {
this.idBefEncryption = data.idBefEncryption
this.$apis.battle.activityreportWorktool({ cloudId: this.idBefEncryption }).then(res => {
this.selectGroupName = res.data.result || []
this.groupCofListInput = { wordReportValue: [{ name: '' }], orderReportValue: [{ name: '' }], viewReportValue: [{ name: '' }], InvoicingReportValue: [{ name: '' }], saReportValue: [{ name: '' }], saPerReportValue: [{ name: '' }], scheduleReportValue: [{ name: '' }], zhanReportValue: [{ name: '' }], saasReportValue: [{ name: '' }], storeReportValue: [{ name: '' }], constructionReportValue: [{ name: '' }] }
this.groupCofListInput = {
wordReportValue: [{ name: '' }],
orderReportValue: [{ name: '' }],
viewReportValue: [{ name: '' }],
InvoicingReportValue: [{ name: '' }],
saReportValue: [{ name: '' }],
saPerReportValue: [{ name: '' }],
scheduleReportValue: [{ name: '' }],
zhanReportValue: [{ name: '' }],
saasReportValue: [{ name: '' }],
storeReportValue: [{ name: '' }],
constructionReportValue: [{ name: '' }],
lightModifyReportValue: [{ name: '' }],
equityRegionalOperationsDailyValue: [{ name: '' }],
regionalOperationsReportValue: [{ name: '' }],
equityRegionalManagerWeeklyReport21Value: [{ name: '' }],
regionalManagerWeeklyReportValue: [{ name: '' }],
equityRegionalManagerWeeklyReport23Value: [{ name: '' }],
equityOperationManagerWeeklyReport21Value: [{ name: '' }],
operationManagerWeeklyReport11Value: [{ name: '' }],
equityOperationManagerWeeklyReport23Value: [{ name: '' }],
regionalManagerMonthlyReport11Value: [{ name: '' }],
equityRegionalManagerMonthlyReport21Value: [{ name: '' }],
equityRegionalManagerMonthlyReport23Value: [{ name: '' }],
equityOperationManagerMonthlyReport21Value: [{ name: '' }],
operationManagerMonthlyReport11Value: [{ name: '' }],
equityOperationManagerMonthlyReport23Value: [{ name: '' }]
}
})
},
// 弹窗数据回显
......@@ -389,7 +611,22 @@ export default {
InvoicingReportValue: [],
saasReportValue: [],
storeReportValue: [],
constructionReportValue: []
constructionReportValue: [],
lightModifyReportValue: [],
equityRegionalOperationsDailyValue: [],
regionalOperationsReportValue: [],
equityRegionalManagerWeeklyReport21Value: [],
regionalManagerWeeklyReportValue: [],
equityRegionalManagerWeeklyReport23Value: [],
equityOperationManagerWeeklyReport21Value: [],
operationManagerWeeklyReport11Value: [],
equityOperationManagerWeeklyReport23Value: [],
regionalManagerMonthlyReport11Value: [],
equityRegionalManagerMonthlyReport21Value: [],
equityRegionalManagerMonthlyReport23Value: [],
equityOperationManagerMonthlyReport21Value: [],
operationManagerMonthlyReport11Value: [],
equityOperationManagerMonthlyReport23Value: []
}
this.battleVisible = true
// 编辑
......@@ -455,7 +692,22 @@ export default {
zhanReportValue: [{ name: '' }],
saasReportValue: [{ name: '' }],
storeReportValue: [{ name: '' }],
constructionReportValue: [{ name: '' }]
constructionReportValue: [{ name: '' }],
lightModifyReportValue: [{ name: '' }],
equityRegionalOperationsDailyValue: [{ name: '' }],
regionalOperationsReportValue: [{ name: '' }],
equityRegionalManagerWeeklyReport21Value: [{ name: '' }],
regionalManagerWeeklyReportValue: [{ name: '' }],
equityRegionalManagerWeeklyReport23Value: [{ name: '' }],
equityOperationManagerWeeklyReport21Value: [{ name: '' }],
operationManagerWeeklyReport11Value: [{ name: '' }],
equityOperationManagerWeeklyReport23Value: [{ name: '' }],
regionalManagerMonthlyReport11Value: [{ name: '' }],
equityRegionalManagerMonthlyReport21Value: [{ name: '' }],
equityRegionalManagerMonthlyReport23Value: [{ name: '' }],
equityOperationManagerMonthlyReport21Value: [{ name: '' }],
operationManagerMonthlyReport11Value: [{ name: '' }],
equityOperationManagerMonthlyReport23Value: [{ name: '' }]
}
}
},
......@@ -475,7 +727,22 @@ export default {
wordReport: [],
saasReport: [],
storeReport: [],
constructionReport: []
constructionReport: [],
lightModifyReport: [],
equityRegionalOperationsDaily: [],
regionalOperationsReport: [],
equityRegionalManagerWeeklyReport21: [],
regionalManagerWeeklyReport: [],
equityRegionalManagerWeeklyReport23: [],
equityOperationManagerWeeklyReport21: [],
operationManagerWeeklyReport11: [],
equityOperationManagerWeeklyReport23: [],
regionalManagerMonthlyReport11: [],
equityRegionalManagerMonthlyReport21: [],
equityRegionalManagerMonthlyReport23: [],
equityOperationManagerMonthlyReport21: [],
operationManagerMonthlyReport11: [],
equityOperationManagerMonthlyReport23: []
}
}
}
......@@ -502,7 +769,22 @@ export default {
wordReport: [],
saasReport: [],
storeReport: [],
constructionReport: []
constructionReport: [],
lightModifyReport: [],
equityRegionalOperationsDaily: [],
regionalOperationsReport: [],
equityRegionalManagerWeeklyReport21: [],
regionalManagerWeeklyReport: [],
equityRegionalManagerWeeklyReport23: [],
equityOperationManagerWeeklyReport21: [],
operationManagerWeeklyReport11: [],
equityOperationManagerWeeklyReport23: [],
regionalManagerMonthlyReport11: [],
equityRegionalManagerMonthlyReport21: [],
equityRegionalManagerMonthlyReport23: [],
equityOperationManagerMonthlyReport21: [],
operationManagerMonthlyReport11: [],
equityOperationManagerMonthlyReport23: []
}
},
async getDepartmentTree() {
......@@ -602,7 +884,7 @@ export default {
scene: 1
}
let switchList = []
let reportParams = ['saReport', 'zhanReport', 'orderReport', 'saPerReport', 'scheduleReport', 'wordReport', 'viewReport', 'InvoicingReport', 'storeReport', 'constructionReport']
let reportParams = ['saReport', 'zhanReport', 'orderReport', 'saPerReport', 'scheduleReport', 'wordReport', 'viewReport', 'InvoicingReport', 'storeReport', 'constructionReport', 'lightModifyReport', 'equityRegionalOperationsDaily', 'regionalOperationsReport', 'equityRegionalManagerWeeklyReport21', 'regionalManagerWeeklyReport', 'equityRegionalManagerWeeklyReport23', 'equityOperationManagerWeeklyReport21', 'operationManagerWeeklyReport11', 'equityOperationManagerWeeklyReport23', 'regionalManagerMonthlyReport11', 'equityRegionalManagerMonthlyReport21', 'equityRegionalManagerMonthlyReport23', 'equityOperationManagerMonthlyReport21', 'operationManagerMonthlyReport11', 'equityOperationManagerMonthlyReport23']
reportParams.forEach(item => {
switchList.push(...this.switchList[item])
})
......
......@@ -54,15 +54,11 @@
</div>
<div class="input-box">
<!-- :disabled="pushRadio == 2" -->
<el-time-select
:picker-options="{
<el-time-select :picker-options="{
start: '00:00',
step: '00:01',
end: '23:00'
}"
v-model="pushTimeValue"
placeholder="选择时间"
></el-time-select>
}" v-model="pushTimeValue" placeholder="选择时间"></el-time-select>
</div>
</div>
<div class="group-box">
......@@ -150,7 +146,20 @@ export default {
InvoicingReport: [],
wordReport: [],
regionalOperationsReport: [],
lightModifyReport: [],
lightModifyReport: [],
equityRegionalOperationsDaily: [],
equityRegionalManagerWeeklyReport21: [],
regionalManagerWeeklyReport: [],
equityRegionalManagerWeeklyReport23: [],
equityOperationManagerWeeklyReport21: [],
operationManagerWeeklyReport11: [],
equityOperationManagerWeeklyReport23: [],
regionalManagerMonthlyReport11: [],
equityRegionalManagerMonthlyReport21: [],
equityRegionalManagerMonthlyReport23: [],
equityOperationManagerMonthlyReport21: [],
operationManagerMonthlyReport11: [],
equityOperationManagerMonthlyReport23: [],
extendedRevenueReport: [],
sceneReport: []
},
......@@ -180,7 +189,20 @@ export default {
InvoicingReportValue: [],
wordReportValue: [],
regionalOperationsReportValue: [],
lightModifyReportValue: [],
lightModifyReportValue: [],
equityRegionalOperationsDailyValue: [],
equityRegionalManagerWeeklyReport21Value: [],
regionalManagerWeeklyReportValue: [],
equityRegionalManagerWeeklyReport23Value: [],
equityOperationManagerWeeklyReport21Value: [],
operationManagerWeeklyReport11Value: [],
equityOperationManagerWeeklyReport23Value: [],
regionalManagerMonthlyReport11Value: [],
equityRegionalManagerMonthlyReport21Value: [],
equityRegionalManagerMonthlyReport23Value: [],
equityOperationManagerMonthlyReport21Value: [],
operationManagerMonthlyReport11Value: [],
equityOperationManagerMonthlyReport23Value: [],
extendedRevenueReportValue: [],
sceneReportValue: []
},
......@@ -217,10 +239,58 @@ export default {
attr: 'regionalOperationsReport',
type: 25
},
{
attr: 'lightModifyReport',
type: 34
},
{
attr: 'lightModifyReport',
type: 34
},
{
attr: 'equityRegionalOperationsDaily',
type: 35
},
{
attr: 'regionalManagerWeeklyReport',
type: 37
},
{
attr: 'equityRegionalManagerWeeklyReport23',
type: 38
},
{
attr: 'equityOperationManagerWeeklyReport21',
type: 39
},
{
attr: 'operationManagerWeeklyReport11',
type: 40
},
{
attr: 'equityOperationManagerWeeklyReport23',
type: 41
},
{
attr: 'regionalManagerMonthlyReport11',
type: 42
},
{
attr: 'equityRegionalManagerMonthlyReport21',
type: 43
},
{
attr: 'equityRegionalManagerMonthlyReport23',
type: 44
},
{
attr: 'equityOperationManagerMonthlyReport21',
type: 45
},
{
attr: 'operationManagerMonthlyReport11',
type: 46
},
{
attr: 'equityOperationManagerMonthlyReport23',
type: 47
},
{
attr: 'extendedRevenueReport',
type: 26
......@@ -282,14 +352,92 @@ export default {
eyeIcon: ''
},
{
label: '区域运营日报',
label: '1.1轻改区域日报模版',
storageList: 'lightModifyReportValue',
componentName: '',
eyeIcon: ''
},
{
label: '2.1权益区域日报模版',
storageList: 'equityRegionalOperationsDailyValue',
componentName: '',
eyeIcon: ''
},
{
label: '2.3延保区域日报模版',
storageList: 'regionalOperationsReportValue',
componentName: '',
eyeIcon: ''
},
{
label: '轻改区域日报',
storageList: 'lightModifyReportValue',
label: '2.1区域经理周报模版',
storageList: 'equityRegionalManagerWeeklyReport21Value',
componentName: '',
eyeIcon: ''
},
{
label: '1.1区域经理周报模版',
storageList: 'regionalManagerWeeklyReportValue',
componentName: '',
eyeIcon: ''
},
{
label: '2.3区域经理周报模版',
storageList: 'equityRegionalManagerWeeklyReport23Value',
componentName: '',
eyeIcon: ''
},
{
label: '2.1运营主管周报模版',
storageList: 'equityOperationManagerWeeklyReport21Value',
componentName: '',
eyeIcon: ''
},
{
label: '1.1运营主管周报模版',
storageList: 'operationManagerWeeklyReport11Value',
componentName: '',
eyeIcon: ''
},
{
label: '2.3运营主管周报模版',
storageList: 'equityOperationManagerWeeklyReport23Value',
componentName: '',
eyeIcon: ''
},
{
label: '1.1区域经理月报模版',
storageList: 'regionalManagerMonthlyReport11Value',
componentName: '',
eyeIcon: ''
},
{
label: '2.1区域经理月报模版',
storageList: 'equityRegionalManagerMonthlyReport21Value',
componentName: '',
eyeIcon: ''
},
{
label: '2.3区域经理月报模版',
storageList: 'equityRegionalManagerMonthlyReport23Value',
componentName: '',
eyeIcon: ''
},
{
label: '2.1运营主管月报模版',
storageList: 'equityOperationManagerMonthlyReport21Value',
componentName: '',
eyeIcon: ''
},
{
label: '1.1运营主管月报模版',
storageList: 'operationManagerMonthlyReport11Value',
componentName: '',
eyeIcon: ''
},
{
label: '2.3运营主管月报模版',
storageList: 'equityOperationManagerMonthlyReport23Value',
componentName: '',
eyeIcon: ''
},
......@@ -398,8 +546,22 @@ export default {
employeeBadgeReportValue: [{ name: '' }],
InvoicingReportValue: [{ name: '' }],
wordReportValue: [{ name: '' }],
constructionReportValue: [{ name: '' }],
lightModifyReportValue: [{ name: '' }],
equityRegionalOperationsDailyValue: [{ name: '' }],
regionalOperationsReportValue: [{ name: '' }],
lightModifyReportValue: [{ name: '' }],
equityRegionalManagerWeeklyReport21Value: [{ name: '' }],
regionalManagerWeeklyReportValue: [{ name: '' }],
equityRegionalManagerWeeklyReport23Value: [{ name: '' }],
equityOperationManagerWeeklyReport21Value: [{ name: '' }],
operationManagerWeeklyReport11Value: [{ name: '' }],
equityOperationManagerWeeklyReport23Value: [{ name: '' }],
regionalManagerMonthlyReport11Value: [{ name: '' }],
equityRegionalManagerMonthlyReport21Value: [{ name: '' }],
equityRegionalManagerMonthlyReport23Value: [{ name: '' }],
equityOperationManagerMonthlyReport21Value: [{ name: '' }],
operationManagerMonthlyReport11Value: [{ name: '' }],
equityOperationManagerMonthlyReport23Value: [{ name: '' }],
extendedRevenueReportValue: [{ name: '' }],
sceneReportValue: [{ name: '' }]
}
......@@ -437,7 +599,20 @@ export default {
employeeBadgeReport: [],
InvoicingReport: [],
regionalOperationsReport: [],
lightModifyReport: [],
lightModifyReport: [],
equityRegionalOperationsDaily: [],
equityRegionalManagerWeeklyReport21: [],
regionalManagerWeeklyReport: [],
equityRegionalManagerWeeklyReport23: [],
equityOperationManagerWeeklyReport21: [],
operationManagerWeeklyReport11: [],
equityOperationManagerWeeklyReport23: [],
regionalManagerMonthlyReport11: [],
equityRegionalManagerMonthlyReport21: [],
equityRegionalManagerMonthlyReport23: [],
equityOperationManagerMonthlyReport21: [],
operationManagerMonthlyReport11: [],
equityOperationManagerMonthlyReport23: [],
extendedRevenueReport: [],
sceneReport: []
}
......@@ -450,7 +625,20 @@ export default {
InvoicingReportValue: [],
wordReportValue: [],
regionalOperationsReportValue: [],
lightModifyReportValue: [],
lightModifyReportValue: [],
equityRegionalOperationsDailyValue: [],
equityRegionalManagerWeeklyReport21Value: [],
regionalManagerWeeklyReportValue: [],
equityRegionalManagerWeeklyReport23Value: [],
equityOperationManagerWeeklyReport21Value: [],
operationManagerWeeklyReport11Value: [],
equityOperationManagerWeeklyReport23Value: [],
regionalManagerMonthlyReport11Value: [],
equityRegionalManagerMonthlyReport21Value: [],
equityRegionalManagerMonthlyReport23Value: [],
equityOperationManagerMonthlyReport21Value: [],
operationManagerMonthlyReport11Value: [],
equityOperationManagerMonthlyReport23Value: [],
extendedRevenueReportValue: [],
sceneReportValue: []
}
......@@ -519,7 +707,20 @@ export default {
employeeBadgeReportValue: [{ name: '' }],
wordReportValue: [{ name: '' }],
regionalOperationsReportValue: [{ name: '' }],
lightModifyReportValue: [{ name: '' }],
lightModifyReportValue: [{ name: '' }],
equityRegionalOperationsDailyValue: [{ name: '' }],
equityRegionalManagerWeeklyReport21Value: [{ name: '' }],
regionalManagerWeeklyReportValue: [{ name: '' }],
equityRegionalManagerWeeklyReport23Value: [{ name: '' }],
equityOperationManagerWeeklyReport21Value: [{ name: '' }],
operationManagerWeeklyReport11Value: [{ name: '' }],
equityOperationManagerWeeklyReport23Value: [{ name: '' }],
regionalManagerMonthlyReport11Value: [{ name: '' }],
equityRegionalManagerMonthlyReport21Value: [{ name: '' }],
equityRegionalManagerMonthlyReport23Value: [{ name: '' }],
equityOperationManagerMonthlyReport21Value: [{ name: '' }],
operationManagerMonthlyReport11Value: [{ name: '' }],
equityOperationManagerMonthlyReport23Value: [{ name: '' }],
extendedRevenueReportValue: [{ name: '' }],
sceneReportValue: [{ name: '' }]
}
......@@ -539,7 +740,21 @@ export default {
InvoicingReport: [],
wordReport: [],
regionalOperationsReport: [],
lightModifyReport: [],
lightModifyReport: [],
equityRegionalOperationsDaily: [],
equityRegionalManagerWeeklyReport21: [],
regionalManagerWeeklyReport: [],
equityRegionalManagerWeeklyReport23: [],
equityOperationManagerWeeklyReport21: [],
operationManagerWeeklyReport11: [],
equityOperationManagerWeeklyReport23: [],
regionalManagerMonthlyReport11: [],
equityRegionalManagerMonthlyReport21: [],
equityRegionalManagerMonthlyReport23: [],
equityOperationManagerMonthlyReport21: [],
operationManagerMonthlyReport11: [],
equityOperationManagerMonthlyReport23: [],
extendedRevenueReport: [],
sceneReport: []
}
}
......@@ -565,7 +780,20 @@ export default {
InvoicingReport: [],
wordReport: [],
regionalOperationsReport: [],
lightModifyReport: [],
lightModifyReport: [],
equityRegionalOperationsDaily: [],
equityRegionalManagerWeeklyReport21: [],
regionalManagerWeeklyReport: [],
equityRegionalManagerWeeklyReport23: [],
equityOperationManagerWeeklyReport21: [],
operationManagerWeeklyReport11: [],
equityOperationManagerWeeklyReport23: [],
regionalManagerMonthlyReport11: [],
equityRegionalManagerMonthlyReport21: [],
equityRegionalManagerMonthlyReport23: [],
equityOperationManagerMonthlyReport21: [],
operationManagerMonthlyReport11: [],
equityOperationManagerMonthlyReport23: [],
extendedRevenueReport: [],
sceneReport: []
}
......
......@@ -3,19 +3,15 @@
<div class="activity">
<!-- 表格区域 开始 -->
<div class="container">
<GLCombiForm ref="showSearch" :rowNumber="1" :formObj="searchForm" :formData="searchFormData"
@handleOk="handleSearch" @handleRest="handleReset">
<GLCombiForm ref="showSearch" :rowNumber="1" :formObj="searchForm" :formData="searchFormData" @handleOk="handleSearch" @handleRest="handleReset">
<template slot="unionMerchantId">
<el-input v-model.trim="searchForm.unionMerchantId" maxlength="11" placeholder="请输入商户号"
@input="merchantIdInput"></el-input>
<el-input v-model.trim="searchForm.unionMerchantId" maxlength="11" placeholder="请输入商户号" @input="merchantIdInput"></el-input>
</template>
</GLCombiForm>
<div class="flex-between title">
<div class="title-text">喜报列表</div>
</div>
<GLTable ref="battleRef" :getListApi="getListApi" :noDataImg="url" :searchForm="searchForm"
:tableParams="tableParams" :pageConf="pageConf" @setTableFinishFun="setTableFinishFun"
@selectionTable="selectionTable">
<GLTable ref="battleRef" :getListApi="getListApi" :noDataImg="url" :searchForm="searchForm" :tableParams="tableParams" :pageConf="pageConf" @setTableFinishFun="setTableFinishFun" @selectionTable="selectionTable">
<div slot="content" slot-scope="scope">
<div v-for="(item, index) in formatterContent(scope.scope)" :key="index">{{ item }}</div>
</div>
......@@ -120,7 +116,22 @@ export default {
[9, '#8.驻店日报>>'],
[10, '#9.业务预警>>'],
[31, '#31.轻改门店产值及个人成交报表>>'],
[32, '#11.技工施工单>>']
[32, '#11.技工施工单>>'],
[34, '#34.1.1轻改区域日报模版>>'],
[35, '#35.2.1权益区域日报模版>>'],
[25, '#25.2.3延保区域日报模版>>'],
[36, '#36.2.1区域经理周报模版>>'],
[37, '#37.1.1区域经理周报模版>>'],
[38, '#38.2.3区域经理周报模版>>'],
[39, '#39.2.1运营主管周报模版>>'],
[40, '#40.1.1运营主管周报模版>>'],
[41, '#41.2.3运营主管周报模版>>'],
[42, '#42.1.1区域经理月报模版>>'],
[43, '#43.2.1区域经理月报模版>>'],
[44, '#44.2.3区域经理月报模版>>'],
[45, '#45.2.1运营主管月报模版>>'],
[46, '#46.1.1运营主管月报模版>>'],
[47, '#47.2.3运营主管月报模版>>']
])
let txt = ''
cellValue.groupConfigList?.forEach(item => {
......
......@@ -197,7 +197,22 @@ export default {
formatterContent(cellValue) {
let typeToTxt = new Map([
[27, '#2.场景线索>>'],
[29, '#1.员工培训日报>>']
[29, '#1.员工培训日报>>'],
[34, '#34.1.1轻改区域日报模版>>'],
[35, '#35.2.1权益区域日报模版>>'],
[25, '#25.2.3延保区域日报模版>>'],
[36, '#36.2.1区域经理周报模版>>'],
[37, '#37.1.1区域经理周报模版>>'],
[38, '#38.2.3区域经理周报模版>>'],
[39, '#39.2.1运营主管周报模版>>'],
[40, '#40.1.1运营主管周报模版>>'],
[41, '#41.2.3运营主管周报模版>>'],
[42, '#42.1.1区域经理月报模版>>'],
[43, '#43.2.1区域经理月报模版>>'],
[44, '#44.2.3区域经理月报模版>>'],
[45, '#45.2.1运营主管月报模版>>'],
[46, '#46.1.1运营主管月报模版>>'],
[47, '#47.2.3运营主管月报模版>>']
])
let txt = ''
cellValue.groupConfigList?.forEach(item => {
......
......@@ -1106,10 +1106,25 @@ export default {
[9, '#5.驻店日报>>'],
[23, '#6.智能工牌开机检测>>'],
[10, '#7.业务预警>>'],
[25, '#8.区域运营日报>>'],
// [25, '#8.2.3延保区域日报模版>>'],
[26, '#9.延保门店产值及个人成交报表>>'],
[28, '#10.将场景集市上架通知>>'],
[34, '#11.轻改区域日报>>']
// [34, '#11.1.1轻改区域日报模版>>'],
[34, '#34.1.1轻改区域日报模版>>'],
[35, '#35.2.1权益区域日报模版>>'],
[25, '#25.2.3延保区域日报模版>>'],
[36, '#36.2.1区域经理周报模版>>'],
[37, '#37.1.1区域经理周报模版>>'],
[38, '#38.2.3区域经理周报模版>>'],
[39, '#39.2.1运营主管周报模版>>'],
[40, '#40.1.1运营主管周报模版>>'],
[41, '#41.2.3运营主管周报模版>>'],
[42, '#42.1.1区域经理月报模版>>'],
[43, '#43.2.1区域经理月报模版>>'],
[44, '#44.2.3区域经理月报模版>>'],
[45, '#45.2.1运营主管月报模版>>'],
[46, '#46.1.1运营主管月报模版>>'],
[47, '#47.2.3运营主管月报模版>>']
])
let txt = ''
cellValue.groupConfigList?.forEach(item => {
......
......@@ -6,7 +6,7 @@
<span class="weight-5 color6 font-14 ml12">{{ routeParams.residentStaffName }}</span>
</div>
<div class="config-wrap gl-form-page">
<el-form ref="form" :model="form" label-width="154px">
<el-form ref="form" :model="form" label-width="295px">
<el-form-item label="所属企业:">
<el-select v-model="config.merchantId" placeholder="请选择" @change="handleMerchatChange" @visible-change="hideSelect">
<el-option v-for="item in merchantList" :key="item.merchantId" :label="item.merchantName" :value="item.merchantId"></el-option>
......@@ -41,7 +41,7 @@
</el-form-item>
<!-- #喜报>> : -->
<template v-for="(bulletin, index) in buttetinList">
<el-form-item :label="'#' + (index + 1) + bulletin.label + '>>' + ':'" class="group-item-box" :key="index">
<el-form-item :label="(index > 1 && index < 17) ? bulletin.label + ' 推送至群聊' + ':' : '#' + (index + 1) + bulletin.label + '>>' + ':'" class="group-item-box" :key="index">
<div class="group-box">
<div class="input-box" v-for="(i, k) in groupCofListInput[bulletin.storageList]" :key="k">
<!-- <el-input v-model="i.name" ></el-input> -->
......@@ -118,11 +118,41 @@ export default {
},
groupCofList: {
trainingReport: [],
sceneClue: []
sceneClue: [],
lightModifyReport: [],
equityRegionalOperationsDaily: [],
regionalOperationsReport: [],
equityRegionalManagerWeeklyReport21: [],
regionalManagerWeeklyReport: [],
equityRegionalManagerWeeklyReport23: [],
equityOperationManagerWeeklyReport21: [],
operationManagerWeeklyReport11: [],
equityOperationManagerWeeklyReport23: [],
regionalManagerMonthlyReport11: [],
equityRegionalManagerMonthlyReport21: [],
equityRegionalManagerMonthlyReport23: [],
equityOperationManagerMonthlyReport21: [],
operationManagerMonthlyReport11: [],
equityOperationManagerMonthlyReport23: []
},
groupCofListInput: {
trainingReportValue: [],
sceneClueValue: []
sceneClueValue: [],
lightModifyReportValue: [],
equityRegionalOperationsDailyValue: [],
regionalOperationsReportValue: [],
equityRegionalManagerWeeklyReport21Value: [],
regionalManagerWeeklyReportValue: [],
equityRegionalManagerWeeklyReport23Value: [],
equityOperationManagerWeeklyReport21Value: [],
operationManagerWeeklyReport11Value: [],
equityOperationManagerWeeklyReport23Value: [],
regionalManagerMonthlyReport11Value: [],
equityRegionalManagerMonthlyReport21Value: [],
equityRegionalManagerMonthlyReport23Value: [],
equityOperationManagerMonthlyReport21Value: [],
operationManagerMonthlyReport11Value: [],
equityOperationManagerMonthlyReport23Value: []
},
groupToType: [
{
......@@ -132,6 +162,66 @@ export default {
{
attr: 'sceneClue',
type: 27
},
{
attr: 'lightModifyReport',
type: 34
},
{
attr: 'equityRegionalOperationsDaily',
type: 35
},
{
attr: 'regionalOperationsReport',
type: 25
},
{
attr: 'equityRegionalManagerWeeklyReport21',
type: 36
},
{
attr: 'regionalManagerWeeklyReport',
type: 37
},
{
attr: 'equityRegionalManagerWeeklyReport23',
type: 38
},
{
attr: 'equityOperationManagerWeeklyReport21',
type: 39
},
{
attr: 'operationManagerWeeklyReport11',
type: 40
},
{
attr: 'equityOperationManagerWeeklyReport23',
type: 41
},
{
attr: 'regionalManagerMonthlyReport11',
type: 42
},
{
attr: 'equityRegionalManagerMonthlyReport21',
type: 43
},
{
attr: 'equityRegionalManagerMonthlyReport23',
type: 44
},
{
attr: 'equityOperationManagerMonthlyReport21',
type: 45
},
{
attr: 'operationManagerMonthlyReport11',
type: 46
},
{
attr: 'equityOperationManagerMonthlyReport23',
type: 47
}
],
buttetinList: [
......@@ -145,6 +235,81 @@ export default {
label: '.场景线索',
storageList: 'sceneClueValue',
componentName: ''
},
{
label: '1.1轻改区域日报模版',
storageList: 'lightModifyReportValue',
componentName: ''
},
{
label: '2.1权益区域日报模版',
storageList: 'equityRegionalOperationsDailyValue',
componentName: ''
},
{
label: '2.3延保区域日报模版',
storageList: 'regionalOperationsReportValue',
componentName: ''
},
{
label: '2.1区域经理周报模版',
storageList: 'equityRegionalManagerWeeklyReport21Value',
componentName: ''
},
{
label: '1.1区域经理周报模版',
storageList: 'regionalManagerWeeklyReportValue',
componentName: ''
},
{
label: '2.3区域经理周报模版',
storageList: 'equityRegionalManagerWeeklyReport23Value',
componentName: ''
},
{
label: '2.1运营主管周报模版',
storageList: 'equityOperationManagerWeeklyReport21Value',
componentName: ''
},
{
label: '1.1运营主管周报模版',
storageList: 'operationManagerWeeklyReport11Value',
componentName: ''
},
{
label: '2.3运营主管周报模版',
storageList: 'equityOperationManagerWeeklyReport23Value',
componentName: ''
},
{
label: '1.1区域经理月报模版',
storageList: 'regionalManagerMonthlyReport11Value',
componentName: ''
},
{
label: '2.1区域经理月报模版',
storageList: 'equityRegionalManagerMonthlyReport21Value',
componentName: ''
},
{
label: '2.3区域经理月报模版',
storageList: 'equityRegionalManagerMonthlyReport23Value',
componentName: ''
},
{
label: '2.1运营主管月报模版',
storageList: 'equityOperationManagerMonthlyReport21Value',
componentName: ''
},
{
label: '1.1运营主管月报模版',
storageList: 'operationManagerMonthlyReport11Value',
componentName: ''
},
{
label: '2.3运营主管月报模版',
storageList: 'equityOperationManagerMonthlyReport23Value',
componentName: ''
}
]
}
......@@ -219,7 +384,25 @@ export default {
this.$apis.battle.activityreportWorktool({ cloudId: this.idBefEncryption }).then(res => {
this.selectGroupName = res.data.result || []
// this.groupCofListInput = { wordReportValue: [{ name: '' }], orderReportValue: [{ name: '' }], viewReportValue: [{ name: '' }], InvoicingReportValue: [{ name: '' }], saReportValue: [{ name: '' }], trainingReportValue: [{ name: '' }], scheduleReportValue: [{ name: '' }], zhanReportValue: [{ name: '' }], saasReportValue: [{ name: '' }] }
this.groupCofListInput = { trainingReportValue: [{ name: '' }], sceneClueValue: [{ name: '' }] }
this.groupCofListInput = {
trainingReportValue: [{ name: '' }],
sceneClueValue: [{ name: '' }],
lightModifyReportValue: [{ name: '' }],
equityRegionalOperationsDailyValue: [{ name: '' }],
regionalOperationsReportValue: [{ name: '' }],
equityRegionalManagerWeeklyReport21Value: [{ name: '' }],
regionalManagerWeeklyReportValue: [{ name: '' }],
equityRegionalManagerWeeklyReport23Value: [{ name: '' }],
equityOperationManagerWeeklyReport21Value: [{ name: '' }],
operationManagerWeeklyReport11Value: [{ name: '' }],
equityOperationManagerWeeklyReport23Value: [{ name: '' }],
regionalManagerMonthlyReport11Value: [{ name: '' }],
equityRegionalManagerMonthlyReport21Value: [{ name: '' }],
equityRegionalManagerMonthlyReport23Value: [{ name: '' }],
equityOperationManagerMonthlyReport21Value: [{ name: '' }],
operationManagerMonthlyReport11Value: [{ name: '' }],
equityOperationManagerMonthlyReport23Value: [{ name: '' }]
}
})
},
// 弹窗数据回显
......@@ -246,7 +429,22 @@ export default {
}
this.groupCofListInput = {
trainingReportValue: [],
sceneClueValue: []
sceneClueValue: [],
lightModifyReportValue: [],
equityRegionalOperationsDailyValue: [],
regionalOperationsReportValue: [],
equityRegionalManagerWeeklyReport21Value: [],
regionalManagerWeeklyReportValue: [],
equityRegionalManagerWeeklyReport23Value: [],
equityOperationManagerWeeklyReport21Value: [],
operationManagerWeeklyReport11Value: [],
equityOperationManagerWeeklyReport23Value: [],
regionalManagerMonthlyReport11Value: [],
equityRegionalManagerMonthlyReport21Value: [],
equityRegionalManagerMonthlyReport23Value: [],
equityOperationManagerMonthlyReport21Value: [],
operationManagerMonthlyReport11Value: [],
equityOperationManagerMonthlyReport23Value: []
}
this.battleVisible = true
// 编辑
......@@ -307,7 +505,22 @@ export default {
// InvoicingReportValue: [{ name: '' }],
// saReportValue: [{ name: '' }],
trainingReportValue: [{ name: '' }],
sceneClueValue: [{ name: '' }]
sceneClueValue: [{ name: '' }],
lightModifyReportValue: [{ name: '' }],
equityRegionalOperationsDailyValue: [{ name: '' }],
regionalOperationsReportValue: [{ name: '' }],
equityRegionalManagerWeeklyReport21Value: [{ name: '' }],
regionalManagerWeeklyReportValue: [{ name: '' }],
equityRegionalManagerWeeklyReport23Value: [{ name: '' }],
equityOperationManagerWeeklyReport21Value: [{ name: '' }],
operationManagerWeeklyReport11Value: [{ name: '' }],
equityOperationManagerWeeklyReport23Value: [{ name: '' }],
regionalManagerMonthlyReport11Value: [{ name: '' }],
equityRegionalManagerMonthlyReport21Value: [{ name: '' }],
equityRegionalManagerMonthlyReport23Value: [{ name: '' }],
equityOperationManagerMonthlyReport21Value: [{ name: '' }],
operationManagerMonthlyReport11Value: [{ name: '' }],
equityOperationManagerMonthlyReport23Value: [{ name: '' }]
// scheduleReportValue: [{ name: '' }],
// zhanReportValue: [{ name: '' }],
// saasReportValue: [{ name: '' }]
......@@ -321,7 +534,22 @@ export default {
if (isReset) {
this.groupCofList = {
trainingReport: [],
sceneClue: []
sceneClue: [],
lightModifyReport: [],
equityRegionalOperationsDaily: [],
regionalOperationsReport: [],
equityRegionalManagerWeeklyReport21: [],
regionalManagerWeeklyReport: [],
equityRegionalManagerWeeklyReport23: [],
equityOperationManagerWeeklyReport21: [],
operationManagerWeeklyReport11: [],
equityOperationManagerWeeklyReport23: [],
regionalManagerMonthlyReport11: [],
equityRegionalManagerMonthlyReport21: [],
equityRegionalManagerMonthlyReport23: [],
equityOperationManagerMonthlyReport21: [],
operationManagerMonthlyReport11: [],
equityOperationManagerMonthlyReport23: []
}
}
}
......@@ -339,7 +567,22 @@ export default {
}
this.groupCofList = {
trainingReport: [],
sceneClue: []
sceneClue: [],
lightModifyReport: [],
equityRegionalOperationsDaily: [],
regionalOperationsReport: [],
equityRegionalManagerWeeklyReport21: [],
regionalManagerWeeklyReport: [],
equityRegionalManagerWeeklyReport23: [],
equityOperationManagerWeeklyReport21: [],
operationManagerWeeklyReport11: [],
equityOperationManagerWeeklyReport23: [],
regionalManagerMonthlyReport11: [],
equityRegionalManagerMonthlyReport21: [],
equityRegionalManagerMonthlyReport23: [],
equityOperationManagerMonthlyReport21: [],
operationManagerMonthlyReport11: [],
equityOperationManagerMonthlyReport23: []
}
},
async getDepartmentTree() {
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!