Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas
/
scrm-micro-scene
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 fc4a906b
authored
Jan 16, 2024
by
杨明
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
样式修改
1 parent
a9dbd6da
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
34 additions
and
94 deletions
src/assets/css/public.scss
src/views/journey/index.vue
src/views/journey/index/table.vue
src/views/journeyConfig/components/CollapseItem.vue
src/views/journeyConfig/components/editCondition.vue
src/assets/css/public.scss
View file @
fc4a906
...
...
@@ -167,3 +167,11 @@ img {
.customMessageClass
{
z-index
:
9999
!
important
;
}
.el-popover.el-popper.popover-dialog
{
padding
:
10px
!
important
;
.popover-panel
{
background
:
#f7f7fc
;
padding
:
5px
20px
5px
5px
;
margin-bottom
:
10px
;
}
}
src/views/journey/index.vue
View file @
fc4a906
<
template
>
<div
class=
"journey"
v-loading=
"loading"
>
<div
class=
"journey"
v-loading=
"loading"
>
<div
class=
"container"
>
<div
class=
"sticky"
>
<GLCombiForm
ref=
"showSearch"
:rowNumber=
"2"
:formObj=
"searchForm"
:formData=
"searchFormData"
:searchSelectObj=
"searchSelectObj"
@
handleOk=
"handleSearch"
@
handleRest=
"handleReset"
:key=
"FormKey"
></GLCombiForm>
<GLCombiForm
ref=
"showSearch"
:rowNumber=
"2"
:formObj=
"searchForm"
:formData=
"searchFormData"
:searchSelectObj=
"searchSelectObj"
@
handleOk=
"handleSearch"
@
handleRest=
"handleReset"
:key=
"FormKey"
></GLCombiForm>
<div
:class=
"['sticky-btns',
{ hiddenExport: viewType == 1 }]">
<div
class=
"btns"
>
<el-button
type=
"default"
@
click=
"refreshInst"
plain
>
状态刷新
</el-button>
<el-button
type=
"default"
@
click=
"changeViewType"
>
切换为
{{
viewType
==
1
?
'列表'
:
'看板'
}}
视图
</el-button>
<el-button
type=
"default"
@
click=
"handleExport"
>
导出
</el-button>
<el-button
type=
"default"
@
click=
"refreshInst"
plain
>
状态刷新
</el-button>
<el-button
type=
"default"
@
click=
"changeViewType"
>
切换为
{{
viewType
==
1
?
'列表'
:
'看板'
}}
视图
</el-button>
<el-button
type=
"default"
@
click=
"handleExport"
>
导出
</el-button>
</div>
</div>
</div>
<template
v-if=
"viewType == 1"
>
<div
class=
"journey-data-view"
>
<data-view
:params=
"tableSearchForm"
ref=
"dataView"
:stageList=
"stageList"
></data-view>
<data-view
:params=
"tableSearchForm"
ref=
"dataView"
:stageList=
"stageList"
></data-view>
</div>
</
template
>
<
template
v-else
>
...
...
@@ -48,11 +22,7 @@
<template
v-if=
"stageList && stageList.length"
>
<template
v-for=
"(i, index) in stageList"
>
<template>
<div
:class=
"['tab',
{ active: searchForm.sopJourneyStage == i.value }]"
:key="index"
@click="changeTab(i.value)"
>
<div
:class=
"['tab',
{ active: searchForm.sopJourneyStage == i.value }]" :key="index" @click="changeTab(i.value)">
{{
i
.
label
}}
</div>
</
template
>
...
...
@@ -61,11 +31,7 @@
</div>
</div>
<div
class=
"journey-table"
>
<journey-table
ref=
"table"
:params=
"tableSearchForm"
:stageList=
"stageList"
></journey-table>
<journey-table
ref=
"table"
:params=
"tableSearchForm"
:stageList=
"stageList"
></journey-table>
</div>
</template>
</div>
...
...
@@ -125,6 +91,7 @@ export default {
value
:
''
}]
for
(
let
k
in
stages
)
{
item
.
journeyItem
.
push
({
label
:
stages
[
k
].
value
,
value
:
stages
[
k
].
value
,
// 后台要求改成label值 20230927
...
...
src/views/journey/index/table.vue
View file @
fc4a906
<
template
>
<div
class=
"journey-table"
>
<GLTable
ref=
"tableRef"
:noDataImg=
"url"
:tableParams=
"tableParams"
:tableData=
"tableData"
:pageConf=
"pageConf"
@
refreshTable=
"refreshTable"
:tableTotal=
"tableTotal"
>
<div
class=
"table-btns"
slot=
"auth-button"
slot-scope=
"scope"
>
<GLTableButton
:buttonList=
"tableButtonList"
:buttonItem=
"scope.scope"
></GLTableButton>
<GLTable
ref=
"tableRef"
:noDataImg=
"url"
:tableParams=
"tableParams"
:tableData=
"tableData"
:pageConf=
"pageConf"
@
refreshTable=
"refreshTable"
:tableTotal=
"tableTotal"
>
<div
class=
"table-btns"
slot=
"auth-button"
slot-scope=
"scope"
>
<GLTableButton
:buttonList=
"tableButtonList"
:buttonItem=
"scope.scope"
></GLTableButton>
</div>
</GLTable>
<el-drawer
:visible
.
sync=
"showDrawer"
direction=
"rtl"
size=
"720px"
>
<el-drawer
:visible
.
sync=
"showDrawer"
direction=
"rtl"
size=
"720px"
>
<template
#
title
>
<div
class=
"drawer-title"
>
编辑客户旅程
</div>
</
template
>
...
...
@@ -47,15 +28,8 @@
<div
class=
"label"
>
旅程阶段:
</div>
<
template
v-for=
"(i, index) in stageList"
>
<template
v-if=
"index != 0"
>
<div
:key=
"index"
class=
"tags-item flex"
>
<el-button
:class=
"['text',
{disabled:i.disabled}, { active: index == stageIndex }]"
:disabled="i.disabled"
@click="editStage(index)"
>
{{
i
.
label
}}
</el-button>
<div
:key=
"index"
class=
"tags-item flex"
>
<el-button
:class=
"['text',
{ disabled: i.disabled }, { active: index == stageIndex }]" :disabled="i.disabled" @click="editStage(index)">
{{
i
.
label
}}
</el-button>
<div
class=
"arrow"
></div>
</div>
</
template
>
...
...
@@ -70,10 +44,7 @@
</div>
<
template
v-for=
"(i, index) in fileObject"
>
<template>
<div
:key=
"index"
class=
"file-item flex"
>
<div
:key=
"index"
class=
"file-item flex"
>
<div
class=
"label"
>
{{
i
.
label
}}
:
</div>
<div
class=
"value"
>
<template
v-if=
"userInfo.carMaintenanceInsurances && userInfo.carMaintenanceInsurances[0]"
>
...
...
@@ -86,14 +57,8 @@
</div>
</div>
<div
class=
"footer flex"
>
<el-button
type=
"default"
@
click=
"showDrawer = false"
>
取消
</el-button>
<el-button
type=
"primary"
@
click=
"handleConfirm"
>
确定
</el-button>
<el-button
type=
"default"
@
click=
"showDrawer = false"
>
取消
</el-button>
<el-button
type=
"primary"
@
click=
"handleConfirm"
>
确定
</el-button>
</div>
</el-drawer>
</div>
...
...
src/views/journeyConfig/components/CollapseItem.vue
View file @
fc4a906
...
...
@@ -2,7 +2,7 @@
* @Author: yangming yangming@didihu.com.cn
* @Date: 2023-09-05 17:24:08
* @LastEditors: yangming yangming@didihu.com.cn
* @LastEditTime: 2024-01-1
5 13:48
:05
* @LastEditTime: 2024-01-1
6 13:44
:05
* @FilePath: \scrm-micro-journey\src\views\journeyConfig\index.vue
* @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
-->
...
...
@@ -30,7 +30,7 @@
<img
src=
"@/assets/icon-tip.png"
class=
"question"
slot=
"reference"
alt=
""
/>
</el-popover>
</div>
<div
class=
"task-item-desc"
>
该旅程阶段支持手动标记
</div>
<div
class=
"task-item-desc"
>
该旅程阶段
{{
stepItem
.
editable
?
''
:
'不'
}}
支持手动标记
</div>
</div>
<div
class=
"progress-item-content bg-fff"
v-if=
"stepItem.conditionsList.length"
>
<div
class=
"progress-item"
v-for=
"(v, k) in stepItem.conditionsList"
:key=
"k"
>
...
...
@@ -147,7 +147,7 @@
<div
class=
"calendar-item"
v-for=
"(v, k) in stepItem.sopList"
:key=
"k"
>
<div
class=
"calendar-day"
>
第{{ v[0].day }}天
</div>
<div
class=
"calendar-time flex-column-center"
v-for=
"(value, key) in v"
:key=
"key"
>
<el-popover
placement=
"top-start"
width=
"100"
trigger=
"click"
>
<el-popover
popper-class=
"popover-dialog"
placement=
"top-start"
width=
"100"
trigger=
"click"
>
<div
class=
"popover-panel"
v-for=
"(t, pkey) in v"
:key=
"pkey"
>
<div
class=
"flex-column-center"
>
<span>
{{ t.time }}
</span>
...
...
@@ -440,7 +440,7 @@ export default {
val
.
subConditions
.
forEach
(
i
=>
{
i
.
operators
.
forEach
(
o
=>
{
if
(
o
.
value
)
{
title
+=
`并且满足
${
i
.
name
}${
o
.
name
}${
o
.
value
}
`
title
+=
`并且满足
${
i
.
name
}${
o
.
name
}${
o
.
value
}
${
o
.
unit
?
o
.
unit
:
''
}
`
}
})
})
...
...
src/views/journeyConfig/components/editCondition.vue
View file @
fc4a906
...
...
@@ -2,7 +2,7 @@
* @Author: yangming yangming@didihu.com.cn
* @Date: 2023-09-27 11:29:17
* @LastEditors: yangming yangming@didihu.com.cn
* @LastEditTime: 2024-01-1
5 15:48:2
0
* @LastEditTime: 2024-01-1
6 13:42:5
0
* @FilePath: \scrm-micro-scene\src\views\journeyConfig\components\relatedActivity.vue
* @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
-->
...
...
@@ -17,8 +17,8 @@
</div>
<div
class=
"condition-panel"
v-if=
"configInfoList.length == 2"
>
<div
class=
"flex"
>
<label
class=
"condition-label"
style=
"line-height: revert;"
>
企微成员范围:
</label>
<div
class=
"condition-select"
>
<label
class=
"condition-label"
>
企微成员范围:
</label>
<div
class=
"condition-select
m-l
"
>
<div
class=
"m-b-10"
>
<el-radio-group
v-model=
"empType"
>
<el-radio
:label=
"index"
v-for=
"(item, index) in configInfoList"
:key=
"item.id"
>
{{
item
.
name
}}
</el-radio>
...
...
@@ -442,7 +442,7 @@ export default {
.condition-more
{
margin-left
:
70px
;
padding
:
15px
20px
;
padding
:
20px
;
margin-top
:
10px
;
&:has(.condition-1)
{
background
:
#f9f9f9
;
...
...
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