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
0f206077
Commit
0f206077
authored
Dec 11, 2020
by
zhangyanni
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
已添加=> 等待通过
parent
e3dc87a7
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
5 deletions
+5
-5
mineFollowCmpt.vue
src/components/mobile/mineFollowCmpt.vue
+3
-3
mineOrOther.vue
src/views/mobile/mineOrOther.vue
+2
-2
No files found.
src/components/mobile/mineFollowCmpt.vue
View file @
0f206077
...
...
@@ -587,11 +587,11 @@
if
(
this
.
circleType
==
13
||
this
.
circleType
==
7
||
this
.
circleType
==
11
||
this
.
circleType
==
5
)
{
if
(
data
.
relationType
==
1
||
data
.
relationType
==
2
||
data
.
relationType
==
3
)
{
//@ApiModelProperty(value ="添加联系人状态 0未添加 1
已添加
2已同意")
//@ApiModelProperty(value ="添加联系人状态 0未添加 1
等待通过
2已同意")
// private Byte isFriend;
if
(
data
.
isFriend
==
0
)
return
"+联系人"
;
else
if
(
data
.
isFriend
==
1
)
return
"
已添加
"
;
else
if
(
data
.
isFriend
==
1
)
return
"
等待通过
"
;
else
{
//(this.circleType==5||this.circleType==11)&&!this.circleList
if
(
!
this
.
circleList
)
return
"电子名片"
;
...
...
@@ -624,7 +624,7 @@
if
(
e
&&
e
.
target
.
innerText
==
"已关注"
)
{
this
.
cancelFollowEmpIdFunc
(
data
,
index
);
}
if
(
e
&&
e
.
target
.
innerText
==
"+联系人"
||
e
&&
e
.
target
.
innerText
==
"
已添加
"
||
e
&&
e
.
target
.
innerText
==
"互为联系人"
)
{
if
(
e
&&
e
.
target
.
innerText
==
"+联系人"
||
e
&&
e
.
target
.
innerText
==
"
等待通过
"
||
e
&&
e
.
target
.
innerText
==
"互为联系人"
)
{
this
.
addFriendEmpIdFunc
(
data
,
index
);
}
if
(
e
&&
e
.
target
.
innerText
==
"电子名片"
)
{
...
...
src/views/mobile/mineOrOther.vue
View file @
0f206077
...
...
@@ -367,7 +367,7 @@
<div
class=
"buttonWrapper"
v-if=
"showWhichCmpt==1"
>
<el-button
class=
"contactButton"
:type=
"contactState
<
=
0
?'
danger
'
:contactState=
=1?'default':'primary'"
:plain=
"contactState>0?true:false"
@
click=
"handleAdd(1)"
>
<span>
{{
contactState
==-
1
?
"+ 联系人"
:
contactState
==
0
?
"+ 联系人"
:
contactState
==
1
?
"
已添加
"
:
"查看电子名片"
}}
</span>
<span>
{{
contactState
==-
1
?
"+ 联系人"
:
contactState
==
0
?
"+ 联系人"
:
contactState
==
1
?
"
等待通过
"
:
"查看电子名片"
}}
</span>
</el-button>
<el-button
@
click=
"handleAdd(2)"
:type=
"concernState==1?'default':'warning'"
:plain=
"concernState==1?true:false"
>
...
...
@@ -634,7 +634,7 @@
documentFront
:
""
,
frontImgUrl
:
""
,
pathfrom
:
""
,
contactState
:
-
1
,
//0未添加 1
已添加
2已同意
contactState
:
-
1
,
//0未添加 1
等待通过
2已同意
concernState
:
-
1
,
//0未关注 1已关注
integralVisible
:
false
,
completeVisible
:
false
,
...
...
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