Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas
/
scrm-micro-activity-center
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 11fa0d12
authored
Mar 11, 2024
by
前端
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
开单预警
1 parent
f680f672
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
149 additions
and
7 deletions
src/assets/buttetin/Invoicing.png
src/views/bulletin/addConfig.vue
src/views/bulletin/components/dialogs/InvoicingDialog.vue
src/views/bulletin/components/saasOrder/index.vue
src/views/bulletin/components/vehicleDamageOrder/index.vue
src/assets/buttetin/Invoicing.png
0 → 100644
View file @
11fa0d1
70 KB
src/views/bulletin/addConfig.vue
View file @
11fa0d1
...
@@ -26,7 +26,7 @@
...
@@ -26,7 +26,7 @@
</div>
</div>
</div>
</div>
<transition
name=
"el-zoom-in-top"
v-if=
"!isAutomatic"
>
<transition
name=
"el-zoom-in-top"
v-if=
"!isAutomatic"
>
<gl-select-menu
:domEl=
"automaticEl"
@
changeStatu=
"hideSelect"
style=
"width:432px"
>
<gl-select-menu
:domEl=
"automaticEl"
@
changeStatu=
"hideSelect"
style=
"width:
432px"
>
<el-form-item
class=
"search-groomname"
>
<el-form-item
class=
"search-groomname"
>
<el-input
placeholder=
"请输入搜索关键词"
v-model=
"filterText"
></el-input>
<el-input
placeholder=
"请输入搜索关键词"
v-model=
"filterText"
></el-input>
</el-form-item>
</el-form-item>
...
@@ -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)"
>
{{
bulletin
.
text
?
bulletin
.
text
:
'配置'
}}
</span>
<span
class=
"group-config-text"
@
click=
"openConfigDialog(bulletin.componentName)"
>
配置
</span>
</el-form-item>
</el-form-item>
</
template
>
</
template
>
</el-form>
</el-form>
...
@@ -76,6 +76,7 @@ import progressDialog from './components/dialogs/progressDialog.vue'
...
@@ -76,6 +76,7 @@ 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'
import
saasDialog
from
'./components/dialogs/saasDialog.vue'
import
viewDialog
from
'./components/dialogs/viewDialog.vue'
import
viewDialog
from
'./components/dialogs/viewDialog.vue'
import
InvoicingDialog
from
'./components/dialogs/InvoicingDialog.vue'
export
default
{
export
default
{
components
:
{
components
:
{
GlSelectMenu
,
GlSelectMenu
,
...
@@ -86,6 +87,7 @@ export default {
...
@@ -86,6 +87,7 @@ export default {
dailyDialog
,
dailyDialog
,
progressDialog
,
progressDialog
,
replenishmentDialog
,
replenishmentDialog
,
InvoicingDialog
,
saasDialog
,
saasDialog
,
viewDialog
viewDialog
},
},
...
@@ -121,13 +123,15 @@ export default {
...
@@ -121,13 +123,15 @@ export default {
scheduleReport
:
[],
scheduleReport
:
[],
wordReport
:
[],
wordReport
:
[],
saasReport
:
[],
saasReport
:
[],
viewReport
:
[]
viewReport
:
[],
InvoicingReport
:
[]
},
},
switchList
:
{
switchList
:
{
// xiReport: [],
// xiReport: [],
zhanReport
:
[{
switchType
:
201
,
switchStatus
:
'Y'
,
actionReportType
:
2
}],
zhanReport
:
[{
switchType
:
201
,
switchStatus
:
'Y'
,
actionReportType
:
2
}],
orderReport
:
[],
orderReport
:
[],
viewReport
:
[],
viewReport
:
[],
InvoicingReport
:
[],
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
}
...
@@ -145,6 +149,7 @@ export default {
...
@@ -145,6 +149,7 @@ export default {
wordReportValue
:
[],
wordReportValue
:
[],
orderReportValue
:
[],
orderReportValue
:
[],
viewReportValue
:
[],
viewReportValue
:
[],
InvoicingReportValue
:
[],
saReportValue
:
[],
saReportValue
:
[],
saPerReportValue
:
[],
saPerReportValue
:
[],
scheduleReportValue
:
[],
scheduleReportValue
:
[],
...
@@ -187,6 +192,10 @@ export default {
...
@@ -187,6 +192,10 @@ export default {
{
{
attr
:
'viewReport'
,
attr
:
'viewReport'
,
type
:
9
type
:
9
},
{
attr
:
'InvoicingReport'
,
type
:
10
}
}
],
],
buttetinList
:
[
buttetinList
:
[
...
@@ -230,6 +239,12 @@ export default {
...
@@ -230,6 +239,12 @@ export default {
text
:
'预览配置'
,
text
:
'预览配置'
,
storageList
:
'viewReportValue'
,
storageList
:
'viewReportValue'
,
componentName
:
'viewDialog'
componentName
:
'viewDialog'
},
{
label
:
'.开单预警'
,
text
:
'预览配置'
,
storageList
:
'InvoicingReportValue'
,
componentName
:
'InvoicingDialog'
}
}
]
]
}
}
...
@@ -302,7 +317,7 @@ export default {
...
@@ -302,7 +317,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
:
''
}],
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
:
''
}]
}
})
})
},
},
// 弹窗数据回显
// 弹窗数据回显
...
@@ -336,6 +351,7 @@ export default {
...
@@ -336,6 +351,7 @@ export default {
scheduleReportValue
:
[],
scheduleReportValue
:
[],
zhanReportValue
:
[],
zhanReportValue
:
[],
viewReportValue
:
[],
viewReportValue
:
[],
InvoicingReportValue
:
[],
saasReportValue
:
[]
saasReportValue
:
[]
}
}
this
.
battleVisible
=
true
this
.
battleVisible
=
true
...
@@ -381,6 +397,7 @@ export default {
...
@@ -381,6 +397,7 @@ export default {
wordReportValue
:
[{
name
:
''
}],
wordReportValue
:
[{
name
:
''
}],
orderReportValue
:
[{
name
:
''
}],
orderReportValue
:
[{
name
:
''
}],
viewReportValue
:
[{
name
:
''
}],
viewReportValue
:
[{
name
:
''
}],
InvoicingReportValue
:
[{
name
:
''
}],
saReportValue
:
[{
name
:
''
}],
saReportValue
:
[{
name
:
''
}],
saPerReportValue
:
[{
name
:
''
}],
saPerReportValue
:
[{
name
:
''
}],
scheduleReportValue
:
[{
name
:
''
}],
scheduleReportValue
:
[{
name
:
''
}],
...
@@ -398,6 +415,7 @@ export default {
...
@@ -398,6 +415,7 @@ export default {
zhanReport
:
[],
zhanReport
:
[],
orderReport
:
[],
orderReport
:
[],
viewReport
:
[],
viewReport
:
[],
InvoicingReport
:
[],
saReport
:
[],
saReport
:
[],
saPerReport
:
[],
saPerReport
:
[],
scheduleReport
:
[],
scheduleReport
:
[],
...
@@ -422,6 +440,7 @@ export default {
...
@@ -422,6 +440,7 @@ export default {
zhanReport
:
[],
zhanReport
:
[],
orderReport
:
[],
orderReport
:
[],
viewReport
:
[],
viewReport
:
[],
InvoicingReport
:
[],
saReport
:
[],
saReport
:
[],
saPerReport
:
[],
saPerReport
:
[],
scheduleReport
:
[],
scheduleReport
:
[],
...
@@ -526,7 +545,7 @@ export default {
...
@@ -526,7 +545,7 @@ export default {
scene
:
1
scene
:
1
}
}
let
switchList
=
[]
let
switchList
=
[]
let
reportParams
=
[
'saReport'
,
'zhanReport'
,
'orderReport'
,
'saPerReport'
,
'scheduleReport'
,
'wordReport'
,
'viewReport'
]
let
reportParams
=
[
'saReport'
,
'zhanReport'
,
'orderReport'
,
'saPerReport'
,
'scheduleReport'
,
'wordReport'
,
'viewReport'
,
'InvoicingReport'
]
reportParams
.
forEach
(
item
=>
{
reportParams
.
forEach
(
item
=>
{
switchList
.
push
(...
this
.
switchList
[
item
])
switchList
.
push
(...
this
.
switchList
[
item
])
})
})
...
...
src/views/bulletin/components/dialogs/InvoicingDialog.vue
0 → 100644
View file @
11fa0d1
<
template
>
<GLDialog
:mode=
"mode"
title=
"#9.开单预警 预览配置显示字段"
: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/Invoicing.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"
>
该4s店的所属1.1园区店新员工,即创建员工账号后72小时内未生成有效订单时,推送消息到指定群聊
</p>
</div>
</div>
</div>
</GLDialog>
</
template
>
<
script
>
import
dialog
from
'./dialog'
export
default
{
mixins
:
[
dialog
],
data
()
{
return
{
mode
:
'big'
}
},
methods
:
{
initData
()
{},
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
>
src/views/bulletin/components/saasOrder/index.vue
View file @
11fa0d1
...
@@ -104,7 +104,8 @@ export default {
...
@@ -104,7 +104,8 @@ export default {
[
8
,
'#5.服务商战报>>'
],
[
8
,
'#5.服务商战报>>'
],
[
6
,
'#6.客户进度消息>>'
],
[
6
,
'#6.客户进度消息>>'
],
[
3
,
'#7.补单通知>>'
],
[
3
,
'#7.补单通知>>'
],
[
9
,
'#8..驻店日报>>'
]
[
9
,
'#8..驻店日报>>'
],
[
10
,
'#9.开单预警>>'
]
])
])
let
txt
=
''
let
txt
=
''
cellValue
.
groupConfigList
?.
forEach
(
item
=>
{
cellValue
.
groupConfigList
?.
forEach
(
item
=>
{
...
...
src/views/bulletin/components/vehicleDamageOrder/index.vue
View file @
11fa0d1
...
@@ -763,7 +763,7 @@ export default {
...
@@ -763,7 +763,7 @@ export default {
let
txt
=
''
let
txt
=
''
cellValue
.
groupConfigList
?.
forEach
(
item
=>
{
cellValue
.
groupConfigList
?.
forEach
(
item
=>
{
if
(
item
.
groupId
)
{
if
(
item
.
groupId
)
{
txt
=
(
txt
?
txt
+
';'
:
txt
)
+
item
.
groupName
+
typeToTxt
[
item
.
actionReportType
]
txt
=
(
txt
?
txt
+
';'
:
txt
)
+
(
item
.
groupName
||
''
)
+
(
typeToTxt
[
item
.
actionReportType
]
||
''
)
}
}
})
})
return
txt
return
txt
...
...
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment