Commit a57258cf by 张立顺

feat 新增喜报配置

1 parent d57a4862
...@@ -154,7 +154,8 @@ export default { ...@@ -154,7 +154,8 @@ export default {
operationManagerMonthlyReport11: [], operationManagerMonthlyReport11: [],
equityOperationManagerMonthlyReport23: [], equityOperationManagerMonthlyReport23: [],
lightMerchantDailyReport: [], lightMerchantDailyReport: [],
lightMerchantOtherDailyReport: [] lightMerchantOtherDailyReport: [],
extendedWarrantyHarmonyMerchantDailyReport: []
}, },
switchList: { switchList: {
// xiReport: [], // xiReport: [],
...@@ -183,6 +184,7 @@ export default { ...@@ -183,6 +184,7 @@ export default {
equityOperationManagerMonthlyReport23: [], equityOperationManagerMonthlyReport23: [],
lightMerchantDailyReport: [], lightMerchantDailyReport: [],
lightMerchantOtherDailyReport: [], lightMerchantOtherDailyReport: [],
extendedWarrantyHarmonyMerchantDailyReport: [],
saReport: [ saReport: [
{ switchType: 401, switchStatus: 'Y', actionReportType: 4 }, { switchType: 401, switchStatus: 'Y', actionReportType: 4 },
{ switchType: 402, switchStatus: 'Y', actionReportType: 4 } { switchType: 402, switchStatus: 'Y', actionReportType: 4 }
...@@ -226,7 +228,8 @@ export default { ...@@ -226,7 +228,8 @@ export default {
operationManagerMonthlyReport11Value: [], operationManagerMonthlyReport11Value: [],
equityOperationManagerMonthlyReport23Value: [], equityOperationManagerMonthlyReport23Value: [],
lightMerchantDailyReportValue: [], lightMerchantDailyReportValue: [],
lightMerchantOtherDailyReportValue: [] lightMerchantOtherDailyReportValue: [],
extendedWarrantyHarmonyMerchantDailyReportValue: []
}, },
groupToType: [ groupToType: [
// { // {
...@@ -352,6 +355,10 @@ export default { ...@@ -352,6 +355,10 @@ export default {
{ {
attr: 'lightMerchantOtherDailyReport', attr: 'lightMerchantOtherDailyReport',
type: 56 type: 56
},
{
attr: 'extendedWarrantyHarmonyMerchantDailyReport',
type: 57
} }
], ],
buttetinList: [ buttetinList: [
...@@ -529,6 +536,13 @@ export default { ...@@ -529,6 +536,13 @@ export default {
componentName: '', componentName: '',
eyeIcon: '', eyeIcon: '',
maxGroup: 200 maxGroup: 200
},
{
label: '2.1延保权益鸿蒙门店日报',
storageList: 'extendedWarrantyHarmonyMerchantDailyReportValue',
componentName: '',
eyeIcon: '',
maxGroup: 200
} }
] ]
} }
...@@ -642,7 +656,8 @@ export default { ...@@ -642,7 +656,8 @@ export default {
operationManagerMonthlyReport11Value: [{ name: '' }], operationManagerMonthlyReport11Value: [{ name: '' }],
equityOperationManagerMonthlyReport23Value: [{ name: '' }], equityOperationManagerMonthlyReport23Value: [{ name: '' }],
lightMerchantDailyReportValue: [{ name: '' }], lightMerchantDailyReportValue: [{ name: '' }],
lightMerchantOtherDailyReportValue: [{ name: '' }] lightMerchantOtherDailyReportValue: [{ name: '' }],
extendedWarrantyHarmonyMerchantDailyReportValue: [{ name: '' }]
} }
}) })
}, },
...@@ -699,7 +714,8 @@ export default { ...@@ -699,7 +714,8 @@ export default {
operationManagerMonthlyReport11Value: [], operationManagerMonthlyReport11Value: [],
equityOperationManagerMonthlyReport23Value: [], equityOperationManagerMonthlyReport23Value: [],
lightMerchantDailyReportValue: [], lightMerchantDailyReportValue: [],
lightMerchantOtherDailyReportValue: [] lightMerchantOtherDailyReportValue: [],
extendedWarrantyHarmonyMerchantDailyReportValue: []
} }
this.battleVisible = true this.battleVisible = true
// 编辑 // 编辑
...@@ -784,7 +800,8 @@ export default { ...@@ -784,7 +800,8 @@ export default {
operationManagerMonthlyReport11Value: [{ name: '' }], operationManagerMonthlyReport11Value: [{ name: '' }],
equityOperationManagerMonthlyReport23Value: [{ name: '' }], equityOperationManagerMonthlyReport23Value: [{ name: '' }],
lightMerchantDailyReportValue: [{ name: '' }], lightMerchantDailyReportValue: [{ name: '' }],
lightMerchantOtherDailyReportValue: [{ name: '' }] lightMerchantOtherDailyReportValue: [{ name: '' }],
extendedWarrantyHarmonyMerchantDailyReportValue: [{ name: '' }]
} }
} }
}, },
...@@ -823,7 +840,8 @@ export default { ...@@ -823,7 +840,8 @@ export default {
operationManagerMonthlyReport11: [], operationManagerMonthlyReport11: [],
equityOperationManagerMonthlyReport23: [], equityOperationManagerMonthlyReport23: [],
lightMerchantDailyReport: [], lightMerchantDailyReport: [],
lightMerchantOtherDailyReport: [] lightMerchantOtherDailyReport: [],
extendedWarrantyHarmonyMerchantDailyReport: []
} }
} }
} }
...@@ -869,7 +887,8 @@ export default { ...@@ -869,7 +887,8 @@ export default {
operationManagerMonthlyReport11: [], operationManagerMonthlyReport11: [],
equityOperationManagerMonthlyReport23: [], equityOperationManagerMonthlyReport23: [],
lightMerchantDailyReport: [], lightMerchantDailyReport: [],
lightMerchantOtherDailyReport: [] lightMerchantOtherDailyReport: [],
extendedWarrantyHarmonyMerchantDailyReport: []
} }
}, },
async getDepartmentTree() { async getDepartmentTree() {
...@@ -956,7 +975,7 @@ export default { ...@@ -956,7 +975,7 @@ export default {
}) })
return true return true
} }
const dailyReportAttrs = ['lightMerchantDailyReport', 'lightMerchantOtherDailyReport'] const dailyReportAttrs = ['lightMerchantDailyReport', 'lightMerchantOtherDailyReport', 'extendedWarrantyHarmonyMerchantDailyReport']
for (const attr of dailyReportAttrs) { for (const attr of dailyReportAttrs) {
const count = this.groupCofList[attr].length + this.groupCofListInput[attr + 'Value'].filter(k => k.name).length const count = this.groupCofList[attr].length + this.groupCofListInput[attr + 'Value'].filter(k => k.name).length
if (count > 200) { if (count > 200) {
...@@ -981,7 +1000,7 @@ export default { ...@@ -981,7 +1000,7 @@ export default {
scene: 1 scene: 1
} }
let switchList = [] let switchList = []
let reportParams = ['saReport', 'zhanReport', 'orderReport', 'saPerReport', 'scheduleReport', 'wordReport', 'viewReport', 'InvoicingReport', 'storeReport', 'constructionReport', 'lightModifyReport', 'equityRegionalOperationsDaily', 'operationManagerDailyReport11', 'regionalOperationsReport', 'equityOperationManagerDailyReport23', 'equityRegionalManagerWeeklyReport21', 'regionalManagerWeeklyReport', 'equityRegionalManagerWeeklyReport23', 'equityOperationManagerWeeklyReport21', 'operationManagerWeeklyReport11', 'equityOperationManagerWeeklyReport23', 'regionalManagerMonthlyReport11', 'equityRegionalManagerMonthlyReport21', 'equityRegionalManagerMonthlyReport23', 'equityOperationManagerMonthlyReport21', 'operationManagerMonthlyReport11', 'equityOperationManagerMonthlyReport23', 'lightMerchantDailyReport', 'lightMerchantOtherDailyReport'] let reportParams = ['saReport', 'zhanReport', 'orderReport', 'saPerReport', 'scheduleReport', 'wordReport', 'viewReport', 'InvoicingReport', 'storeReport', 'constructionReport', 'lightModifyReport', 'equityRegionalOperationsDaily', 'operationManagerDailyReport11', 'regionalOperationsReport', 'equityOperationManagerDailyReport23', 'equityRegionalManagerWeeklyReport21', 'regionalManagerWeeklyReport', 'equityRegionalManagerWeeklyReport23', 'equityOperationManagerWeeklyReport21', 'operationManagerWeeklyReport11', 'equityOperationManagerWeeklyReport23', 'regionalManagerMonthlyReport11', 'equityRegionalManagerMonthlyReport21', 'equityRegionalManagerMonthlyReport23', 'equityOperationManagerMonthlyReport21', 'operationManagerMonthlyReport11', 'equityOperationManagerMonthlyReport23', 'lightMerchantDailyReport', 'lightMerchantOtherDailyReport', 'extendedWarrantyHarmonyMerchantDailyReport']
reportParams.forEach(item => { reportParams.forEach(item => {
switchList.push(...this.switchList[item]) switchList.push(...this.switchList[item])
}) })
......
...@@ -135,7 +135,8 @@ export default { ...@@ -135,7 +135,8 @@ export default {
[48, '#48.2.1运营主管日报模版>>'], [48, '#48.2.1运营主管日报模版>>'],
[49, '#49.2.3运营主管日报模版>>'], [49, '#49.2.3运营主管日报模版>>'],
[52, '#50.轻改问界/鸿蒙门店日报>>'], [52, '#50.轻改问界/鸿蒙门店日报>>'],
[56, '#51.轻改其他品牌(含岚图)门店日报>>'] [56, '#51.轻改其他品牌(含岚图)门店日报>>'],
[57, '#52.2.1延保权益鸿蒙门店日报>>']
]) ])
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!