vue2-client 1.4.54 → 1.4.56
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +3 -1
- package/package.json +1 -1
- package/src/layouts/SinglePageView.vue +111 -106
- package/src/pages/CreateQueryPage.vue +84 -65
- package/src/pages/ReportView.vue +50 -0
- package/src/router/async/router.map.js +67 -65
- package/src/services/api/logininfor/index.js +6 -0
- package/vue.config.js +7 -2
package/CHANGELOG.md
CHANGED
package/package.json
CHANGED
|
@@ -1,106 +1,111 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<page-toggle-transition :disabled="animate.disabled" :animate="animate.name" :direction="animate.direction">
|
|
3
|
-
<template v-if="login">
|
|
4
|
-
<
|
|
5
|
-
<
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
</template>
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
import
|
|
21
|
-
import {
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
this.
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
const
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
this.
|
|
92
|
-
}
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
}
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
1
|
+
<template>
|
|
2
|
+
<page-toggle-transition :disabled="animate.disabled" :animate="animate.name" :direction="animate.direction">
|
|
3
|
+
<template v-if="login">
|
|
4
|
+
<a-spin tip="加载中,马上好" :spinning="!isLoaded">
|
|
5
|
+
<a-card>
|
|
6
|
+
<iframe
|
|
7
|
+
ref="singlepage"
|
|
8
|
+
:src="url"
|
|
9
|
+
:name="this.fullPath"
|
|
10
|
+
class="single-page-iframe"
|
|
11
|
+
@load="load">
|
|
12
|
+
</iframe>
|
|
13
|
+
</a-card>
|
|
14
|
+
</a-spin>
|
|
15
|
+
</template>
|
|
16
|
+
</page-toggle-transition>
|
|
17
|
+
</template>
|
|
18
|
+
|
|
19
|
+
<script>
|
|
20
|
+
import PageToggleTransition from '@vue2-client/components/transition/PageToggleTransition'
|
|
21
|
+
import { ACCESS_TOKEN } from '@vue2-client/store/mutation-types'
|
|
22
|
+
import { mapState, mapMutations } from 'vuex'
|
|
23
|
+
import { CASLogin, doOtherValidate } from '@vue2-client/services/api/cas'
|
|
24
|
+
|
|
25
|
+
export default {
|
|
26
|
+
name: 'SinglePageView',
|
|
27
|
+
components: { PageToggleTransition },
|
|
28
|
+
props: {
|
|
29
|
+
singlePageUrl: {
|
|
30
|
+
type: String,
|
|
31
|
+
default: ''
|
|
32
|
+
},
|
|
33
|
+
fullPath: {
|
|
34
|
+
type: String,
|
|
35
|
+
default: ''
|
|
36
|
+
}
|
|
37
|
+
},
|
|
38
|
+
data () {
|
|
39
|
+
return {
|
|
40
|
+
iframe: null,
|
|
41
|
+
url: '',
|
|
42
|
+
isLoaded: false,
|
|
43
|
+
}
|
|
44
|
+
},
|
|
45
|
+
computed: {
|
|
46
|
+
...mapState('setting', ['animate', 'iframeSrc']),
|
|
47
|
+
...mapState('account', ['login'])
|
|
48
|
+
},
|
|
49
|
+
created () {
|
|
50
|
+
this.isLoaded = false
|
|
51
|
+
if (this.singlePageUrl.indexOf('sso:') !== -1) {
|
|
52
|
+
const serviceKey = this.singlePageUrl.substring(4)
|
|
53
|
+
CASLogin(serviceKey, true).then(res => {
|
|
54
|
+
const redirectUrl = res.redirectUrl
|
|
55
|
+
if (redirectUrl.indexOf('logic@') !== -1) {
|
|
56
|
+
const logicName = redirectUrl.substring(6)
|
|
57
|
+
doOtherValidate(logicName, res.st, serviceKey).then(validateRes => {
|
|
58
|
+
this.url = validateRes.redirectUrl
|
|
59
|
+
})
|
|
60
|
+
} else {
|
|
61
|
+
const join = redirectUrl.split('?')[1] ? '&' : '?'
|
|
62
|
+
this.url = redirectUrl + join + 'ticket=' + res.st
|
|
63
|
+
}
|
|
64
|
+
}).catch(msg => {
|
|
65
|
+
console.warn(msg)
|
|
66
|
+
this.$message.error(msg)
|
|
67
|
+
})
|
|
68
|
+
} else {
|
|
69
|
+
this.url = this.iframeSrc
|
|
70
|
+
}
|
|
71
|
+
},
|
|
72
|
+
mounted () {
|
|
73
|
+
if (!this.login) {
|
|
74
|
+
this.setLogin(JSON.parse(sessionStorage.getItem(process.env.VUE_APP_LOGIN_KEY)))
|
|
75
|
+
}
|
|
76
|
+
this.iframe = this.$refs.singlepage.contentWindow
|
|
77
|
+
this.path = this.$route.path
|
|
78
|
+
},
|
|
79
|
+
methods: {
|
|
80
|
+
...mapMutations('account', ['setLogin']),
|
|
81
|
+
load () {
|
|
82
|
+
if (this.singlePageUrl.indexOf('sso:') === -1) {
|
|
83
|
+
const appdata = {
|
|
84
|
+
singleValues: this.$appdata.getSingleValues(),
|
|
85
|
+
params: this.$appdata.getParams()
|
|
86
|
+
}
|
|
87
|
+
const data = {
|
|
88
|
+
token: localStorage.getItem(ACCESS_TOKEN),
|
|
89
|
+
login: this.login,
|
|
90
|
+
appdata: appdata,
|
|
91
|
+
page: this.singlePageUrl
|
|
92
|
+
}
|
|
93
|
+
console.log('发送参数', data)
|
|
94
|
+
if (this.iframe) {
|
|
95
|
+
this.iframe.postMessage(data, '*')
|
|
96
|
+
}
|
|
97
|
+
}
|
|
98
|
+
this.$emit('load', this.fullPath)
|
|
99
|
+
this.isLoaded = true
|
|
100
|
+
}
|
|
101
|
+
}
|
|
102
|
+
}
|
|
103
|
+
</script>
|
|
104
|
+
|
|
105
|
+
<style lang="less">
|
|
106
|
+
.single-page-iframe {
|
|
107
|
+
width: 100%;
|
|
108
|
+
height: calc(100vh - 117px);
|
|
109
|
+
border: none;
|
|
110
|
+
}
|
|
111
|
+
</style>
|
|
@@ -1,65 +1,84 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<div>
|
|
3
|
-
<create-query
|
|
4
|
-
:visible.sync="visible"
|
|
5
|
-
@saveQueryParams="saveQueryParams"
|
|
6
|
-
/>
|
|
7
|
-
<create-simple-form-query
|
|
8
|
-
:visible.sync="createSimpleFormVisible"
|
|
9
|
-
@saveSimpleFormQueryParams="saveSimpleFormQueryParams"
|
|
10
|
-
/>
|
|
11
|
-
<a-button style="margin-top: 10px;margin-left: 10px;" type="primary" @click="showDrawer"
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
</
|
|
16
|
-
|
|
17
|
-
<
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
1
|
+
<template>
|
|
2
|
+
<div>
|
|
3
|
+
<create-query
|
|
4
|
+
:visible.sync="visible"
|
|
5
|
+
@saveQueryParams="saveQueryParams"
|
|
6
|
+
/>
|
|
7
|
+
<create-simple-form-query
|
|
8
|
+
:visible.sync="createSimpleFormVisible"
|
|
9
|
+
@saveSimpleFormQueryParams="saveSimpleFormQueryParams"
|
|
10
|
+
/>
|
|
11
|
+
<a-button style="margin-top: 10px;margin-left: 10px;" type="primary" @click="showDrawer">打开完整查询配置生成工具
|
|
12
|
+
</a-button>
|
|
13
|
+
<a-button style="margin-top: 10px;margin-left: 10px;" type="primary" @click="showSimpleFormQueryParamsDrawer">
|
|
14
|
+
打开基础表单配置生成工具
|
|
15
|
+
</a-button>
|
|
16
|
+
<a-button style="margin-top: 10px;margin-left: 10px;" type="primary" @click="searchReport">请求数据</a-button>
|
|
17
|
+
<!-- <webmeter-analysis-view/>-->
|
|
18
|
+
</div>
|
|
19
|
+
</template>
|
|
20
|
+
|
|
21
|
+
<script>
|
|
22
|
+
import { post } from '@vue2-client/services/api/restTools'
|
|
23
|
+
import CreateQuery from '@vue2-client/base-client/components/common/CreateQuery'
|
|
24
|
+
import CreateSimpleFormQuery from '@vue2-client/base-client/components/common/CreateSimpleFormQuery'
|
|
25
|
+
|
|
26
|
+
export default {
|
|
27
|
+
name: 'CreateQueryPage',
|
|
28
|
+
components: {
|
|
29
|
+
CreateQuery,
|
|
30
|
+
CreateSimpleFormQuery
|
|
31
|
+
},
|
|
32
|
+
data () {
|
|
33
|
+
return {
|
|
34
|
+
visible: false,
|
|
35
|
+
createSimpleFormVisible: false
|
|
36
|
+
}
|
|
37
|
+
},
|
|
38
|
+
methods: {
|
|
39
|
+
showDrawer () {
|
|
40
|
+
this.visible = true
|
|
41
|
+
},
|
|
42
|
+
showSimpleFormQueryParamsDrawer () {
|
|
43
|
+
this.createSimpleFormVisible = true
|
|
44
|
+
},
|
|
45
|
+
// 查询report
|
|
46
|
+
searchReport (source) {
|
|
47
|
+
return post('/rs/report/saleMonthReport', {
|
|
48
|
+
'data': {
|
|
49
|
+
'condition': ' 1=1 ',
|
|
50
|
+
'startDate': '2022-11-21 00:00:00',
|
|
51
|
+
'endDate': '2022-11-21 23:59:59',
|
|
52
|
+
'f_orgid': 'f_orgid in (21142)'
|
|
53
|
+
}
|
|
54
|
+
}).then(res => {
|
|
55
|
+
this.$message.success(res)
|
|
56
|
+
}, err => {
|
|
57
|
+
console.error(err)
|
|
58
|
+
})
|
|
59
|
+
},
|
|
60
|
+
// 存储查询配置信息
|
|
61
|
+
saveQueryParams (source) {
|
|
62
|
+
return post('/api/af-system/logic/addOrEditQueryParams', {
|
|
63
|
+
source: source
|
|
64
|
+
}).then(res => {
|
|
65
|
+
this.$message.success('保存查询配置成功')
|
|
66
|
+
}, err => {
|
|
67
|
+
console.error(err)
|
|
68
|
+
})
|
|
69
|
+
},
|
|
70
|
+
// 存储基础表单配置信息
|
|
71
|
+
saveSimpleFormQueryParams (source) {
|
|
72
|
+
return post('/api/af-system/logic/addOrEditSimpleFormQueryParams', {
|
|
73
|
+
source: source
|
|
74
|
+
}).then(res => {
|
|
75
|
+
this.$message.success('保存基础表单配置成功')
|
|
76
|
+
}, err => {
|
|
77
|
+
console.error(err)
|
|
78
|
+
})
|
|
79
|
+
}
|
|
80
|
+
}
|
|
81
|
+
}
|
|
82
|
+
</script>
|
|
83
|
+
<style lang="less" scoped>
|
|
84
|
+
</style>
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<div>
|
|
3
|
+
<div id="reportContent">
|
|
4
|
+
<table style="margin: 0px auto" v-html="model"> </table>
|
|
5
|
+
</div>
|
|
6
|
+
</div>
|
|
7
|
+
</template>
|
|
8
|
+
|
|
9
|
+
<script>
|
|
10
|
+
import { post } from '@vue2-client/services/api/restTools'
|
|
11
|
+
|
|
12
|
+
export default {
|
|
13
|
+
name: 'ReportView',
|
|
14
|
+
data () {
|
|
15
|
+
return {
|
|
16
|
+
model: ''
|
|
17
|
+
}
|
|
18
|
+
},
|
|
19
|
+
props: ['data'],
|
|
20
|
+
methods: {
|
|
21
|
+
// 查询report
|
|
22
|
+
searchReport (source) {
|
|
23
|
+
return post('/rs/report/saleMonthReport', {
|
|
24
|
+
// data: this.data.data
|
|
25
|
+
data: this.data['data']
|
|
26
|
+
}).then(res => {
|
|
27
|
+
this.model = res
|
|
28
|
+
}).catch(err => {
|
|
29
|
+
console.error(err)
|
|
30
|
+
})
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
</script>
|
|
35
|
+
<style lang="less" scoped>
|
|
36
|
+
#reportContent {
|
|
37
|
+
margin-top: 5px;
|
|
38
|
+
}
|
|
39
|
+
</style>
|
|
40
|
+
<style>
|
|
41
|
+
#reportContent .report-primary{
|
|
42
|
+
background-color: #dfedfb;
|
|
43
|
+
border: 1px solid #d8d7d7;
|
|
44
|
+
border-collapse: collapse;
|
|
45
|
+
}
|
|
46
|
+
#reportContent .report-success{
|
|
47
|
+
border: 1px solid #d8d7d7;
|
|
48
|
+
border-collapse: collapse;
|
|
49
|
+
}
|
|
50
|
+
</style>
|
|
@@ -1,65 +1,67 @@
|
|
|
1
|
-
// 视图组件
|
|
2
|
-
const view = {
|
|
3
|
-
tabs: () => import('@vue2-client/layouts/tabs'),
|
|
4
|
-
blank: () => import('@vue2-client/layouts/BlankView'),
|
|
5
|
-
page: () => import('@vue2-client/layouts/PageView')
|
|
6
|
-
}
|
|
7
|
-
// 动态路由对象定义
|
|
8
|
-
const routerResource = {}
|
|
9
|
-
// --------------------------------------基本视图组件--------------------------------------
|
|
10
|
-
// 空白视图
|
|
11
|
-
routerResource.blank = view.blank
|
|
12
|
-
// 单页面视图
|
|
13
|
-
routerResource.singlePage = view.blank
|
|
14
|
-
|
|
15
|
-
// --------------------------------------仪表盘--------------------------------------
|
|
16
|
-
routerResource.dashboard = view.blank
|
|
17
|
-
// 工作台
|
|
18
|
-
routerResource.workplace = () => import('@vue2-client/pages/dashboard/workplace')
|
|
19
|
-
// --------------------------------------系统配置--------------------------------------
|
|
20
|
-
routerResource.system = view.blank
|
|
21
|
-
//
|
|
22
|
-
routerResource.
|
|
23
|
-
//
|
|
24
|
-
routerResource.
|
|
25
|
-
//
|
|
26
|
-
routerResource.
|
|
27
|
-
//
|
|
28
|
-
routerResource.
|
|
29
|
-
//
|
|
30
|
-
routerResource.
|
|
31
|
-
//
|
|
32
|
-
routerResource.
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
1
|
+
// 视图组件
|
|
2
|
+
const view = {
|
|
3
|
+
tabs: () => import('@vue2-client/layouts/tabs'),
|
|
4
|
+
blank: () => import('@vue2-client/layouts/BlankView'),
|
|
5
|
+
page: () => import('@vue2-client/layouts/PageView')
|
|
6
|
+
}
|
|
7
|
+
// 动态路由对象定义
|
|
8
|
+
const routerResource = {}
|
|
9
|
+
// --------------------------------------基本视图组件--------------------------------------
|
|
10
|
+
// 空白视图
|
|
11
|
+
routerResource.blank = view.blank
|
|
12
|
+
// 单页面视图
|
|
13
|
+
routerResource.singlePage = view.blank
|
|
14
|
+
|
|
15
|
+
// --------------------------------------仪表盘--------------------------------------
|
|
16
|
+
routerResource.dashboard = view.blank
|
|
17
|
+
// 工作台
|
|
18
|
+
routerResource.workplace = () => import('@vue2-client/pages/dashboard/workplace')
|
|
19
|
+
// --------------------------------------系统配置--------------------------------------
|
|
20
|
+
routerResource.system = view.blank
|
|
21
|
+
// 报表测试用页面
|
|
22
|
+
routerResource.testPage = () => import('@vue2-client/pages/ReportView.vue')
|
|
23
|
+
// 字典管理
|
|
24
|
+
routerResource.dictionaryManage = () => import(/* webpackChunkName: "dictionary" */ '@vue2-client/pages/system/dictionary')
|
|
25
|
+
// 查询配置管理
|
|
26
|
+
routerResource.queryParamsManage = () => import(/* webpackChunkName: "queryParams" */ '@vue2-client/pages/system/queryParams')
|
|
27
|
+
// 文件管理
|
|
28
|
+
routerResource.fileManager = () => import('@vue2-client/pages/system/file')
|
|
29
|
+
// 登录日志
|
|
30
|
+
routerResource.loginInfor = () => import('@vue2-client/pages/system/monitor/loginInfor')
|
|
31
|
+
// 操作日志
|
|
32
|
+
routerResource.operLog = () => import('@vue2-client/pages/system/monitor/operLog')
|
|
33
|
+
// 系统问题反馈工单
|
|
34
|
+
routerResource.submitTicket = () => import(/* webpackChunkName: "submitTicket" */ '@vue2-client/pages/system/ticket')
|
|
35
|
+
|
|
36
|
+
// 基础路由组件注册
|
|
37
|
+
const routerMap = {
|
|
38
|
+
login: {
|
|
39
|
+
authority: '*',
|
|
40
|
+
path: '/login',
|
|
41
|
+
component: () => import('@vue2-client/pages/login')
|
|
42
|
+
},
|
|
43
|
+
root: {
|
|
44
|
+
path: '/',
|
|
45
|
+
name: '首页',
|
|
46
|
+
redirect: '/login',
|
|
47
|
+
component: view.tabs
|
|
48
|
+
},
|
|
49
|
+
exp403: {
|
|
50
|
+
authority: '*',
|
|
51
|
+
name: 'exp403',
|
|
52
|
+
path: '403',
|
|
53
|
+
component: () => import('@vue2-client/pages/exception/403')
|
|
54
|
+
},
|
|
55
|
+
exp404: {
|
|
56
|
+
name: 'exp404',
|
|
57
|
+
path: '404',
|
|
58
|
+
component: () => import('@vue2-client/pages/exception/404')
|
|
59
|
+
},
|
|
60
|
+
exp500: {
|
|
61
|
+
name: 'exp500',
|
|
62
|
+
path: '500',
|
|
63
|
+
component: () => import('@vue2-client/pages/exception/500')
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
Object.assign(routerMap, routerResource)
|
|
67
|
+
export default routerMap
|
package/vue.config.js
CHANGED
|
@@ -8,7 +8,7 @@ const CompressionWebpackPlugin = require('compression-webpack-plugin')
|
|
|
8
8
|
const productionGzipExtensions = ['js', 'css']
|
|
9
9
|
const isProd = process.env.NODE_ENV === 'production'
|
|
10
10
|
|
|
11
|
-
const server = 'http://
|
|
11
|
+
const server = 'http://123.60.214.109:8406'
|
|
12
12
|
// const local = 'http://localhost:8445/webmeter'
|
|
13
13
|
const local = 'http://123.60.214.109:8406'
|
|
14
14
|
// const local = 'http://localhost:8080'
|
|
@@ -19,6 +19,11 @@ module.exports = {
|
|
|
19
19
|
port: 8001,
|
|
20
20
|
// If you want to turn on the proxy, please remove the mockjs /src/main.jsL11
|
|
21
21
|
proxy: {
|
|
22
|
+
'/rs/report': {
|
|
23
|
+
target: 'http://192.168.50.4:8400',
|
|
24
|
+
ws: false,
|
|
25
|
+
changeOrigin: true
|
|
26
|
+
},
|
|
22
27
|
'/rs': {
|
|
23
28
|
target: server,
|
|
24
29
|
ws: false,
|
|
@@ -30,7 +35,7 @@ module.exports = {
|
|
|
30
35
|
changeOrigin: true
|
|
31
36
|
},
|
|
32
37
|
'/api': {
|
|
33
|
-
pathRewrite: { '^/api/af-system/': '/rs/' },
|
|
38
|
+
// pathRewrite: { '^/api/af-system/': '/rs/' },
|
|
34
39
|
// pathRewrite: { '^/api': '/' },
|
|
35
40
|
target: local,
|
|
36
41
|
changeOrigin: true
|