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
5abe820c
Commit
5abe820c
authored
Dec 22, 2020
by
zhangyanni
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/master'
parents
11b5ba97
36d1851c
Hide whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
32 additions
and
14 deletions
+32
-14
en.js
src/common/lang/en.js
+1
-1
zh.js
src/common/lang/zh.js
+1
-0
networkring.vue
src/views/netWorkpage/networkring.vue
+1
-1
contactbar.vue
src/views/peoplehomepage/contactbar.vue
+3
-1
editInfo.vue
src/views/peoplehomepage/editInfo.vue
+1
-1
peoplehome.vue
src/views/peoplehomepage/peoplehome.vue
+5
-3
popoverBardbar.vue
src/views/peoplehomepage/popoverBardbar.vue
+12
-2
tabAttentionbar.vue
src/views/peoplehomepage/tabAttentionbar.vue
+4
-1
tabNewsbar.vue
src/views/peoplehomepage/tabNewsbar.vue
+1
-1
userContactbar.vue
src/views/peoplehomepage/userContactbar.vue
+3
-3
No files found.
src/common/lang/en.js
View file @
5abe820c
...
...
@@ -2204,7 +2204,7 @@ module.exports = {
Events
:
'Events'
,
nodata
:
'No Data'
,
Password
:
'Password'
,
Savedsuccessfully
:
'Saved Successfully'
,
}
...
...
src/common/lang/zh.js
View file @
5abe820c
...
...
@@ -2300,6 +2300,7 @@ module.exports = {
Events
:
'个活动'
,
nodata
:
'暂无数据'
,
Password
:
'密码'
,
Savedsuccessfully
:
'保存成功'
,
}
...
...
src/views/netWorkpage/networkring.vue
View file @
5abe820c
...
...
@@ -20,7 +20,7 @@
</span>
<p
class=
"hover_cursor"
@
click=
"tohome(item)"
>
{{
item
.
empName
}}
</p>
<p
class=
"ellipsisFont1"
v-if=
"item.isProfessor == 1||item.isModerator == 1"
>
{{
item
.
empTitle
}}
</p>
<p
class=
"ellipsisFont1"
v-else
>
{{
item
.
workName
?
item
.
workName
:
item
.
empIntroduction
}}
</p>
<p
class=
"ellipsisFont1"
v-else
>
{{
item
.
workName
?
item
.
workName
:
''
}}
</p>
<p
class=
"ellipsisFont1"
v-if=
"item.isProfessor == 1||item.isModerator == 1"
>
{{
item
.
empIntroduction
}}
</p>
<p
class=
"ellipsisFont1"
v-else
>
{{
item
.
orgName
?
item
.
orgName
:
item
.
empIntroduction
}}
</p>
<p>
...
...
src/views/peoplehomepage/contactbar.vue
View file @
5abe820c
...
...
@@ -18,7 +18,9 @@
<div
class=
"gendisplay"
>
<p
@
click=
"tohome(item)"
>
<i
class=
"hover_cursor"
>
{{
item
.
empName
}}
</i>
<i
style=
"font-size: 12px;padding-left:10px;font-weight: normal;"
>
{{
item
.
workName
}}
</i>
<i
style=
"font-size: 12px;padding-left:10px;font-weight: normal;"
>
{{
item
.
isProfessor
==
1
||
item
.
isModerator
==
1
?
item
.
empTitle
:
item
.
workName
}}
</i>
</p>
<btnbar
@
successState=
"successState"
:row=
"item"
:index=
"index"
:btnType=
"1"
></btnbar>
</div>
...
...
src/views/peoplehomepage/editInfo.vue
View file @
5abe820c
...
...
@@ -652,7 +652,7 @@
this
.
formData
.
empId
=
this
.
empInfo
.
empId
;
api
.
improveInformation
(
this
.
formData
).
then
(
response
=>
{
if
(
response
.
code
==
0
)
{
this
.
$message
.
success
(
'保存成功'
);
this
.
$message
.
success
(
this
.
$t
(
'mineInfo.Savedsuccessfully'
)
);
}
else
{
this
.
$message
.
error
(
response
.
msg
);
}
...
...
src/views/peoplehomepage/peoplehome.vue
View file @
5abe820c
...
...
@@ -81,10 +81,11 @@
></span>
</p>
</div>
<div
v-if=
"$route.query.id&&$route.query.id!=userInfo.empId"
class=
"btn_topic"
>
<div
v-if=
"$route.query.id&&$route.query.id!=userInfo.empId"
class=
"btn_topic
gendisplay
"
>
<span
@
click=
"addEmpContact"
v-if=
"empRelationstate.contactState == 0"
>
交换名片
</span>
<span
@
click=
"addEmpContact"
style=
"background: #AAAAAA;box-shadow:none;"
v-if=
"empRelationstate.contactState == 1"
>
等待通过
</span>
<span
style=
"background: #AAAAAA;box-shadow:none;"
v-if=
"empRelationstate.contactState == 2"
>
互为联系人
</span>
<!--
<span
style=
"background: #AAAAAA;box-shadow:none;"
v-if=
"empRelationstate.contactState == 2"
>
互为联系人
</span>
-->
<popoverBardbar
style=
"margin-left: 40px;"
v-if=
"empRelationstate.contactState == 2"
:ishome=
"true"
:row=
"userInfoData"
></popoverBardbar>
<span
@
click=
"isEmpContact"
style=
"background: #FF9E29;box-shadow: 0px 3px 10px 1px rgba(255, 158, 41, 0.4);"
v-if=
"empRelationstate.concernState == 0"
>
<i
v-if=
"empRelationstate.concernState == 0"
class=
"iconfont icon-jiahao"
></i>
{{
empRelationstate
.
concernState
==
0
?
'关注'
:
'已关注'
}}
...
...
@@ -224,6 +225,7 @@
import
commonWork
from
"./commonWork"
;
import
commonSchool
from
"./commonSchool"
;
import
VueQRCodeComponent
from
"vue-qrcode-component"
;
import
popoverBardbar
from
"./popoverBardbar"
;
export
default
{
name
:
"peoplehome"
,
data
()
{
...
...
@@ -251,7 +253,7 @@
}
},
components
:{
contactbar
,
introductionbar
,
tabsbar
,
mineMedal
,
followers
,
contactPerson
,
empConcern
,
commonWork
,
commonSchool
,
VueQRCodeComponent
contactbar
,
introductionbar
,
tabsbar
,
mineMedal
,
followers
,
contactPerson
,
empConcern
,
commonWork
,
commonSchool
,
VueQRCodeComponent
,
popoverBardbar
},
methods
:{
cancelBtn
()
{
...
...
src/views/peoplehomepage/popoverBardbar.vue
View file @
5abe820c
...
...
@@ -46,7 +46,7 @@
<span>
{{
empContactData
.
queryValue
}}
</span>
</div>
</div>
<p
slot=
"reference"
@
click=
"empContact(row)"
class=
"bard_btn"
>
<p
slot=
"reference"
@
click=
"empContact(row)"
class=
"bard_btn"
:class=
"ishome?'bard_btnhome':''"
>
查看电子名片
</p>
</el-popover>
...
...
@@ -83,7 +83,7 @@
}
},
components
:{
VueQRCodeComponent
},
props
:[
'row'
],
props
:[
'row'
,
'ishome'
],
methods
:{
cancelBtn
()
{
this
.
$refs
.
popover
.
doClose
();
...
...
@@ -202,6 +202,16 @@
font-size
:
14px
;
font-weight
:
bold
;
}
.bard_btnhome
{
width
:
160px
!
important
;
background
:
#5D78FF
;
color
:
#ffffff
;
font-size
:
16px
!
important
;
height
:
42px
!
important
;
line-height
:
42px
!
important
;
border-radius
:
26px
!
important
;
box-shadow
:
0px
2px
5px
1px
rgba
(
93
,
120
,
255
,
0
.4
);
}
.bard_btn
:hover
{
background
:
#5D78FF
;
color
:
#ffffff
;
...
...
src/views/peoplehomepage/tabAttentionbar.vue
View file @
5abe820c
...
...
@@ -12,7 +12,7 @@
</span>
<div>
<p
class=
"hover_cursor"
@
click=
"tohome(item)"
>
{{
item
.
empName
}}
</p>
<p>
<p
class=
"ellipsisFont1"
>
<span
v-if=
"item.relationType == 0"
></span>
<span
v-if=
"item.relationType == 1"
@
click=
"getCommonContact(item)"
>
有
{{
item
.
relationValue
}}
个共同联系人
</span>
<span
v-if=
"item.relationType == 2"
>
TA 是来自
{{
item
.
relationValue
}}
的校友
</span>
...
...
@@ -186,6 +186,9 @@
>
p
:nth-child
(
2
)
{
font-size
:
12px
;
color
:
#AAAAAA
;
height
:
17px
;
line-height
:
17px
;
overflow
:
hidden
;
}
}
>
p
:last-child
{
...
...
src/views/peoplehomepage/tabNewsbar.vue
View file @
5abe820c
...
...
@@ -30,7 +30,7 @@
</i>
</p>
<div
v-if=
"item.messageType == 1"
>
<p><i
@
click=
"tohome(item)"
>
{{
item
.
empName
}}
</i>
想
添加您为联系人
,
<i
@
click=
"tohome(item)"
>
查看TA的资料
</i></p>
<p><i
@
click=
"tohome(item)"
>
{{
item
.
empName
}}
</i>
想
与您交换名片
,
<i
@
click=
"tohome(item)"
>
查看TA的资料
</i></p>
<p>
{{
item
.
createdTimeStr
}}
</p>
</div>
<div
v-else
class=
"messageType_left"
>
...
...
src/views/peoplehomepage/userContactbar.vue
View file @
5abe820c
...
...
@@ -23,7 +23,7 @@
@
current-change=
"handleCurrentChange"
background
:page-sizes=
"[10, 20, 30, 40, 50]"
:page-size=
"
10
"
:page-size=
"
6
"
:current-page=
"cur_page"
layout=
" total, prev, pager, next"
:total=
"totalListResult"
>
...
...
@@ -56,7 +56,7 @@
// 分页导航
handleCurrentChange
(
val
)
{
this
.
cur_page
=
val
;
this
.
getCommonContact
();
this
.
getCommonContact
(
this
.
rowData
);
},
//共同联系人
getCommonContact
(
row
){
...
...
@@ -68,7 +68,7 @@
totalItemCount
:
0
},
search
:
{
empId
:
this
.
userInfo
.
empId
,
empId
:
this
.
$route
.
query
.
id
?
this
.
$route
.
query
.
id
:
this
.
userInfo
.
empId
,
otherEmpId
:
row
.
empId
,
},
sort
:
{}
...
...
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