Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
W
wechatapp.shangjiadao.com
Project
Project
Details
Activity
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
wangxuelai
wechatapp.shangjiadao.com
Commits
a66df8e5
Commit
a66df8e5
authored
Oct 16, 2019
by
lvtz
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
fc8d03ee
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
10 additions
and
4 deletions
+10
-4
index.js
business/pages/exchangebusiness/index.js
+5
-4
index.wxss
business/pages/organizationalmgt/index.wxss
+1
-0
setting.js
business/pages/organizationalmgt/setting.js
+4
-0
No files found.
business/pages/exchangebusiness/index.js
View file @
a66df8e5
...
...
@@ -2,8 +2,8 @@
/*
该页面当中的from代表从哪个页面跳转到这个页面,选择校区之后还需要跳转回上一个页面
key page
1
business/pages/organizationalmgt/index?sid=${sid} 机构管理页面
2
business/pages/campusindex/index?sid=${sid} 机构首页
1
登录
2
个人中心设置切换校区
*/
import
{
schoolList
,
...
...
@@ -40,7 +40,7 @@ Page({
const
{
sid
,
from
}
=
options
;
this
.
setData
({
sid
:
sid
||
0
,
from
from
:
from
||
2
})
let
user
=
LocalStorage
.
getItem
(
'user'
);
let
dakarole
=
LocalStorage
.
getItem
(
'dakarole'
);
...
...
@@ -109,11 +109,12 @@ Page({
})
},
goLogin
(){
wx
.
re
directTo
({
wx
.
re
Launch
({
url
:
`/business/pages/loginregistermgt/login`
})
LocalStorage
.
removeItem
(
'dakarole'
);
LocalStorage
.
removeItem
(
'user'
);
LocalStorage
.
removeItem
(
'teacher'
);
},
goShopedit
(){
wx
.
navigateTo
({
...
...
business/pages/organizationalmgt/index.wxss
View file @
a66df8e5
...
...
@@ -53,6 +53,7 @@ page{
color:rgba(0,0,0,1);
line-height:1;
padding-bottom: 36rpx;
word-break: break-all;
}
.header-box .top-box .info-box .list-box {
display: flex;
...
...
business/pages/organizationalmgt/setting.js
View file @
a66df8e5
import
{
LocalStorage
}
from
'../../../utilities/index.js'
;
var
app
=
getApp
();
Page
({
...
...
@@ -40,6 +43,7 @@ Page({
exitBusiness
(){
LocalStorage
.
removeItem
(
'user'
);
LocalStorage
.
removeItem
(
'dakarole'
);
LocalStorage
.
removeItem
(
'teacher'
);
wx
.
reLaunch
({
url
:
'/business/pages/loginregistermgt/login'
})
...
...
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