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 ad9e702a
authored
Mar 24, 2022
by
王志慧
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
style:ui样式调整
1 parent
a64e14a8
Hide whitespace changes
Inline
Side-by-side
Showing
11 changed files
with
235 additions
and
210 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 @
ad9e702
...
...
@@ -24,103 +24,100 @@ import { http, http3 } from '@/main'
// params.method='datahub.api.label.querylabeltree'
export
function
getSingleClientTag
(
params
)
{
params
.
method
=
'scrm.api.datahub.user.getuserlabel'
return
http
({
url
:
'/rop-scrm-datahub/router'
,
method
:
'POST'
,
data
:
params
,
sign
:
true
})
params
.
method
=
'scrm.api.datahub.user.getuserlabel'
return
http
({
url
:
'/rop-scrm-datahub/router'
,
method
:
'POST'
,
data
:
params
,
sign
:
true
})
}
export
function
getAllTagTree
(
params
)
{
// params.method='scrm.api.datahub.label.querylabeltree'
params
.
method
=
'scrm.api.datahub.labelgroup.queryLabelTree'
return
http
({
url
:
'/rop-scrm-datahub/router'
,
method
:
'POST'
,
data
:
params
,
sign
:
true
,
returnAll
:
true
})
// params.method='scrm.api.datahub.label.querylabeltree'
params
.
method
=
'scrm.api.datahub.labelgroup.queryLabelTree'
return
http
({
url
:
'/rop-scrm-datahub/router'
,
method
:
'POST'
,
data
:
params
,
sign
:
true
,
returnAll
:
true
})
}
// /router/datahub.api.user.addUserLabel/1.0.0
//编辑用户标签(包含标签新增列表和删除列表)
export
function
addSingleClientTag
(
params
)
{
params
.
method
=
'scrm.api.datahub.user.editUserLabel'
return
http
({
url
:
'/rop-scrm-datahub/router'
,
method
:
'POST'
,
data
:
params
,
sign
:
true
,
returnAll
:
true
})
params
.
method
=
'scrm.api.datahub.user.editUserLabel'
return
http
({
url
:
'/rop-scrm-datahub/router'
,
method
:
'POST'
,
data
:
params
,
sign
:
true
,
returnAll
:
true
})
}
export
function
getTableList
(
params
)
{
params
.
method
=
'entmicro.api.customer.page'
// params.sessionId="mini-e72437ba-845e-4da3-9966-0b25684d6373-rop"
// params.timestamp=new Date().getTime()
// +'?method=org.ore.api.customer.page'
return
http3
({
url
:
'/rop-scrm-entmicro/router'
,
method
:
'POST'
,
data
:
params
,
sign
:
true
})
params
.
method
=
'entmicro.api.customer.page'
// params.sessionId="mini-e72437ba-845e-4da3-9966-0b25684d6373-rop"
// params.timestamp=new Date().getTime()
// +'?method=org.ore.api.customer.page'
return
http3
({
url
:
'/rop-scrm-entmicro/router'
,
method
:
'POST'
,
data
:
params
,
sign
:
true
})
}
export
function
syncCustomer
(
params
)
{
params
.
method
=
'entmicro.api.synchro.syncCustomer'
return
http3
({
url
:
'/rop-scrm-entmicro/router'
,
method
:
'POST'
,
data
:
params
,
sign
:
true
})
params
.
method
=
'entmicro.api.synchro.syncCustomer'
return
http3
({
url
:
'/rop-scrm-entmicro/router'
,
method
:
'POST'
,
data
:
params
,
sign
:
true
})
}
export
function
getTableDetail
(
params
)
{
params
.
method
=
'entmicro.api.customer.detail'
params
.
method
=
'entmicro.api.customer.detail'
// params.sessionId="mini-e72437ba-845e-4da3-9966-0b25684d6373-rop"
return
http3
({
url
:
'/rop-scrm-entmicro/router'
,
method
:
'POST'
,
data
:
params
,
sign
:
true
})
// params.sessionId="mini-e72437ba-845e-4da3-9966-0b25684d6373-rop"
return
http3
({
url
:
'/rop-scrm-entmicro/router'
,
method
:
'POST'
,
data
:
params
,
sign
:
true
})
}
/*获取来源字典的
/*获取来源字典的
*/
export
function
getDictionaryFun
(
params
)
{
params
.
method
=
'entmicro.api.common.dictdata.list'
return
http3
({
url
:
'/rop-scrm-entmicro/router'
,
method
:
'GET'
,
data
:
params
,
sign
:
true
})
params
.
method
=
'entmicro.api.common.dictdata.list'
return
http3
({
url
:
'/rop-scrm-entmicro/router'
,
method
:
'GET'
,
data
:
params
,
sign
:
true
})
}
export
function
getStaffList
(
params
)
{
params
.
method
=
'entmicro.api.staff.findStaffByMerchantId'
return
http3
({
url
:
'/rop-scrm-entmicro/router'
,
method
:
'POST'
,
data
:
params
,
sign
:
true
})
params
.
method
=
'entmicro.api.staff.findStaffByMerchantId'
return
http3
({
url
:
'/rop-scrm-entmicro/router'
,
method
:
'POST'
,
data
:
params
,
sign
:
true
})
}
// entmicro.api.customer.list.export
//客户信息管理导出
export
function
clientManageExportApi
(
params
)
{
params
.
method
=
`entmicro.api.customer.customerListExport`
return
http3
({
url
:
'/rop-scrm-entmicro/router'
,
method
:
'GET'
,
data
:
params
,
sign
:
true
})
}
\ No newline at end of file
params
.
method
=
`entmicro.api.customer.customerListExport`
return
http3
({
url
:
'/rop-scrm-entmicro/router'
,
method
:
'GET'
,
data
:
params
,
sign
:
true
})
}
src/assets/css/public.scss
View file @
ad9e702
...
...
@@ -73,6 +73,9 @@ background: transparent !important;
align-items
:
center
;
justify-content
:
space-between
;
}
.font-12
{
font-size
:
12px
;
}
.font-20
{
font-size
:
20px
;
}
...
...
@@ -84,4 +87,7 @@ background: transparent !important;
}
.hand
{
cursor
:
pointer
;
}
.mg2
{
margin-left
:
20px
;
}
\ No newline at end of file
src/styles/index.scss
View file @
ad9e702
...
...
@@ -34,7 +34,7 @@ button {
// 子系统不设外边距
.scrm-sub-client-container
{
padding
:
0
20px
20px
2
0px
;
padding
:
0
20px
20px
4
0px
;
box-sizing
:
border-box
;
}
...
...
src/styles/resetelement.scss
View file @
ad9e702
...
...
@@ -21,19 +21,20 @@
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
,
.el-range-editor.is-active
:hover
{
border-color
:
$btnBlue
;
border-color
:
$btnBlue
;
}
.el-message-box
{
width
:
547px
;
height
:
310px
;
height
:
310px
;
box-sizing
:
border-box
;
padding-bottom
:
10px
;
}
.el-message-box__title
{
.el-message-box__title
{
padding-left
:
0
;
margin-bottom
:
0
;
font-size
:
20px
;
...
...
@@ -41,28 +42,42 @@
color
:
#333
;
}
.el-message-box__title
{
display
:
block
!
important
;
display
:
block
!
important
;
}
.el-message-box__headerbtn
{
display
:
block
!
important
;
color
:
#666666
;
display
:
block
!
important
;
color
:
#666666
;
}
.el-message-box__header
{
position
:
relative
;
padding
:
15px
20px
;
border-bottom
:
1px
solid
#E6E6E
6
;
padding
:
15px
20px
;
border-bottom
:
1px
solid
#e6e6e
6
;
}
.el-message-box__content
{
text-align
:
center
;
padding
:
60px
0
;
padding
:
60px
0
;
}
.el-icon-warning
{
display
:
block
!
important
;
font-size
:
33px
!
important
;
color
:
#5850FF
!
important
;
position
:relative
;
left
:
50%
;
transform
:
translateX
(
-50%
);
margin-bottom
:
12px
;
}
\ No newline at end of file
display
:
block
!
important
;
font-size
:
33px
!
important
;
color
:
#5850ff
!
important
;
position
:
relative
;
left
:
50%
;
transform
:
translateX
(
-50%
);
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 @
ad9e702
...
...
@@ -166,7 +166,7 @@ export default {
}
}
}
</
script
>
</
script
>
<
style
lang=
"scss"
scoped
>
@import
'@/styles/variables.scss'
;
...
...
@@ -267,4 +267,4 @@ export default {
color
:
#fb8f28
;
}
}
</
style
>
\ No newline at end of file
</
style
>
src/views/clientDataOverview/index.vue
View file @
ad9e702
...
...
@@ -47,7 +47,7 @@
</div>
<div
class=
"itembox"
>
<div
class=
"no-buy"
>
<div
class=
"no-buy-total item"
@
click=
"goto(1)"
fn=
"人群客户列表"
mode=
"div"
>
<div
class=
"no-buy-total item"
@
click=
"goto(1)"
fn=
"人群客户列表"
mode=
"div"
>
<span>
潜在意向客户数
</span>
<span>
无购车且无其他交易行为的所有客户
</span>
<span
v-if=
"!isEmptyObj"
>
...
...
@@ -851,7 +851,7 @@ export default {
.rightWrap
{
width
:
48%
;
margin-left
:
20px
;
cursor
:
pointer
;
cursor
:
pointer
;
position
:
relative
;
.smallWrap
{
...
...
src/views/clientManage/clientDetail.vue
View file @
ad9e702
<
template
>
<div
class=
"scrm-sub-client-container"
>
<!--
<div
class=
"header"
>
<div
class=
"userId"
>
<span>
客户ID:
{{
leftPanelInfo
.
oneId
}}
</span>
</div>
<button
class=
"backBtn"
@
click=
"goBack"
>
返回客户信息管理
</button>
</div>
-->
<div
class=
"content"
>
<div
class=
"container"
>
<div
class=
"leftWrap"
>
<div
class=
"avatorStyle"
>
<div
class=
"avator"
>
...
...
@@ -29,7 +23,7 @@
<span
class=
"ellipsis-1"
>
<!--
{{
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>
</el-tooltip>
</p>
...
...
@@ -56,7 +50,7 @@
</p>
<p>
<span>
证件号码:
</span>
<span>
{{
leftPanelInfo
.
idCard
}}
</span>
<span
style=
"white-space:nowrap"
>
{{
leftPanelInfo
.
idCard
}}
</span>
</p>
<p>
<span>
性别:
</span>
...
...
@@ -99,7 +93,7 @@
</p>
<p>
<span>
添加时间:
</span>
<span>
{{
leftPanelInfo
.
addTime
}}
</span>
<span
style=
"white-space:nowrap"
>
{{
leftPanelInfo
.
addTime
}}
</span>
</p>
</div>
</div>
...
...
@@ -195,10 +189,10 @@
<div
v-show=
"currentIndex == 2"
class=
"clientTagsWrap"
>
<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" -->
<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>
{{ scope.scope.labelGroupInfo.labelGroupName }}
</span>
</span>
...
...
@@ -225,6 +219,11 @@
</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"
>
<slot>
<p
class=
"hint-text color-6"
>
...
...
@@ -890,11 +889,20 @@ export default {
}
.WechatName
{
display
:
inline-block
;
//
height
:
20px
;
font-size
:
14px
;
font-weight
:
500
;
color
:
#666666
;
line-height
:
20px
;
margin-left
:
20px
;
height
:
20px
;
min-width
:
98px
;
text-align
:
right
;
//
font-weight
:
500
;
//
color
:
#666666
;
//
line-height
:
20px
;
//
margin-left
:
20px
;
//
height
:
20px
;
//
min-width
:
98px
;
}
}
.overHidden
{
...
...
@@ -903,44 +911,17 @@ export default {
text-overflow
:
ellipsis
;
}
.scrm-sub-client-container
{
.header
{
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
{
.container
{
display
:
flex
;
width
:
100%
;
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
{
width
:
275px
;
min-height
:
calc
(
100vh
-
92
px
);
min-height
:
calc
(
100vh
-
170
px
);
background-color
:
#fff
;
box-sizing
:
border-box
;
//
padding
:
0
20px
;
...
...
@@ -996,7 +977,7 @@ export default {
font-weight
:
500
;
color
:
#666666
;
line-height
:
20px
;
min-width
:
9
0
px
;
min-width
:
9
8
px
;
text-align
:
right
;
}
span
:nth-child
(
2
)
{
...
...
@@ -1011,7 +992,8 @@ export default {
}
}
.rightWrap
{
margin-left
:
12px
;
height
:
auto
;
margin-left
:
10px
;
width
:
calc
(
100%
-
287px
);
box-sizing
:
border-box
;
background-color
:
#fff
;
...
...
@@ -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
{
/deep/.app-dialog
{
.el-dialog__body
{
...
...
@@ -1252,11 +1251,16 @@ export default {
}
.table
{
margin-bottom
:
10px
;
padding
:
0
20px
;
}
}
.table
/
deep
/
.line-ellipsis
{
white-space
:
nowrap
;
overflow
:
visible
;
.table
{
padding
:
0
20px
;
/deep/
.line-ellipsis
{
white-space
:
nowrap
;
overflow
:
visible
;
}
}
}
</
style
>
src/views/clientManage/index.vue
View file @
ad9e702
...
...
@@ -219,75 +219,75 @@ export default {
{
label
:
'客户ID'
,
prop
:
'oneId'
,
minWidth
:
150
,
minWidth
:
150
//align: 'left'
}
,
{
label
:
'客户名称'
,
prop
:
'customerName'
,
addHtml
:
'customerName'
,
minWidth
:
130
,
minWidth
:
130
//align: 'left'
}
,
{
label
:
'企微名称'
,
prop
:
'nickNameList'
,
addHtml
:
'nickNameList'
,
minWidth
:
170
,
minWidth
:
170
//align: 'left'
}
,
{
label
:
'联系电话'
,
prop
:
'customerPhone'
,
addHtml
:
'customerPhone'
,
minWidth
:
110
,
minWidth
:
110
//align: 'left'
}
,
{
label
:
'性别'
,
prop
:
'customerSex'
,
addHtml
:
'customerSex'
,
minWidth
:
80
,
minWidth
:
80
//align: 'left'
}
,
{
label
:
'跟进员工'
,
prop
:
'followStaff'
,
addHtml
:
'followStaff'
,
minWidth
:
120
,
minWidth
:
120
//align: 'left'
}
,
{
label
:
'是否加企微'
,
//1. 加入,0.未加入
prop
:
'isJoin'
,
addHtml
:
'isJoin'
,
width
:
100
,
width
:
100
//align: 'left'
}
,
{
label
:
'当前状态'
,
prop
:
'status'
,
addHtml
:
'status'
,
minWidth
:
100
,
minWidth
:
100
//align: 'left'
}
,
{
label
:
'所属渠道'
,
prop
:
'sourceChannel'
,
width
:
150
,
width
:
150
//align: 'left'
}
,
{
label
:
'添加来源'
,
prop
:
'addWay'
,
addHtml
:
'addWay'
,
minWidth
:
100
,
minWidth
:
100
//align: 'left'
}
,
{
label
:
'添加时间'
,
prop
:
'addTime'
,
width
:
150
,
width
:
150
//align: 'left'
}
,
{
...
...
src/views/crowdManage/crowdAdd.vue
View file @
ad9e702
...
...
@@ -114,8 +114,8 @@
</div>
<div
class=
"footer-panel"
>
<div>
<el-button
type=
"primary"
@
click=
"handleSubmit"
>
确定
</el-button>
<el-button
class=
"cancel-button"
@
click=
"handleCancel"
>
取消
</el-button>
<el-button
type=
"primary"
@
click=
"handleSubmit"
>
保存
</el-button>
</div>
</div>
<el-dialog
title=
"人群规则说明"
class=
"crowd-dialog"
width=
"720px"
:before-close=
"handleClose"
:visible
.
sync=
"dialogRuleVisible"
:show-close=
"isShowCloseBtn"
>
...
...
@@ -243,7 +243,7 @@ export default {
this
.
getLabelData
()
},
watch
:
{
selectedArray
:
function
()
{
selectedArray
:
function
()
{
this
.
crowdCount
=
''
//初始化查看预估人数
if
(
this
.
selectedArray
.
length
>
0
)
{
this
.
$nextTick
(()
=>
{
...
...
@@ -615,7 +615,7 @@ export default {
}
return
len
},
cutMaxCharStr
:
function
(
e
,
unit
)
{
cutMaxCharStr
:
function
(
e
,
unit
)
{
//e为传入字符串
let
str
=
e
var
len
=
0
...
...
@@ -666,7 +666,7 @@ export default {
.container
{
background
:
#ffffff
;
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
;
//
padding
:
20px
;
...
...
@@ -755,6 +755,10 @@ export default {
}
.search-tag-form
{
position
:
relative
;
display
:
flex
;
/deep/
.el-form-item
{
display
:
flex
;
}
}
.select-label-wrap
{
margin-bottom
:
20px
;
...
...
@@ -775,6 +779,7 @@ export default {
display
:
flex
;
align-items
:
center
;
flex-wrap
:
nowrap
;
.label-group-name
{
max-width
:
533px
;
padding-top
:
3px
;
...
...
@@ -808,6 +813,7 @@ export default {
position
:
absolute
;
right
:
8px
;
margin-left
:
10px
;
top
:
6px
;
}
}
}
...
...
@@ -884,21 +890,21 @@ export default {
//
justify-content
:
center
;
position
:
fixed
;
bottom
:
0px
;
height
:
64
px
;
height
:
78
px
;
left
:
220px
;
width
:
100%
;
background
:
#ffffff
;
box-shadow
:
0px
-1px
1px
0px
rgba
(
88
,
80
,
255
,
0.1
);
.
el-button
:
nth-child
(
2
)
{
margin-left
:
20px
;
}
div
{
width
:
170px
;
display
:
inline-block
;
position
:
relative
;
transform
:
translate
Y
(
-50%
);
transform
:
translate
(
-50%
,
-50%
);
left
:
50%
;
top
:
50%
;
margin-left
:
-220px
;
.cancel-button
{
margin-left
:
20px
;
}
margin-left
:
-110px
;
}
}
.label-text
{
...
...
@@ -1020,4 +1026,8 @@ export default {
margin-top
:
0
;
}
}
/
deep
/
.el-tooltip__popper.is-dark
{
background
:
#666666
;
box-shadow
:
0px
2px
12px
0px
rgba
(
0
,
0
,
0
,
0.06
);
}
</
style
>
src/views/crowdManage/crowdDetail.vue
View file @
ad9e702
...
...
@@ -46,7 +46,7 @@
</div>
<div
class=
"footer-panel"
>
<div>
<el-button
class=
"cancel-button
"
@
click=
"$router.go(-1)"
>
返回
</el-button>
<el-button
type=
"primary
"
@
click=
"$router.go(-1)"
>
返回
</el-button>
</div>
</div>
<el-dialog
title=
"人群规则说明"
class=
"crowd-dialog"
width=
"720px"
:before-close=
"handleClose"
:visible
.
sync=
"dialogRuleVisible"
:show-close=
"isShowCloseBtn"
>
...
...
@@ -195,7 +195,7 @@ export default {
.container
{
background
:
#ffffff
;
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
;
//
padding
:
20px
;
...
...
@@ -260,27 +260,25 @@ export default {
}
}
}
}
}
.footer-panel
{
position
:
fixed
;
bottom
:
0px
;
height
:
64px
;
left
:
220px
;
width
:
100%
;
background
:
#ffffff
;
box-shadow
:
0px
-1px
1px
0px
rgba
(
88
,
80
,
255
,
0.1
);
div
{
width
:
80px
;
position
:
relative
;
transform
:
translateY
(
-50%
);
left
:
50%
;
top
:
50%
;
margin-left
:
-220px
;
}
}
.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
;
}
}
.crowd-dialog
{
/deep/.el-dialog__header
{
padding
:
15px
20px
;
...
...
src/views/crowdManage/index.vue
View file @
ad9e702
...
...
@@ -103,18 +103,16 @@ export default {
//没数据的时候要算高度
setTimeout
(()
=>
{
if
(
!
this
.
$refs
.
crowdManage
.
data
.
length
)
{
this
.
loading
=
true
this
.
$refs
.
crowdManage
.
setTableHeightFun
()
this
.
loading
=
false
}
//
if (!this.$refs.crowdManage.data.length) {
this
.
loading
=
true
this
.
$refs
.
crowdManage
.
setTableHeightFun
()
this
.
loading
=
false
//
}
},
200
)
},
methods
:
{
btnClick
(
type
,
data
)
{
console
.
log
(
data
)
if
(
type
==
'detail'
)
{
console
.
log
(
`/crowdManage/crowdDetail/
${
data
.
crowdId
}
`
)
this
.
$router
.
push
(
`/crowdManage/crowdDetail/
${
data
.
crowdId
}
`
)
}
if
(
type
==
'view'
)
{
...
...
@@ -131,12 +129,9 @@ export default {
handleClick
()
{
this
.
searchForm
=
{
'req.keyword'
:
''
}
this
.
searchTable
()
// setTimeout(() =>{
// if(this.$refs.crowdManage.data.length == 0){
// this.$refs.crowdManage.setTableHeightFun()
// }
// this.loading =false
// },200)
setTimeout
(()
=>
{
this
.
$refs
.
crowdManage
.
setTableHeightFun
()
},
200
)
},
beforeSearchFn
()
{
return
new
Promise
(
resolve
=>
{
...
...
@@ -206,7 +201,7 @@ export default {
.pageContent
{
/deep/.search-form
{
.itemWidth
{
display
:
flex
;
display
:
flex
;
.el-form-item
{
display
:
flex
;
}
...
...
@@ -214,8 +209,8 @@ export default {
.el-form-item__content
{
width
:
auto
;
display
:
inline-block
;
margin-left
:
0px
!important
;
display
:
inline-block
;
margin-left
:
0px
!important
;
.el-input
{
width
:
415px
;
.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