Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas
/
scrm-micro-custom
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 1ed225b4
authored
Mar 24, 2022
by
前端
Browse Files
Options
Browse Files
Tag
Download
Plain Diff
Merge branch 'wangzh_dev_2.0.0' into 'v2.0.0'
style:ui样式调整 See merge request
!7
2 parents
2c8e78b2
ad9e702a
Show whitespace changes
Inline
Side-by-side
Showing
11 changed files
with
138 additions
and
113 deletions
src/api/modules/clientManage.js
src/assets/css/public.scss
src/styles/index.scss
src/styles/resetelement.scss
src/views/clientDataOverview/group.vue
src/views/clientDataOverview/index.vue
src/views/clientManage/clientDetail.vue
src/views/clientManage/index.vue
src/views/crowdManage/crowdAdd.vue
src/views/crowdManage/crowdDetail.vue
src/views/crowdManage/index.vue
src/api/modules/clientManage.js
View file @
1ed225b
...
@@ -33,7 +33,6 @@ export function getSingleClientTag(params) {
...
@@ -33,7 +33,6 @@ export function getSingleClientTag(params) {
})
})
}
}
export
function
getAllTagTree
(
params
)
{
export
function
getAllTagTree
(
params
)
{
// params.method='scrm.api.datahub.label.querylabeltree'
// params.method='scrm.api.datahub.label.querylabeltree'
params
.
method
=
'scrm.api.datahub.labelgroup.queryLabelTree'
params
.
method
=
'scrm.api.datahub.labelgroup.queryLabelTree'
...
@@ -43,7 +42,6 @@ export function getAllTagTree(params) {
...
@@ -43,7 +42,6 @@ export function getAllTagTree(params) {
data
:
params
,
data
:
params
,
sign
:
true
,
sign
:
true
,
returnAll
:
true
returnAll
:
true
})
})
}
}
// /router/datahub.api.user.addUserLabel/1.0.0
// /router/datahub.api.user.addUserLabel/1.0.0
...
@@ -57,7 +55,6 @@ export function addSingleClientTag(params) {
...
@@ -57,7 +55,6 @@ export function addSingleClientTag(params) {
data
:
params
,
data
:
params
,
sign
:
true
,
sign
:
true
,
returnAll
:
true
returnAll
:
true
})
})
}
}
export
function
getTableList
(
params
)
{
export
function
getTableList
(
params
)
{
...
...
src/assets/css/public.scss
View file @
1ed225b
...
@@ -73,6 +73,9 @@ background: transparent !important;
...
@@ -73,6 +73,9 @@ background: transparent !important;
align-items
:
center
;
align-items
:
center
;
justify-content
:
space-between
;
justify-content
:
space-between
;
}
}
.font-12
{
font-size
:
12px
;
}
.font-20
{
.font-20
{
font-size
:
20px
;
font-size
:
20px
;
}
}
...
@@ -85,3 +88,6 @@ background: transparent !important;
...
@@ -85,3 +88,6 @@ background: transparent !important;
.hand
{
.hand
{
cursor
:
pointer
;
cursor
:
pointer
;
}
}
.mg2
{
margin-left
:
20px
;
}
\ No newline at end of file
\ No newline at end of file
src/styles/index.scss
View file @
1ed225b
...
@@ -34,7 +34,7 @@ button {
...
@@ -34,7 +34,7 @@ button {
// 子系统不设外边距
// 子系统不设外边距
.scrm-sub-client-container
{
.scrm-sub-client-container
{
padding
:
0
20px
20px
2
0px
;
padding
:
0
20px
20px
4
0px
;
box-sizing
:
border-box
;
box-sizing
:
border-box
;
}
}
...
...
src/styles/resetelement.scss
View file @
1ed225b
...
@@ -21,19 +21,20 @@
...
@@ -21,19 +21,20 @@
line-height
:
28px
;
line-height
:
28px
;
}
}
/
deep
/
.el-input__inner
:focus
{
border-color
:
$btnBlue
!
important
;}
/
deep
/
.el-input__inner
:focus
{
border-color
:
$btnBlue
!
important
;
}
/
deep
/
.el-range-editor.is-active
,
/
deep
/
.el-range-editor.is-active
,
.el-range-editor.is-active
:hover
{
.el-range-editor.is-active
:hover
{
border-color
:
$btnBlue
;
border-color
:
$btnBlue
;
}
}
.el-message-box
{
.el-message-box
{
width
:
547px
;
width
:
547px
;
height
:
310px
;
height
:
310px
;
box-sizing
:
border-box
;
box-sizing
:
border-box
;
padding-bottom
:
10px
;
padding-bottom
:
10px
;
}
}
.el-message-box__title
{
.el-message-box__title
{
padding-left
:
0
;
padding-left
:
0
;
margin-bottom
:
0
;
margin-bottom
:
0
;
font-size
:
20px
;
font-size
:
20px
;
...
@@ -41,28 +42,42 @@
...
@@ -41,28 +42,42 @@
color
:
#333
;
color
:
#333
;
}
}
.el-message-box__title
{
.el-message-box__title
{
display
:
block
!
important
;
display
:
block
!
important
;
}
}
.el-message-box__headerbtn
{
.el-message-box__headerbtn
{
display
:
block
!
important
;
display
:
block
!
important
;
color
:
#666666
;
color
:
#666666
;
}
}
.el-message-box__header
{
.el-message-box__header
{
position
:
relative
;
position
:
relative
;
padding
:
15px
20px
;
padding
:
15px
20px
;
border-bottom
:
1px
solid
#E6E6E
6
;
border-bottom
:
1px
solid
#e6e6e
6
;
}
}
.el-message-box__content
{
.el-message-box__content
{
text-align
:
center
;
text-align
:
center
;
padding
:
60px
0
;
padding
:
60px
0
;
}
}
.el-icon-warning
{
.el-icon-warning
{
display
:
block
!
important
;
display
:
block
!
important
;
font-size
:
33px
!
important
;
font-size
:
33px
!
important
;
color
:
#5850FF
!
important
;
color
:
#5850ff
!
important
;
position
:
relative
;
position
:
relative
;
left
:
50%
;
left
:
50%
;
transform
:
translateX
(
-50%
);
transform
:
translateX
(
-50%
);
margin-bottom
:
12px
;
margin-bottom
:
12px
;
}
.el-tooltip__popper.is-dark
{
background
:
#666666
!
important
;
box-shadow
:
0px
2px
12px
0px
rgba
(
0
,
0
,
0
,
0
.06
)
!
important
;
font-size
:
12px
;
font-weight
:
400
;
color
:
#ffffff
;
line-height
:
18px
;
}
.el-tooltip__popper
[
x-placement
^=
"top"
]
.popper__arrow
{
border-top-color
:
#666666
!
important
;
}
.el-tooltip__popper
[
x-placement
^=
"top"
]
.popper__arrow
:after
{
border-top-color
:
#666666
!
important
;
}
}
src/views/clientDataOverview/group.vue
View file @
1ed225b
src/views/clientDataOverview/index.vue
View file @
1ed225b
src/views/clientManage/clientDetail.vue
View file @
1ed225b
<
template
>
<
template
>
<div
class=
"scrm-sub-client-container"
>
<div
class=
"scrm-sub-client-container"
>
<!--
<div
class=
"header"
>
<div
class=
"container"
>
<div
class=
"userId"
>
<span>
客户ID:
{{
leftPanelInfo
.
oneId
}}
</span>
</div>
<button
class=
"backBtn"
@
click=
"goBack"
>
返回客户信息管理
</button>
</div>
-->
<div
class=
"content"
>
<div
class=
"leftWrap"
>
<div
class=
"leftWrap"
>
<div
class=
"avatorStyle"
>
<div
class=
"avatorStyle"
>
<div
class=
"avator"
>
<div
class=
"avator"
>
...
@@ -29,7 +23,7 @@
...
@@ -29,7 +23,7 @@
<span
class=
"ellipsis-1"
>
<span
class=
"ellipsis-1"
>
<!--
{{
leftPanelInfo
.
customerName
}}
-->
<!--
{{
leftPanelInfo
.
customerName
}}
-->
{{
beautySub
(
leftPanelInfo
.
customerName
)
}}
{{
beautySub
(
leftPanelInfo
.
customerName
)
}}
<label
class=
"pure-blue-text"
>
{{
leftPanelInfo
.
type
==
1
?
'@微信'
:
leftPanelInfo
.
type
==
2
?
'@企微'
:
''
}}
</label>
<label
class=
"pure-blue-text
font-12
"
>
{{
leftPanelInfo
.
type
==
1
?
'@微信'
:
leftPanelInfo
.
type
==
2
?
'@企微'
:
''
}}
</label>
</span>
</span>
</el-tooltip>
</el-tooltip>
</p>
</p>
...
@@ -56,7 +50,7 @@
...
@@ -56,7 +50,7 @@
</p>
</p>
<p>
<p>
<span>
证件号码:
</span>
<span>
证件号码:
</span>
<span>
{{
leftPanelInfo
.
idCard
}}
</span>
<span
style=
"white-space:nowrap"
>
{{
leftPanelInfo
.
idCard
}}
</span>
</p>
</p>
<p>
<p>
<span>
性别:
</span>
<span>
性别:
</span>
...
@@ -99,7 +93,7 @@
...
@@ -99,7 +93,7 @@
</p>
</p>
<p>
<p>
<span>
添加时间:
</span>
<span>
添加时间:
</span>
<span>
{{
leftPanelInfo
.
addTime
}}
</span>
<span
style=
"white-space:nowrap"
>
{{
leftPanelInfo
.
addTime
}}
</span>
</p>
</p>
</div>
</div>
</div>
</div>
...
@@ -195,10 +189,10 @@
...
@@ -195,10 +189,10 @@
<div
v-show=
"currentIndex == 2"
class=
"clientTagsWrap"
>
<div
v-show=
"currentIndex == 2"
class=
"clientTagsWrap"
>
<div
style=
"height: 20px"
></div>
<div
style=
"height: 20px"
></div>
<!-- //提示面板组件 -->
<!-- //提示面板组件 -->
<tip-panel
panelWidth=
"666px"
panelMinHeight=
"45px"
:panelContent=
"panelContent"
></tip-panel>
<tip-panel
class=
"mg2"
panelWidth=
"666px"
panelMinHeight=
"45px"
:panelContent=
"panelContent"
></tip-panel>
<!-- v-if="userType == 2" -->
<!-- v-if="userType == 2" -->
<el-button
type=
"primary"
class=
"addTagBtn"
size=
"small"
@
click=
"btnClick('create')"
v-if=
"userType == 2"
>
设置标签
</el-button>
<el-button
type=
"primary"
class=
"addTagBtn"
size=
"small"
@
click=
"btnClick('create')"
v-if=
"userType == 2"
>
设置标签
</el-button>
<GLTable
ref=
"clientTagsListRef"
:hasNum=
"false"
:noDataImg=
"url"
noDataText=
"客户暂无已添加的标签"
:tableData=
"clientTagsList"
:hasPage=
"false"
:tableParams=
"tagsParams"
:headerStyle=
"{ height: '54px' }"
>
<GLTable
class=
"table"
ref=
"clientTagsListRef"
:hasNum=
"false"
:noDataImg=
"url"
noDataText=
"客户暂无已添加的标签"
:tableData=
"clientTagsList"
:hasPage=
"false"
:tableParams=
"tagsParams"
:headerStyle=
"{ height: '54px' }"
>
<span
slot=
"labelGroupInfo"
slot-scope=
"scope"
>
<span
slot=
"labelGroupInfo"
slot-scope=
"scope"
>
<span>
{{ scope.scope.labelGroupInfo.labelGroupName }}
</span>
<span>
{{ scope.scope.labelGroupInfo.labelGroupName }}
</span>
</span>
</span>
...
@@ -225,6 +219,11 @@
...
@@ -225,6 +219,11 @@
</div>
</div>
</div>
</div>
</div>
</div>
<div
class=
"footer-panel"
>
<div>
<el-button
type=
"primary"
@
click=
"goBack"
>
返回
</el-button>
</div>
</div>
<basic-dialog
class=
"tags"
:title=
"tagsDialogTitle"
:width=
"'712px'"
:isDestroyClose=
"true"
:btnLoading=
"sloading"
:isShowThirdBtn=
"true"
:isShowCloseBtn=
"true"
@
btnEvent=
"goNewTag"
:isVisible=
"tagsVisible"
@
confirmDialog=
"handleConfirm"
@
closeDialog=
"handleClose"
>
<basic-dialog
class=
"tags"
:title=
"tagsDialogTitle"
:width=
"'712px'"
:isDestroyClose=
"true"
:btnLoading=
"sloading"
:isShowThirdBtn=
"true"
:isShowCloseBtn=
"true"
@
btnEvent=
"goNewTag"
:isVisible=
"tagsVisible"
@
confirmDialog=
"handleConfirm"
@
closeDialog=
"handleClose"
>
<slot>
<slot>
<p
class=
"hint-text color-6"
>
<p
class=
"hint-text color-6"
>
...
@@ -890,11 +889,20 @@ export default {
...
@@ -890,11 +889,20 @@ export default {
}
}
.WechatName
{
.WechatName
{
display
:
inline-block
;
//
height
:
20px
;
font-size
:
14px
;
font-weight
:
500
;
font-weight
:
500
;
color
:
#666666
;
color
:
#666666
;
line-height
:
20px
;
line-height
:
20px
;
margin-left
:
20px
;
min-width
:
98px
;
height
:
20px
;
text-align
:
right
;
//
font-weight
:
500
;
//
color
:
#666666
;
//
line-height
:
20px
;
//
margin-left
:
20px
;
//
height
:
20px
;
//
min-width
:
98px
;
}
}
}
}
.overHidden
{
.overHidden
{
...
@@ -903,44 +911,17 @@ export default {
...
@@ -903,44 +911,17 @@ export default {
text-overflow
:
ellipsis
;
text-overflow
:
ellipsis
;
}
}
.scrm-sub-client-container
{
.scrm-sub-client-container
{
.header
{
.container
{
display
:
flex
;
justify-content
:
space-between
;
align-items
:
center
;
//
width
:
1160px
;
height
:
72px
;
background
:
#ffffff
;
box-shadow
:
0px
10px
20px
0px
rgba
(
88
,
80
,
255
,
0.1
);
.userId
{
margin-left
:
26px
;
height
:
20px
;
font-size
:
20px
;
font-weight
:
600
;
color
:
#333333
;
line-height
:
20px
;
letter-spacing
:
1px
;
}
.backBtn
{
margin-right
:
20px
;
height
:
32px
;
font-size
:
14px
;
background
:
$
btnBlue
;
color
:
#fff
;
border-radius
:
4px
;
padding
:
0
20px
;
border
:
none
;
&:hover
{
background-color
:
$
lightBtnBlue
;
}
}
}
.content
{
display
:
flex
;
display
:
flex
;
width
:
100%
;
width
:
100%
;
margin-top
:
20px
;
margin-top
:
20px
;
box-shadow
:
0
10px
20px
0
rgba
(
88
,
80
,
255
,
0.1
);
min-height
:
calc
(
100vh
-
194px
);
overflow-y
:
auto
;
margin-bottom
:
78px
;
.leftWrap
{
.leftWrap
{
width
:
275px
;
width
:
275px
;
min-height
:
calc
(
100vh
-
92
px
);
min-height
:
calc
(
100vh
-
170
px
);
background-color
:
#fff
;
background-color
:
#fff
;
box-sizing
:
border-box
;
box-sizing
:
border-box
;
//
padding
:
0
20px
;
//
padding
:
0
20px
;
...
@@ -996,7 +977,7 @@ export default {
...
@@ -996,7 +977,7 @@ export default {
font-weight
:
500
;
font-weight
:
500
;
color
:
#666666
;
color
:
#666666
;
line-height
:
20px
;
line-height
:
20px
;
min-width
:
9
0
px
;
min-width
:
9
8
px
;
text-align
:
right
;
text-align
:
right
;
}
}
span
:nth-child
(
2
)
{
span
:nth-child
(
2
)
{
...
@@ -1011,7 +992,8 @@ export default {
...
@@ -1011,7 +992,8 @@ export default {
}
}
}
}
.rightWrap
{
.rightWrap
{
margin-left
:
12px
;
height
:
auto
;
margin-left
:
10px
;
width
:
calc
(
100%
-
287px
);
width
:
calc
(
100%
-
287px
);
box-sizing
:
border-box
;
box-sizing
:
border-box
;
background-color
:
#fff
;
background-color
:
#fff
;
...
@@ -1153,6 +1135,23 @@ export default {
...
@@ -1153,6 +1135,23 @@ export default {
}
}
}
}
}
}
.footer-panel
{
position
:
fixed
;
bottom
:
0px
;
height
:
78px
;
left
:
220px
;
width
:
100%
;
background
:
#ffffff
;
box-shadow
:
0px
-1px
1px
0px
rgba
(
88
,
80
,
255
,
0.1
);
div
{
display
:
inline-block
;
position
:
relative
;
transform
:
translate
(
-50%
,
-50%
);
left
:
50%
;
top
:
50%
;
margin-left
:
-110px
;
}
}
.tags
{
.tags
{
/deep/.app-dialog
{
/deep/.app-dialog
{
.el-dialog__body
{
.el-dialog__body
{
...
@@ -1252,11 +1251,16 @@ export default {
...
@@ -1252,11 +1251,16 @@ export default {
}
}
.table
{
.table
{
margin-bottom
:
10px
;
margin-bottom
:
10px
;
padding
:
0
20px
;
}
}
}
}
.table
/
deep
/
.line-ellipsis
{
.table
{
padding
:
0
20px
;
/deep/
.line-ellipsis
{
white-space
:
nowrap
;
white-space
:
nowrap
;
overflow
:
visible
;
overflow
:
visible
;
}
}
}
}
}
</
style
>
</
style
>
src/views/clientManage/index.vue
View file @
1ed225b
...
@@ -219,75 +219,75 @@ export default {
...
@@ -219,75 +219,75 @@ export default {
{
{
label
:
'客户ID'
,
label
:
'客户ID'
,
prop
:
'oneId'
,
prop
:
'oneId'
,
minWidth
:
150
,
minWidth
:
150
//align: 'left'
//align: 'left'
}
,
}
,
{
{
label
:
'客户名称'
,
label
:
'客户名称'
,
prop
:
'customerName'
,
prop
:
'customerName'
,
addHtml
:
'customerName'
,
addHtml
:
'customerName'
,
minWidth
:
130
,
minWidth
:
130
//align: 'left'
//align: 'left'
}
,
}
,
{
{
label
:
'企微名称'
,
label
:
'企微名称'
,
prop
:
'nickNameList'
,
prop
:
'nickNameList'
,
addHtml
:
'nickNameList'
,
addHtml
:
'nickNameList'
,
minWidth
:
170
,
minWidth
:
170
//align: 'left'
//align: 'left'
}
,
}
,
{
{
label
:
'联系电话'
,
label
:
'联系电话'
,
prop
:
'customerPhone'
,
prop
:
'customerPhone'
,
addHtml
:
'customerPhone'
,
addHtml
:
'customerPhone'
,
minWidth
:
110
,
minWidth
:
110
//align: 'left'
//align: 'left'
}
,
}
,
{
{
label
:
'性别'
,
label
:
'性别'
,
prop
:
'customerSex'
,
prop
:
'customerSex'
,
addHtml
:
'customerSex'
,
addHtml
:
'customerSex'
,
minWidth
:
80
,
minWidth
:
80
//align: 'left'
//align: 'left'
}
,
}
,
{
{
label
:
'跟进员工'
,
label
:
'跟进员工'
,
prop
:
'followStaff'
,
prop
:
'followStaff'
,
addHtml
:
'followStaff'
,
addHtml
:
'followStaff'
,
minWidth
:
120
,
minWidth
:
120
//align: 'left'
//align: 'left'
}
,
}
,
{
{
label
:
'是否加企微'
,
//1. 加入,0.未加入
label
:
'是否加企微'
,
//1. 加入,0.未加入
prop
:
'isJoin'
,
prop
:
'isJoin'
,
addHtml
:
'isJoin'
,
addHtml
:
'isJoin'
,
width
:
100
,
width
:
100
//align: 'left'
//align: 'left'
}
,
}
,
{
{
label
:
'当前状态'
,
label
:
'当前状态'
,
prop
:
'status'
,
prop
:
'status'
,
addHtml
:
'status'
,
addHtml
:
'status'
,
minWidth
:
100
,
minWidth
:
100
//align: 'left'
//align: 'left'
}
,
}
,
{
{
label
:
'所属渠道'
,
label
:
'所属渠道'
,
prop
:
'sourceChannel'
,
prop
:
'sourceChannel'
,
width
:
150
,
width
:
150
//align: 'left'
//align: 'left'
}
,
}
,
{
{
label
:
'添加来源'
,
label
:
'添加来源'
,
prop
:
'addWay'
,
prop
:
'addWay'
,
addHtml
:
'addWay'
,
addHtml
:
'addWay'
,
minWidth
:
100
,
minWidth
:
100
//align: 'left'
//align: 'left'
}
,
}
,
{
{
label
:
'添加时间'
,
label
:
'添加时间'
,
prop
:
'addTime'
,
prop
:
'addTime'
,
width
:
150
,
width
:
150
//align: 'left'
//align: 'left'
}
,
}
,
{
{
...
...
src/views/crowdManage/crowdAdd.vue
View file @
1ed225b
...
@@ -114,8 +114,8 @@
...
@@ -114,8 +114,8 @@
</div>
</div>
<div
class=
"footer-panel"
>
<div
class=
"footer-panel"
>
<div>
<div>
<el-button
type=
"primary"
@
click=
"handleSubmit"
>
确定
</el-button>
<el-button
class=
"cancel-button"
@
click=
"handleCancel"
>
取消
</el-button>
<el-button
class=
"cancel-button"
@
click=
"handleCancel"
>
取消
</el-button>
<el-button
type=
"primary"
@
click=
"handleSubmit"
>
保存
</el-button>
</div>
</div>
</div>
</div>
<el-dialog
title=
"人群规则说明"
class=
"crowd-dialog"
width=
"720px"
:before-close=
"handleClose"
:visible
.
sync=
"dialogRuleVisible"
:show-close=
"isShowCloseBtn"
>
<el-dialog
title=
"人群规则说明"
class=
"crowd-dialog"
width=
"720px"
:before-close=
"handleClose"
:visible
.
sync=
"dialogRuleVisible"
:show-close=
"isShowCloseBtn"
>
...
@@ -243,7 +243,7 @@ export default {
...
@@ -243,7 +243,7 @@ export default {
this
.
getLabelData
()
this
.
getLabelData
()
},
},
watch
:
{
watch
:
{
selectedArray
:
function
()
{
selectedArray
:
function
()
{
this
.
crowdCount
=
''
//初始化查看预估人数
this
.
crowdCount
=
''
//初始化查看预估人数
if
(
this
.
selectedArray
.
length
>
0
)
{
if
(
this
.
selectedArray
.
length
>
0
)
{
this
.
$nextTick
(()
=>
{
this
.
$nextTick
(()
=>
{
...
@@ -615,7 +615,7 @@ export default {
...
@@ -615,7 +615,7 @@ export default {
}
}
return
len
return
len
},
},
cutMaxCharStr
:
function
(
e
,
unit
)
{
cutMaxCharStr
:
function
(
e
,
unit
)
{
//e为传入字符串
//e为传入字符串
let
str
=
e
let
str
=
e
var
len
=
0
var
len
=
0
...
@@ -666,7 +666,7 @@ export default {
...
@@ -666,7 +666,7 @@ export default {
.container
{
.container
{
background
:
#ffffff
;
background
:
#ffffff
;
box-shadow
:
0
10px
20px
0
rgba
(
88
,
80
,
255
,
0.1
);
box-shadow
:
0
10px
20px
0
rgba
(
88
,
80
,
255
,
0.1
);
height
:
calc
(
100vh
-
1
50
px
);
height
:
calc
(
100vh
-
1
64
px
);
overflow-y
:
auto
;
overflow-y
:
auto
;
//
padding
:
20px
;
//
padding
:
20px
;
...
@@ -755,6 +755,10 @@ export default {
...
@@ -755,6 +755,10 @@ export default {
}
}
.search-tag-form
{
.search-tag-form
{
position
:
relative
;
position
:
relative
;
display
:
flex
;
/deep/
.el-form-item
{
display
:
flex
;
}
}
}
.select-label-wrap
{
.select-label-wrap
{
margin-bottom
:
20px
;
margin-bottom
:
20px
;
...
@@ -775,6 +779,7 @@ export default {
...
@@ -775,6 +779,7 @@ export default {
display
:
flex
;
display
:
flex
;
align-items
:
center
;
align-items
:
center
;
flex-wrap
:
nowrap
;
flex-wrap
:
nowrap
;
.label-group-name
{
.label-group-name
{
max-width
:
533px
;
max-width
:
533px
;
padding-top
:
3px
;
padding-top
:
3px
;
...
@@ -808,6 +813,7 @@ export default {
...
@@ -808,6 +813,7 @@ export default {
position
:
absolute
;
position
:
absolute
;
right
:
8px
;
right
:
8px
;
margin-left
:
10px
;
margin-left
:
10px
;
top
:
6px
;
}
}
}
}
}
}
...
@@ -884,21 +890,21 @@ export default {
...
@@ -884,21 +890,21 @@ export default {
//
justify-content
:
center
;
//
justify-content
:
center
;
position
:
fixed
;
position
:
fixed
;
bottom
:
0px
;
bottom
:
0px
;
height
:
64
px
;
height
:
78
px
;
left
:
220px
;
left
:
220px
;
width
:
100%
;
width
:
100%
;
background
:
#ffffff
;
background
:
#ffffff
;
box-shadow
:
0px
-1px
1px
0px
rgba
(
88
,
80
,
255
,
0.1
);
box-shadow
:
0px
-1px
1px
0px
rgba
(
88
,
80
,
255
,
0.1
);
.
el-button
:
nth-child
(
2
)
{
margin-left
:
20px
;
}
div
{
div
{
width
:
170px
;
display
:
inline-block
;
position
:
relative
;
position
:
relative
;
transform
:
translate
Y
(
-50%
);
transform
:
translate
(
-50%
,
-50%
);
left
:
50%
;
left
:
50%
;
top
:
50%
;
top
:
50%
;
margin-left
:
-220px
;
margin-left
:
-110px
;
.cancel-button
{
margin-left
:
20px
;
}
}
}
}
}
.label-text
{
.label-text
{
...
@@ -1020,4 +1026,8 @@ export default {
...
@@ -1020,4 +1026,8 @@ export default {
margin-top
:
0
;
margin-top
:
0
;
}
}
}
}
/
deep
/
.el-tooltip__popper.is-dark
{
background
:
#666666
;
box-shadow
:
0px
2px
12px
0px
rgba
(
0
,
0
,
0
,
0.06
);
}
</
style
>
</
style
>
src/views/crowdManage/crowdDetail.vue
View file @
1ed225b
...
@@ -46,7 +46,7 @@
...
@@ -46,7 +46,7 @@
</div>
</div>
<div
class=
"footer-panel"
>
<div
class=
"footer-panel"
>
<div>
<div>
<el-button
class=
"cancel-button
"
@
click=
"$router.go(-1)"
>
返回
</el-button>
<el-button
type=
"primary
"
@
click=
"$router.go(-1)"
>
返回
</el-button>
</div>
</div>
</div>
</div>
<el-dialog
title=
"人群规则说明"
class=
"crowd-dialog"
width=
"720px"
:before-close=
"handleClose"
:visible
.
sync=
"dialogRuleVisible"
:show-close=
"isShowCloseBtn"
>
<el-dialog
title=
"人群规则说明"
class=
"crowd-dialog"
width=
"720px"
:before-close=
"handleClose"
:visible
.
sync=
"dialogRuleVisible"
:show-close=
"isShowCloseBtn"
>
...
@@ -195,7 +195,7 @@ export default {
...
@@ -195,7 +195,7 @@ export default {
.container
{
.container
{
background
:
#ffffff
;
background
:
#ffffff
;
box-shadow
:
0
10px
20px
0
rgba
(
88
,
80
,
255
,
0.1
);
box-shadow
:
0
10px
20px
0
rgba
(
88
,
80
,
255
,
0.1
);
height
:
calc
(
100vh
-
1
50
px
);
height
:
calc
(
100vh
-
1
64
px
);
overflow-y
:
auto
;
overflow-y
:
auto
;
//
padding
:
20px
;
//
padding
:
20px
;
...
@@ -260,27 +260,25 @@ export default {
...
@@ -260,27 +260,25 @@ export default {
}
}
}
}
}
}
}
}
}
}
.footer-panel
{
.footer-panel
{
position
:
fixed
;
position
:
fixed
;
bottom
:
0px
;
bottom
:
0px
;
height
:
64
px
;
height
:
78
px
;
left
:
220px
;
left
:
220px
;
width
:
100%
;
width
:
100%
;
background
:
#ffffff
;
background
:
#ffffff
;
box-shadow
:
0px
-1px
1px
0px
rgba
(
88
,
80
,
255
,
0.1
);
box-shadow
:
0px
-1px
1px
0px
rgba
(
88
,
80
,
255
,
0.1
);
div
{
div
{
width
:
80px
;
display
:
inline-block
;
position
:
relative
;
position
:
relative
;
transform
:
translateY
(
-50%
);
transform
:
translate
(
-50%
,
-50%
);
left
:
50%
;
left
:
50%
;
top
:
50%
;
top
:
50%
;
margin-left
:
-220px
;
margin-left
:
-110px
;
}
}
}
}
.crowd-dialog
{
.crowd-dialog
{
/deep/.el-dialog__header
{
/deep/.el-dialog__header
{
padding
:
15px
20px
;
padding
:
15px
20px
;
...
...
src/views/crowdManage/index.vue
View file @
1ed225b
...
@@ -103,18 +103,16 @@ export default {
...
@@ -103,18 +103,16 @@ export default {
//没数据的时候要算高度
//没数据的时候要算高度
setTimeout
(()
=>
{
setTimeout
(()
=>
{
if
(
!
this
.
$refs
.
crowdManage
.
data
.
length
)
{
//
if (!this.$refs.crowdManage.data.length) {
this
.
loading
=
true
this
.
loading
=
true
this
.
$refs
.
crowdManage
.
setTableHeightFun
()
this
.
$refs
.
crowdManage
.
setTableHeightFun
()
this
.
loading
=
false
this
.
loading
=
false
}
//
}
},
200
)
},
200
)
},
},
methods
:
{
methods
:
{
btnClick
(
type
,
data
)
{
btnClick
(
type
,
data
)
{
console
.
log
(
data
)
if
(
type
==
'detail'
)
{
if
(
type
==
'detail'
)
{
console
.
log
(
`/crowdManage/crowdDetail/
${
data
.
crowdId
}
`
)
this
.
$router
.
push
(
`/crowdManage/crowdDetail/
${
data
.
crowdId
}
`
)
this
.
$router
.
push
(
`/crowdManage/crowdDetail/
${
data
.
crowdId
}
`
)
}
}
if
(
type
==
'view'
)
{
if
(
type
==
'view'
)
{
...
@@ -131,12 +129,9 @@ export default {
...
@@ -131,12 +129,9 @@ export default {
handleClick
()
{
handleClick
()
{
this
.
searchForm
=
{
'req.keyword'
:
''
}
this
.
searchForm
=
{
'req.keyword'
:
''
}
this
.
searchTable
()
this
.
searchTable
()
// setTimeout(() =>{
setTimeout
(()
=>
{
// if(this.$refs.crowdManage.data.length == 0){
this
.
$refs
.
crowdManage
.
setTableHeightFun
()
// this.$refs.crowdManage.setTableHeightFun()
},
200
)
// }
// this.loading =false
// },200)
},
},
beforeSearchFn
()
{
beforeSearchFn
()
{
return
new
Promise
(
resolve
=>
{
return
new
Promise
(
resolve
=>
{
...
@@ -214,8 +209,8 @@ export default {
...
@@ -214,8 +209,8 @@ export default {
.el-form-item__content
{
.el-form-item__content
{
width
:
auto
;
width
:
auto
;
display
:
inline-block
;
display
:
inline-block
;
margin-left
:
0px
!important
;
margin-left
:
0px
!important
;
.el-input
{
.el-input
{
width
:
415px
;
width
:
415px
;
.el-input__inner
{
.el-input__inner
{
...
...
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