Commit 3de5d0c1 by 张晓玮

Merge branch 'v3.0' into 'zhangxw_dev_3.0'

V3.0

See merge request !58
2 parents 9b371a83 2bd4ceac
const navStyle = "background-color: transparent;";
import MineApi from '~/api/mineApi/index'
import USERAPI from '~/api/usersApi/index'
import {
setUserInfo
} from '~/utils/cache/storageApi'
const DEPARTMENTLIST = ['销售部', '售后部', '客服部', '续保部',]
Page({
/**
......@@ -99,7 +102,10 @@ Page({
bussinessId: id,
...storage
}
wx.$storage.set('staff_name', staffName)
// 更新缓存userinfo里面员工的姓名和员工部门
userStorage.name = staffName
userStorage.department = department
setUserInfo(userStorage)
return USERINFO
},
onLoad: function (options) {
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!