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 3204c40a
authored
Feb 25, 2022
by
xuyl
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
修改小手样式以及userType=2时页面不可以跳转和按钮不显示
1 parent
355b6378
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
15 additions
and
7 deletions
src/views/clientDataOverview/index.vue
src/views/tagsManage/index.vue
src/views/clientDataOverview/index.vue
View file @
3204c40
...
@@ -245,28 +245,28 @@ export default {
...
@@ -245,28 +245,28 @@ export default {
subName
:
'购车时间3个月的客户'
,
subName
:
'购车时间3个月的客户'
,
num
:
0
,
num
:
0
,
url
:
url1
,
url
:
url1
,
id
:
7
,
id
:
7
},
},
{
{
name
:
'车险待续保客户数'
,
name
:
'车险待续保客户数'
,
subName
:
'近一个月内车险即将到期的客户'
,
subName
:
'近一个月内车险即将到期的客户'
,
num
:
0
,
num
:
0
,
url
:
url2
,
url
:
url2
,
id
:
8
,
id
:
8
},
},
{
{
name
:
'新车待首保客户数'
,
name
:
'新车待首保客户数'
,
subName
:
'购车时间5~7个月内,且无保养记录的客户'
,
subName
:
'购车时间5~7个月内,且无保养记录的客户'
,
num
:
0
,
num
:
0
,
url
:
url3
,
url
:
url3
,
id
:
9
id
:
9
},
},
{
{
name
:
'沉默客户数'
,
name
:
'沉默客户数'
,
subName
:
'超过180天未到店的客户'
,
subName
:
'超过180天未到店的客户'
,
num
:
0
,
num
:
0
,
url
:
url4
,
url
:
url4
,
id
:
10
id
:
10
}
}
],
],
isNoBuyUp
:
0
,
//默认环比为增
isNoBuyUp
:
0
,
//默认环比为增
...
@@ -280,7 +280,8 @@ export default {
...
@@ -280,7 +280,8 @@ export default {
thirtyDayStorage
:
{},
thirtyDayStorage
:
{},
dialogVisible
:
false
,
dialogVisible
:
false
,
//只有门店可以引流企微
//只有门店可以引流企微
accountLevel
:
0
//1,2,3,4工厂,省代,市代,门店
accountLevel
:
0
,
//1,2,3,4工厂,省代,市代,门店
userType
:
0
//1是商户,2是员工
}
}
},
},
...
@@ -317,6 +318,7 @@ export default {
...
@@ -317,6 +318,7 @@ export default {
if
(
window
.
__POWERED_BY_QIANKUN__
)
{
if
(
window
.
__POWERED_BY_QIANKUN__
)
{
//运行在qiankun容器中
//运行在qiankun容器中
this
.
accountLevel
=
this
.
$globalState
.
session
.
accountLevel
this
.
accountLevel
=
this
.
$globalState
.
session
.
accountLevel
this
.
userType
=
this
.
$globalState
.
session
.
userType
}
}
// 掉两个数据接口
// 掉两个数据接口
...
@@ -523,7 +525,9 @@ export default {
...
@@ -523,7 +525,9 @@ export default {
},
},
//跳转到人群客户列表
//跳转到人群客户列表
goto
(
id
)
{
goto
(
id
)
{
this
.
$router
.
push
(
'/clientDataOverview/group/'
+
id
)
console
.
log
(
this
.
userType
)
if
(
this
.
userType
==
2
)
return
this
.
$router
.
push
(
'/clientDataOverview/group/'
+
id
)
}
}
}
}
}
}
...
@@ -756,6 +760,7 @@ export default {
...
@@ -756,6 +760,7 @@ export default {
height
:
238px
;
height
:
238px
;
width
:
50%
;
width
:
50%
;
position
:
relative
;
position
:
relative
;
cursor
:
pointer
;
>
span
{
>
span
{
position
:
absolute
;
position
:
absolute
;
&:first-child
{
&:first-child
{
...
@@ -847,7 +852,9 @@ export default {
...
@@ -847,7 +852,9 @@ export default {
.rightWrap
{
.rightWrap
{
width
:
48%
;
width
:
48%
;
margin-left
:
20px
;
margin-left
:
20px
;
cursor
:
pointer
;
position
:
relative
;
position
:
relative
;
.smallWrap
{
.smallWrap
{
position
:
relative
;
position
:
relative
;
>
span
{
>
span
{
...
@@ -929,6 +936,7 @@ export default {
...
@@ -929,6 +936,7 @@ export default {
box-sizing
:
border-box
;
box-sizing
:
border-box
;
box-shadow
:
0px
10px
20px
0px
rgba
(
88
,
80
,
255
,
0.1
);
box-shadow
:
0px
10px
20px
0px
rgba
(
88
,
80
,
255
,
0.1
);
//
border
:
1px
solid
rgba
(
121
,
121
,
121
,
1
);
//
border
:
1px
solid
rgba
(
121
,
121
,
121
,
1
);
cursor
:
pointer
;
&:not(:first-child)
{
&:not(:first-child)
{
margin-left
:
20px
;
margin-left
:
20px
;
}
}
...
...
src/views/tagsManage/index.vue
View file @
3204c40
...
@@ -68,7 +68,7 @@
...
@@ -68,7 +68,7 @@
<!-- //这版关掉自店标签 1.0.1允许集团的门店打字店标签,也可以编辑-->
<!-- //这版关掉自店标签 1.0.1允许集团的门店打字店标签,也可以编辑-->
<!-- v-if="scope.scope.labelType != '系统标签' && isShowEditBtn(scope.scope)" -->
<!-- v-if="scope.scope.labelType != '系统标签' && isShowEditBtn(scope.scope)" -->
<span
@
click=
"btnClick('edit', scope.scope)"
v-if=
"scope.scope.labelType != '系统标签' && isShowEditBtn(scope.scope)"
class=
"blue-text"
>
编辑标签组
</span>
<span
@
click=
"btnClick('edit', scope.scope)"
v-if=
"scope.scope.labelType != '系统标签' && isShowEditBtn(scope.scope)"
class=
"blue-text"
>
编辑标签组
</span>
<GLButton
class=
"blue-text leftDistance"
type=
"text"
fn=
"查看客户"
@
click=
"toViewCustomer(scope.scope)"
>
查看客户
</GLButton>
<GLButton
class=
"blue-text leftDistance"
type=
"text"
fn=
"查看客户"
v-if=
"userType!==2"
@
click=
"toViewCustomer(scope.scope)"
>
查看客户
</GLButton>
</
template
>
</
template
>
</GLTable>
</GLTable>
</div>
</div>
...
...
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