Commit cdb5fb45 by chenwq

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

添加轻改区域日报、权益区域日报、延保区域日报、区域经理周报、运营主管周报、区域经理月报和运营主管月报等模版配置项,并更新相关表单和映射关系
1 parent c8f8e0a6
...@@ -3,19 +3,15 @@ ...@@ -3,19 +3,15 @@
<div class="activity"> <div class="activity">
<!-- 表格区域 开始 --> <!-- 表格区域 开始 -->
<div class="container"> <div class="container">
<GLCombiForm ref="showSearch" :rowNumber="1" :formObj="searchForm" :formData="searchFormData" <GLCombiForm ref="showSearch" :rowNumber="1" :formObj="searchForm" :formData="searchFormData" @handleOk="handleSearch" @handleRest="handleReset">
@handleOk="handleSearch" @handleRest="handleReset">
<template slot="unionMerchantId"> <template slot="unionMerchantId">
<el-input v-model.trim="searchForm.unionMerchantId" maxlength="11" placeholder="请输入商户号" <el-input v-model.trim="searchForm.unionMerchantId" maxlength="11" placeholder="请输入商户号" @input="merchantIdInput"></el-input>
@input="merchantIdInput"></el-input>
</template> </template>
</GLCombiForm> </GLCombiForm>
<div class="flex-between title"> <div class="flex-between title">
<div class="title-text">喜报列表</div> <div class="title-text">喜报列表</div>
</div> </div>
<GLTable ref="battleRef" :getListApi="getListApi" :noDataImg="url" :searchForm="searchForm" <GLTable ref="battleRef" :getListApi="getListApi" :noDataImg="url" :searchForm="searchForm" :tableParams="tableParams" :pageConf="pageConf" @setTableFinishFun="setTableFinishFun" @selectionTable="selectionTable">
:tableParams="tableParams" :pageConf="pageConf" @setTableFinishFun="setTableFinishFun"
@selectionTable="selectionTable">
<div slot="content" slot-scope="scope"> <div slot="content" slot-scope="scope">
<div v-for="(item, index) in formatterContent(scope.scope)" :key="index">{{ item }}</div> <div v-for="(item, index) in formatterContent(scope.scope)" :key="index">{{ item }}</div>
</div> </div>
...@@ -120,7 +116,22 @@ export default { ...@@ -120,7 +116,22 @@ export default {
[9, '#8.驻店日报>>'], [9, '#8.驻店日报>>'],
[10, '#9.业务预警>>'], [10, '#9.业务预警>>'],
[31, '#31.轻改门店产值及个人成交报表>>'], [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 = '' let txt = ''
cellValue.groupConfigList?.forEach(item => { cellValue.groupConfigList?.forEach(item => {
......
...@@ -197,7 +197,22 @@ export default { ...@@ -197,7 +197,22 @@ export default {
formatterContent(cellValue) { formatterContent(cellValue) {
let typeToTxt = new Map([ let typeToTxt = new Map([
[27, '#2.场景线索>>'], [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 = '' let txt = ''
cellValue.groupConfigList?.forEach(item => { cellValue.groupConfigList?.forEach(item => {
......
...@@ -1106,10 +1106,25 @@ export default { ...@@ -1106,10 +1106,25 @@ export default {
[9, '#5.驻店日报>>'], [9, '#5.驻店日报>>'],
[23, '#6.智能工牌开机检测>>'], [23, '#6.智能工牌开机检测>>'],
[10, '#7.业务预警>>'], [10, '#7.业务预警>>'],
[25, '#8.区域运营日报>>'], // [25, '#8.2.3延保区域日报模版>>'],
[26, '#9.延保门店产值及个人成交报表>>'], [26, '#9.延保门店产值及个人成交报表>>'],
[28, '#10.将场景集市上架通知>>'], [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 = '' let txt = ''
cellValue.groupConfigList?.forEach(item => { cellValue.groupConfigList?.forEach(item => {
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!