diff --git a/config/dev.env.js b/config/dev.env.js index 95e311a..4e35847 100644 --- a/config/dev.env.js +++ b/config/dev.env.js @@ -8,8 +8,8 @@ NODE_ENV: '"development"', // BASE_API: '"http://rest.apizza.net/mock/cfbb939c147bb6d68372de83af189fee/"', // BASE_API: '"http://106.74.146.218:2031"' - // BASE_API: '"http://111.198.10.15:12204"' BASE_API: '"http://111.198.10.15:11409"' + // BASE_API: '"http://127.0.0.1:8095"' // BASE_API: '"http://139.198.16.38:20005"' // BASE_API: '"http://192.168.0.225:8083"' // BASE_API: '"http://127.0.0.1:8083"' diff --git a/config/dev.env.js b/config/dev.env.js index 95e311a..4e35847 100644 --- a/config/dev.env.js +++ b/config/dev.env.js @@ -8,8 +8,8 @@ NODE_ENV: '"development"', // BASE_API: '"http://rest.apizza.net/mock/cfbb939c147bb6d68372de83af189fee/"', // BASE_API: '"http://106.74.146.218:2031"' - // BASE_API: '"http://111.198.10.15:12204"' BASE_API: '"http://111.198.10.15:11409"' + // BASE_API: '"http://127.0.0.1:8095"' // BASE_API: '"http://139.198.16.38:20005"' // BASE_API: '"http://192.168.0.225:8083"' // BASE_API: '"http://127.0.0.1:8083"' diff --git a/src/api/common.js b/src/api/common.js index 87c582b..30ac79b 100644 --- a/src/api/common.js +++ b/src/api/common.js @@ -5,7 +5,7 @@ // 模板下载 export function downloadTemplate(fileName) { return request({ - url: 'template/download', + url: 'car/template/download', method: 'get', params: { filename: fileName diff --git a/config/dev.env.js b/config/dev.env.js index 95e311a..4e35847 100644 --- a/config/dev.env.js +++ b/config/dev.env.js @@ -8,8 +8,8 @@ NODE_ENV: '"development"', // BASE_API: '"http://rest.apizza.net/mock/cfbb939c147bb6d68372de83af189fee/"', // BASE_API: '"http://106.74.146.218:2031"' - // BASE_API: '"http://111.198.10.15:12204"' BASE_API: '"http://111.198.10.15:11409"' + // BASE_API: '"http://127.0.0.1:8095"' // BASE_API: '"http://139.198.16.38:20005"' // BASE_API: '"http://192.168.0.225:8083"' // BASE_API: '"http://127.0.0.1:8083"' diff --git a/src/api/common.js b/src/api/common.js index 87c582b..30ac79b 100644 --- a/src/api/common.js +++ b/src/api/common.js @@ -5,7 +5,7 @@ // 模板下载 export function downloadTemplate(fileName) { return request({ - url: 'template/download', + url: 'car/template/download', method: 'get', params: { filename: fileName diff --git a/src/router/index.js b/src/router/index.js index e028254..348a602 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -49,16 +49,9 @@ // 主页 { path: '/', - component: Layout, - redirect: 'overviewlist', - name: 'Overview', - hidden: true, - children: [{ - path: 'overviewlist', - name: 'Overviewlist', - component: () => import('@/views/overview/listoverview'), - meta: { title: '车辆定位监控列表', icon: 'function', permission: ['/overview/list'], affix: true } - }] + redirect: '/overviewlist', + name: 'Dashboard', + hidden: true } ] // 实例化vue的时候直挂载constantRouter diff --git a/config/dev.env.js b/config/dev.env.js index 95e311a..4e35847 100644 --- a/config/dev.env.js +++ b/config/dev.env.js @@ -8,8 +8,8 @@ NODE_ENV: '"development"', // BASE_API: '"http://rest.apizza.net/mock/cfbb939c147bb6d68372de83af189fee/"', // BASE_API: '"http://106.74.146.218:2031"' - // BASE_API: '"http://111.198.10.15:12204"' BASE_API: '"http://111.198.10.15:11409"' + // BASE_API: '"http://127.0.0.1:8095"' // BASE_API: '"http://139.198.16.38:20005"' // BASE_API: '"http://192.168.0.225:8083"' // BASE_API: '"http://127.0.0.1:8083"' diff --git a/src/api/common.js b/src/api/common.js index 87c582b..30ac79b 100644 --- a/src/api/common.js +++ b/src/api/common.js @@ -5,7 +5,7 @@ // 模板下载 export function downloadTemplate(fileName) { return request({ - url: 'template/download', + url: 'car/template/download', method: 'get', params: { filename: fileName diff --git a/src/router/index.js b/src/router/index.js index e028254..348a602 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -49,16 +49,9 @@ // 主页 { path: '/', - component: Layout, - redirect: 'overviewlist', - name: 'Overview', - hidden: true, - children: [{ - path: 'overviewlist', - name: 'Overviewlist', - component: () => import('@/views/overview/listoverview'), - meta: { title: '车辆定位监控列表', icon: 'function', permission: ['/overview/list'], affix: true } - }] + redirect: '/overviewlist', + name: 'Dashboard', + hidden: true } ] // 实例化vue的时候直挂载constantRouter diff --git a/src/settings.js b/src/settings.js index b568ce0..fd10978 100644 --- a/src/settings.js +++ b/src/settings.js @@ -3,7 +3,7 @@ * @type {boolean} true | false * @description 是否显示设置按钮 */ - showSettings: true, + showSettings: false, /** * @type {boolean} true | false @@ -21,7 +21,7 @@ * @type {boolean} true | false * @description 是否要显示侧边栏logo */ - sidebarLogo: false, + sidebarLogo: true, /** * @type {string | array} 'production' | ['production', 'development'] diff --git a/config/dev.env.js b/config/dev.env.js index 95e311a..4e35847 100644 --- a/config/dev.env.js +++ b/config/dev.env.js @@ -8,8 +8,8 @@ NODE_ENV: '"development"', // BASE_API: '"http://rest.apizza.net/mock/cfbb939c147bb6d68372de83af189fee/"', // BASE_API: '"http://106.74.146.218:2031"' - // BASE_API: '"http://111.198.10.15:12204"' BASE_API: '"http://111.198.10.15:11409"' + // BASE_API: '"http://127.0.0.1:8095"' // BASE_API: '"http://139.198.16.38:20005"' // BASE_API: '"http://192.168.0.225:8083"' // BASE_API: '"http://127.0.0.1:8083"' diff --git a/src/api/common.js b/src/api/common.js index 87c582b..30ac79b 100644 --- a/src/api/common.js +++ b/src/api/common.js @@ -5,7 +5,7 @@ // 模板下载 export function downloadTemplate(fileName) { return request({ - url: 'template/download', + url: 'car/template/download', method: 'get', params: { filename: fileName diff --git a/src/router/index.js b/src/router/index.js index e028254..348a602 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -49,16 +49,9 @@ // 主页 { path: '/', - component: Layout, - redirect: 'overviewlist', - name: 'Overview', - hidden: true, - children: [{ - path: 'overviewlist', - name: 'Overviewlist', - component: () => import('@/views/overview/listoverview'), - meta: { title: '车辆定位监控列表', icon: 'function', permission: ['/overview/list'], affix: true } - }] + redirect: '/overviewlist', + name: 'Dashboard', + hidden: true } ] // 实例化vue的时候直挂载constantRouter diff --git a/src/settings.js b/src/settings.js index b568ce0..fd10978 100644 --- a/src/settings.js +++ b/src/settings.js @@ -3,7 +3,7 @@ * @type {boolean} true | false * @description 是否显示设置按钮 */ - showSettings: true, + showSettings: false, /** * @type {boolean} true | false @@ -21,7 +21,7 @@ * @type {boolean} true | false * @description 是否要显示侧边栏logo */ - sidebarLogo: false, + sidebarLogo: true, /** * @type {string | array} 'production' | ['production', 'development'] diff --git a/src/utils/baseConfig.js b/src/utils/baseConfig.js index 1f4fa38..7f9c7f4 100644 --- a/src/utils/baseConfig.js +++ b/src/utils/baseConfig.js @@ -1,5 +1,5 @@ const project = { - title: '后台管理系统前端基础框架' + title: '车辆管理系统' } export function getProject() { return project diff --git a/config/dev.env.js b/config/dev.env.js index 95e311a..4e35847 100644 --- a/config/dev.env.js +++ b/config/dev.env.js @@ -8,8 +8,8 @@ NODE_ENV: '"development"', // BASE_API: '"http://rest.apizza.net/mock/cfbb939c147bb6d68372de83af189fee/"', // BASE_API: '"http://106.74.146.218:2031"' - // BASE_API: '"http://111.198.10.15:12204"' BASE_API: '"http://111.198.10.15:11409"' + // BASE_API: '"http://127.0.0.1:8095"' // BASE_API: '"http://139.198.16.38:20005"' // BASE_API: '"http://192.168.0.225:8083"' // BASE_API: '"http://127.0.0.1:8083"' diff --git a/src/api/common.js b/src/api/common.js index 87c582b..30ac79b 100644 --- a/src/api/common.js +++ b/src/api/common.js @@ -5,7 +5,7 @@ // 模板下载 export function downloadTemplate(fileName) { return request({ - url: 'template/download', + url: 'car/template/download', method: 'get', params: { filename: fileName diff --git a/src/router/index.js b/src/router/index.js index e028254..348a602 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -49,16 +49,9 @@ // 主页 { path: '/', - component: Layout, - redirect: 'overviewlist', - name: 'Overview', - hidden: true, - children: [{ - path: 'overviewlist', - name: 'Overviewlist', - component: () => import('@/views/overview/listoverview'), - meta: { title: '车辆定位监控列表', icon: 'function', permission: ['/overview/list'], affix: true } - }] + redirect: '/overviewlist', + name: 'Dashboard', + hidden: true } ] // 实例化vue的时候直挂载constantRouter diff --git a/src/settings.js b/src/settings.js index b568ce0..fd10978 100644 --- a/src/settings.js +++ b/src/settings.js @@ -3,7 +3,7 @@ * @type {boolean} true | false * @description 是否显示设置按钮 */ - showSettings: true, + showSettings: false, /** * @type {boolean} true | false @@ -21,7 +21,7 @@ * @type {boolean} true | false * @description 是否要显示侧边栏logo */ - sidebarLogo: false, + sidebarLogo: true, /** * @type {string | array} 'production' | ['production', 'development'] diff --git a/src/utils/baseConfig.js b/src/utils/baseConfig.js index 1f4fa38..7f9c7f4 100644 --- a/src/utils/baseConfig.js +++ b/src/utils/baseConfig.js @@ -1,5 +1,5 @@ const project = { - title: '后台管理系统前端基础框架' + title: '车辆管理系统' } export function getProject() { return project diff --git a/src/views/mile/listCar.vue b/src/views/mile/listCar.vue index e51915c..91bed41 100644 --- a/src/views/mile/listCar.vue +++ b/src/views/mile/listCar.vue @@ -95,17 +95,17 @@ align: 'center' }, { - text: '当日里程', + text: '当日里程(km)', value: 'dayMile', align: 'center' }, { - text: '当月里程', + text: '当月里程(km)', value: 'monthMile', align: 'center' }, { - text: '当年里程', + text: '当年里程(km)', value: 'yearMile', align: 'center' } diff --git a/config/dev.env.js b/config/dev.env.js index 95e311a..4e35847 100644 --- a/config/dev.env.js +++ b/config/dev.env.js @@ -8,8 +8,8 @@ NODE_ENV: '"development"', // BASE_API: '"http://rest.apizza.net/mock/cfbb939c147bb6d68372de83af189fee/"', // BASE_API: '"http://106.74.146.218:2031"' - // BASE_API: '"http://111.198.10.15:12204"' BASE_API: '"http://111.198.10.15:11409"' + // BASE_API: '"http://127.0.0.1:8095"' // BASE_API: '"http://139.198.16.38:20005"' // BASE_API: '"http://192.168.0.225:8083"' // BASE_API: '"http://127.0.0.1:8083"' diff --git a/src/api/common.js b/src/api/common.js index 87c582b..30ac79b 100644 --- a/src/api/common.js +++ b/src/api/common.js @@ -5,7 +5,7 @@ // 模板下载 export function downloadTemplate(fileName) { return request({ - url: 'template/download', + url: 'car/template/download', method: 'get', params: { filename: fileName diff --git a/src/router/index.js b/src/router/index.js index e028254..348a602 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -49,16 +49,9 @@ // 主页 { path: '/', - component: Layout, - redirect: 'overviewlist', - name: 'Overview', - hidden: true, - children: [{ - path: 'overviewlist', - name: 'Overviewlist', - component: () => import('@/views/overview/listoverview'), - meta: { title: '车辆定位监控列表', icon: 'function', permission: ['/overview/list'], affix: true } - }] + redirect: '/overviewlist', + name: 'Dashboard', + hidden: true } ] // 实例化vue的时候直挂载constantRouter diff --git a/src/settings.js b/src/settings.js index b568ce0..fd10978 100644 --- a/src/settings.js +++ b/src/settings.js @@ -3,7 +3,7 @@ * @type {boolean} true | false * @description 是否显示设置按钮 */ - showSettings: true, + showSettings: false, /** * @type {boolean} true | false @@ -21,7 +21,7 @@ * @type {boolean} true | false * @description 是否要显示侧边栏logo */ - sidebarLogo: false, + sidebarLogo: true, /** * @type {string | array} 'production' | ['production', 'development'] diff --git a/src/utils/baseConfig.js b/src/utils/baseConfig.js index 1f4fa38..7f9c7f4 100644 --- a/src/utils/baseConfig.js +++ b/src/utils/baseConfig.js @@ -1,5 +1,5 @@ const project = { - title: '后台管理系统前端基础框架' + title: '车辆管理系统' } export function getProject() { return project diff --git a/src/views/mile/listCar.vue b/src/views/mile/listCar.vue index e51915c..91bed41 100644 --- a/src/views/mile/listCar.vue +++ b/src/views/mile/listCar.vue @@ -95,17 +95,17 @@ align: 'center' }, { - text: '当日里程', + text: '当日里程(km)', value: 'dayMile', align: 'center' }, { - text: '当月里程', + text: '当月里程(km)', value: 'monthMile', align: 'center' }, { - text: '当年里程', + text: '当年里程(km)', value: 'yearMile', align: 'center' } diff --git a/src/views/overview/listoverview.vue b/src/views/overview/listoverview.vue index 4dee730..a2e226a 100644 --- a/src/views/overview/listoverview.vue +++ b/src/views/overview/listoverview.vue @@ -1,67 +1,66 @@