Commit 3d6bdf54 by 张立顺

fix bug

1 parent b2f7dcbe
...@@ -9,7 +9,7 @@ const pages = { ...mobilePages, ...pcPages } ...@@ -9,7 +9,7 @@ const pages = { ...mobilePages, ...pcPages }
let routes = [ let routes = [
{ {
path: '/', path: '/',
redirect: '/mobile' // 默认重定向到 mobile,或者根据需求改为其他 redirect: '/recruitManage/recruitManage' // 默认重定向到 mobile,或者根据需求改为其他
} }
] ]
......
...@@ -6,11 +6,10 @@ import { util } from 'utils' ...@@ -6,11 +6,10 @@ import { util } from 'utils'
// Original: api.post(method, data, [], url) // Original: api.post(method, data, [], url)
function post(method, data = {}, url, options = {}) { function post(method, data = {}, url, options = {}) {
// Merge method into data as per ssoApi.js pattern for $DJ_HTTP // Merge method into data as per ssoApi.js pattern for $DJ_HTTP
const userInfo = util.getLocalStorage('ww_userInfo') || {}
const payload = { const payload = {
method, method,
technicalSupervisorName: userInfo.name || '', // 技术督导姓名 technicalSupervisorName: util.getLocalStorage('ww_params_name') || '', // 技术督导姓名
technicalSupervisorPhone: userInfo.phone || '', // 技术督导手机号 technicalSupervisorPhone: util.getLocalStorage('ww_params_phone') || '', // 技术督导手机号
// sessionId: '8bcad25d-8bfa-41a8-a5e8-ef06ace89ee8', // sessionId: '8bcad25d-8bfa-41a8-a5e8-ef06ace89ee8',
...data ...data
} }
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!