Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas
/
scrm-micro-tools
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 9121d69f
authored
Sep 27, 2023
by
杨明
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
fixed
1 parent
b0a04cc7
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
29 additions
and
63 deletions
src/views/activityLink/components/MarketingGift.vue
src/views/activityLink/editActivity.vue
src/views/sop/editSop/components/activityModel.vue
src/views/sop/index.vue
src/views/sop/sopAnalysisList.vue
src/views/sop/sopList.vue
src/views/activityLink/components/MarketingGift.vue
View file @
9121d69
...
@@ -507,7 +507,7 @@ export default {
...
@@ -507,7 +507,7 @@ export default {
this
.
calcCarValue
()
this
.
calcCarValue
()
},
},
addCoupon
()
{
addCoupon
()
{
openTab
(
'/
marketing
/couponManage/index'
)
openTab
(
'/
tools
/couponManage/index'
)
},
},
getList
()
{
getList
()
{
switch
(
+
this
.
currentIndex
)
{
switch
(
+
this
.
currentIndex
)
{
...
...
src/views/activityLink/editActivity.vue
View file @
9121d69
...
@@ -787,7 +787,7 @@ export default {
...
@@ -787,7 +787,7 @@ export default {
jumpLabel
:
'创建服务'
,
jumpLabel
:
'创建服务'
,
tipsWidth
:
220
,
tipsWidth
:
220
,
handleJump
:
()
=>
{
handleJump
:
()
=>
{
this
.
$history
.
push
(
'/
marketing
/couponManage/index'
)
this
.
$history
.
push
(
'/
tools
/couponManage/index'
)
}
}
},
},
{
{
...
...
src/views/sop/editSop/components/activityModel.vue
View file @
9121d69
...
@@ -13,26 +13,17 @@
...
@@ -13,26 +13,17 @@
</el-tabs>
</el-tabs>
</div>
</div>
<div
class=
"model-item-panel"
v-if=
"modelList.length > 0"
v-loading=
"loading"
>
<div
class=
"model-item-panel"
v-if=
"modelList.length > 0"
v-loading=
"loading"
>
<div
class=
"model-item"
:class=
"
{ checked: selectItem == item }" v-for="(item, index) in modelList"
<div
class=
"model-item"
:class=
"
{ checked: selectItem == item }" v-for="(item, index) in modelList" :key="index" @click="handleSelectItem(item)">
:key="index" @click="handleSelectItem(item)">
<div
class=
"model-item-title"
:title=
"item.equityName"
v-show=
"activeName == 3"
>
{{
item
.
equityName
}}
</div>
<div
class=
"model-item-title"
:title=
"item.equityName"
v-show=
"activeName == 3"
>
{{
item
.
equityName
}}
</div>
<div
class=
"model-item-title"
:title=
"item.couponName"
v-show=
"activeName == 2"
>
{{
item
.
couponName
}}
</div>
<div
class=
"model-item-title"
:title=
"item.couponName"
v-show=
"activeName == 2"
>
{{
item
.
couponName
}}
</div>
<!--
<div
class=
"model-item-title"
:title=
"item.couponName"
v-show=
"activeName == 6"
>
{{
item
.
equityName
}}
</div>
-->
<!--
<div
class=
"model-item-title"
:title=
"item.couponName"
v-show=
"activeName == 6"
>
{{
item
.
equityName
}}
</div>
-->
<div
class=
"model-item-title"
:title=
"item.packageName"
v-show=
"activeName == 4"
>
{{
item
.
packageName
}}
<div
class=
"model-item-title"
:title=
"item.packageName"
v-show=
"activeName == 4"
>
{{
item
.
packageName
}}
</div>
</div>
<div
class=
"model-item-title"
:title=
"item.activityName"
v-show=
"activeName == 5"
>
{{
item
.
activityName
}}
</div>
<div
class=
"model-item-title"
:title=
"item.activityName"
v-show=
"activeName == 5"
>
{{
item
.
activityName
}}
</div>
<div
class=
"model-item-content"
v-show=
"activeName == 3"
>
领取方式:免费领用
</div>
<div
class=
"model-item-content"
v-show=
"activeName == 3"
>
领取方式:免费领用
</div>
<div
class=
"model-item-content"
v-show=
"activeName == 4"
>
领取方式:付费购买
</div>
<div
class=
"model-item-content"
v-show=
"activeName == 4"
>
领取方式:付费购买
</div>
<div
class=
"model-item-content"
v-show=
"activeName == 2 && item.effectiveType == 6"
>
有效期:
{{
<div
class=
"model-item-content"
v-show=
"activeName == 2 && item.effectiveType == 6"
>
有效期:
{{
item
.
effectiveDays
}}
天
</div>
item
.
effectiveDays
}}
天
</div>
<div
class=
"model-item-content"
v-show=
"activeName == 2 && item.effectiveType == 3"
>
有效期:无限制
</div>
<div
class=
"model-item-content"
v-show=
"activeName == 2 && item.effectiveType == 3"
>
有效期:无限制
</div>
<div
class=
"model-item-content"
v-show=
"activeName == 2 && item.effectiveType == 2"
>
有效期:
{{
<div
class=
"model-item-content"
v-show=
"activeName == 2 && item.effectiveType == 2"
>
有效期:
{{
item
.
effectiveStartTime
?
item
.
effectiveStartTime
.
split
(
' '
)[
0
]
:
''
}}
~
{{
item
.
effectiveEndTime
?
item
.
effectiveEndTime
.
split
(
' '
)[
0
]
:
''
}}
</div>
item
.
effectiveStartTime
?
item
.
effectiveStartTime
.
split
(
' '
)[
0
]
:
''
}}
~
{{
item
.
effectiveEndTime
?
item
.
effectiveEndTime
.
split
(
' '
)[
0
]
:
''
}}
</div>
<!--
<div
class=
"model-item-content"
v-show=
"activeName == 6"
>
获取方式:需先购买无忧服务套餐
</div>
<!--
<div
class=
"model-item-content"
v-show=
"activeName == 6"
>
获取方式:需先购买无忧服务套餐
</div>
<div
class=
"model-item-content"
v-show=
"activeName == 6"
>
获取限制:每个服务套餐限领一次
</div>
-->
<div
class=
"model-item-content"
v-show=
"activeName == 6"
>
获取限制:每个服务套餐限领一次
</div>
-->
...
@@ -73,19 +64,14 @@
...
@@ -73,19 +64,14 @@
<img
src=
"@/assets/empty.png"
/>
<img
src=
"@/assets/empty.png"
/>
<div
class=
"empty-item"
>
暂无数据
</div>
<div
class=
"empty-item"
>
暂无数据
</div>
</div>
</div>
<el-pagination
v-if=
"activeName != 3"
@
size-change=
"handleSizeChange"
@
current-change=
"handleCurrentChange"
<el-pagination
v-if=
"activeName != 3"
@
size-change=
"handleSizeChange"
@
current-change=
"handleCurrentChange"
:current-page=
"pageNum"
:page-sizes=
"[12, 24, 36, 48]"
:page-size=
"pageSize"
:total=
"tableTotal"
layout=
"total, sizes, prev, pager, next, jumper"
></el-pagination>
:current-page=
"pageNum"
:page-sizes=
"[12, 24, 36, 48]"
:page-size=
"pageSize"
:total=
"tableTotal"
layout=
"total, sizes, prev, pager, next, jumper"
></el-pagination>
</div>
</div>
<span
slot=
"footer"
class=
"dialog-footer"
>
<span
slot=
"footer"
class=
"dialog-footer"
>
<el-button
size=
"small"
@
click=
"dialogVisible = false"
>
取 消
</el-button>
<el-button
size=
"small"
@
click=
"dialogVisible = false"
>
取 消
</el-button>
<el-button
size=
"small"
type=
"primary"
@
click=
"handleSelect"
v-show=
"modelList.length"
>
确 定
</el-button>
<el-button
size=
"small"
type=
"primary"
@
click=
"handleSelect"
v-show=
"modelList.length"
>
确 定
</el-button>
<el-button
size=
"small"
type=
"primary"
@
click=
"handleOpen"
<el-button
size=
"small"
type=
"primary"
@
click=
"handleOpen"
v-show=
"modelList.length == 0 && activeName == 2 && memberMenu"
>
立即添加
</el-button>
v-show=
"modelList.length == 0 && activeName == 2 && memberMenu"
>
立即添加
</el-button>
<el-button
size=
"small"
type=
"primary"
@
click=
"handleOpen"
v-show=
"modelList.length == 0 && activeName == 4 && couponMenu"
>
立即添加
</el-button>
<el-button
size=
"small"
type=
"primary"
@
click=
"handleOpen"
<el-button
size=
"small"
type=
"primary"
@
click=
"handleOpen"
v-show=
"modelList.length == 0 && activeName == 5 && activityMenu"
>
立即添加
</el-button>
v-show=
"modelList.length == 0 && activeName == 4 && couponMenu"
>
立即添加
</el-button>
<el-button
size=
"small"
type=
"primary"
@
click=
"handleOpen"
v-show=
"modelList.length == 0 && activeName == 5 && activityMenu"
>
立即添加
</el-button>
</span>
</span>
</GLDialog>
</GLDialog>
</div>
</div>
...
@@ -154,13 +140,13 @@ export default {
...
@@ -154,13 +140,13 @@ export default {
let
url
let
url
switch
(
this
.
activeName
)
{
switch
(
this
.
activeName
)
{
case
'2'
:
case
'2'
:
url
=
'/
marketing
/couponManage/index'
url
=
'/
tools
/couponManage/index'
break
break
case
'4'
:
case
'4'
:
url
=
'/
marketing
/memberCenter/setmealAddUpdate?%24title=%25E5%2588%259B%25E5%25BB%25BA%25E5%25A5%2597%25E9%25A4%2590'
url
=
'/
tools
/memberCenter/setmealAddUpdate?%24title=%25E5%2588%259B%25E5%25BB%25BA%25E5%25A5%2597%25E9%25A4%2590'
break
break
case
'5'
:
case
'5'
:
url
=
'/
marketing
/seckillActivity/editActivity/1'
url
=
'/
tools
/seckillActivity/editActivity/1'
break
break
}
}
util
.
openUrl
(
location
.
origin
+
url
)
util
.
openUrl
(
location
.
origin
+
url
)
...
@@ -320,7 +306,7 @@ export default {
...
@@ -320,7 +306,7 @@ export default {
.model-item-empty
{
.model-item-empty
{
height
:
32vh
;
height
:
32vh
;
>img
{
>
img
{
display
:
block
;
display
:
block
;
margin
:
50px
auto
0px
;
margin
:
50px
auto
0px
;
width
:
60px
;
width
:
60px
;
...
...
src/views/sop/index.vue
View file @
9121d69
...
@@ -155,7 +155,7 @@ export default {
...
@@ -155,7 +155,7 @@ export default {
handleJump
(
path
,
row
=
{})
{
handleJump
(
path
,
row
=
{})
{
this
.
$router
.
push
({
this
.
$router
.
push
({
path
:
'/sop/'
+
path
,
path
:
'/sop/'
+
path
,
query
:
row
?
{
id
:
row
.
id
,
fromPage
:
'/
marketing
/sop/index'
,
sopType
:
row
.
sopType
}
:
''
query
:
row
?
{
id
:
row
.
id
,
fromPage
:
'/
tools
/sop/index'
,
sopType
:
row
.
sopType
}
:
''
})
})
},
},
...
@@ -245,7 +245,7 @@ export default {
...
@@ -245,7 +245,7 @@ export default {
handleEdit
(
addOrEdit
,
row
)
{
handleEdit
(
addOrEdit
,
row
)
{
var
params
=
{
var
params
=
{
addOrEdit
:
addOrEdit
,
addOrEdit
:
addOrEdit
,
fromPage
:
'/
marketing
/sop/index'
,
fromPage
:
'/
tools
/sop/index'
,
$title
:
encodeURI
(
addOrEdit
==
'add'
?
'新建SOP'
:
'编辑SOP'
)
$title
:
encodeURI
(
addOrEdit
==
'add'
?
'新建SOP'
:
'编辑SOP'
)
}
}
addOrEdit
!=
'add'
&&
(
params
.
id
=
row
.
id
)
addOrEdit
!=
'add'
&&
(
params
.
id
=
row
.
id
)
...
...
src/views/sop/sopAnalysisList.vue
View file @
9121d69
...
@@ -8,7 +8,7 @@
...
@@ -8,7 +8,7 @@
<el-tab-pane
label=
"触达率分析"
name=
"touchList"
>
<el-tab-pane
label=
"触达率分析"
name=
"touchList"
>
<touch-list
v-if=
"activeName == 'touchList'"
:sopId=
"routeInfo.id"
:sopType=
"routeInfo.sopType"
></touch-list>
<touch-list
v-if=
"activeName == 'touchList'"
:sopId=
"routeInfo.id"
:sopType=
"routeInfo.sopType"
></touch-list>
</el-tab-pane>
</el-tab-pane>
<el-tab-pane
label=
"员工完成率分析"
name=
"staffList"
v-if=
"
routeInfo.sopType == 1"
>
<el-tab-pane
label=
"员工完成率分析"
name=
"staffList"
v-if=
"routeInfo.sopType == 1"
>
<staff-list
v-if=
"activeName == 'staffList'"
:sopId=
"routeInfo.id"
></staff-list>
<staff-list
v-if=
"activeName == 'staffList'"
:sopId=
"routeInfo.id"
></staff-list>
</el-tab-pane>
</el-tab-pane>
<el-tab-pane
label=
"效果分析"
name=
"resultList"
>
<el-tab-pane
label=
"效果分析"
name=
"resultList"
>
...
@@ -32,7 +32,7 @@ export default {
...
@@ -32,7 +32,7 @@ export default {
size
:
'small'
,
size
:
'small'
,
routeInfo
:
{
routeInfo
:
{
id
:
''
,
id
:
''
,
fromPage
:
'/
marketing
/sop/index'
fromPage
:
'/
tools
/sop/index'
}
}
}
}
},
},
...
@@ -50,7 +50,7 @@ export default {
...
@@ -50,7 +50,7 @@ export default {
},
},
methods
:
{
methods
:
{
handleTabClick
()
{
},
handleTabClick
()
{},
handleBack
()
{
handleBack
()
{
this
.
$history
.
push
({
this
.
$history
.
push
({
path
:
this
.
routeInfo
.
fromPage
path
:
this
.
routeInfo
.
fromPage
...
...
src/views/sop/sopList.vue
View file @
9121d69
<!-- sop管理 -->
<!-- sop管理 -->
<
template
>
<
template
>
<div
class=
"marketing sop-list"
>
<div
class=
"marketing sop-list"
>
<SopNav
@
clickNav=
"handleClick"
<SopNav
@
clickNav=
"handleClick"
:activeName=
"'second'"
/>
:activeName=
"'second'"
/>
<div
class=
"m-b-20 m-t-20 p-relative"
>
<div
class=
"m-b-20 m-t-20 p-relative"
>
<el-button
:size=
"size"
<el-button
:size=
"size"
type=
"primary"
class=
"el-icon-plus"
@
click=
"handleEdit('add')"
>
新建SOP
</el-button>
type=
"primary"
class=
"el-icon-plus"
@
click=
"handleEdit('add')"
>
新建SOP
</el-button>
<!--
<el-button
class=
"sop-back-btn"
:size=
"size"
type=
"primary"
@
click=
"handleBack"
>
返回
</el-button>
-->
<!--
<el-button
class=
"sop-back-btn"
:size=
"size"
type=
"primary"
@
click=
"handleBack"
>
返回
</el-button>
-->
</div>
</div>
<div
class=
"container"
>
<div
class=
"container"
>
<GLCombiForm
ref=
"showSearch"
<GLCombiForm
ref=
"showSearch"
:rowNumber=
"1"
:formObj=
"searchForm"
:formData=
"searchFormData"
@
handleOk=
"handleSearch"
@
handleRest=
"handleReset"
></GLCombiForm>
:rowNumber=
"1"
:formObj=
"searchForm"
:formData=
"searchFormData"
@
handleOk=
"handleSearch"
@
handleRest=
"handleReset"
></GLCombiForm>
<!-- 表格区域 开始 -->
<!-- 表格区域 开始 -->
<GLTable
ref=
"sopListRef"
<GLTable
ref=
"sopListRef"
:getListApi=
"getListApi"
:noDataImg=
"url"
:searchForm=
"searchForm"
:tableParams=
"tableParams"
:pageConf=
"pageConf"
:beforeSearchFn=
"beforeSearchFn"
@
setTableFinishFun=
"setTableFinishFun"
>
:getListApi=
"getListApi"
<div
class=
"table-btns"
slot=
"auth-button"
slot-scope=
"scope"
>
:noDataImg=
"url"
<GLTableButton
:buttonList=
"tableButtonList"
:buttonItem=
"scope.scope"
:buttonNum=
"3"
></GLTableButton>
:searchForm=
"searchForm"
:tableParams=
"tableParams"
:pageConf=
"pageConf"
:beforeSearchFn=
"beforeSearchFn"
@
setTableFinishFun=
"setTableFinishFun"
>
<div
class=
"table-btns"
slot=
"auth-button"
slot-scope=
"scope"
>
<GLTableButton
:buttonList=
"tableButtonList"
:buttonItem=
"scope.scope"
:buttonNum=
"3"
></GLTableButton>
</div>
</div>
</GLTable>
</GLTable>
<!-- 表格区域 end -->
<!-- 表格区域 end -->
...
@@ -43,7 +23,7 @@
...
@@ -43,7 +23,7 @@
<
script
>
<
script
>
import
*
as
dayjs
from
'dayjs'
import
*
as
dayjs
from
'dayjs'
import
url
from
'@/assets/empty.png'
import
url
from
'@/assets/empty.png'
import
SopNav
from
"views/sop/SopNav"
;
import
SopNav
from
'views/sop/SopNav'
export
default
{
export
default
{
name
:
'sopList'
,
name
:
'sopList'
,
components
:
{
SopNav
},
components
:
{
SopNav
},
...
@@ -243,7 +223,7 @@ export default {
...
@@ -243,7 +223,7 @@ export default {
{
{
confId
:
2
,
confId
:
2
,
confName
:
'群sop'
confName
:
'群sop'
}
,
}
]
]
}
}
}
}
...
@@ -260,7 +240,7 @@ export default {
...
@@ -260,7 +240,7 @@ export default {
handleJump
(
path
,
row
=
{})
{
handleJump
(
path
,
row
=
{})
{
this
.
$router
.
push
({
this
.
$router
.
push
({
path
:
'/sop/'
+
path
,
path
:
'/sop/'
+
path
,
query
:
row
?
{
id
:
row
.
id
,
sopType
:
row
.
sopType
,
fromPage
:
'/
marketing
/sop/sopList'
}
:
''
query
:
row
?
{
id
:
row
.
id
,
sopType
:
row
.
sopType
,
fromPage
:
'/
tools
/sop/sopList'
}
:
''
})
})
},
},
...
...
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