Commit 87e205f5 by 张立顺

feat 功能

1 parent 5b2b7b71
...@@ -52,7 +52,7 @@ ...@@ -52,7 +52,7 @@
<i class="el-icon-remove" v-else @click="delGroup(groupCofListInput[bulletin.storageList], k)"></i> <i class="el-icon-remove" v-else @click="delGroup(groupCofListInput[bulletin.storageList], k)"></i>
</div> </div>
</div> </div>
<span class="group-config-text" @click="openConfigDialog(bulletin.componentName)">配置</span> <span class="group-config-text" v-if="bulletin.componentName" @click="openConfigDialog(bulletin.componentName)">配置</span>
</el-form-item> </el-form-item>
</template> </template>
</el-form> </el-form>
...@@ -124,7 +124,8 @@ export default { ...@@ -124,7 +124,8 @@ export default {
wordReport: [], wordReport: [],
saasReport: [], saasReport: [],
viewReport: [], viewReport: [],
InvoicingReport: [] InvoicingReport: [],
storeReport: []
}, },
switchList: { switchList: {
// xiReport: [], // xiReport: [],
...@@ -132,6 +133,7 @@ export default { ...@@ -132,6 +133,7 @@ export default {
orderReport: [], orderReport: [],
viewReport: [], viewReport: [],
InvoicingReport: [], InvoicingReport: [],
storeReport: [],
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 }
...@@ -154,7 +156,8 @@ export default { ...@@ -154,7 +156,8 @@ export default {
saPerReportValue: [], saPerReportValue: [],
scheduleReportValue: [], scheduleReportValue: [],
zhanReportValue: [], zhanReportValue: [],
saasReportValue: [] saasReportValue: [],
storeReportValue: []
}, },
groupToType: [ groupToType: [
// { // {
...@@ -196,6 +199,10 @@ export default { ...@@ -196,6 +199,10 @@ export default {
{ {
attr: 'InvoicingReport', attr: 'InvoicingReport',
type: 10 type: 10
},
{
attr: 'storeReport',
type: 31
} }
], ],
buttetinList: [ buttetinList: [
...@@ -245,6 +252,12 @@ export default { ...@@ -245,6 +252,12 @@ export default {
text: '预览配置', text: '预览配置',
storageList: 'InvoicingReportValue', storageList: 'InvoicingReportValue',
componentName: 'InvoicingDialog' componentName: 'InvoicingDialog'
},
{
label: '.轻改门店产值及个人成交报表',
// text: '预览配置',
storageList: 'storeReportValue'
// componentName: 'InvoicingDialog'
} }
] ]
} }
...@@ -317,7 +330,7 @@ export default { ...@@ -317,7 +330,7 @@ export default {
this.idBefEncryption = data.idBefEncryption this.idBefEncryption = data.idBefEncryption
this.$apis.battle.activityreportWorktool({ cloudId: this.idBefEncryption }).then(res => { this.$apis.battle.activityreportWorktool({ cloudId: this.idBefEncryption }).then(res => {
this.selectGroupName = res.data.result || [] 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: '' }] } this.groupCofListInput = { wordReportValue: [{ name: '' }], orderReportValue: [{ name: '' }], viewReportValue: [{ name: '' }], InvoicingReportValue: [{ name: '' }], saReportValue: [{ name: '' }], saPerReportValue: [{ name: '' }], scheduleReportValue: [{ name: '' }], zhanReportValue: [{ name: '' }], saasReportValue: [{ name: '' }], storeReportValue: [{ name: '' }] }
}) })
}, },
// 弹窗数据回显 // 弹窗数据回显
...@@ -352,7 +365,8 @@ export default { ...@@ -352,7 +365,8 @@ export default {
zhanReportValue: [], zhanReportValue: [],
viewReportValue: [], viewReportValue: [],
InvoicingReportValue: [], InvoicingReportValue: [],
saasReportValue: [] saasReportValue: [],
storeReportValue: []
} }
this.battleVisible = true this.battleVisible = true
// 编辑 // 编辑
...@@ -402,7 +416,8 @@ export default { ...@@ -402,7 +416,8 @@ export default {
saPerReportValue: [{ name: '' }], saPerReportValue: [{ name: '' }],
scheduleReportValue: [{ name: '' }], scheduleReportValue: [{ name: '' }],
zhanReportValue: [{ name: '' }], zhanReportValue: [{ name: '' }],
saasReportValue: [{ name: '' }] saasReportValue: [{ name: '' }],
storeReportValue: [{ name: '' }]
} }
} }
}, },
...@@ -420,7 +435,8 @@ export default { ...@@ -420,7 +435,8 @@ export default {
saPerReport: [], saPerReport: [],
scheduleReport: [], scheduleReport: [],
wordReport: [], wordReport: [],
saasReport: [] saasReport: [],
storeReport: []
} }
} }
} }
...@@ -445,7 +461,8 @@ export default { ...@@ -445,7 +461,8 @@ export default {
saPerReport: [], saPerReport: [],
scheduleReport: [], scheduleReport: [],
wordReport: [], wordReport: [],
saasReport: [] saasReport: [],
storeReport: []
} }
}, },
async getDepartmentTree() { async getDepartmentTree() {
...@@ -545,7 +562,7 @@ export default { ...@@ -545,7 +562,7 @@ export default {
scene: 1 scene: 1
} }
let switchList = [] let switchList = []
let reportParams = ['saReport', 'zhanReport', 'orderReport', 'saPerReport', 'scheduleReport', 'wordReport', 'viewReport', 'InvoicingReport'] let reportParams = ['saReport', 'zhanReport', 'orderReport', 'saPerReport', 'scheduleReport', 'wordReport', 'viewReport', 'InvoicingReport', 'storeReport']
reportParams.forEach(item => { reportParams.forEach(item => {
switchList.push(...this.switchList[item]) switchList.push(...this.switchList[item])
}) })
......
...@@ -113,8 +113,9 @@ export default { ...@@ -113,8 +113,9 @@ export default {
[8, '#5.服务商战报>>'], [8, '#5.服务商战报>>'],
[6, '#6.客户进度消息>>'], [6, '#6.客户进度消息>>'],
[3, '#7.补单通知>>'], [3, '#7.补单通知>>'],
[9, '#8..驻店日报>>'], [9, '#8.驻店日报>>'],
[10, '#9.开单预警>>'] [10, '#9.开单预警>>'],
[31, '#31.轻改门店产值及个人成交报表>>']
]) ])
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!