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 c5d9c5d3
authored
Jun 13, 2022
by
胡悦
Committed by
chenwq
Jun 15, 2022
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
修复样式
1 parent
ac65e9ae
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
38 additions
and
17 deletions
src/views/customerTransform/addCustomer.vue
src/views/customerTransform/addCustomerGroup.vue
src/views/customerTransform/components/selectCrowd.vue
src/views/customerTransform/addCustomer.vue
View file @
c5d9c5d
This diff is collapsed.
Click to expand it.
src/views/customerTransform/addCustomerGroup.vue
View file @
c5d9c5d
...
@@ -302,7 +302,7 @@ export default {
...
@@ -302,7 +302,7 @@ export default {
if
(
item
.
attType
==
1
)
{
if
(
item
.
attType
==
1
)
{
const
list
=
emoji
.
flat
(
Infinity
)
const
list
=
emoji
.
flat
(
Infinity
)
const
cutImg
=
item
.
attContent
.
replaceAll
(
'<img src="https://img01.glsx.com.cn/weapp/resource/saas/scrm/emoji/'
,
''
)
const
cutImg
=
item
.
attContent
.
replaceAll
(
'<img src="https://img01.glsx.com.cn/weapp/resource/saas/scrm/emoji/'
,
''
)
const
replaceImg
=
cutImg
.
replace
(
/
(\d){3}
.png">/g
,
function
(
str
)
{
const
replaceImg
=
cutImg
.
replace
(
/
(\d){3}
.png">/g
,
function
(
str
)
{
let
s
=
list
[
parseInt
(
str
.
split
(
'.'
)[
0
])
-
1
]
let
s
=
list
[
parseInt
(
str
.
split
(
'.'
)[
0
])
-
1
]
return
`[
${
s
}
]`
return
`[
${
s
}
]`
})
})
...
@@ -354,7 +354,9 @@ export default {
...
@@ -354,7 +354,9 @@ export default {
const
date
=
new
Date
(
v
).
getTime
()
const
date
=
new
Date
(
v
).
getTime
()
if
(
date
<
Date
.
now
())
{
if
(
date
<
Date
.
now
())
{
this
.
timeOptions
=
{
this
.
timeOptions
=
{
selectableRange
:
`
${
dayjs
().
add
(
1
,
'm'
).
format
(
'HH:mm'
)}
:00 - 23:59:59`
selectableRange
:
`
${
dayjs
()
.
add
(
1
,
'm'
)
.
format
(
'HH:mm'
)}
:00 - 23:59:59`
}
}
}
else
{
}
else
{
this
.
timeOptions
=
{
this
.
timeOptions
=
{
...
@@ -386,7 +388,8 @@ export default {
...
@@ -386,7 +388,8 @@ export default {
align-items
:
flex-end
;
align-items
:
flex-end
;
justify-content
:
space-between
;
justify-content
:
space-between
;
.info-content
{
.info-content
{
width
:
calc
(
100%
-
360px
);
//
width
:
calc
(
100%
-
360px
);
width
:
50%
;
//
flex
:
1
;
//
flex
:
1
;
}
}
}
}
...
...
src/views/customerTransform/components/selectCrowd.vue
View file @
c5d9c5d
...
@@ -3,11 +3,11 @@
...
@@ -3,11 +3,11 @@
* @Author: huyue
* @Author: huyue
* @Date: 2022-05-24 18:18:53
* @Date: 2022-05-24 18:18:53
* @LastEditors: huyue
* @LastEditors: huyue
* @LastEditTime: 2022-06-
09 17:55:40
* @LastEditTime: 2022-06-
13 16:51:03
-->
-->
<
template
>
<
template
>
<div>
<div>
<el-dialog
:title=
"'人群筛选'"
:visible
.
sync=
"crowdVisible"
>
<el-dialog
:title=
"'人群筛选'"
:
width=
"'1080px'"
:
visible
.
sync=
"crowdVisible"
>
<div
class=
"member-wrapper"
>
<div
class=
"member-wrapper"
>
<div
class=
"member-left"
>
<div
class=
"member-left"
>
<div
class=
"member-title"
>
<div
class=
"member-title"
>
...
@@ -16,17 +16,14 @@
...
@@ -16,17 +16,14 @@
<div
class=
"member-content"
>
<div
class=
"member-content"
>
<el-form
:inline=
"true"
class=
"member-form"
:model=
"searchForm"
@
submit
.
native
.
prevent
>
<el-form
:inline=
"true"
class=
"member-form"
:model=
"searchForm"
@
submit
.
native
.
prevent
>
<el-form-item
label=
"人群名称"
style=
"margin-bottom: 0"
size=
"small"
>
<el-form-item
label=
"人群名称"
style=
"margin-bottom: 0"
size=
"small"
>
<el-input
:size=
"size"
v-model
.
trim=
"searchForm.keyword"
@
keyup
.
enter
.
native=
"search"
clearable
<el-input
:size=
"size"
v-model
.
trim=
"searchForm.keyword"
@
keyup
.
enter
.
native=
"search"
clearable
placeholder=
"请输入关键字搜索"
></el-input>
placeholder=
"请输入关键字搜索"
></el-input>
</el-form-item>
</el-form-item>
<el-form-item
label
style=
"margin-bottom: 0;margin-left:10px"
size=
"small"
>
<el-form-item
label
style=
"margin-bottom: 0;margin-left:10px"
size=
"small"
>
<el-button
type=
"primary"
:size=
"size"
@
click=
"search"
>
搜索
</el-button>
<el-button
type=
"primary"
:size=
"size"
@
click=
"search"
>
搜索
</el-button>
</el-form-item>
</el-form-item>
</el-form>
</el-form>
<div
class=
"table-content"
>
<div
class=
"table-content"
>
<GLTable
v-loading=
"loading"
ref=
"crowdTable"
:tableData=
"tableData"
@
refreshTable=
"search"
<GLTable
v-loading=
"loading"
ref=
"crowdTable"
:tableData=
"tableData"
@
refreshTable=
"search"
:tableTotal=
"tableTotal"
:layout=
"layout"
:tableParams=
"crowdTableParams"
:hasNum=
"true"
:pageConf=
"pageConf"
:noDataImg=
"url"
@
selectionTable=
"selectionTable"
@
row-click=
"rowClick"
></GLTable>
:tableTotal=
"tableTotal"
:layout=
"layout"
:tableParams=
"crowdTableParams"
:hasNum=
"true"
:pageConf=
"pageConf"
:noDataImg=
"url"
@
selectionTable=
"selectionTable"
@
row-click=
"rowClick"
></GLTable>
</div>
</div>
</div>
</div>
</div>
</div>
...
@@ -35,8 +32,7 @@
...
@@ -35,8 +32,7 @@
<div
class=
"member-name"
>
人群(
{{
innerTags
.
length
}}
项)
</div>
<div
class=
"member-name"
>
人群(
{{
innerTags
.
length
}}
项)
</div>
<div
class=
"input-tag-wrapper"
>
<div
class=
"input-tag-wrapper"
>
<div
class=
"tag-box"
>
<div
class=
"tag-box"
>
<el-tag
v-for=
"(tag, idx) in innerTags"
:key=
"idx"
type=
"info"
closable
:disable-transitions=
"false"
<el-tag
v-for=
"(tag, idx) in innerTags"
:key=
"idx"
type=
"info"
closable
:disable-transitions=
"false"
@
close=
"remove(tag)"
>
@
close=
"remove(tag)"
>
{{
tag
.
crowdName
}}
{{
tag
.
crowdName
}}
</el-tag>
</el-tag>
</div>
</div>
...
@@ -44,8 +40,8 @@
...
@@ -44,8 +40,8 @@
</div>
</div>
</div>
</div>
<span
slot=
"footer"
class=
"dialog-footer"
>
<span
slot=
"footer"
class=
"dialog-footer"
>
<el-button
size=
"small"
@
click=
"crowdVisible = false"
>
取 消
</el-button>
<el-button
s
tyle=
"width: 68px;"
s
ize=
"small"
@
click=
"crowdVisible = false"
>
取 消
</el-button>
<el-button
size=
"small"
type=
"primary"
@
click
.
native=
"handleConfirm"
>
确 定
</el-button>
<el-button
s
tyle=
"width: 68px;"
s
ize=
"small"
type=
"primary"
@
click
.
native=
"handleConfirm"
>
确 定
</el-button>
</span>
</span>
</el-dialog>
</el-dialog>
</div>
</div>
...
@@ -87,7 +83,9 @@ export default {
...
@@ -87,7 +83,9 @@ export default {
},
},
{
{
label
:
'人群描述'
,
label
:
'人群描述'
,
prop
:
'crowdDesc'
prop
:
'crowdDesc'
,
width
:
'200'
,
line
:
1
},
},
{
{
label
:
'人数'
,
label
:
'人数'
,
...
@@ -177,7 +175,7 @@ export default {
...
@@ -177,7 +175,7 @@ export default {
.member-title
{
.member-title
{
font-size
:
16px
;
font-size
:
16px
;
color
:
#333
;
color
:
#333
;
font-weight
:
6
00
;
font-weight
:
5
00
;
line-height
:
22px
;
line-height
:
22px
;
margin-bottom
:
6px
;
margin-bottom
:
6px
;
...
@@ -287,7 +285,27 @@ export default {
...
@@ -287,7 +285,27 @@ export default {
background
:
#fafbfe
!important
;
background
:
#fafbfe
!important
;
}
}
/
deep
/
.el-dialog__title
{
/
deep
/
{
.el-dialog__title
{
font-weight
:
600
;
font-weight
:
600
;
}
.el-dialog__header
{
padding
:
20px
;
}
.el-dialog__headerbtn
{
height
:
30px
;
.el-dialog__close
{
width
:
24px
;
height
:
24px
;
}
}
.el-pagination
{
padding-left
:
20px
;
border-top
:
1px
solid
#e8e8ea
;
padding-top
:
16px
;
}
.el-table
:before
{
display
:
none
;
}
}
}
</
style
>
</
style
>
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