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 f901e933
authored
Aug 10, 2023
by
王志慧
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
fixed
1 parent
c7461f93
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
50 additions
and
19 deletions
src/views/bulletin/addClewConfig.vue
src/views/bulletin/addConfig.vue
src/views/bulletin/components/dialogs/clewWordDialog.vue
src/views/bulletin/addClewConfig.vue
View file @
f901e93
...
@@ -191,7 +191,6 @@ export default {
...
@@ -191,7 +191,6 @@ export default {
this
.
isDialogVisible
=
true
this
.
isDialogVisible
=
true
},
},
addGroup
(
group
)
{
addGroup
(
group
)
{
console
.
log
(
group
)
group
.
push
({
name
:
''
})
group
.
push
({
name
:
''
})
},
},
delGroup
(
group
,
i
)
{
delGroup
(
group
,
i
)
{
...
...
src/views/bulletin/addConfig.vue
View file @
f901e93
...
@@ -8,8 +8,10 @@
...
@@ -8,8 +8,10 @@
<div
class=
"config-wrap gl-form-page"
>
<div
class=
"config-wrap gl-form-page"
>
<el-form
ref=
"form"
:model=
"form"
label-width=
"154px"
>
<el-form
ref=
"form"
:model=
"form"
label-width=
"154px"
>
<el-form-item
label=
"所属企业:"
>
<el-form-item
label=
"所属企业:"
>
<el-select
v-model=
"config.merchantId"
placeholder=
"请选择"
@
change=
"handleMerchatChange"
@
visible-change=
"hideSelect"
>
<el-select
v-model=
"config.merchantId"
placeholder=
"请选择"
@
change=
"handleMerchatChange"
<el-option
v-for=
"item in merchantList"
:key=
"item.merchantId"
:label=
"item.merchantName"
:value=
"item.merchantId"
></el-option>
@
visible-change=
"hideSelect"
>
<el-option
v-for=
"item in merchantList"
:key=
"item.merchantId"
:label=
"item.merchantName"
:value=
"item.merchantId"
></el-option>
</el-select>
</el-select>
</el-form-item>
</el-form-item>
<!-- 推送人 -->
<!-- 推送人 -->
...
@@ -21,7 +23,8 @@
...
@@ -21,7 +23,8 @@
{{
wechat
.
automaticName
}}
{{
wechat
.
automaticName
}}
</div>
</div>
<span
class=
"el-input__suffix"
@
click=
"openAutomatic"
>
<span
class=
"el-input__suffix"
@
click=
"openAutomatic"
>
<span
class=
"el-input__suffix-inner"
><i
:class=
"['el-select__caret', 'el-input__icon', 'el-icon-arrow-up', isAutomatic ? 'is-reverse' : '']"
></i></span>
<span
class=
"el-input__suffix-inner"
><i
:class=
"['el-select__caret', 'el-input__icon', 'el-icon-arrow-up', isAutomatic ? 'is-reverse' : '']"
></i></span>
</span>
</span>
</div>
</div>
</div>
</div>
...
@@ -32,7 +35,9 @@
...
@@ -32,7 +35,9 @@
</el-form-item>
</el-form-item>
<div
class=
"el-select-dropdown__wrap el-scrollbar__wrap"
>
<div
class=
"el-select-dropdown__wrap el-scrollbar__wrap"
>
<template
v-if=
"automaticData.length > 0"
>
<template
v-if=
"automaticData.length > 0"
>
<el-tree
class=
"filter-tree"
:data=
"automaticData"
node-key=
"id"
:default-expanded-keys=
"expandedKeys"
:props=
"defaultProps"
default-expand-all
:filter-node-method=
"filterNode"
ref=
"tree"
@
node-click=
"handleNodeClick"
></el-tree>
<el-tree
class=
"filter-tree"
:data=
"automaticData"
node-key=
"id"
:default-expanded-keys=
"expandedKeys"
:props=
"defaultProps"
default-expand-all
:filter-node-method=
"filterNode"
ref=
"tree"
@
node-click=
"handleNodeClick"
></el-tree>
</
template
>
</
template
>
<div
class=
"empty"
v-else
>
暂无数据
</div>
<div
class=
"empty"
v-else
>
暂无数据
</div>
</div>
</div>
...
@@ -46,9 +51,11 @@
...
@@ -46,9 +51,11 @@
<div
class=
"input-box"
v-for=
"(i, k) in groupCofListInput[bulletin.storageList]"
:key=
"k"
>
<div
class=
"input-box"
v-for=
"(i, k) in groupCofListInput[bulletin.storageList]"
:key=
"k"
>
<!--
<el-input
v-model=
"i.name"
></el-input>
-->
<!--
<el-input
v-model=
"i.name"
></el-input>
-->
<el-select
v-model=
"i.name"
:placeholder=
"'将' + bulletin.label + '推送至群聊'"
filterable
clearable
>
<el-select
v-model=
"i.name"
:placeholder=
"'将' + bulletin.label + '推送至群聊'"
filterable
clearable
>
<el-option
v-for=
"item in selectGroupName"
:key=
"item.groupName"
:label=
"item.groupName"
:value=
"item.groupName"
></el-option>
<el-option
v-for=
"item in selectGroupName"
:key=
"item.groupName"
:label=
"item.groupName"
:value=
"item.groupName"
></el-option>
</el-select>
</el-select>
<i
class=
"el-icon-circle-plus"
v-if=
"k == 0"
@
click=
"addGroup(groupCofListInput[bulletin.storageList])"
></i>
<i
class=
"el-icon-circle-plus"
v-if=
"k == 0"
@
click=
"addGroup(groupCofListInput[bulletin.storageList])"
></i>
<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>
...
@@ -62,7 +69,8 @@
...
@@ -62,7 +69,8 @@
<el-button
@
click=
"handlebattleClose"
size=
"medium"
>
取消
</el-button>
<el-button
@
click=
"handlebattleClose"
size=
"medium"
>
取消
</el-button>
<el-button
type=
"primary"
@
click=
"handlebattleConfirm"
size=
"medium"
:loading=
"loading"
>
保存
</el-button>
<el-button
type=
"primary"
@
click=
"handlebattleConfirm"
size=
"medium"
:loading=
"loading"
>
保存
</el-button>
</GLFooter>
</GLFooter>
<component
:is=
"dialogComponent"
ref=
"componentRef"
v-if=
"isDialogVisible"
:isDialogVisible=
"isDialogVisible"
:switchList=
"switchList"
@
handlePreview=
"handlePreview"
@
handleClose=
"handleClose"
></component>
<component
:is=
"dialogComponent"
ref=
"componentRef"
v-if=
"isDialogVisible"
:isDialogVisible=
"isDialogVisible"
:switchList=
"switchList"
@
handlePreview=
"handlePreview"
@
handleClose=
"handleClose"
></component>
</div>
</div>
</template>
</template>
<
script
>
<
script
>
...
@@ -117,7 +125,8 @@ export default {
...
@@ -117,7 +125,8 @@ export default {
saReport
:
[],
saReport
:
[],
saPerReport
:
[],
saPerReport
:
[],
scheduleReport
:
[],
scheduleReport
:
[],
wordReport
:
[]
wordReport
:
[],
saasReport
:
[]
},
},
switchList
:
{
switchList
:
{
// xiReport: [],
// xiReport: [],
...
@@ -134,7 +143,7 @@ export default {
...
@@ -134,7 +143,7 @@ export default {
{
switchType
:
504
,
switchStatus
:
'Y'
,
actionReportType
:
5
,
switchText
:
''
}
{
switchType
:
504
,
switchStatus
:
'Y'
,
actionReportType
:
5
,
switchText
:
''
}
],
],
scheduleReport
:
[{
switchType
:
601
,
switchStatus
:
'Y'
,
actionReportType
:
6
}],
scheduleReport
:
[{
switchType
:
601
,
switchStatus
:
'Y'
,
actionReportType
:
6
}],
wordReport
:
[{
switchType
:
701
,
switchStatus
:
'Y'
,
actionReportType
:
7
,
switchText
:
''
}]
wordReport
:
[{
switchType
:
701
,
switchStatus
:
'Y'
,
actionReportType
:
7
,
switchText
:
''
}]
,
},
},
groupCofListInput
:
{
groupCofListInput
:
{
wordReportValue
:
[],
wordReportValue
:
[],
...
@@ -143,7 +152,7 @@ export default {
...
@@ -143,7 +152,7 @@ export default {
saPerReportValue
:
[],
saPerReportValue
:
[],
scheduleReportValue
:
[],
scheduleReportValue
:
[],
zhanReportValue
:
[],
zhanReportValue
:
[],
saasReportValue
:[]
saasReportValue
:
[]
},
},
groupToType
:
[
groupToType
:
[
// {
// {
...
@@ -173,6 +182,10 @@ export default {
...
@@ -173,6 +182,10 @@ export default {
{
{
attr
:
'wordReport'
,
attr
:
'wordReport'
,
type
:
7
type
:
7
},
{
attr
:
'saasReport'
,
type
:
8
}
}
],
],
buttetinList
:
[
buttetinList
:
[
...
@@ -281,7 +294,7 @@ export default {
...
@@ -281,7 +294,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
:
''
}],
saasReportValue
:[{
name
:
''
}]
}
this
.
groupCofListInput
=
{
wordReportValue
:
[{
name
:
''
}],
orderReportValue
:
[{
name
:
''
}],
saReportValue
:
[{
name
:
''
}],
saPerReportValue
:
[{
name
:
''
}],
scheduleReportValue
:
[{
name
:
''
}],
zhanReportValue
:
[{
name
:
''
}],
saasReportValue
:
[{
name
:
''
}]
}
})
})
},
},
// 弹窗数据回显
// 弹窗数据回显
...
@@ -314,7 +327,7 @@ export default {
...
@@ -314,7 +327,7 @@ export default {
saPerReportValue
:
[],
saPerReportValue
:
[],
scheduleReportValue
:
[],
scheduleReportValue
:
[],
zhanReportValue
:
[],
zhanReportValue
:
[],
saasReportValue
:[]
saasReportValue
:
[]
}
}
this
.
battleVisible
=
true
this
.
battleVisible
=
true
// 编辑
// 编辑
...
@@ -362,7 +375,7 @@ export default {
...
@@ -362,7 +375,7 @@ export default {
saPerReportValue
:
[{
name
:
''
}],
saPerReportValue
:
[{
name
:
''
}],
scheduleReportValue
:
[{
name
:
''
}],
scheduleReportValue
:
[{
name
:
''
}],
zhanReportValue
:
[{
name
:
''
}],
zhanReportValue
:
[{
name
:
''
}],
saasReportValue
:
[{
name
:
''
}]
saasReportValue
:
[{
name
:
''
}]
}
}
}
}
},
},
...
@@ -377,7 +390,8 @@ export default {
...
@@ -377,7 +390,8 @@ export default {
saReport
:
[],
saReport
:
[],
saPerReport
:
[],
saPerReport
:
[],
scheduleReport
:
[],
scheduleReport
:
[],
wordReport
:
[]
wordReport
:
[],
saasReport
:
[]
}
}
}
}
}
}
...
@@ -399,7 +413,8 @@ export default {
...
@@ -399,7 +413,8 @@ export default {
saReport
:
[],
saReport
:
[],
saPerReport
:
[],
saPerReport
:
[],
scheduleReport
:
[],
scheduleReport
:
[],
wordReport
:
[]
wordReport
:
[],
saasReport
:
[]
}
}
},
},
async
getDepartmentTree
()
{
async
getDepartmentTree
()
{
...
@@ -563,15 +578,19 @@ export default {
...
@@ -563,15 +578,19 @@ export default {
.footer-panel
{
.footer-panel
{
margin-top
:
20px
;
margin-top
:
20px
;
}
}
.search-groomname
{
.search-groomname
{
width
:
402px
;
width
:
402px
;
margin
:
12px
16px
0
;
margin
:
12px
16px
0
;
/deep/.el-input
{
/deep/.el-input
{
width
:
402px
;
width
:
402px
;
}
}
}
}
.addConfig-wrap
{
.addConfig-wrap
{
background
:
#fff
;
background
:
#fff
;
.header
{
.header
{
width
:
100%
;
width
:
100%
;
height
:
58px
;
height
:
58px
;
...
@@ -579,31 +598,38 @@ export default {
...
@@ -579,31 +598,38 @@ export default {
line-height
:
58px
;
line-height
:
58px
;
padding-left
:
20px
;
padding-left
:
20px
;
}
}
.ml12
{
.ml12
{
margin-left
:
12px
;
margin-left
:
12px
;
}
}
.config-wrap
{
.config-wrap
{
padding
:
32px
20px
;
padding
:
32px
20px
;
min-height
:
600px
;
min-height
:
600px
;
}
}
.group-item-box
{
.group-item-box
{
/deep/.el-form-item__content
{
/deep/.el-form-item__content
{
width
:
392px
;
width
:
392px
;
}
}
}
}
.group-box
{
.group-box
{
width
:
100%
;
width
:
100%
;
padding
:
20px
;
padding
:
20px
;
background
:
#f9f9f9
;
background
:
#f9f9f9
;
.input-box
{
.input-box
{
display
:
flex
;
display
:
flex
;
align-items
:
center
;
align-items
:
center
;
/deep/
{
/deep/
{
.el-select,
.el-select,
.el-input
{
.el-input
{
width
:
355px
!important
;
width
:
355px
!important
;
}
}
}
}
i
{
i
{
cursor
:
pointer
;
cursor
:
pointer
;
font-size
:
20px
;
font-size
:
20px
;
...
@@ -612,6 +638,7 @@ export default {
...
@@ -612,6 +638,7 @@ export default {
}
}
}
}
}
}
.group-config-text
{
.group-config-text
{
font-size
:
12px
;
font-size
:
12px
;
color
:
#5850ff
;
color
:
#5850ff
;
...
@@ -621,13 +648,14 @@ export default {
...
@@ -621,13 +648,14 @@ export default {
white-space
:
nowrap
;
white-space
:
nowrap
;
cursor
:
pointer
;
cursor
:
pointer
;
}
}
.placeholder
{
.placeholder
{
font-size
:
14px
;
font-size
:
14px
;
color
:
#c0c6ce
;
color
:
#c0c6ce
;
line-height
:
20px
;
line-height
:
20px
;
}
}
}
}
.is-reverse
{
.is-reverse
{
transform
:
rotate
(
180deg
);
transform
:
rotate
(
180deg
);
}
}
</
style
>
</
style
>
src/views/bulletin/components/dialogs/clewWordDialog.vue
View file @
f901e93
...
@@ -69,6 +69,9 @@ export default {
...
@@ -69,6 +69,9 @@ export default {
{
{
type
:
2
,
type
:
2
,
name
:
'浏览时长'
name
:
'浏览时长'
},{
type
:
2
,
name
:
'线索归属'
}
}
],
],
mapList
:
{
mapList
:
{
...
@@ -76,7 +79,8 @@ export default {
...
@@ -76,7 +79,8 @@ export default {
手机号
:
'${phone}'
,
手机号
:
'${phone}'
,
线索来源
:
'${source}'
,
线索来源
:
'${source}'
,
具体线索
:
'${clue}'
,
具体线索
:
'${clue}'
,
浏览时长
:
'${browseTime}'
浏览时长
:
'${browseTime}'
,
线索归属
:
'${staff}'
}
}
}
}
},
},
...
...
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