Commit c7461f93 by 王志慧

添加服务商战报

1 parent 0cf4a039
...@@ -74,6 +74,7 @@ import charactersDialog from './components/dialogs/charactersDialog.vue' ...@@ -74,6 +74,7 @@ import charactersDialog from './components/dialogs/charactersDialog.vue'
import dailyDialog from './components/dialogs/dailyDialog.vue' import dailyDialog from './components/dialogs/dailyDialog.vue'
import progressDialog from './components/dialogs/progressDialog.vue' import progressDialog from './components/dialogs/progressDialog.vue'
import replenishmentDialog from './components/dialogs/replenishmentDialog.vue' import replenishmentDialog from './components/dialogs/replenishmentDialog.vue'
import saasDialog from './components/dialogs/saasDialog.vue'
export default { export default {
components: { components: {
GlSelectMenu, GlSelectMenu,
...@@ -83,7 +84,8 @@ export default { ...@@ -83,7 +84,8 @@ export default {
charactersDialog, charactersDialog,
dailyDialog, dailyDialog,
progressDialog, progressDialog,
replenishmentDialog replenishmentDialog,
saasDialog
}, },
data() { data() {
return { return {
...@@ -140,7 +142,8 @@ export default { ...@@ -140,7 +142,8 @@ export default {
saReportValue: [], saReportValue: [],
saPerReportValue: [], saPerReportValue: [],
scheduleReportValue: [], scheduleReportValue: [],
zhanReportValue: [] zhanReportValue: [],
saasReportValue:[]
}, },
groupToType: [ groupToType: [
// { // {
...@@ -194,6 +197,11 @@ export default { ...@@ -194,6 +197,11 @@ export default {
componentName: 'dailyDialog' componentName: 'dailyDialog'
}, },
{ {
label: '.服务商战报',
storageList: 'saasReportValue',
componentName: 'saasDialog'
},
{
label: '.客户进度消息', label: '.客户进度消息',
storageList: 'scheduleReportValue', storageList: 'scheduleReportValue',
componentName: 'progressDialog' componentName: 'progressDialog'
...@@ -273,7 +281,7 @@ export default { ...@@ -273,7 +281,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: '' }], saReportValue: [{ name: '' }], saPerReportValue: [{ name: '' }], scheduleReportValue: [{ name: '' }], zhanReportValue: [{ name: '' }] } this.groupCofListInput = { wordReportValue: [{ name: '' }], orderReportValue: [{ name: '' }], saReportValue: [{ name: '' }], saPerReportValue: [{ name: '' }], scheduleReportValue: [{ name: '' }], zhanReportValue: [{ name: '' }],saasReportValue:[{name :''}] }
}) })
}, },
// 弹窗数据回显 // 弹窗数据回显
...@@ -305,7 +313,8 @@ export default { ...@@ -305,7 +313,8 @@ export default {
saReportValue: [], saReportValue: [],
saPerReportValue: [], saPerReportValue: [],
scheduleReportValue: [], scheduleReportValue: [],
zhanReportValue: [] zhanReportValue: [],
saasReportValue:[]
} }
this.battleVisible = true this.battleVisible = true
// 编辑 // 编辑
...@@ -352,7 +361,8 @@ export default { ...@@ -352,7 +361,8 @@ export default {
saReportValue: [{ name: '' }], saReportValue: [{ name: '' }],
saPerReportValue: [{ name: '' }], saPerReportValue: [{ name: '' }],
scheduleReportValue: [{ name: '' }], scheduleReportValue: [{ name: '' }],
zhanReportValue: [{ name: '' }] zhanReportValue: [{ name: '' }],
saasReportValue:[{name:''}]
} }
} }
}, },
......
<template> <template>
<GLDialog :mode="mode" title="#5.客户进度消息 预览配置显示字段" :before-close="handlebattleClose" :visible.sync="isDialogVisible" @onOk="handlebattleConfirm" @onCancel="handlebattleClose"> <GLDialog :mode="mode" title="#6.客户进度消息 预览配置显示字段" :before-close="handlebattleClose" :visible.sync="isDialogVisible" @onOk="handlebattleConfirm" @onCancel="handlebattleClose">
<div class="popup-wrap"> <div class="popup-wrap">
<div class="left-wrap"> <div class="left-wrap">
<div class="img-wrap"> <div class="img-wrap">
......
<template> <template>
<GLDialog :mode="mode" title="#6.补单通知 预览配置显示字段" :before-close="handlebattleClose" :visible.sync="isDialogVisible" @onOk="handlebattleClose" @onCancel="handlebattleClose"> <GLDialog :mode="mode" title="#7.补单通知 预览配置显示字段" :before-close="handlebattleClose" :visible.sync="isDialogVisible" @onOk="handlebattleClose" @onCancel="handlebattleClose">
<div class="popup-wrap"> <div class="popup-wrap">
<div class="left-wrap"> <div class="left-wrap">
<div class="img-wrap"> <div class="img-wrap">
......
<template>
<GLDialog :mode="mode" title="#5.服务商战报 预览配置显示字段" :before-close="handlebattleClose" :visible.sync="isDialogVisible" @onOk="handlebattleClose" @onCancel="handlebattleClose">
<div class="popup-wrap">
<div class="left-wrap">
<div class="img-wrap">
<img src="@/assets/buttetin/saas.png" />
</div>
<p class="color-3 txt-center text-14">图示效果</p>
</div>
<div class="right-wrap">
<div class="empty">
<img src="@/assets/buttetin/empty.png" />
</div>
<p class="empty-text">暂无配置项</p>
<div class="explain">
<div class="color6 weight-6 font-14">
<i class="el-icon-warning"></i>
推送机制说明
</div>
<p class="mrp">配置后每日早上7点,统计前一日门店汇总数据进行推送</p>
</div>
</div>
</div>
</GLDialog>
</template>
<script>
import dialog from './dialog'
export default {
mixins: [dialog],
data() {
return {
mode: 'big'
}
},
methods: {
handlebattleConfirm() {
this.isDialogVisible = false
// let switchList = []
// const params = ['vehicleType', 'goodsType', 'proceedsType', 'verbalType']
// params.forEach(data => {
// this[data].switchStatus = this[data].switchStatus ? 'Y' : 'N'
// switchList.push(this[data])
// })
// this.$emit('handlePreview',{key:'saPerReport',data:switchList})
}
}
}
</script>
<style lang="scss" scoped>
.popup-wrap {
display: flex;
padding: 0 72px;
.img-wrap {
width: 250px;
height: 560px;
margin-bottom: 14px;
img {
width: 100%;
height: 100%;
}
}
.right-wrap {
display: 1;
position: relative;
width: 100%;
margin-top: 12px;
/deep/.el-form-item {
margin-bottom: 0px;
}
.item-line {
margin-bottom: 20px;
}
.empty {
width: 420px;
height: 260px;
position: absolute;
top: 35%;
left: 50%;
transform: translate(-50%, -50%);
img {
width: 100%;
height: 100%;
}
}
.empty-text {
font-size: 16px;
color: #666666;
line-height: 20px;
position: absolute;
top: 45%;
left: 50%;
transform: translate(-50%, -50%);
}
.explain {
width: 486px;
background: #f4f6fc;
padding: 16px;
margin-left: 70px;
box-sizing: border-box;
position: absolute;
bottom: 30px;
.el-icon-warning {
width: 16px;
height: 16px;
margin-right: 4px;
}
.mrp {
margin: 8px 0 0 20px;
line-height: 22px;
}
}
}
.warn {
font-size: 12px;
color: #999999;
margin-left: 154px;
}
}
</style>
\ No newline at end of file \ No newline at end of file
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!