Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
mt-education-web
Project
Project
Details
Activity
Releases
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
王旭
mt-education-web
Commits
2fa73afe
Commit
2fa73afe
authored
Oct 18, 2019
by
gaoyan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
JS路由修改
parent
dcf2118a
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
17 deletions
+4
-17
manage.js
src/api/manage.js
+0
-1
mt.js
src/api/mt.js
+2
-14
index.vue
src/components/mt-organization/index.vue
+2
-2
No files found.
src/api/manage.js
View file @
2fa73afe
...
...
@@ -202,7 +202,6 @@ export function removeBlabels(parameter) {
}
// 查询所有的部门
// 删除标签
export
function
selectAllDept
(
parameter
)
{
return
axios
({
url
:
process
.
env
.
VUE_APP_BASE_API2
+
api
.
mt_depart
+
'/get_tree'
,
...
...
src/api/mt.js
View file @
2fa73afe
...
...
@@ -33,13 +33,9 @@ export function getUserId() {
export
function
getDeptUser
(
params
)
{
return
axios
({
url
:
process
.
env
.
VUE_APP_BASE_API
3
+
api
.
getDeptUser
,
url
:
process
.
env
.
VUE_APP_BASE_API
2
+
api
.
getDeptUser
,
method
:
'get'
,
params
:
params
,
headers
:
{
clientType
:
'app'
,
Authorization
:
'Bearer 00d3b313-445f-4c13-ad84-19a9744fad57'
}
params
:
params
});
}
export
function
getUserCascade
(
params
)
{
...
...
@@ -47,10 +43,6 @@ export function getUserCascade(params) {
url
:
process
.
env
.
VUE_APP_BASE_API2
+
api
.
getUserCascade
,
method
:
'get'
,
params
:
params
/*headers: {
clientType: 'app',
Authorization: 'Bearer 00d3b313-445f-4c13-ad84-19a9744fad57'
}*/
});
}
export
function
SearchPeople
(
params
)
{
...
...
@@ -58,9 +50,5 @@ export function SearchPeople(params) {
url
:
process
.
env
.
VUE_APP_BASE_API2
+
api
.
SearchPeople
,
method
:
'get'
,
params
:
params
/*headers: {
clientType: 'app',
Authorization: 'Bearer 00d3b313-445f-4c13-ad84-19a9744fad57'
}*/
});
}
src/components/mt-organization/index.vue
View file @
2fa73afe
...
...
@@ -219,8 +219,8 @@ export default {
// this.interval = this.$util.Debounce(this.searchPeople, 500)
// this.currentUser = JSON.parse(this.$db.find('currentUser').data)
// this.company = JSON.parse(this.$db.find('company').data)
this
.
company
.
id
=
sessionStorage
.
getItem
(
'corpId'
);
// this.company.id = '
6
';
this
.
company
.
id
=
sessionStorage
.
getItem
(
'corpId'
);
// this.company.id = '
1
';
this
.
init
();
}
,
// 监控data中的数据变化
...
...
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