Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas
/
scrm-micro-marketing
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 e4f9574e
authored
Mar 29, 2022
by
chenwq
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
朋友圈弹窗;已选客户样式修改
1 parent
75f9eea1
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
53 additions
and
13 deletions
src/assets/sop/img-num.png
src/views/sop/editSop/baseInfo.vue
src/views/sop/editSop/components/nicknameModel.vue
src/views/sop/editSop/components/selectCustomer.vue
src/views/sop/sopAnalysis/staffList.vue
src/assets/sop/img-num.png
0 → 100644
View file @
e4f9574
999 Bytes
src/views/sop/editSop/baseInfo.vue
View file @
e4f9574
...
@@ -508,7 +508,7 @@ export default {
...
@@ -508,7 +508,7 @@ export default {
}
}
}
}
</
script
>
</
script
>
<
style
lang=
"scss"
scoped
>
<
style
lang=
"scss"
>
.sop-base-info
{
.sop-base-info
{
.customer-box
{
.customer-box
{
width
:
567px
;
width
:
567px
;
...
@@ -538,6 +538,10 @@ export default {
...
@@ -538,6 +538,10 @@ export default {
display
:
flex
;
display
:
flex
;
align-items
:
center
;
align-items
:
center
;
font-size
:
14px
;
font-size
:
14px
;
.el-tag.el-tag--info
.el-tag__close
{
color
:
#909399
!important
;
background
:
transparent
!important
;
}
.customer-tag
{
.customer-tag
{
margin
:
4px
;
margin
:
4px
;
}
}
...
...
src/views/sop/editSop/components/nicknameModel.vue
View file @
e4f9574
<!-- 朋友圈模板弹窗 -->
<!-- 朋友圈模板弹窗 -->
<
template
>
<
template
>
<glsx-dialog
title=
"选择朋友圈模板"
:isVisible
.
sync=
"isNicknameVisible"
width=
"1088px"
@
confirmDialog=
"handleNicknameConfirm"
@
closeDialog=
"handleNicknameClose"
class=
"relateStore"
>
<glsx-dialog
title=
"选择朋友圈模板"
:isVisible
.
sync=
"isNicknameVisible"
width=
"1088px"
@
confirmDialog=
"handleNicknameConfirm"
@
closeDialog=
"handleNicknameClose"
class=
"relateStore"
>
<div
class=
"model-panel"
v-loading=
"loading"
>
<div
class=
"model-panel
pyq-model
"
v-loading=
"loading"
>
<div
class=
"model-panel-tab"
>
<div
class=
"model-panel-tab"
>
<label>
活动类型:
</label>
<label>
活动类型:
</label>
<el-tabs
v-model=
"activeName"
@
tab-click=
"handleClick"
type=
"card"
>
<el-tabs
v-model=
"activeName"
@
tab-click=
"handleClick"
type=
"card"
>
...
@@ -15,10 +15,18 @@
...
@@ -15,10 +15,18 @@
</div>
</div>
<div
class=
"model-item-panel"
v-if=
"modelList.length > 0"
>
<div
class=
"model-item-panel"
v-if=
"modelList.length > 0"
>
<div
class=
"model-item"
:class=
"
{ checked: selectItem.id == item.id }" v-for="(item, index) in modelList" :key="index" @click="handleSelectItem(item)">
<div
class=
"model-item"
:class=
"
{ checked: selectItem.id == item.id }" v-for="(item, index) in modelList" :key="index" @click="handleSelectItem(item)">
<div
v-if=
"item.showVideoContent.length"
>
<div
style=
"position: relative;"
v-if=
"item.showVideoContent.length"
>
<div
class=
"nick-item-block"
v-if=
"item.showVideoContent.length != 1"
>
<span
class=
"nick-txt absolute-t-l"
>
{{
item
.
showVideoContent
.
length
}}
</span>
<img
class=
"nick-txt"
src=
"@/assets/sop/img-num.png"
/>
</div>
<video
class=
"model-item-img"
:src=
"item.showVideoContent[0].attContent"
controls=
"controls"
/>
<video
class=
"model-item-img"
:src=
"item.showVideoContent[0].attContent"
controls=
"controls"
/>
</div>
</div>
<div
v-if=
"!item.showVideoContent.length && item.showImgContent.length"
>
<div
style=
"position: relative;"
v-if=
"!item.showVideoContent.length && item.showImgContent.length"
>
<div
class=
"nick-item-block"
v-if=
"item.showImgContent.length != 1"
>
<span
class=
"nick-txt absolute-t-l"
>
{{
item
.
showImgContent
.
length
}}
</span>
<img
class=
"nick-txt"
src=
"@/assets/sop/img-num.png"
/>
</div>
<img
class=
"model-item-img"
:src=
"item.showImgContent[0].attContent"
/>
<img
class=
"model-item-img"
:src=
"item.showImgContent[0].attContent"
/>
</div>
</div>
<div
class=
"model-item-content"
:title=
"item.showTxtContent"
>
{{
item
.
showTxtContent
}}
</div>
<div
class=
"model-item-content"
:title=
"item.showTxtContent"
>
{{
item
.
showTxtContent
}}
</div>
...
@@ -79,7 +87,7 @@ export default {
...
@@ -79,7 +87,7 @@ export default {
this
.
loading
=
true
this
.
loading
=
true
var
params
=
{
var
params
=
{
materialType
:
this
.
activeName
,
materialType
:
this
.
activeName
,
status
:
3
,
//
status: 3,
pageNum
:
this
.
pageNum
,
pageNum
:
this
.
pageNum
,
pageSize
:
this
.
pageSize
pageSize
:
this
.
pageSize
}
}
...
@@ -141,7 +149,7 @@ export default {
...
@@ -141,7 +149,7 @@ export default {
}
}
</
script
>
</
script
>
<
style
lang=
"scss"
scoped
>
<
style
lang=
"scss"
scoped
>
.model-panel
{
.
pyq-model.
model-panel
{
.model-panel-tab
{
.model-panel-tab
{
display
:
flex
;
display
:
flex
;
align-items
:
center
;
align-items
:
center
;
...
@@ -243,8 +251,29 @@ export default {
...
@@ -243,8 +251,29 @@ export default {
overflow
:
hidden
;
overflow
:
hidden
;
white-space
:
nowrap
;
white-space
:
nowrap
;
}
}
.nick-item-block
{
position
:
absolute
;
background
:
rgba
(
0
,
0
,
0
,
0.3
);
top
:
0
;
left
:
0
;
width
:
100%
;
height
:
100px
;
.nick-txt
{
position
:
absolute
;
top
:
50%
;
left
:
50%
;
transform
:
translate
(
-50%
,
-50%
);
font-size
:
16px
;
font-weight
:
500
;
color
:
#ffffff
;
}
.absolute-t-l
{
top
:
55%
;
left
:
48%
;
}
}
&
-img
{
&
-img
{
width
:
1
80px
;
width
:
1
00%
;
height
:
100px
;
height
:
100px
;
}
}
&
-content
{
&
-content
{
...
...
src/views/sop/editSop/components/selectCustomer.vue
View file @
e4f9574
...
@@ -6,6 +6,7 @@
...
@@ -6,6 +6,7 @@
<div
class=
"tag-box"
>
<div
class=
"tag-box"
>
<span
class=
"tag-label"
>
用户标签:
</span>
<span
class=
"tag-label"
>
用户标签:
</span>
<div
class=
"el-input-tag input-tag-wrapper"
@
click=
"handleClickTag"
>
<div
class=
"el-input-tag input-tag-wrapper"
@
click=
"handleClickTag"
>
<span
v-if=
"!selectedLabelList.length"
style=
"color: #BFBFBF;"
>
请选择标签筛选客户
</span>
<span
v-for=
"(tag, idx) in selectedLabelList"
:key=
"idx"
>
<span
v-for=
"(tag, idx) in selectedLabelList"
:key=
"idx"
>
<el-tag
v-for=
"(tagItem, idx1) in tag.labelList"
:key=
"idx1"
:size=
"size"
type=
"info"
:disable-transitions=
"false"
>
{{
tagItem
.
name
}}
</el-tag>
<el-tag
v-for=
"(tagItem, idx1) in tag.labelList"
:key=
"idx1"
:size=
"size"
type=
"info"
:disable-transitions=
"false"
>
{{
tagItem
.
name
}}
</el-tag>
</span>
</span>
...
@@ -179,7 +180,7 @@ export default {
...
@@ -179,7 +180,7 @@ export default {
this
.
tableList
=
this
.
$refs
.
customerRef
.
data
this
.
tableList
=
this
.
$refs
.
customerRef
.
data
this
.
recoverySelected
()
this
.
recoverySelected
()
//接收到的数据为空
//接收到的数据为空
this
.
$refs
.
customerRef
.
tableHeightValues
=
'
'
this
.
$refs
.
customerRef
.
tableHeightValues
=
this
.
$refs
.
customerRef
.
data
.
length
?
''
:
'400px
'
},
},
recoverySelected
()
{
recoverySelected
()
{
...
...
src/views/sop/sopAnalysis/staffList.vue
View file @
e4f9574
...
@@ -32,7 +32,7 @@
...
@@ -32,7 +32,7 @@
<p
class=
"m-b-10"
>
员工任务明细
</p>
<p
class=
"m-b-10"
>
员工任务明细
</p>
<!-- 表格区域 开始 -->
<!-- 表格区域 开始 -->
<GLTable
ref=
"staffListRef"
:getListApi=
"getListApi"
:noDataImg=
"url"
:searchForm=
"searchForm"
:tableParams=
"tableParams"
:pageConf=
"pageConf"
:beforeSearchFn=
"beforeSearchFn"
@
setTableFinishFun=
"setTableFinishFun"
></GLTable>
<GLTable
v-loading=
"loading"
ref=
"staffListRef"
:getListApi=
"getListApi"
:noDataImg=
"url"
:searchForm=
"searchForm"
:tableParams=
"tableParams"
:pageConf=
"pageConf"
:beforeSearchFn=
"beforeSearchFn"
@
setTableFinishFun=
"setTableFinishFun"
></GLTable>
<!-- 表格区域 end -->
<!-- 表格区域 end -->
</div>
</div>
</div>
</div>
...
@@ -51,6 +51,7 @@ export default {
...
@@ -51,6 +51,7 @@ export default {
sopInfo
:
{
sopInfo
:
{
sopStatistics
:
{}
sopStatistics
:
{}
},
},
loading
:
false
,
taskPercent
:
''
,
taskPercent
:
''
,
searchForm
:
{},
searchForm
:
{},
isCheckStatus
:
false
,
isCheckStatus
:
false
,
...
@@ -110,10 +111,15 @@ export default {
...
@@ -110,10 +111,15 @@ export default {
},
},
getTaskStatus
()
{
getTaskStatus
()
{
this
.
$apis
.
sop
.
getTaskStatusApi
({}).
then
(
res
=>
{
this
.
loading
=
true
this
.
isCheckStatus
=
true
this
.
$apis
.
sop
this
.
$refs
.
staffListRef
.
refreshTable
()
.
getTaskStatusApi
({})
})
.
then
(
res
=>
{
})
.
finally
(()
=>
{
this
.
loading
=
false
this
.
isCheckStatus
=
true
this
.
$refs
.
staffListRef
.
refreshTable
()
})
},
},
getBaseInfo
()
{
getBaseInfo
()
{
...
...
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