Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas_plus
/
store-assistant
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 3de5d0c1
authored
Oct 24, 2022
by
张晓玮
Browse Files
Options
Browse Files
Tag
Download
Plain Diff
Merge branch 'v3.0' into 'zhangxw_dev_3.0'
V3.0 See merge request
!58
2 parents
9b371a83
2bd4ceac
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
1 deletions
pages/tab/mine/mine.js
pages/tab/mine/mine.js
View file @
3de5d0c
const
navStyle
=
"background-color: transparent;"
;
const
navStyle
=
"background-color: transparent;"
;
import
MineApi
from
'~/api/mineApi/index'
import
MineApi
from
'~/api/mineApi/index'
import
USERAPI
from
'~/api/usersApi/index'
import
USERAPI
from
'~/api/usersApi/index'
import
{
setUserInfo
}
from
'~/utils/cache/storageApi'
const
DEPARTMENTLIST
=
[
'销售部'
,
'售后部'
,
'客服部'
,
'续保部'
,]
const
DEPARTMENTLIST
=
[
'销售部'
,
'售后部'
,
'客服部'
,
'续保部'
,]
Page
({
Page
({
/**
/**
...
@@ -99,7 +102,10 @@ Page({
...
@@ -99,7 +102,10 @@ Page({
bussinessId
:
id
,
bussinessId
:
id
,
...
storage
...
storage
}
}
wx
.
$storage
.
set
(
'staff_name'
,
staffName
)
// 更新缓存userinfo里面员工的姓名和员工部门
userStorage
.
name
=
staffName
userStorage
.
department
=
department
setUserInfo
(
userStorage
)
return
USERINFO
return
USERINFO
},
},
onLoad
:
function
(
options
)
{
onLoad
:
function
(
options
)
{
...
...
Write
Preview
Markdown
is supported
Attach a file
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 post a comment