Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
T
techbook
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
front-end-dev
techbook
Commits
995834f4
Commit
995834f4
authored
Dec 16, 2020
by
anxixi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
人脉圈
parent
4ba8de0c
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
15 additions
and
3 deletions
+15
-3
networkSearch.vue
src/views/netWorkpage/networkSearch.vue
+7
-3
btnbar.vue
src/views/peoplehomepage/btnbar.vue
+8
-0
No files found.
src/views/netWorkpage/networkSearch.vue
View file @
995834f4
...
...
@@ -35,7 +35,7 @@
</div>
<div
v-if=
"item.empId != userInfo.empId"
>
<popoverBardbar
v-if=
"item.isFriend == 2"
:row=
"item"
></popoverBardbar>
<btnbar
v-else
@
successState=
"successState"
:row=
"item"
:index=
"index"
></btnbar>
<btnbar
v-else
@
loginState=
"loginState"
@
successState=
"successState"
:row=
"item"
:index=
"index"
></btnbar>
</div>
</li>
</ul>
...
...
@@ -73,7 +73,7 @@
networkringlist
:[],
loading
:
false
,
iscontent
:
false
,
userInfo
:
this
.
publicFun
.
getUserInfoCookieType
()?
JSON
.
parse
(
this
.
Base64
.
decode
(
this
.
publicFun
.
getUserInfoCookieType
())):
null
,
userInfo
:
this
.
publicFun
.
getUserInfoCookieType
()?
JSON
.
parse
(
this
.
Base64
.
decode
(
this
.
publicFun
.
getUserInfoCookieType
())):
{}
,
}
},
computed
:
{
...
...
@@ -88,7 +88,7 @@
methods
:{
//登陆成功
successlogin
(){
this
.
userInfo
=
this
.
publicFun
.
getUserInfoCookieType
()
?
JSON
.
parse
(
this
.
Base64
.
decode
(
this
.
publicFun
.
getUserInfoCookieType
()))
:
null
;
this
.
userInfo
=
this
.
publicFun
.
getUserInfoCookieType
()
?
JSON
.
parse
(
this
.
Base64
.
decode
(
this
.
publicFun
.
getUserInfoCookieType
()))
:
{}
;
this
.
cur_page
=
1
;
this
.
getuserSearch
();
},
...
...
@@ -142,6 +142,10 @@
this
.
getuserSearch
();
}
},
//调取快捷登录
loginState
(){
this
.
$refs
.
login
.
isexpertVisible
();
},
//去主页
tohome
(
row
){
if
(
!
this
.
publicFun
.
getUserInfoCookieType
()){
...
...
src/views/peoplehomepage/btnbar.vue
View file @
995834f4
...
...
@@ -37,6 +37,10 @@
this
.
followed
=
'已关注'
;
},
isEmpContact
(){
if
(
!
this
.
publicFun
.
getUserInfoCookieType
()){
this
.
$emit
(
'loginState'
);
return
}
if
(
this
.
row
.
isFollowed
==
0
){
this
.
addEmpConcern
();
}
else
{
...
...
@@ -111,6 +115,10 @@
},
//+联系人
addEmpContact
(
row
){
if
(
!
this
.
publicFun
.
getUserInfoCookieType
()){
this
.
$emit
(
'loginState'
);
return
}
if
(
row
.
isFriend
==
0
||
row
.
isFriend
==
1
){
let
params
=
{
otherEmpId
:
this
.
row
.
empId
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
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 comment