Merge branch 'master' of http://yun.pashanhoo.com:9090/bdc/bdcjg-web
Showing
34 changed files
with
48 additions
and
52 deletions
1 | /* | 1 | /* |
2 | * @Description: 统计率 | 2 | * @Description: 统计率 |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2023-03-01 15:37:49 | 4 | * @LastEditTime: 2023-03-21 16:25:26 |
5 | */ | 5 | */ |
6 | /* 引入请求文件 */ | 6 | /* 引入请求文件 */ |
7 | import request from '@/utils/request' | 7 | import request from '@/utils/request' |
8 | /* 引入配置文件 */ | 8 | /* 引入配置文件 */ |
9 | import SERVER from './config' | 9 | let SERVER = JSON.parse(localStorage.getItem('ApiUrl')) |
10 | class business { | 10 | class business { |
11 | /** | 11 | /** |
12 | * @description: 成功率统计 | 12 | * @description: 成功率统计 | ... | ... |
1 | /* | 1 | /* |
2 | * @Description: 这个是所有api的前缀配置文件 | 2 | * @Description: 这个是所有api的前缀配置文件 |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2023-03-16 13:37:11 | 4 | * @LastEditTime: 2023-03-21 16:26:55 |
5 | */ | 5 | */ |
6 | export default { | 6 | export default { |
7 | SERVERAPI: '/bdcsjsb', //赵千 | 7 | SERVERAPI: '/bdcsjsb', //赵千 |
8 | MANAGEMENTAPI: 'http://192.168.2.236/management' | 8 | MANAGEMENTAPI: 'http://192.168.2.236/management' |
9 | } | 9 | } |
... | \ No newline at end of file | ... | \ No newline at end of file |
10 | // 汉中 | ||
11 | // export default { | ||
12 | // // SERVERAPI: '/service-bdcsjsb-th', //线上 | ||
13 | // SERVERAPI: '/bdcsjsb', //赵千 | ||
14 | // MANAGEMENTAPI: 'http://172.16.56.32:8877/management' | ||
15 | // } | ... | ... |
1 | /* | 1 | /* |
2 | * @Description: 数据上报模块api文件 | 2 | * @Description: 数据上报模块api文件 |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2023-03-03 14:38:57 | 4 | * @LastEditTime: 2023-03-21 16:21:31 |
5 | */ | 5 | */ |
6 | /* 引入axios请求文件 */ | 6 | /* 引入axios请求文件 */ |
7 | import request from '@/utils/request' | 7 | import request from '@/utils/request' |
8 | /* 引入配置 */ | 8 | /* 引入配置 */ |
9 | import SERVER from './config' | 9 | let SERVER = JSON.parse(localStorage.getItem('ApiUrl')) |
10 | const urlHeader = SERVER.SERVERAPI + '/rest/sjsb/DataReport/' | 10 | const urlHeader = SERVER.SERVERAPI + '/rest/sjsb/DataReport/' |
11 | 11 | ||
12 | /** | 12 | /** | ... | ... |
1 | import request from '@/utils/request' | 1 | import request from '@/utils/request' |
2 | import SERVER from './config' | 2 | let SERVER = JSON.parse(localStorage.getItem('ApiUrl')) |
3 | 3 | ||
4 | /* | 4 | /* |
5 | 更新排序 | 5 | 更新排序 |
6 | record-排序整条数据 | 6 | record-排序整条数据 |
7 | operate-BOTTOM(置底), DOWN(向下), TOP(置顶), UP(向上) | 7 | operate-BOTTOM(置底), DOWN(向下), TOP(置顶), UP(向上) |
8 | */ | 8 | */ |
9 | export function updateOrder(url, record, operate, swapId) { | 9 | export function updateOrder (url, record, operate, swapId) { |
10 | return request({ | 10 | return request({ |
11 | url: SERVER.MANAGEMENTAPI + url + "/" + record.id + "/orders", | 11 | url: SERVER.MANAGEMENTAPI + url + "/" + record.id + "/orders", |
12 | method: "put", | 12 | method: "put", | ... | ... |
... | @@ -6,7 +6,7 @@ | ... | @@ -6,7 +6,7 @@ |
6 | /* 引入请求文件 */ | 6 | /* 引入请求文件 */ |
7 | import request from '@/utils/request' | 7 | import request from '@/utils/request' |
8 | /* 引入配置文件 */ | 8 | /* 引入配置文件 */ |
9 | import SERVER from './config' | 9 | let SERVER = JSON.parse(localStorage.getItem('ApiUrl')) |
10 | const urlHeader = SERVER.SERVERAPI + '/rest/sjsb/RecordLog/' | 10 | const urlHeader = SERVER.SERVERAPI + '/rest/sjsb/RecordLog/' |
11 | /** | 11 | /** |
12 | * @description: 登簿日志分页 | 12 | * @description: 登簿日志分页 | ... | ... |
1 | import request from '@/utils/request' | 1 | import request from '@/utils/request' |
2 | import SERVER from './config' | 2 | let SERVER = JSON.parse(localStorage.getItem('ApiUrl')) |
3 | class ruleConfig { | 3 | class ruleConfig { |
4 | // 列表查询 | 4 | // 列表查询 |
5 | async getSysYwsjbList (data) { | 5 | async getSysYwsjbList (data) { |
6 | return request({ | 6 | return request({ |
7 | url: SERVER.SERVERAPI +'/rest/SysYwsjb/getSysYwsjbList', | 7 | url: SERVER.SERVERAPI + '/rest/SysYwsjb/getSysYwsjbList', |
8 | method: 'post', | 8 | method: 'post', |
9 | data | 9 | data |
10 | }) | 10 | }) |
... | @@ -12,7 +12,7 @@ class ruleConfig { | ... | @@ -12,7 +12,7 @@ class ruleConfig { |
12 | // 编辑界面列表查询 | 12 | // 编辑界面列表查询 |
13 | async eidtConfigRule (id) { | 13 | async eidtConfigRule (id) { |
14 | return request({ | 14 | return request({ |
15 | url: SERVER.SERVERAPI +'/rest/SysYwsjb/getSysYwsjbWithSysYwsjbFieldByBsmYwsjb', | 15 | url: SERVER.SERVERAPI + '/rest/SysYwsjb/getSysYwsjbWithSysYwsjbFieldByBsmYwsjb', |
16 | method: 'get', | 16 | method: 'get', |
17 | params: { | 17 | params: { |
18 | bsmYwsjb: id | 18 | bsmYwsjb: id |
... | @@ -22,7 +22,7 @@ class ruleConfig { | ... | @@ -22,7 +22,7 @@ class ruleConfig { |
22 | // 编辑 | 22 | // 编辑 |
23 | async editSysYwsjbWithSysYwsjbField (data) { | 23 | async editSysYwsjbWithSysYwsjbField (data) { |
24 | return request({ | 24 | return request({ |
25 | url: SERVER.SERVERAPI +'/rest/SysYwsjb/editSysYwsjbWithSysYwsjbField', | 25 | url: SERVER.SERVERAPI + '/rest/SysYwsjb/editSysYwsjbWithSysYwsjbField', |
26 | method: 'post', | 26 | method: 'post', |
27 | data | 27 | data |
28 | }) | 28 | }) |
... | @@ -30,7 +30,7 @@ class ruleConfig { | ... | @@ -30,7 +30,7 @@ class ruleConfig { |
30 | // 编辑 | 30 | // 编辑 |
31 | async deleteSysYwsjbWithSysYwsjbFieldByBsmYwsjb (id) { | 31 | async deleteSysYwsjbWithSysYwsjbFieldByBsmYwsjb (id) { |
32 | return request({ | 32 | return request({ |
33 | url: SERVER.SERVERAPI +'/rest/SysYwsjb/deleteSysYwsjbWithSysYwsjbFieldByBsmYwsjb', | 33 | url: SERVER.SERVERAPI + '/rest/SysYwsjb/deleteSysYwsjbWithSysYwsjbFieldByBsmYwsjb', |
34 | method: 'delete', | 34 | method: 'delete', |
35 | params: { | 35 | params: { |
36 | bsmYwsjb: id | 36 | bsmYwsjb: id |
... | @@ -40,7 +40,7 @@ class ruleConfig { | ... | @@ -40,7 +40,7 @@ class ruleConfig { |
40 | // 编辑界面列表查询----根据数据表名查询 | 40 | // 编辑界面列表查询----根据数据表名查询 |
41 | async getRuleList (bsmYwsjb) { | 41 | async getRuleList (bsmYwsjb) { |
42 | return request({ | 42 | return request({ |
43 | url: SERVER.SERVERAPI +'/rest/sjsb/DataReport/getTableColumn', | 43 | url: SERVER.SERVERAPI + '/rest/sjsb/DataReport/getTableColumn', |
44 | method: 'get', | 44 | method: 'get', |
45 | params: { | 45 | params: { |
46 | bsmYwsjb: bsmYwsjb | 46 | bsmYwsjb: bsmYwsjb | ... | ... |
1 | import request from '@/utils/request' | 1 | import request from '@/utils/request' |
2 | import SERVER from './config' | 2 | let SERVER = JSON.parse(localStorage.getItem('ApiUrl')) |
3 | 3 | ||
4 | class sjsbFunctionOper { | 4 | class sjsbFunctionOper { |
5 | // 数据上报表头相关接口 | 5 | // 数据上报表头相关接口 |
... | @@ -13,7 +13,7 @@ class sjsbFunctionOper { | ... | @@ -13,7 +13,7 @@ class sjsbFunctionOper { |
13 | }) | 13 | }) |
14 | } | 14 | } |
15 | // xml | 15 | // xml |
16 | async queryXML(id) { | 16 | async queryXML (id) { |
17 | return request({ | 17 | return request({ |
18 | url: SERVER.SERVERAPI + '/rest/reg/sjsbFunctionOper/queryXML', | 18 | url: SERVER.SERVERAPI + '/rest/reg/sjsbFunctionOper/queryXML', |
19 | method: 'get', | 19 | method: 'get', | ... | ... |
... | @@ -9,7 +9,7 @@ | ... | @@ -9,7 +9,7 @@ |
9 | * Copyright (c) 2023 by ${git_name_email}, All Rights Reserved. | 9 | * Copyright (c) 2023 by ${git_name_email}, All Rights Reserved. |
10 | */ | 10 | */ |
11 | import request from '@/utils/request' | 11 | import request from '@/utils/request' |
12 | import SERVER from './config' | 12 | let SERVER = JSON.parse(localStorage.getItem('ApiUrl')) |
13 | const url = SERVER.SERVERAPI + '/rest/statistics/Efficient/' | 13 | const url = SERVER.SERVERAPI + '/rest/statistics/Efficient/' |
14 | /** | 14 | /** |
15 | * dataReceiveQuality | 15 | * dataReceiveQuality |
... | @@ -19,7 +19,7 @@ const url = SERVER.SERVERAPI + '/rest/statistics/Efficient/' | ... | @@ -19,7 +19,7 @@ const url = SERVER.SERVERAPI + '/rest/statistics/Efficient/' |
19 | */ | 19 | */ |
20 | export function dataReceiveQuality (startDate, endDate) { | 20 | export function dataReceiveQuality (startDate, endDate) { |
21 | return request({ | 21 | return request({ |
22 | url: url + 'dataReceiveQuality?startDate='+startDate+'&endDate='+endDate, | 22 | url: url + 'dataReceiveQuality?startDate=' + startDate + '&endDate=' + endDate, |
23 | method: 'post' | 23 | method: 'post' |
24 | }) | 24 | }) |
25 | } | 25 | } |
... | @@ -32,7 +32,7 @@ export function dataReceiveQuality (startDate, endDate) { | ... | @@ -32,7 +32,7 @@ export function dataReceiveQuality (startDate, endDate) { |
32 | */ | 32 | */ |
33 | export function nonNullSta (startDate, endDate) { | 33 | export function nonNullSta (startDate, endDate) { |
34 | return request({ | 34 | return request({ |
35 | url: url + 'nonNullSta?startDate='+startDate+'&endDate='+endDate, | 35 | url: url + 'nonNullSta?startDate=' + startDate + '&endDate=' + endDate, |
36 | method: 'post' | 36 | method: 'post' |
37 | }) | 37 | }) |
38 | } | 38 | } |
... | @@ -45,7 +45,7 @@ export function nonNullSta (startDate, endDate) { | ... | @@ -45,7 +45,7 @@ export function nonNullSta (startDate, endDate) { |
45 | */ | 45 | */ |
46 | export function registerBookQuality (startDate, endDate) { | 46 | export function registerBookQuality (startDate, endDate) { |
47 | return request({ | 47 | return request({ |
48 | url: url + 'registerBookQuality?startDate='+startDate+'&endDate='+endDate, | 48 | url: url + 'registerBookQuality?startDate=' + startDate + '&endDate=' + endDate, |
49 | method: 'post' | 49 | method: 'post' |
50 | }) | 50 | }) |
51 | } | 51 | } | ... | ... |
1 | import Vue from 'vue' | ||
2 | import request from '@/utils/request' | 1 | import request from '@/utils/request' |
3 | import SERVER from './config' | 2 | // let SERVER = JSON.parse(localStorage.getItem('ApiUrl')) |
3 | let SERVER = JSON.parse(localStorage.getItem('ApiUrl')) | ||
4 | // 获取用户信息 | 4 | // 获取用户信息 |
5 | export function getUserInfo () { | 5 | export function getUserInfo () { |
6 | return request({ | 6 | return request({ | ... | ... |
... | @@ -42,7 +42,6 @@ const actions = { | ... | @@ -42,7 +42,6 @@ const actions = { |
42 | item.path = JSON.parse(item.metadata)?.path || '/' | 42 | item.path = JSON.parse(item.metadata)?.path || '/' |
43 | if (!item.parentId) { | 43 | if (!item.parentId) { |
44 | item.component = Layout | 44 | item.component = Layout |
45 | console.log(item.component); | ||
46 | } else { | 45 | } else { |
47 | item.component = loadView(item.uri) | 46 | item.component = loadView(item.uri) |
48 | } | 47 | } | ... | ... |
... | @@ -14,6 +14,7 @@ | ... | @@ -14,6 +14,7 @@ |
14 | .sidebar-container { | 14 | .sidebar-container { |
15 | transition: width 0.28s; | 15 | transition: width 0.28s; |
16 | width: $sideBarWidth !important; | 16 | width: $sideBarWidth !important; |
17 | overflow-y: scroll; | ||
17 | font-size: 0px; | 18 | font-size: 0px; |
18 | @include background_color("menuBg"); | 19 | @include background_color("menuBg"); |
19 | 20 | ... | ... |
-
Please register or sign in to post a comment