|
@ -3,6 +3,8 @@ import { dateUtil } from '/nerv-lib/util/date-util'; |
|
|
import mockResource from './resource.json'; |
|
|
import mockResource from './resource.json'; |
|
|
import { http } from '/nerv-lib/saas'; |
|
|
import { http } from '/nerv-lib/saas'; |
|
|
import { ref } from 'vue'; |
|
|
import { ref } from 'vue'; |
|
|
|
|
|
import { permission } from '/@/api/origanizemanage'; |
|
|
|
|
|
|
|
|
const value = ref('1'); |
|
|
const value = ref('1'); |
|
|
const transform = (data, map) => { |
|
|
const transform = (data, map) => { |
|
|
return Object.keys(map).reduce((pre, cur) => { |
|
|
return Object.keys(map).reduce((pre, cur) => { |
|
@ -13,7 +15,7 @@ const transform = (data, map) => { |
|
|
export const appConfig = { |
|
|
export const appConfig = { |
|
|
projectType: 'web', |
|
|
projectType: 'web', |
|
|
baseApi: '/api', |
|
|
baseApi: '/api', |
|
|
enablePermissions: false, |
|
|
enablePermissions: true, |
|
|
// themeColor: '#eee',
|
|
|
// themeColor: '#eee',
|
|
|
siderPosition: 'left', |
|
|
siderPosition: 'left', |
|
|
baseHeader: '/parkingManage', |
|
|
baseHeader: '/parkingManage', |
|
@ -94,16 +96,15 @@ export const appConfig = { |
|
|
// toRouterName: 'NoticeManageIndex',
|
|
|
// toRouterName: 'NoticeManageIndex',
|
|
|
// },
|
|
|
// },
|
|
|
resourceInfo: { |
|
|
resourceInfo: { |
|
|
application: { |
|
|
// application: {
|
|
|
version: '1.1.74', |
|
|
// version: '1.1.74',
|
|
|
label: '停车业务平台', |
|
|
// label: '停车业务平台',
|
|
|
dataScope: { |
|
|
// dataScope: {
|
|
|
scopeMode: 0, |
|
|
// scopeMode: 0,
|
|
|
scopeType: '', |
|
|
// scopeType: '',
|
|
|
dataTips: '', |
|
|
// dataTips: '',
|
|
|
}, |
|
|
// },
|
|
|
}, |
|
|
// },
|
|
|
api: '/qa/Operation/Resources/Pc/init', |
|
|
api: permission.add, |
|
|
token: `${dateUtil().format('YYYYMMDD')}1a329ffasasozozxqq66cfab7`, |
|
|
|
|
|
}, |
|
|
}, |
|
|
}; |
|
|
}; |
|
|