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
3a6f2c92
Commit
3a6f2c92
authored
Sep 06, 2021
by
sixiaofeng
Browse files
Options
Browse Files
Download
Plain Diff
1
parents
5366e2d6
14fb61d2
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
10 additions
and
5 deletions
+10
-5
main.ts
src/main.ts
+4
-3
index.ts
src/util/Bridge/index.ts
+1
-0
team-frame.vue
src/views/team/team-frame.vue
+5
-2
No files found.
src/main.ts
View file @
3a6f2c92
...
@@ -17,9 +17,10 @@ Vue.use(Dialog).use(Toast).use(Notify)
...
@@ -17,9 +17,10 @@ Vue.use(Dialog).use(Toast).use(Notify)
Vue
.
use
(
utils
).
use
(
service
)
Vue
.
use
(
utils
).
use
(
service
)
Vue
.
prototype
.
$dsbridge
=
dsbridge
Vue
.
prototype
.
$dsbridge
=
dsbridge
Vue
.
prototype
.
$global
=
global
Vue
.
prototype
.
$global
=
global
if
(
process
.
env
.
NODE_ENV
===
'development'
)
{
new
VConsole
()
// if (process.env.NODE_ENV === 'development') {
}
// new VConsole()
// }
new
Vue
({
new
Vue
({
router
,
router
,
store
,
store
,
...
...
src/util/Bridge/index.ts
View file @
3a6f2c92
...
@@ -3,6 +3,7 @@
...
@@ -3,6 +3,7 @@
// 扫描二维码:scanCode
// 扫描二维码:scanCode
// 打开企业联系人详情页面:openCompanyUserInfo 参数:联系人地址,企业id
// 打开企业联系人详情页面:openCompanyUserInfo 参数:联系人地址,企业id
import
router
from
'@/router'
;
import
{
AcceptJoinDTO
}
from
'@/service/moudles/service.dto'
import
{
AcceptJoinDTO
}
from
'@/service/moudles/service.dto'
import
dsbridge
from
'dsbridge'
import
dsbridge
from
'dsbridge'
...
...
src/views/team/team-frame.vue
View file @
3a6f2c92
...
@@ -6,7 +6,7 @@
...
@@ -6,7 +6,7 @@
header-bg=
"bg-white"
header-bg=
"bg-white"
:loading=
"loading"
:loading=
"loading"
left-arrow
left-arrow
@
click-left=
"
$router.go(-1)
"
@
click-left=
"
appNavBack
"
>
>
<template
slot=
"right"
>
<template
slot=
"right"
>
<app-icon
<app-icon
...
@@ -59,7 +59,7 @@
...
@@ -59,7 +59,7 @@
<
script
lang=
"ts"
>
<
script
lang=
"ts"
>
import
Vue
from
'vue'
import
Vue
from
'vue'
import
{
useLocalStorageState
}
from
'ahooks-vue'
import
{
useLocalStorageState
}
from
'ahooks-vue'
import
{
getUserInfo
,
openCompanyUserInfo
}
from
'@/util/Bridge'
import
{
appNavBack
,
getUserInfo
,
openCompanyUserInfo
}
from
'@/util/Bridge'
import
{
getContacts
}
from
'@/util/Contact'
import
{
getContacts
}
from
'@/util/Contact'
import
{
Department
,
Staff
}
from
'@/Interface'
import
{
Department
,
Staff
}
from
'@/Interface'
// import {openCompanyUserInfo} from '@/util/Bridge'
// import {openCompanyUserInfo} from '@/util/Bridge'
...
@@ -118,6 +118,9 @@ export default Vue.extend({
...
@@ -118,6 +118,9 @@ export default Vue.extend({
this
.
$store
.
commit
(
'setAddDepLeader'
,
this
.
checkedMemberId
)
this
.
$store
.
commit
(
'setAddDepLeader'
,
this
.
checkedMemberId
)
this
.
$router
.
push
(
this
.
fromPath
)
this
.
$router
.
push
(
this
.
fromPath
)
},
},
appNavBack
(){
appNavBack
()
},
getEntInfo
()
{
getEntInfo
()
{
this
.
loading
=
true
this
.
loading
=
true
this
.
$service
.
enterprise
.
getEnterpriseInfo
({
this
.
$service
.
enterprise
.
getEnterpriseInfo
({
...
...
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