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
7905c1fa
Commit
7905c1fa
authored
Sep 07, 2021
by
hanfeng zhang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
321
parent
e5e94480
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
base.ts
src/service/base.ts
+1
-1
team-detail.vue
src/views/team/team-detail.vue
+1
-1
No files found.
src/service/base.ts
View file @
7905c1fa
...
...
@@ -38,7 +38,7 @@ export default class BaseService {
let
token
;
let
headerItems
:{[
key
:
string
]:
string
|
number
}
=
{}
if
(
!
routerConfig
.
method
)
routerConfig
.
method
=
'post'
if
(
routerConfig
.
crediential
)
token
=
'MOCK'
if
(
routerConfig
.
crediential
)
token
=
process
.
env
.
NODE_ENV
!==
'production'
?
signAuth
():
"MOCK"
switch
(
routerConfig
.
method
){
case
'post'
:
routerConfig
.
crediential
&&
Object
.
assign
(
headerItems
,{
'FZM-SIGNATURE'
:
token
})
...
...
src/views/team/team-detail.vue
View file @
7905c1fa
...
...
@@ -154,7 +154,7 @@ export default Vue.extend({
console
.
log
(
'添加部门'
)
},
clickMember
(
member
:
Member
)
{
openCompanyUserInfo
(
JSON
.
stringify
(
member
))
openCompanyUserInfo
(
JSON
.
stringify
(
member
.
id
))
// this.$router.push(`/team/team-member/${member.id}`)
},
setDepartment
()
{
...
...
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