Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
O
OKR
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
JIRA
JIRA
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
hanfeng zhang
OKR
Commits
53233522
Commit
53233522
authored
Sep 08, 2021
by
hanfeng zhang
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'main' of gitlab.33.cn:HF_web/OKR
parents
1fe1f557
7478d2e5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
8 additions
and
9 deletions
+8
-9
add-member.vue
src/views/team/add-member.vue
+4
-4
team-contacts.vue
src/views/team/components/team-contacts.vue
+1
-1
confirm-join.vue
src/views/team/join-team/confirm-join.vue
+1
-1
team-detail.vue
src/views/team/team-detail.vue
+1
-1
team-frame.vue
src/views/team/team-frame.vue
+1
-2
No files found.
src/views/team/add-member.vue
View file @
53233522
...
...
@@ -52,7 +52,7 @@
dot
required
title=
"入职时间"
:content=
"formatDate(acceptJoin.joinTime || new Date().getTime(), 'YYYY-MM-DD')"
:content=
"formatDate(acceptJoin.joinTime
*1000
|| new Date().getTime(), 'YYYY-MM-DD')"
@
click=
"show = true"
/>
<van-calendar
...
...
@@ -122,7 +122,7 @@ export default Vue.extend({
depId
:
''
,
entId
:
''
,
hash
:
''
,
joinTime
:
new
Date
().
getTime
(
),
joinTime
:
Math
.
round
(
new
Date
().
getTime
()
/
1000
),
phone
:
''
,
position
:
''
}
...
...
@@ -200,7 +200,7 @@ export default Vue.extend({
},
// 入职日期
selectJoinTime
(
date
:
Date
)
{
this
.
acceptJoin
.
joinTime
=
new
Date
(
date
).
getTime
(
)
this
.
acceptJoin
.
joinTime
=
Math
.
round
(
new
Date
(
date
).
getTime
()
/
1000
)
this
.
show
=
false
this
.
date
=
this
.
formatDate
(
date
)
},
...
...
@@ -215,7 +215,7 @@ export default Vue.extend({
}).
then
(()
=>
{
this
.
acceptJoin
.
entId
=
this
.
entId
this
.
acceptJoin
.
depId
=
this
.
selectedDepId
this
.
acceptJoin
.
expiration
=
this
.
acceptJoin
.
joinTime
+
600000
0
this
.
acceptJoin
.
expiration
=
Math
.
round
(
new
Date
().
getTime
()
/
1000
)
+
24
*
60
*
6
0
this
.
acceptJoin
.
inviterId
=
process
.
env
.
NODE_ENV
===
'production'
?
getPublicKey
():
"1FKxgaEh5fuSm7a35BfUnKYAmradowpiTR"
this
.
acceptJoin
.
oaServer
=
localStorage
.
getItem
(
'ENT_INFO'
)?
JSON
.
parse
(
localStorage
.
getItem
(
'ENT_INFO'
)
as
any
).
oaServer
:
'http://172.16.101.107:20000'
const
{
depId
,
entId
,
expiration
,
inviterId
,
joinTime
,
name
,
oaServer
,
phone
,
position
}
=
this
.
acceptJoin
...
...
src/views/team/components/team-contacts.vue
View file @
53233522
...
...
@@ -13,7 +13,7 @@
{{
nav
}}
</div>
</div>
<template
v-if=
"Object.keys(list).length > 0"
>
<template
v-if=
"Object.keys(list).length > 0
|| leaders.length > 0
"
>
<!-- 主管负责人 -->
<div
class=
"leaders"
v-if=
"leaders.length > 0"
>
<div
...
...
src/views/team/join-team/confirm-join.vue
View file @
53233522
...
...
@@ -121,7 +121,7 @@ export default Vue.extend({
this
.
loading
=
true
const
{
depId
,
entId
,
expiration
,
hash
,
inviterId
,
joinTime
,
name
,
oaServer
,
phone
,
position
}
=
this
.
info
as
AcceptJoinDTO
let
req
=
{
depId
,
entId
,
expiration
:
Math
.
round
(
Number
(
expiration
)
/
1000
)
,
hash
,
inviterId
,
joinTime
:
Math
.
round
(
Number
(
joinTime
)
/
1000
),
name
,
oaServer
,
phone
,
position
depId
,
entId
,
expiration
:
Number
(
expiration
)
,
hash
,
inviterId
,
joinTime
:
Number
(
joinTime
),
name
,
oaServer
,
phone
,
position
}
this
.
$service
.
enterprise
.
acceptJoin
(
req
)
.
then
((
res
:
any
)
=>
{
...
...
src/views/team/team-detail.vue
View file @
53233522
...
...
@@ -103,7 +103,7 @@ export default Vue.extend({
},
computed
:{
getUserInfo
(){
return
getUserInfo
(
)
return
JSON
.
parse
(
getUserInfo
()
)
}
},
created
()
{
...
...
src/views/team/team-frame.vue
View file @
53233522
...
...
@@ -100,8 +100,7 @@ export default Vue.extend({
}
},
mounted
()
{
const
res
=
JSON
.
parse
(
getUserInfo
())
const
res
=
JSON
.
parse
(
getUserInfo
()
||
"{}"
)
this
.
entId
=
process
.
env
.
NODE_ENV
===
'production'
?
res
.
entId
:
'166961152260050944'
localStorage
.
setItem
(
'USR_INFO'
,
JSON
.
stringify
(
getUserInfo
()))
this
.
getEntInfo
()
...
...
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