Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
江名洋
/
linkwe-scrm
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 724ae533
authored
Mar 02, 2023
by
xinla
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
css 与 UI调整
1 parent
e5167d02
Show whitespace changes
Inline
Side-by-side
Showing
15 changed files
with
200 additions
and
227 deletions
linkwe-pc/src/assets/login.png
linkwe-pc/src/layout/components/Logo.vue
linkwe-pc/src/layout/components/Navbar.vue
linkwe-pc/src/layout/components/TopNav/index.vue
linkwe-pc/src/styles/element-ui.scss
linkwe-pc/src/styles/index.scss
linkwe-pc/src/styles/var.css
linkwe-pc/src/views/customerManage/customer.vue
linkwe-pc/src/views/customerManage/customer/infoTab.vue
linkwe-pc/src/views/customerManage/group.vue
linkwe-pc/src/views/enterpriseManage/contacts/organization.vue
linkwe-pc/src/views/groupMessage/add.vue
linkwe-pc/src/views/groupMessage/record.vue
linkwe-pc/src/views/index/index.vue
linkwe-pc/src/views/login.vue
linkwe-pc/src/assets/login.png
View file @
724ae53
227 KB
|
W:
|
H:
194 KB
|
W:
|
H:
2-up
Swipe
Onion skin
linkwe-pc/src/layout/components/Logo.vue
View file @
724ae53
...
@@ -41,10 +41,10 @@ export default {
...
@@ -41,10 +41,10 @@ export default {
.logo-container
{
.logo-container
{
position
:
relative
;
position
:
relative
;
width
:
330px
;
flex
:
0
1
300px
;
overflow
:
hidden
;
display
:
flex
;
display
:
flex
;
align-items
:
center
;
align-items
:
center
;
padding-right
:
10px
;
&
.sidebar-logo-link
{
&
.sidebar-logo-link
{
&
.sidebar-logo
{
&
.sidebar-logo
{
max-height
:
44px
;
max-height
:
44px
;
...
...
linkwe-pc/src/layout/components/Navbar.vue
View file @
724ae53
...
@@ -14,10 +14,8 @@
...
@@ -14,10 +14,8 @@
</div>
</div>
</
template
>
</
template
>
</el-scrollbar>
-->
</el-scrollbar>
-->
<!-- <el-scrollbar class="nav-scrollar"> -->
<top-nav
/>
<top-nav
id=
"topmenu-container"
/>
<div
class=
"right-menu mr10"
>
<!-- </el-scrollbar> -->
<div
class=
"right-menu mr20"
>
<
template
v-if=
"device !== 'mobile'"
>
<
template
v-if=
"device !== 'mobile'"
>
<!--
<search
id=
"header-search"
class=
"right-menu-item"
/>
-->
<!--
<search
id=
"header-search"
class=
"right-menu-item"
/>
-->
<!--
<el-popover
placement=
"right"
width=
"300"
trigger=
"hover"
>
<!--
<el-popover
placement=
"right"
width=
"300"
trigger=
"hover"
>
...
@@ -171,14 +169,6 @@ export default {
...
@@ -171,14 +169,6 @@ export default {
</
script
>
</
script
>
<
style
lang=
"scss"
scoped
>
<
style
lang=
"scss"
scoped
>
//
.topmenu-container
{
//
margin-left
:
auto
;
//
display
:
inline-block
;
//
position
:
absolute
;
//
right
:
100px
;
//
top
:
50%
;
//
transform
:
translateY
(
-50%
);
//
}
.hover-class
{
.hover-class
{
display
:
flex
;
display
:
flex
;
flex-direction
:
column
;
flex-direction
:
column
;
...
@@ -206,6 +196,7 @@ export default {
...
@@ -206,6 +196,7 @@ export default {
.navbar
{
.navbar
{
display
:
flex
;
display
:
flex
;
align-items
:
center
;
align-items
:
center
;
justify-content
:
space-between
;
width
:
100%
;
width
:
100%
;
height
:
100%
;
height
:
100%
;
overflow
:
hidden
;
overflow
:
hidden
;
...
@@ -218,8 +209,9 @@ export default {
...
@@ -218,8 +209,9 @@ export default {
}
}
.right-menu
{
.right-menu
{
position
:
absolute
;
//
position
:
absolute
;
right
:
0
;
//
right
:
0
;
flex
:
none
;
background
:
#fff
;
background
:
#fff
;
&:focus
{
&:focus
{
...
@@ -228,7 +220,7 @@ export default {
...
@@ -228,7 +220,7 @@ export default {
.right-menu-item
{
.right-menu-item
{
display
:
inline-block
;
display
:
inline-block
;
padding
:
0
0
0
15px
;
padding
:
0
0
0
min
(
2vw
-
20px
,
15px
)
;
//
color
:
#5a5e66
;
//
color
:
#5a5e66
;
vertical-align
:
middle
;
vertical-align
:
middle
;
...
@@ -276,30 +268,30 @@ export default {
...
@@ -276,30 +268,30 @@ export default {
}
}
}
}
.nav-scrollbar
{
//
.nav-scrollbar
{
width
:
calc
(
100%
-
450px
);
//
width
:
calc
(
100%
-
450px
);
::v-deep.el-scrollbar__view
{
//
::v-deep.el-scrollbar__view
{
white-space
:
nowrap
;
//
white-space
:
nowrap
;
line-height
:
58px
;
//
line-height
:
58px
;
}
//
}
.nav
{
//
.nav
{
display
:
inline-block
;
//
display
:
inline-block
;
margin
:
0
20px
;
//
margin
:
0
20px
;
flex
:
none
;
//
flex
:
none
;
position
:
relative
;
//
position
:
relative
;
cursor
:
pointer
;
//
cursor
:
pointer
;
&.
active
::
after
{
//
&.
active
::
after
{
content
:
''
;
//
content
:
''
;
display
:
inline-block
;
//
display
:
inline-block
;
position
:
absolute
;
//
position
:
absolute
;
bottom
:
2px
;
//
bottom
:
2px
;
width
:
42px
;
//
width
:
42px
;
height
:
2px
;
//
height
:
2px
;
left
:
50%
;
//
left
:
50%
;
transform
:
translateX
(
-50%
);
//
transform
:
translateX
(
-50%
);
border-radius
:
6px
;
//
border-radius
:
6px
;
background
:
#fff
;
//
background
:
#fff
;
}
//
}
}
//
}
}
//
}
</
style
>
</
style
>
linkwe-pc/src/layout/components/TopNav/index.vue
View file @
724ae53
<
template
>
<
template
>
<!--
<el-scrollbar
class=
"nav-scrollbar"
>
-->
<el-menu
:default-active=
"activeMenu"
mode=
"horizontal"
@
select=
"handleSelect"
>
<el-menu
:default-active=
"activeMenu"
mode=
"horizontal"
@
select=
"handleSelect"
>
<el-menu-item
v-for=
"(item, index) in topMenus"
:index=
"item.path"
:key=
"index"
>
{{
item
.
meta
.
title
}}
</el-menu-item>
<el-menu-item
v-for=
"(item, index) in topMenus"
:index=
"item.path"
:key=
"index"
>
{{
item
.
meta
.
title
}}
</el-menu-item>
</el-menu>
</el-menu>
<!--
</el-scrollbar>
-->
</
template
>
</
template
>
<
script
>
<
script
>
import
{
constantRoutes
}
from
'@/router'
import
{
isExternal
}
from
'@/utils/validate'
import
{
isExternal
}
from
'@/utils/validate'
export
default
{
export
default
{
data
()
{
data
()
{
return
{
return
{
// name: '',
// name: '',
// 顶部栏初始数
visibleNumber
:
5
,
// 是否为首次加载
isFrist
:
false
,
// 当前激活菜单的
// 当前激活菜单的
currentIndex
:
''
,
currentIndex
:
''
,
}
}
},
},
computed
:
{
computed
:
{
theme
()
{
return
this
.
$store
.
state
.
settings
.
theme
},
// 顶部显示菜单
// 顶部显示菜单
topMenus
()
{
topMenus
()
{
let
topMenus
=
[]
let
topMenus
=
[]
...
@@ -50,16 +46,8 @@ export default {
...
@@ -50,16 +46,8 @@ export default {
return
activePath
return
activePath
},
},
},
},
beforeMount
()
{
window
.
addEventListener
(
'resize'
,
this
.
setVisibleNumber
)
},
beforeDestroy
()
{
window
.
removeEventListener
(
'resize'
,
this
.
setVisibleNumber
)
},
mounted
()
{
mounted
()
{
this
.
setVisibleNumber
()
// this.setName()
// this.setName()
// this.handleSelect(this.topMenus[0].path)
},
},
methods
:
{
methods
:
{
// setName() {
// setName() {
...
@@ -69,19 +57,12 @@ export default {
...
@@ -69,19 +57,12 @@ export default {
// }
// }
// })
// })
// },
// },
// 根据宽度计算设置显示栏数
setVisibleNumber
()
{
const
width
=
document
.
body
.
getBoundingClientRect
().
width
/
3
this
.
visibleNumber
=
parseInt
(
width
/
85
)
},
// 菜单选择事件
// 菜单选择事件
handleSelect
(
path
,
keyPath
)
{
handleSelect
(
path
,
keyPath
)
{
this
.
currentIndex
=
path
let
index
=
''
this
.
topMenus
.
map
((
dd
,
cc
)
=>
{
this
.
topMenus
.
map
((
dd
,
cc
)
=>
{
if
(
path
==
dd
.
path
)
{
if
(
path
==
dd
.
path
)
{
// this.name = dd.meta.title
// this.name = dd.meta.title
index
=
cc
}
}
})
})
if
(
this
.
ishttp
(
path
))
{
if
(
this
.
ishttp
(
path
))
{
...
@@ -114,19 +95,23 @@ export default {
...
@@ -114,19 +95,23 @@ export default {
}
}
</
script
>
</
script
>
<
style
lang=
"scss"
>
<
style
lang=
"scss"
scoped
>
.
bg
lg
{
.
g-bg-
lg
{
background
:
linear-gradient
(
to
left
,
var
(
--color
)
0%
,
var
(
--color-lighter
)
100%
);
background
:
linear-gradient
(
to
left
,
var
(
--color
)
0%
,
var
(
--color-lighter
)
100%
);
box-shadow
:
0px
13px
16px
0px
rgba
(
7
,
168
,
85
,
0.2
);
box-shadow
:
0px
13px
16px
0px
rgba
(
7
,
168
,
85
,
0.2
);
}
}
.el-menu
{
//
.nav-scrollbar
{
//
width
:
calc
(
100%
-
580px
);
//
::v-deep.el-scrollbar__view
{
//
white-space
:
nowrap
;
//
}
//
}
::v-deep
.el-menu--horizontal
{
background-color
:
transparent
!important
;
background-color
:
transparent
!important
;
}
.el-menu.el-menu--horizontal
{
border
:
none
!important
;
border
:
none
!important
;
}
white-space
:
nowrap
;
.el-menu--horizontal
>
.el-menu-item
{
flex
:
1
1
1200px
;
float
:
left
;
&
>
.el-menu-item
{
height
:
38px
!important
;
height
:
38px
!important
;
line-height
:
38px
!important
;
line-height
:
38px
!important
;
color
:
#1d2129
;
color
:
#1d2129
;
...
@@ -134,6 +119,9 @@ export default {
...
@@ -134,6 +119,9 @@ export default {
font-weight
:
bold
;
font-weight
:
bold
;
margin
:
0
4px
!important
;
margin
:
0
4px
!important
;
border
:
0
;
border
:
0
;
padding
:
0px
min
(
1.1vw
,
20px
);
float
:
none
;
display
:
inline-block
;
&::after
{
&::after
{
content
:
''
;
content
:
''
;
display
:
block
;
display
:
block
;
...
@@ -146,7 +134,7 @@ export default {
...
@@ -146,7 +134,7 @@ export default {
height
:
100%
;
height
:
100%
;
border-radius
:
8px
;
border-radius
:
8px
;
transition
:
opacity
0.3s
;
transition
:
opacity
0.3s
;
@extend
.bg
lg;
@extend
.g-bg-
lg;
}
}
&
:not
(
.is-disabled
)
{
&
:not
(
.is-disabled
)
{
&:hover,
&:hover,
...
@@ -158,22 +146,23 @@ export default {
...
@@ -158,22 +146,23 @@ export default {
color
:
#fff
;
color
:
#fff
;
}
}
}
}
}
}
.el-menu--horizontal
>
.el-menu-item.is-active
,
&
>
.el-menu-item.is-active
,
.el-menu--horizontal
>
.el-submenu.is-active
.el-submenu__title
{
&
>
.el-submenu.is-active
.el-submenu__title
{
@extend
.bg
lg;
@extend
.g-bg-
lg;
color
:
#fff
;
color
:
#fff
;
border
:
0
;
border
:
0
;
}
}
/* submenu item */
//
/* submenu item */
.el-menu--horizontal
>
.el-submenu
.el-submenu__title
{
//
&
>
.el-submenu
.el-submenu__title
{
float
:
left
;
//
float
:
left
;
height
:
50px
!important
;
//
height
:
50px
!important
;
line-height
:
50px
!important
;
//
line-height
:
50px
!important
;
color
:
#999093
!important
;
//
color
:
#999093
!important
;
padding
:
0
5px
!important
;
//
padding
:
0
5px
!important
;
margin
:
0
10px
!important
;
//
margin
:
0
10px
!important
;
//
}
}
}
</
style
>
</
style
>
linkwe-pc/src/styles/element-ui.scss
View file @
724ae53
...
@@ -11,14 +11,15 @@
...
@@ -11,14 +11,15 @@
line-height
:
30px
;
line-height
:
30px
;
}
}
// 页面公用搜索
.--card
{
.--card
{
padding
:
20px
20px
;
padding
:
20px
20px
;
border-radius
:
var
(
--
border-radius-big
);
border-radius
:
var
(
--
border-radius-big
);
background
:
#fff
;
background
:
#fff
;
}
}
// 页面公用搜索
.top-search
{
.top-search
{
@extend
.--card
;
@extend
.--card
;
padding
:
10px
20px
;
margin-bottom
:
16px
;
margin-bottom
:
16px
;
.el-form-item
{
.el-form-item
{
margin
:
0
!
important
;
margin
:
0
!
important
;
...
@@ -252,13 +253,12 @@
...
@@ -252,13 +253,12 @@
.el-form
:not
(
.el-form--inline
)
{
.el-form
:not
(
.el-form--inline
)
{
.el-form-item
{
.el-form-item
{
margin
:
0
!
important
;
//
margin: 0 !important;
padding
:
10px
;
// padding: 10px 0
;
transition
:
all
0
.2s
;
transition
:
all
0
.2s
;
// &:hover {
&
:last-child
{
// background: #e5f1fc;
margin-bottom
:
0
;
// border-radius: 10px;
}
// }
}
}
// 统一页面表单输入框宽度 el-form-item__content
// 统一页面表单输入框宽度 el-form-item__content
...
...
linkwe-pc/src/styles/index.scss
View file @
724ae53
...
@@ -243,23 +243,6 @@ div:focus {
...
@@ -243,23 +243,6 @@ div:focus {
}
}
}
}
.br8
{
border-radius
:
8px
;
}
.br16
{
border-radius
:
16px
;
}
.fc
{
color
:
var
(
--
color
);
}
.card-group-index
+
.g-card
{
.card-group-index
+
.g-card
{
margin-top
:
0
;
margin-top
:
0
;
}
}
// 绿色渐变背景
.bglg
{
background
:
linear-gradient
(
to
left
,
var
(
--
color
)
0%
,
var
(
--
color-lighter
)
100%
);
box-shadow
:
0px
13px
16px
0px
rgba
(
7
,
168
,
85
,
0
.2
);
}
linkwe-pc/src/styles/var.css
View file @
724ae53
html
{
html
{
--color
:
#07c160
;
/* 主题色 */
--rgb
:
7
,
193
,
96
;
/* 主题色rgb #07c160*/
--color
:
rgb
(
var
(
--rgb
));
/* 主题色 #07c160*/
--color-lighter
:
#90de45
;
/* 浅主题色 */
--color-lighter
:
#90de45
;
/* 浅主题色 */
--color-success
:
#07c160
;
--color-success
:
#07c160
;
--color-warning
:
#faad14
;
--color-warning
:
#faad14
;
--color-danger
:
#eb5e12
;
--color-danger
:
#eb5e12
;
--border-radius
:
8px
;
/* 圆角 */
--border-radius
:
8px
;
/*
常规
圆角 */
--border-radius-small
:
4px
;
/* 小圆角 */
--border-radius-small
:
4px
;
/* 小圆角 */
--border-radius-big
:
16px
;
/* 大圆角 */
--border-radius-big
:
16px
;
/* 大圆角 */
--card-margin
:
16px
;
/* 卡片间距 */
--card-margin
:
16px
;
/* 卡片间距 */
--top-nav-heght
:
64px
;
/* 顶部导航条高度 */
--top-nav-heght
:
64px
;
/* 顶部导航条高度 */
--font-black
:
#1d2129
;
/* 通用字体黑色 */
--font-black
:
#1d2129
;
/* 通用字体黑色 */
}
}
/* 项目定制原子类 */
.g-radius
{
border-radius
:
8px
;
}
.g-radius-small
{
border-radius
:
16px
;
}
.g-radius-big
{
border-radius
:
16px
;
}
.g-margin
{
margin
:
var
(
--card-margin
);
}
.g-margin-t
{
margin-top
:
var
(
--card-margin
);
}
.g-margin-r
{
margin-right
:
var
(
--card-margin
);
}
.g-margin-b
{
margin-bottom
:
var
(
--card-margin
);
}
.g-margin-l
{
margin-left
:
var
(
--card-margin
);
}
.g-color
{
color
:
var
(
--color
);
}
/* 渐变背景 */
.g-bg-lg
{
background
:
linear-gradient
(
to
left
,
var
(
--color
)
0%
,
var
(
--color-lighter
)
100%
);
box-shadow
:
0px
13px
16px
0px
rgba
(
7
,
168
,
85
,
0.2
);
}
linkwe-pc/src/views/customerManage/customer.vue
View file @
724ae53
<
script
>
<
script
>
import
*
as
api
from
'@/api/customer'
import
*
as
api
from
'@/api/customer'
import
{
getList
as
getListTag
}
from
'@/api/customer/tag'
import
{
getList
as
getListTag
}
from
'@/api/customer/tag'
import
AddTag
from
'@/components/AddTag'
import
AddTag
from
'@/components/AddTag'
import
SelectTag
from
'@/components/SelectTag'
import
SelectTag
from
'@/components/SelectTag'
import
DeleteTag
from
'@/components/DeleteTag'
import
DeleteTag
from
'@/components/DeleteTag'
import
{
dictAddType
,
dictTrackState
}
from
'@/utils/dictionary'
import
{
dictAddType
,
dictTrackState
}
from
'@/utils/dictionary'
import
{
getList
}
from
'@/api/salesCenter/businessConver.js'
import
{
getList
}
from
'@/api/salesCenter/businessConver.js'
export
default
{
export
default
{
name
:
'Customer'
,
name
:
'Customer'
,
components
:
{
AddTag
,
SelectTag
,
DeleteTag
},
components
:
{
AddTag
,
SelectTag
,
DeleteTag
},
props
:
{},
props
:
{},
...
@@ -26,7 +26,7 @@
...
@@ -26,7 +26,7 @@
trackState
:
''
,
//跟进状态 1:待跟进;2:跟进中;3:已成交;4:无意向;5:已流失
trackState
:
''
,
//跟进状态 1:待跟进;2:跟进中;3:已成交;4:无意向;5:已流失
addMethod
:
''
,
//添加方式 0:未知来源;1:扫描二维码;2:搜索手机号;3:名片分享;4:群聊;5:手机通讯录;6:微信联系人;7:来自微信好友的添加申请;8:安装第三方应用时自动添加的客服人员;9:搜索邮箱;10:视频号主页添加;11:员工活码;12:新客拉群;13:活动裂变;201:内部成员共享;202:管理员/负责人分配
addMethod
:
''
,
//添加方式 0:未知来源;1:扫描二维码;2:搜索手机号;3:名片分享;4:群聊;5:手机通讯录;6:微信联系人;7:来自微信好友的添加申请;8:安装第三方应用时自动添加的客服人员;9:搜索邮箱;10:视频号主页添加;11:员工活码;12:新客拉群;13:活动裂变;201:内部成员共享;202:管理员/负责人分配
gender
:
''
,
//0-未知 1-男性 2-女性
gender
:
''
,
//0-未知 1-男性 2-女性
noTagCheck
:
false
noTagCheck
:
false
,
},
},
queryTag
:
[],
// 搜索框选择的标签
queryTag
:
[],
// 搜索框选择的标签
queryUser
:
[],
// 搜索框选择的添加人
queryUser
:
[],
// 搜索框选择的添加人
...
@@ -38,7 +38,7 @@
...
@@ -38,7 +38,7 @@
// 添加标签表单
// 添加标签表单
form
:
{
form
:
{
gourpName
:
''
,
gourpName
:
''
,
weTags
:
[]
weTags
:
[],
},
},
list
:
[],
// 客户列表
list
:
[],
// 客户列表
staffList
:
[],
// 所有员工列表
staffList
:
[],
// 所有员工列表
...
@@ -51,7 +51,7 @@
...
@@ -51,7 +51,7 @@
selectedTag
:
[],
// 选择的标签
selectedTag
:
[],
// 选择的标签
tagDialogType
:
{
tagDialogType
:
{
title
:
''
,
// 选择标签弹窗标题
title
:
''
,
// 选择标签弹窗标题
type
:
''
// 弹窗类型
type
:
''
,
// 弹窗类型
},
},
dictCustomerType
:
Object
.
freeze
({
1
:
'微信客户'
,
2
:
'企业客户'
}),
dictCustomerType
:
Object
.
freeze
({
1
:
'微信客户'
,
2
:
'企业客户'
}),
dictAddType
,
dictAddType
,
...
@@ -59,12 +59,12 @@
...
@@ -59,12 +59,12 @@
multiObj
:
{
multiObj
:
{
state
:
'add'
,
// 'delete'
state
:
'add'
,
// 'delete'
title
:
'批量打标签'
,
title
:
'批量打标签'
,
showDialog
:
false
showDialog
:
false
,
},
},
multipleSelection
:
[],
// 多选数组
multipleSelection
:
[],
// 多选数组
mulSelectedTag
:
[],
mulSelectedTag
:
[],
deleteData
:
[],
deleteData
:
[],
deleteDialog
:
false
deleteDialog
:
false
,
}
}
},
},
watch
:
{},
watch
:
{},
...
@@ -78,7 +78,7 @@
...
@@ -78,7 +78,7 @@
'app/setBusininessDesc'
,
'app/setBusininessDesc'
,
`
`
<div>用于查看当前企业所有的客户列表及详细信息,支持对客户进行打标签。</div>
<div>用于查看当前企业所有的客户列表及详细信息,支持对客户进行打标签。</div>
`
`
,
)
)
},
},
mounted
()
{},
mounted
()
{},
...
@@ -121,7 +121,7 @@
...
@@ -121,7 +121,7 @@
let
obj
=
{
let
obj
=
{
externalUserid
:
dd
.
externalUserid
,
externalUserid
:
dd
.
externalUserid
,
addTag
:
data
,
addTag
:
data
,
userId
:
dd
.
firstUserId
userId
:
dd
.
firstUserId
,
}
}
arr
.
push
(
obj
)
arr
.
push
(
obj
)
})
})
...
@@ -154,7 +154,7 @@
...
@@ -154,7 +154,7 @@
let
obj
=
{
let
obj
=
{
externalUserid
:
dd
.
externalUserid
,
externalUserid
:
dd
.
externalUserid
,
addTag
:
data
,
addTag
:
data
,
userId
:
dd
.
firstUserId
userId
:
dd
.
firstUserId
,
}
}
arr
.
push
(
obj
)
arr
.
push
(
obj
)
})
})
...
@@ -201,7 +201,7 @@
...
@@ -201,7 +201,7 @@
element
.
tagIds
.
forEach
((
unit
,
index
)
=>
{
element
.
tagIds
.
forEach
((
unit
,
index
)
=>
{
element
.
tags
.
push
({
element
.
tags
.
push
({
tagId
:
unit
,
tagId
:
unit
,
tagName
:
element
.
tagNames
[
index
]
tagName
:
element
.
tagNames
[
index
],
})
})
})
})
}
}
...
@@ -229,7 +229,7 @@
...
@@ -229,7 +229,7 @@
this
.
$refs
.
selectTag
.
getList
()
this
.
$refs
.
selectTag
.
getList
()
this
.
form
=
{
this
.
form
=
{
gourpName
:
''
,
gourpName
:
''
,
weTags
:
[]
weTags
:
[],
}
}
}
}
})
})
...
@@ -239,7 +239,7 @@
...
@@ -239,7 +239,7 @@
this
.
selectedTag
=
this
.
queryTag
this
.
selectedTag
=
this
.
queryTag
this
.
tagDialogType
=
{
this
.
tagDialogType
=
{
title
:
'选择标签'
,
title
:
'选择标签'
,
type
:
'query'
type
:
'query'
,
}
}
this
.
dialogVisible
=
true
this
.
dialogVisible
=
true
// this.$refs.selectTag.$forceUpdate()
// this.$refs.selectTag.$forceUpdate()
...
@@ -287,16 +287,16 @@
...
@@ -287,16 +287,16 @@
message
:
this
.
$createElement
(
message
:
this
.
$createElement
(
'i'
,
'i'
,
{
style
:
'color: red'
},
{
style
:
'color: red'
},
'已有标签['
+
hasErrorTag
+
']不在标签库中,已被删除或存在异常'
'已有标签['
+
hasErrorTag
+
']不在标签库中,已被删除或存在异常'
,
),
),
type
:
'warning'
,
type
:
'warning'
,
customClass
:
'mzindex'
customClass
:
'mzindex'
,
})
})
// this.msgError('已有标签[' + hasErrorTag + ']不在标签库中,已被删除或存在异常')
// this.msgError('已有标签[' + hasErrorTag + ']不在标签库中,已被删除或存在异常')
}
}
this
.
tagDialogType
=
{
this
.
tagDialogType
=
{
title
:
'标签设置'
+
(
repeat
.
length
?
'(重复的标签已去重显示)'
:
''
)
title
:
'标签设置'
+
(
repeat
.
length
?
'(重复的标签已去重显示)'
:
''
),
}
}
this
.
dialogVisible
=
true
this
.
dialogVisible
=
true
// this.$refs.selectTag.$forceUpdate()
// this.$refs.selectTag.$forceUpdate()
...
@@ -347,7 +347,7 @@
...
@@ -347,7 +347,7 @@
let
data
=
{
let
data
=
{
externalUserid
:
this
.
currentEidt
.
externalUserid
,
externalUserid
:
this
.
currentEidt
.
externalUserid
,
addTag
:
selected
,
addTag
:
selected
,
userId
:
this
.
currentEidt
.
firstUserId
userId
:
this
.
currentEidt
.
firstUserId
,
}
}
// let apiType = {
// let apiType = {
// add: 'makeLabel',
// add: 'makeLabel',
...
@@ -390,7 +390,7 @@
...
@@ -390,7 +390,7 @@
let
{
externalUserid
,
firstUserId
:
userId
}
=
row
let
{
externalUserid
,
firstUserId
:
userId
}
=
row
this
.
$router
.
push
({
this
.
$router
.
push
({
path
:
'customerDetail'
,
path
:
'customerDetail'
,
query
:
{
externalUserid
,
userId
}
query
:
{
externalUserid
,
userId
},
})
})
},
},
...
@@ -404,7 +404,7 @@
...
@@ -404,7 +404,7 @@
let
data
=
{
let
data
=
{
handoverUserId
:
this
.
currentEidt
.
firstUserId
,
//移交人
handoverUserId
:
this
.
currentEidt
.
firstUserId
,
//移交人
takeoverUserId
:
this
.
extendStaff
,
//接受人
takeoverUserId
:
this
.
extendStaff
,
//接受人
externalUserid
:
this
.
currentEidt
.
externalUserid
//客户id,多个客户使用逗号隔开
externalUserid
:
this
.
currentEidt
.
externalUserid
,
//客户id,多个客户使用逗号隔开
}
}
api
.
jobExtends
(
data
).
then
((
res
)
=>
{
api
.
jobExtends
(
data
).
then
((
res
)
=>
{
this
.
msgSuccess
(
'操作成功'
)
this
.
msgSuccess
(
'操作成功'
)
...
@@ -415,9 +415,9 @@
...
@@ -415,9 +415,9 @@
setData
(
data
)
{
setData
(
data
)
{
this
.
queryTag
=
[]
this
.
queryTag
=
[]
this
.
query
.
tagIds
=
''
this
.
query
.
tagIds
=
''
}
},
}
},
}
}
</
script
>
</
script
>
<
template
>
<
template
>
...
@@ -445,8 +445,7 @@
...
@@ -445,8 +445,7 @@
v-for=
"(item, index) in stageList"
v-for=
"(item, index) in stageList"
:key=
"index"
:key=
"index"
:label=
"item.stageKey"
:label=
"item.stageKey"
:value=
"item.stageVal"
:value=
"item.stageVal"
></el-option>
></el-option>
</el-select>
</el-select>
</el-form-item>
</el-form-item>
<el-form-item
label=
"添加方式"
prop=
"addMethod"
>
<el-form-item
label=
"添加方式"
prop=
"addMethod"
>
...
@@ -463,8 +462,7 @@
...
@@ -463,8 +462,7 @@
range-separator=
"至"
range-separator=
"至"
start-placeholder=
"开始日期"
start-placeholder=
"开始日期"
end-placeholder=
"结束日期"
end-placeholder=
"结束日期"
align=
"right"
align=
"right"
></el-date-picker>
></el-date-picker>
</el-form-item>
</el-form-item>
<el-form-item
label=
"客户标签"
prop=
"customerType"
>
<el-form-item
label=
"客户标签"
prop=
"customerType"
>
<div
class=
"tag-input"
@
click=
"showTagDialog"
>
<div
class=
"tag-input"
@
click=
"showTagDialog"
>
...
@@ -496,12 +494,12 @@
...
@@ -496,12 +494,12 @@
<div
class=
"g-card-title mid-action"
>
<div
class=
"g-card-title mid-action"
>
<div>
<div>
共
共
<span
class=
"
fc
"
>
{{ noRepeatCustomerTotal }}
</span>
<span
class=
"
g-color
"
>
{{ noRepeatCustomerTotal }}
</span>
位客户(去重)
位客户(去重)
</div>
</div>
<!-- 共
<!-- 共
<span class="
fc
">{{ total }}</span> 位客户,实际客户
<span class="
g-color
">{{ total }}</span> 位客户,实际客户
<span class="
fc
">{{ total }}</span> 位。 -->
<span class="
g-color
">{{ total }}</span> 位。 -->
<div>
<div>
<span
class=
"desc"
>
最近同步:{{ lastSyncTime }}
</span>
<span
class=
"desc"
>
最近同步:{{ lastSyncTime }}
</span>
<ButtonSync
:lastSyncTime=
"lastSyncTime"
@
click=
"sync"
>
同步客户
</ButtonSync>
<ButtonSync
:lastSyncTime=
"lastSyncTime"
@
click=
"sync"
>
同步客户
</ButtonSync>
...
@@ -520,8 +518,7 @@
...
@@ -520,8 +518,7 @@
:data=
"list"
:data=
"list"
tooltip-effect=
"dark"
tooltip-effect=
"dark"
highlight-current-row
highlight-current-row
@
selection-change=
"handleSelectionChange"
@
selection-change=
"handleSelectionChange"
>
>
<!-- -->
<!-- -->
<el-table-column
type=
"selection"
align=
"center"
width=
"55"
></el-table-column>
<el-table-column
type=
"selection"
align=
"center"
width=
"55"
></el-table-column>
<el-table-column
label=
"客户"
prop=
"customerName"
header-align=
"center"
align=
""
width=
"180"
>
<el-table-column
label=
"客户"
prop=
"customerName"
header-align=
"center"
align=
""
width=
"180"
>
...
@@ -581,8 +578,7 @@
...
@@ -581,8 +578,7 @@
@click="
@click="
dialogVisibleExtend
=
true
dialogVisibleExtend
=
true
currentEidt
=
row
currentEidt
=
row
"
">
>
在职继承
在职继承
</el-button>
</el-button>
</template>
</template>
...
@@ -594,8 +590,7 @@
...
@@ -594,8 +590,7 @@
:total="
total
"
:total="
total
"
:page.sync="
query
.
pageNum
"
:page.sync="
query
.
pageNum
"
:limit.sync="
query
.
pageSize
"
:limit.sync="
query
.
pageSize
"
@pagination="
getList
()
"
@pagination="
getList
()
" />
/>
</div>
</div>
<!-- 选择标签弹窗 -->
<!-- 选择标签弹窗 -->
...
@@ -604,8 +599,7 @@
...
@@ -604,8 +599,7 @@
:visible.sync="
dialogVisible
"
:visible.sync="
dialogVisible
"
:title="
tagDialogType
.
title
"
:title="
tagDialogType
.
title
"
:defaultValues="
selectedTag
"
:defaultValues="
selectedTag
"
@success="
submitSelectTag
"
@success="
submitSelectTag
">
>
<!-- <el-button class="
ml20
" type="
primary
" @click="
dialogVisibleAddTag
=
true
"
<!-- <el-button class="
ml20
" type="
primary
" @click="
dialogVisibleAddTag
=
true
"
>添加标签</el-button
>添加标签</el-button
> -->
> -->
...
@@ -632,27 +626,25 @@
...
@@ -632,27 +626,25 @@
:selected="
mulSelectedTag
"
:selected="
mulSelectedTag
"
:visible.sync="
multiObj
.
showDialog
"
:visible.sync="
multiObj
.
showDialog
"
:title="
multiObj
.
title
"
:title="
multiObj
.
title
"
@success="
getMultiOperation
"
@success="
getMultiOperation
"></SelectTag>
></SelectTag>
<DeleteTag
<DeleteTag
v-if="
deleteDialog
"
v-if="
deleteDialog
"
ref="
deleteTag
"
ref="
deleteTag
"
:visible.sync="
deleteDialog
"
:visible.sync="
deleteDialog
"
:initList="
deleteData
"
:initList="
deleteData
"
:selected="
deleteData
"
:selected="
deleteData
"
@success="
getDeleteData
"
@success="
getDeleteData
"></DeleteTag>
></DeleteTag>
</div>
</div>
</template>
</template>
<style lang="
scss
"
scoped
>
<style lang="
scss
"
scoped
>
.
avatar
{
.
avatar
{
width
:
56
px
;
width
:
56
px
;
height
:
56
px
;
height
:
56
px
;
flex
:
none
;
flex
:
none
;
border
-
radius
:
var
(
--
border
-
radius
-
big
);
border
-
radius
:
var
(
--
border
-
radius
-
big
);
}
}
.
el
-
icon
-
s
-
custom
{
.
el
-
icon
-
s
-
custom
{
font
-
size
:
16
px
;
font
-
size
:
16
px
;
// margin-left: 4px;
// margin-left: 4px;
color
:
#
999
;
color
:
#
999
;
...
@@ -662,13 +654,13 @@
...
@@ -662,13 +654,13 @@
&
.
woman
{
&
.
woman
{
color
:
#
f753b2
;
color
:
#
f753b2
;
}
}
}
}
.
bfc
-
d
+
.
bfc
-
d
.
el
-
checkbox
:
first
-
child
{
.
bfc
-
d
+
.
bfc
-
d
.
el
-
checkbox
:
first
-
child
{
margin
-
left
:
10
px
;
margin
-
left
:
10
px
;
}
}
<
/style
>
<
/style
>
<
style
>
<
style
>
.
mzindex
{
.
mzindex
{
z
-
index
:
5000
!
important
;
z
-
index
:
5000
!
important
;
}
}
<
/style
>
<
/style
>
linkwe-pc/src/views/customerManage/customer/infoTab.vue
View file @
724ae53
...
@@ -223,7 +223,7 @@
...
@@ -223,7 +223,7 @@
>
>
<!-- 汇总的场景显示名字 -->
<!-- 汇总的场景显示名字 -->
<template
v-if=
"!userId"
>
<template
v-if=
"!userId"
>
<div
class=
"name oe
bg
lg"
>
{{
item
.
userName
}}
</div>
<div
class=
"name oe
.g-bg-
lg"
>
{{
item
.
userName
}}
</div>
</
template
>
</
template
>
<
template
v-if=
"item.tagNames"
>
<
template
v-if=
"item.tagNames"
>
<el-tag
v-for=
"(unit, unique) in item.tagNames.split(',')"
:key=
"unique"
>
{{
unit
}}
</el-tag>
<el-tag
v-for=
"(unit, unique) in item.tagNames.split(',')"
:key=
"unique"
>
{{
unit
}}
</el-tag>
...
@@ -240,7 +240,7 @@
...
@@ -240,7 +240,7 @@
<div
v-for=
"(item, index) of portrayalSum.personTags"
:key=
"index"
:class=
"['flex aic', index && 'mt20']"
>
<div
v-for=
"(item, index) of portrayalSum.personTags"
:key=
"index"
:class=
"['flex aic', index && 'mt20']"
>
<!-- 汇总的场景显示名字 -->
<!-- 汇总的场景显示名字 -->
<template
v-if=
"!userId"
>
<template
v-if=
"!userId"
>
<div
class=
"name oe
bg
lg"
>
{{
item
.
userName
}}
</div>
<div
class=
"name oe
.g-bg-
lg"
>
{{
item
.
userName
}}
</div>
</
template
>
</
template
>
<
template
v-if=
"item.tagNames"
>
<
template
v-if=
"item.tagNames"
>
<el-tag
v-for=
"(unit, unique) in item.tagNames.split(',')"
:key=
"unique"
>
{{
unit
}}
</el-tag>
<el-tag
v-for=
"(unit, unique) in item.tagNames.split(',')"
:key=
"unique"
>
{{
unit
}}
</el-tag>
...
@@ -347,7 +347,7 @@
...
@@ -347,7 +347,7 @@
<div
v-for=
"(item, index) of trackUsers"
:key=
"index"
:class=
"['flex aic', index && 'mt20']"
>
<div
v-for=
"(item, index) of trackUsers"
:key=
"index"
:class=
"['flex aic', index && 'mt20']"
>
<!-- 汇总的场景显示名字 -->
<!-- 汇总的场景显示名字 -->
<template
v-if=
"!userId"
>
<template
v-if=
"!userId"
>
<div
class=
"name oe
bg
lg"
>
{{
item
.
userName
}}
</div>
<div
class=
"name oe
.g-bg-
lg"
>
{{
item
.
userName
}}
</div>
</
template
>
</
template
>
<
template
v-if=
"item.trackState === 1"
>
<
template
v-if=
"item.trackState === 1"
>
<el-steps
style=
"flex: auto;"
:active=
"1"
>
<el-steps
style=
"flex: auto;"
:active=
"1"
>
...
...
linkwe-pc/src/views/customerManage/group.vue
View file @
724ae53
...
@@ -218,7 +218,7 @@ export default {
...
@@ -218,7 +218,7 @@ export default {
<div
class=
"g-card-title mid-action"
>
<div
class=
"g-card-title mid-action"
>
<div
class=
""
>
<div
class=
""
>
共
共
<span
class=
"
fc
"
style=
"color: var(--color)"
>
{{ total }}
</span>
<span
class=
"
g-color
"
style=
"color: var(--color)"
>
{{ total }}
</span>
个客户群
个客户群
</div>
</div>
<div>
<div>
...
...
linkwe-pc/src/views/enterpriseManage/contacts/organization.vue
View file @
724ae53
...
@@ -28,7 +28,7 @@
...
@@ -28,7 +28,7 @@
<!-- default-expand-all -->
<!-- default-expand-all -->
<div
class=
"title mb20"
>
<div
class=
"title mb20"
>
<div
class=
"title-name"
>
组织列表
</div>
<div
class=
"title-name"
>
组织列表
</div>
<span
@
click=
"syncOrganization"
class=
"
fc
cp"
>
<span
@
click=
"syncOrganization"
class=
"
g-color
cp"
>
同步
同步
<i
class=
"el-icon-refresh"
></i>
<i
class=
"el-icon-refresh"
></i>
</span>
</span>
...
...
linkwe-pc/src/views/groupMessage/add.vue
View file @
724ae53
...
@@ -142,7 +142,7 @@
...
@@ -142,7 +142,7 @@
</el-form-item>
</el-form-item>
</el-form>
</el-form>
</div>
</div>
<div
v-if=
"currentActive === 2"
>
<div
class=
"g-margin-t"
v-if=
"currentActive === 2"
>
<!-- <welcome-detail
<!-- <welcome-detail
v-loading="loading"
v-loading="loading"
showBack
showBack
...
...
linkwe-pc/src/views/groupMessage/record.vue
View file @
724ae53
...
@@ -2,25 +2,20 @@
...
@@ -2,25 +2,20 @@
<div>
<div>
<el-form
:model=
"query"
ref=
"queryForm"
:inline=
"true"
label-position=
"left"
class=
"top-search"
label-width=
"70px"
>
<el-form
:model=
"query"
ref=
"queryForm"
:inline=
"true"
label-position=
"left"
class=
"top-search"
label-width=
"70px"
>
<el-form-item
label=
"群发内容"
prop=
"content"
>
<el-form-item
label=
"群发内容"
prop=
"content"
>
<el-input
<el-input
v-model=
"query.content"
placeholder=
"请输入群发内容"
clearable
@
keyup
.
enter
.
native=
"getList(1)"
/>
size=
"mini"
v-model=
"query.content"
placeholder=
"请输入群发内容"
clearable
@
keyup
.
enter
.
native=
"getList(1)"
/>
</el-form-item>
</el-form-item>
<el-form-item
label=
"群发类型"
prop=
"chatType"
>
<el-form-item
label=
"群发类型"
prop=
"chatType"
>
<el-select
v-model=
"query.chatType"
placeholder=
"请选择群发类型"
size=
"mini"
>
<el-select
v-model=
"query.chatType"
placeholder=
"请选择群发类型"
>
<el-option
v-for=
"(value, key, index) in pushType"
:label=
"value"
:value=
"key"
:key=
"index"
></el-option>
<el-option
v-for=
"(value, key, index) in pushType"
:label=
"value"
:value=
"key"
:key=
"index"
></el-option>
</el-select>
</el-select>
</el-form-item>
</el-form-item>
<el-form-item
label=
"发送类型"
prop=
"isTask"
>
<el-form-item
label=
"发送类型"
prop=
"isTask"
>
<el-select
v-model=
"query.isTask"
placeholder=
"请选择发送类型"
size=
"mini"
>
<el-select
v-model=
"query.isTask"
placeholder=
"请选择发送类型"
>
<el-option
v-for=
"(value, key, index) in timedTask"
:label=
"value"
:value=
"key"
:key=
"index"
></el-option>
<el-option
v-for=
"(value, key, index) in timedTask"
:label=
"value"
:value=
"key"
:key=
"index"
></el-option>
</el-select>
</el-select>
</el-form-item>
</el-form-item>
<el-form-item
label-width=
"0"
>
<el-form-item
label-width=
"0"
>
<el-button
type=
"primary"
size=
"mini"
@
click=
"getList(1)"
>
查询
</el-button>
<el-button
type=
"primary"
@
click=
"getList(1)"
>
查询
</el-button>
<el-button
@
click=
"resetQuery"
>
重置
</el-button>
<el-button
@
click=
"resetQuery"
>
重置
</el-button>
</el-form-item>
</el-form-item>
</el-form>
</el-form>
...
@@ -46,22 +41,18 @@
...
@@ -46,22 +41,18 @@
<el-table-column
label=
"操作"
align=
"center"
width=
"180"
>
<el-table-column
label=
"操作"
align=
"center"
width=
"180"
>
<
template
slot-scope=
"scope"
>
<
template
slot-scope=
"scope"
>
<!-- v-hasPermi="['enterpriseWechat:view']" -->
<!-- v-hasPermi="['enterpriseWechat:view']" -->
<el-button
<el-button
type=
"text"
@
click=
"goRoute(scope.row.id, scope.row.isTask, scope.row.status, 'detail')"
>
size=
"mini"
type=
"text"
@
click=
"goRoute(scope.row.id, scope.row.isTask, scope.row.status, 'detail')"
>
详情
详情
</el-button>
</el-button>
<el-button
<el-button
size=
"mini"
v-if=
"scope.row.isTask === 1 && scope.row.status === 0"
v-if=
"scope.row.isTask === 1 && scope.row.status === 0"
type=
"text"
type=
"text"
@
click=
"cancelSend(scope.row)"
>
@
click=
"cancelSend(scope.row)"
>
取消发送
取消发送
</el-button>
</el-button>
<!--
<el-button
v-hasPermi=
"['enterpriseWechat:edit']"
size=
"mini"
type=
"text"
disabled=
""
<!--
<el-button
v-hasPermi=
"['enterpriseWechat:edit']"
type=
"text"
disabled=
""
@
click=
"goRoute(scope.row, 1)"
>
编辑
</el-button>
@
click=
"goRoute(scope.row, 1)"
>
编辑
</el-button>
<el-button
v-hasPermi=
"['enterpriseWechat:edit']"
size=
"mini"
type=
"text"
<el-button
v-hasPermi=
"['enterpriseWechat:edit']"
type=
"text"
@
click=
"syncMsg(scope.row)"
>
同步
</el-button>
-->
@
click=
"syncMsg(scope.row)"
>
同步
</el-button>
-->
</
template
>
</
template
>
</el-table-column>
</el-table-column>
...
...
linkwe-pc/src/views/index/index.vue
View file @
724ae53
...
@@ -11,7 +11,7 @@
...
@@ -11,7 +11,7 @@
<span>
{{
greetings
}}
,
</span>
<span>
{{
greetings
}}
,
</span>
<span>
{{
$store
.
state
.
user
.
name
}}
</span>
<span>
{{
$store
.
state
.
user
.
name
}}
</span>
</div>
</div>
<div
class=
"role toe
bglg"
>
{{
roleGroup
}}
管理员
</div>
<div
class=
"role toe
.g-bg-lg"
>
{{
roleGroup
||
'管理员'
}}
</div>
</div>
</div>
<div
class=
"g-card data-view"
>
<div
class=
"g-card data-view"
>
...
...
linkwe-pc/src/views/login.vue
View file @
724ae53
...
@@ -21,7 +21,7 @@
...
@@ -21,7 +21,7 @@
</el-input>
</el-input>
</el-form-item>
</el-form-item>
<el-form-item
prop=
"code"
>
<el-form-item
prop=
"code"
>
<div
style=
"display: flex
"
>
<div
class=
"fxbw
"
>
<el-input
<el-input
v-model=
"loginForm.code"
v-model=
"loginForm.code"
auto-complete=
"off"
auto-complete=
"off"
...
@@ -29,20 +29,14 @@
...
@@ -29,20 +29,14 @@
@
keyup
.
enter
.
native=
"handleLogin"
>
@
keyup
.
enter
.
native=
"handleLogin"
>
<svg-icon
slot=
"prefix"
icon-class=
"validCode"
style=
"height: 33px"
class=
"el-input__icon input-icon"
/>
<svg-icon
slot=
"prefix"
icon-class=
"validCode"
style=
"height: 33px"
class=
"el-input__icon input-icon"
/>
</el-input>
</el-input>
<div
class=
"login-code"
style=
"margin-left: 10px"
>
<img
class=
"login-code-img ml10"
:src=
"codeUrl"
@
click=
"getCode"
/>
<img
:src=
"codeUrl"
@
click=
"getCode"
class=
"login-code-img"
/>
</div>
</div>
</div>
</el-form-item>
</el-form-item>
<el-checkbox
class=
"fr"
v-model=
"loginForm.rememberMe"
>
记住密码
</el-checkbox>
<el-checkbox
class=
"g-margin-b"
v-model=
"isDemonstrationLogin"
@
change=
"changeDemonAccount"
>
<el-checkbox
class=
"fl"
v-model=
"isDemonstrationLogin"
@
change=
"changeDemonAccount"
style=
"margin: 0px 0px 25px 10px"
>
演示账号登录
演示账号登录
</el-checkbox>
</el-checkbox>
<el-form-item
style=
"width: 100%"
>
<el-checkbox
class=
"fr"
v-model=
"loginForm.rememberMe"
>
记住密码
</el-checkbox>
<el-form-item>
<el-button
<el-button
:loading=
"loading"
:loading=
"loading"
size=
"medium"
size=
"medium"
...
@@ -52,8 +46,8 @@
...
@@ -52,8 +46,8 @@
<span
v-if=
"!loading"
>
登 录
</span>
<span
v-if=
"!loading"
>
登 录
</span>
<span
v-else
>
登 录 中...
</span>
<span
v-else
>
登 录 中...
</span>
</el-button>
</el-button>
<div
class=
"link"
@
click=
"changeLoginType('url')"
>
企微登录
</div>
</el-form-item>
</el-form-item>
<div
class=
"link"
@
click=
"changeLoginType('url')"
>
企微登录
</div>
</
template
>
</
template
>
<div
v-else
class=
"ac"
>
<div
v-else
class=
"ac"
>
<img
class=
"wechat-code"
:src=
"wechatCodeUrl"
alt=
""
/>
<img
class=
"wechat-code"
:src=
"wechatCodeUrl"
alt=
""
/>
...
@@ -62,16 +56,13 @@
...
@@ -62,16 +56,13 @@
<a
:href=
"authLink"
>
<a
:href=
"authLink"
>
<el-button
:loading=
"loading"
size=
"medium"
type=
"primary"
style=
"width: 100%"
>
企业微信登录
</el-button>
<el-button
:loading=
"loading"
size=
"medium"
type=
"primary"
style=
"width: 100%"
>
企业微信登录
</el-button>
<!-- <img
<!-- <img
src="//wwcdn.weixin.qq.com/node/wwopen/wwopenmng/style/images/independent/brand/300x40_white$4dab5411.png"
src="//wwcdn.weixin.qq.com/node/wwopen/wwopenmng/style/images/independent/brand/300x40_white$4dab5411.png" /> -->
/> -->
</a>
</a>
<div
class=
"link"
@
click=
"changeLoginType('account')"
>
账号密码登录
</div>
<div
class=
"link"
@
click=
"changeLoginType('account')"
>
账号密码登录
</div>
</div>
</div>
</el-form>
</el-form>
<div>
<img
src=
"@/assets/login.png"
class=
"login-img"
alt=
""
/>
<img
src=
"@/assets/login.png"
class=
"login-img"
alt=
""
/>
</div>
</div>
</div>
</template>
</template>
<
script
>
<
script
>
...
@@ -198,11 +189,11 @@ export default {
...
@@ -198,11 +189,11 @@ export default {
<
style
rel=
"stylesheet/scss"
lang=
"scss"
scoped
>
<
style
rel=
"stylesheet/scss"
lang=
"scss"
scoped
>
.login
{
.login
{
position
:
relative
;
width
:
min
(
80%
,
1234px
)
;
max-width
:
1234px
;
height
:
min
(
80%
,
878px
)
;
m
ax-height
:
878
px
;
m
in-height
:
700
px
;
background
:
#ffffff
;
background
:
#ffffff
;
border-radius
:
56px
56px
56px
56px
;
border-radius
:
56px
;
.logo
{
.logo
{
position
:
absolute
;
position
:
absolute
;
height
:
58px
;
height
:
58px
;
...
@@ -224,13 +215,13 @@ export default {
...
@@ -224,13 +215,13 @@ export default {
.login-form
{
.login-form
{
width
:
50%
;
width
:
50%
;
padding
:
0
calc
((
50%
-
360px
)
/
2
);
padding
:
0
calc
((
50%
-
360px
)
/
2
);
.el-input
{
//
.el-input
{
height
:
38px
;
//
height
:
38px
;
line-height
:
38px
;
//
line-height
:
38px
;
input
{
//
input
{
height
:
38px
;
//
height
:
38px
;
}
//
}
}
//
}
.desc
{
.desc
{
text-align
:
center
;
text-align
:
center
;
color
:
#aaa
;
color
:
#aaa
;
...
@@ -243,19 +234,16 @@ export default {
...
@@ -243,19 +234,16 @@ export default {
margin-left
:
2px
;
margin-left
:
2px
;
}
}
}
}
.login-code
{
.login-code-img
{
.login-code-img
{
height
:
32px
;
height
:
32px
;
cursor
:
pointer
;
cursor
:
pointer
;
vertical-align
:
middle
;
vertical-align
:
middle
;
}
}
}
.link
{
.link
{
color
:
var
(
--color
);
color
:
var
(
--color
);
font-size
:
14px
;
font-size
:
14px
;
//
padding-left
:
25px
;
margin-top
:
var
(
--card-margin
);
margin-top
:
20px
;
text-align
:
left
;
text-align
:
left
;
cursor
:
pointer
;
cursor
:
pointer
;
}
}
...
@@ -270,6 +258,6 @@ export default {
...
@@ -270,6 +258,6 @@ export default {
}
}
.login-img
{
.login-img
{
padding
:
20px
;
padding
:
20px
;
width
:
100%
;
height
:
100%
;
}
}
</
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