Commit c4565dc7 by cwq0219

权限

1 parent 68a4b11a
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
* @Author: limin * @Author: limin
* @Date: 2019-08-26 18:02:55 * @Date: 2019-08-26 18:02:55
* @Last Modified by: chenwq * @Last Modified by: chenwq
* @Last Modified time: 2020-09-22 14:54:49 * @Last Modified time: 2020-10-22 17:20:03
*/ */
import request from './request' import request from './request'
...@@ -25,7 +25,7 @@ export function AccountLogin(data) { ...@@ -25,7 +25,7 @@ export function AccountLogin(data) {
// return request(data, RequestMethods.POST) // return request(data, RequestMethods.POST)
return new Promise(resolve => { return new Promise(resolve => {
resolve({ resolve({
stationCode: 'STA_HEB', // stationCode: 'STA_HEB',
roleId: 7, roleId: 7,
roleType: 2, roleType: 2,
// companyName: '广联', // companyName: '广联',
...@@ -36,7 +36,13 @@ export function AccountLogin(data) { ...@@ -36,7 +36,13 @@ export function AccountLogin(data) {
// postCode: '2003', // postCode: '2003',
// stationName: '哈尔滨', // stationName: '哈尔滨',
// validTime: '2020-09-04 10:39:28', // validTime: '2020-09-04 10:39:28',
authes: [] authes: [{
authId: '101',
parentId: '0'
}, {
authId: '102',
parentId: '0'
}]
}) })
}) })
} }
......
...@@ -26,7 +26,7 @@ Vue.use(d2Admin) ...@@ -26,7 +26,7 @@ Vue.use(d2Admin)
// Vue.use(D2Crud) // Vue.use(D2Crud)
var baseConfig = '' var baseConfig = ''
axios({ axios({
baseURL: process.env.VUE_APP_REPO + '/temp-admin-config', baseURL: process.env.VUE_APP_REPO + '/dj-car-life-system-config',
method: 'get' method: 'get'
}).then(({ }).then(({
data data
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!