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
122c4a55
Commit
122c4a55
authored
Sep 07, 2021
by
hanfeng zhang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
321
parent
5193fa4f
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
7 additions
and
5 deletions
+7
-5
main.ts
src/main.ts
+2
-2
Enterprise.ts
src/service/moudles/Enterprise.ts
+1
-1
team-detail.vue
src/views/team/team-detail.vue
+1
-1
team-frame.vue
src/views/team/team-frame.vue
+3
-1
No files found.
src/main.ts
View file @
122c4a55
...
...
@@ -10,7 +10,7 @@ import service from './service'
import
{
global
}
from
'@/const/Global'
import
dsbridge
from
'dsbridge'
import
{
Dialog
,
Toast
,
Notify
}
from
'vant'
//
import VConsole from 'vconsole'
import
VConsole
from
'vconsole'
Vue
.
config
.
productionTip
=
false
Vue
.
use
(
Dialog
).
use
(
Toast
).
use
(
Notify
)
...
...
@@ -20,7 +20,7 @@ Vue.use(utils).use(service)
Vue
.
prototype
.
$dsbridge
=
dsbridge
Vue
.
prototype
.
$global
=
global
//
new VConsole()
new
VConsole
()
new
Vue
({
router
,
...
...
src/service/moudles/Enterprise.ts
View file @
122c4a55
...
...
@@ -4,7 +4,7 @@ import { AcceptJoinDTO, CreateEnterpriseDTO, DeleteEnterpriseDTO, DeleteSubDTO,
export
default
class
Enterprise
extends
BaseService
{
router
=
{
accept
:
{
path
:
'/v1/enterprise/accept-join'
,
crediential
:
true
,
headers
:
[[
'df'
,
'1'
]]
},
accept
:
{
path
:
'/v1/enterprise/accept-join'
,
crediential
:
true
},
create
:
{
path
:
'/v1/enterprise/create'
,
crediential
:
true
},
delete
:
{
path
:
'/v1/enterprise/delete'
,
crediential
:
true
},
info
:
{
path
:
'/v1/enterprise/info'
,
crediential
:
true
},
...
...
src/views/team/team-detail.vue
View file @
122c4a55
...
...
@@ -154,7 +154,7 @@ export default Vue.extend({
console
.
log
(
'添加部门'
)
},
clickMember
(
member
:
Member
)
{
openCompanyUserInfo
(
JSON
.
stringify
(
member
.
id
))
openCompanyUserInfo
(
String
(
member
.
id
))
// this.$router.push(`/team/team-member/${member.id}`)
},
setDepartment
()
{
...
...
src/views/team/team-frame.vue
View file @
122c4a55
...
...
@@ -192,7 +192,9 @@ export default Vue.extend({
})
},
clickMember
(
member
:
Staff
)
{
openCompanyUserInfo
(
JSON
.
stringify
(
member
.
id
))
console
.
log
(
member
.
id
,
'dfjdsfkl'
);
openCompanyUserInfo
(
String
(
member
.
id
))
// this.$router.push(`/team/team-member/${member.id}`)
},
clickItem
(
val
:
Department
)
{
...
...
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