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 e0eac431
authored
Mar 15, 2022
by
王志慧
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
样式调整
1 parent
f6221def
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
52 additions
and
18 deletions
src/config/index.js
src/views/clientManage/clientDetail.vue
src/views/crowdManage/crowdAdd.vue
src/views/crowdManage/crowdDetail.vue
src/views/crowdManage/index.vue
src/config/index.js
View file @
e0eac43
...
...
@@ -18,9 +18,9 @@ export const fetchConfig = function (isEnv = true) {
return
Promise
.
resolve
(
cfg
)
}
//
return new Http({request:{timeout:3000}}).get('https://oss-config.test.glsx.com.cn/mock/616d3b131072f92988f05a01/custom/config2')
return
new
Http
({
request
:{
timeout
:
3000
}}).
get
(
'https://oss-config.test.glsx.com.cn/mock/616d3b131072f92988f05a01/custom/config2'
)
//开发环境mock
return
new
Http
({
request
:
{
timeout
:
3000
}
}).
get
(
'http://192.168.3.171:7300/mock/616d3b131072f92988f05a01/custom/config2'
)
//
return new Http({ request: { timeout: 3000 } }).get('http://192.168.3.171:7300/mock/616d3b131072f92988f05a01/custom/config2')
}
export
const
config
=
{
install
(
vue
,
cfg
)
{
...
...
src/views/clientManage/clientDetail.vue
View file @
e0eac43
...
...
@@ -130,7 +130,7 @@
<div
class=
"public-text"
>
<div
class=
"public-text-info font-16 flex"
>
设备信息
<span
class=
"font-14 color-58"
>
{{
deviceTableData
.
length
||
0
}}
辆
</span>
<span
class=
"font-14 color-58"
>
{{
deviceTableData
.
length
||
0
}}
个
</span>
</div>
<div
class=
"expande-button"
v-if=
"deviceExpande"
@
click=
"expandeClick(false, 'deviceExpande')"
>
<span
class=
"font-14 color-58"
>
收起
</span>
...
...
@@ -147,7 +147,7 @@
<div
class=
"public-text"
>
<div
class=
"public-text-info font-16 flex"
>
保单信息
<span
class=
"font-14 color-58"
>
{{
guaranteeTableData
.
length
||
0
}}
辆
</span>
<span
class=
"font-14 color-58"
>
{{
guaranteeTableData
.
length
||
0
}}
个
</span>
</div>
<div
class=
"expande-button"
v-if=
"guaranteeExpande"
@
click=
"expandeClick(false, 'guaranteeExpande')"
>
<span
class=
"font-14 color-58"
>
收起
</span>
...
...
src/views/crowdManage/crowdAdd.vue
View file @
e0eac43
...
...
@@ -115,7 +115,7 @@
<div
class=
"footer-panel"
>
<div>
<el-button
type=
"primary"
@
click=
"handleSubmit"
>
确定
</el-button>
<el-button
@
click=
"handleCancel"
>
取消
</el-button>
<el-button
class=
"cancel-button"
@
click=
"handleCancel"
>
取消
</el-button>
</div>
</div>
<el-dialog
title=
"人群规则说明"
class=
"crowd-dialog"
width=
"720px"
:before-close=
"handleClose"
:visible
.
sync=
"dialogRuleVisible"
:show-close=
"isShowCloseBtn"
>
...
...
@@ -887,12 +887,15 @@ export default {
background
:
#ffffff
;
box-shadow
:
0px
-1px
1px
0px
rgba
(
88
,
80
,
255
,
0.1
);
div
{
width
:
1
5
0px
;
width
:
1
7
0px
;
position
:
relative
;
transform
:
translateY
(
-50%
);
left
:
50%
;
top
:
50%
;
margin-left
:
-220px
;
.cancel-button{
margin-left
:
20px
;
}
}
}
.label-text
{
...
...
src/views/crowdManage/crowdDetail.vue
View file @
e0eac43
...
...
@@ -44,6 +44,11 @@
</div>
</div>
</div>
<div
class=
"footer-panel"
>
<div>
<el-button
class=
"cancel-button"
@
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"
>
<div
class=
"crowd-dialog-wrap color-3"
>
<div
class=
"condition font-14"
>
...
...
@@ -115,19 +120,19 @@ export default {
{
label
:
'标签组'
,
prop
:
'groupName'
,
width
:
180
,
width
:
180
//align: 'left'
},
{
label
:
'标签组类型'
,
prop
:
'groupType'
,
width
:
180
,
width
:
180
//align: 'left'
},
{
label
:
'标签'
,
prop
:
'labelUnitList'
,
addHtml
:
'labelUnitList'
,
addHtml
:
'labelUnitList'
//align: 'left'
}
]
...
...
@@ -190,7 +195,7 @@ export default {
.container
{
background
:
#ffffff
;
box-shadow
:
0
10px
20px
0
rgba
(
88
,
80
,
255
,
0.1
);
height
:
calc
(
100vh
-
8
0px
);
height
:
calc
(
100vh
-
15
0px
);
overflow-y
:
auto
;
//
padding
:
20px
;
...
...
@@ -255,9 +260,27 @@ 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
;
}
}
.crowd-dialog
{
/deep/.el-dialog__header
{
padding
:
15px
20px
;
...
...
@@ -285,7 +308,7 @@ export default {
b
{
color
:
#666666
;
}
span
{
span
{
white-space
:
nowrap
;
}
}
...
...
src/views/crowdManage/index.vue
View file @
e0eac43
...
...
@@ -3,7 +3,10 @@
<el-tabs
v-model=
"activeName"
@
tab-click=
"handleClick()"
>
<el-tab-pane
label=
"推荐人群"
name=
"first"
></el-tab-pane>
<el-tab-pane
label=
"自定义人群"
name=
"second"
>
<GLButton
class=
"addBtn"
fn=
"新建人群"
v-if=
"!admin"
@
click=
"addClick"
><i
class=
"el-icon-plus"
></i>
新建人群
</GLButton>
<GLButton
class=
"addBtn"
fn=
"新建人群"
v-if=
"admin"
@
click=
"addClick"
>
<i
class=
"el-icon-plus"
></i>
新建人群
</GLButton>
</el-tab-pane>
</el-tabs>
<div
class=
"pageContent"
>
...
...
@@ -18,7 +21,7 @@
<!--
<span
@
click=
"btnClick('detail', scope.scope)"
class=
"blue-text"
>
查看详情
</span>
-->
<GLButton
type=
"text"
@
click=
"btnClick('detail', scope.scope)"
class=
"blue-text"
fn=
"查看详情"
>
查看详情
</GLButton>
<!--
<span
style=
"margin-left: 20px"
@
click=
"btnClick('view', scope.scope)"
class=
"blue-text"
>
查看客户
</span>
-->
<GLButton
class=
"blue-text leftDistance"
type=
"text"
fn=
"客户列表"
v-if=
"userType !== 2"
@
click=
"btnClick('view',scope.scope)"
>
查看客户
</GLButton>
<GLButton
class=
"blue-text leftDistance"
type=
"text"
fn=
"客户列表"
v-if=
"userType !== 2"
@
click=
"btnClick('view',
scope.scope)"
>
查看客户
</GLButton>
</
template
>
</GLTable>
</div>
...
...
@@ -55,19 +58,19 @@ export default {
tableColumns
:
[
{
label
:
'人群名称'
,
prop
:
'crowdName'
,
prop
:
'crowdName'
// addHtml: 'crowdName',
//align: 'left'
},
{
label
:
'人群描述'
,
prop
:
'crowdDesc'
,
prop
:
'crowdDesc'
//align: 'left'
// width: 180
},
{
label
:
'人数'
,
prop
:
'total'
,
prop
:
'total'
// addHtml: 'total',
//align: 'left'
},
...
...
@@ -125,6 +128,7 @@ export default {
this
.
$refs
.
clientGroupDetail
.
setTableHeightFun
()
},
handleClick
()
{
this
.
searchForm
=
{
'req.keyword'
:
''
}
this
.
searchTable
()
// setTimeout(() =>{
// if(this.$refs.crowdManage.data.length == 0){
...
...
@@ -164,10 +168,15 @@ export default {
padding
:
5px
16px
;
color
:
#fff
;
font-size
:
16px
;
margin-bottom
:
10px
;
&:hover
{
background-color
:
$
lightBtnBlue
;
}
}
/
deep
/
.el-tabs__header
{
margin
:
0
0
20px
;
}
/
deep
/
.el-tabs__nav-wrap
::after
{
content
:
none
;
}
...
...
@@ -188,7 +197,6 @@ export default {
.pageContent
{
padding
:
6px
20px
30px
;
box-shadow
:
0
10px
20px
0
rgba
(
88
,
80
,
255
,
0.1
);
margin-top
:
20px
;
background-color
:
#fff
;
.el-button
+
.el-button
{
margin-left
:
10px
;
...
...
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