Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
liangzhen
/
framework-tools-web
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 65e453b4
authored
Mar 26, 2024
by
史敦盼
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
接口微服务修改,以及对应代理修改
1 parent
0690e95b
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
55 additions
and
25 deletions
.env.development
.env.production
public/drawio/extention/js/exScratchpad.js
public/drawio/extention/js/url.js
src/api/index.js
src/api/interface.js
src/components/SearchFormItem.vue
src/config/micromodule.js
vue.config.js
.env.development
View file @
65e453b
NODE_ENV = 'development'
NODE_ENV = 'development'
VUE_APP_BASE_URL = "
/api
"
VUE_APP_BASE_URL = ""
.env.production
View file @
65e453b
NODE_ENV = 'production'
NODE_ENV = 'production'
VUE_APP_BASE_URL = "http://192.168.0.120:
9
0"
VUE_APP_BASE_URL = "http://192.168.0.120:
8
0"
public/drawio/extention/js/exScratchpad.js
View file @
65e453b
...
@@ -2,7 +2,7 @@ function initSetScratchpad() {
...
@@ -2,7 +2,7 @@ function initSetScratchpad() {
//左侧便签本初始化数据
//左侧便签本初始化数据
$
.
ajax
({
$
.
ajax
({
method
:
'post'
,
method
:
'post'
,
url
:
`http://
${
ajaxUrl
}
:90
/short-cut-model/qSCMList`
,
url
:
`http://
${
ajaxUrl
}
/eadc-architecture
/short-cut-model/qSCMList`
,
data
:
JSON
.
stringify
({}),
data
:
JSON
.
stringify
({}),
success
:
function
(
result
)
{
success
:
function
(
result
)
{
let
images
=
[]
let
images
=
[]
...
@@ -74,7 +74,7 @@ function saveScratchpad(data) {
...
@@ -74,7 +74,7 @@ function saveScratchpad(data) {
}
}
$
.
ajax
({
$
.
ajax
({
method
:
'post'
,
method
:
'post'
,
url
:
`http://
${
ajaxUrl
}
:90
/short-cut-model/cSCModel`
,
url
:
`http://
${
ajaxUrl
}
/eadc-architecture
/short-cut-model/cSCModel`
,
data
:
JSON
.
stringify
(
params
),
data
:
JSON
.
stringify
(
params
),
contentType
:
'application/json'
,
contentType
:
'application/json'
,
success
:
function
(
result
)
{
success
:
function
(
result
)
{
...
...
public/drawio/extention/js/url.js
View file @
65e453b
// const ajaxUrl = '172.20.10.3:7003';
// const ajaxUrl = '172.20.10.3:7003';
// const ajaxUrl = '43.143.211.42';
// const ajaxUrl = '43.143.211.42';
const
ajaxUrl
=
'192.168.0.120'
const
ajaxUrl
=
'192.168.0.120
:80
'
src/api/index.js
View file @
65e453b
This diff is collapsed.
Click to expand it.
src/api/interface.js
View file @
65e453b
// 接口url
import
{
EADC_ARRCHITECTURE
}
from
'@/config/micromodule'
// 列表接口url
// 批量计划管理分页查询
// 批量计划管理分页查询
export
const
batchPlanManagement
=
'/network
/bat-plan-info/'
export
const
batchPlanManagement
=
EADC_ARRCHITECTURE
+
'
/bat-plan-info/'
// 概设材料审查 - 技术路线分页查询
// 概设材料审查 - 技术路线分页查询
export
const
queryConceptualReview
=
'/network
/prel-des-rvw/'
///network/prel-des-rvw/
export
const
queryConceptualReview
=
EADC_ARRCHITECTURE
+
'
/prel-des-rvw/'
///network/prel-des-rvw/
export
const
queryAppArchiControlRequirements
=
export
const
queryAppArchiControlRequirements
=
'/network
/app-archi-control-requirements/'
EADC_ARRCHITECTURE
+
'
/app-archi-control-requirements/'
// 需求管理-需求发布分页查询
// 需求管理-需求发布分页查询
export
const
queryDemandManagement
=
'/network
/need-info/'
export
const
queryDemandManagement
=
EADC_ARRCHITECTURE
+
'
/need-info/'
// 项目列表
// 项目列表
export
const
queryProjectInfo
=
'/network
/prj-info/'
export
const
queryProjectInfo
=
EADC_ARRCHITECTURE
+
'
/prj-info/'
// 概设材料意见编制
// 概设材料意见编制
export
const
queryConceptualViewOrg
=
'/network
/online-rev-wr/qy/'
export
const
queryConceptualViewOrg
=
EADC_ARRCHITECTURE
+
'
/online-rev-wr/qy/'
// 系统架构管控要求-评审情况(概要设计)-分页查询
// 系统架构管控要求-评审情况(概要设计)-分页查询
export
const
queryPrelDesInspecte
=
'/network
/prel-des-inspecte/'
export
const
queryPrelDesInspecte
=
EADC_ARRCHITECTURE
+
'
/prel-des-inspecte/'
// 概设关联业务管理 - 概设统计分析
// 概设关联业务管理 - 概设统计分析
export
const
queryQyNeedReviewCount
=
'/network/online-rev-wr/qyNeedReviewCount'
export
const
queryQyNeedReviewCount
=
EADC_ARRCHITECTURE
+
'/online-rev-wr/qyNeedReviewCount'
// 概设关联业务管理 - 总体架构维护
// 概设关联业务管理 - 总体架构维护
export
const
queryArcAstSys
=
'/network/arc-ast-sys/'
export
const
queryArcAstSys
=
EADC_ARRCHITECTURE
+
'/arc-ast-sys/'
// 架构督查- 督查通报管理列表
export
const
querySupervisionNotifyManagement
=
EADC_ARRCHITECTURE
+
'/reportManage/selectReportManage'
src/components/SearchFormItem.vue
View file @
65e453b
...
@@ -4,7 +4,7 @@
...
@@ -4,7 +4,7 @@
* @Autor: pan
* @Autor: pan
* @Date: 2024-03-12 15:11:47
* @Date: 2024-03-12 15:11:47
* @LastEditors: pan
* @LastEditors: pan
* @LastEditTime: 2024-03-2
1 11:29:2
9
* @LastEditTime: 2024-03-2
6 11:13:0
9
-->
-->
<
template
>
<
template
>
<div
class=
"form-item"
>
<div
class=
"form-item"
>
...
@@ -39,6 +39,19 @@
...
@@ -39,6 +39,19 @@
></el-option>
></el-option>
</el-select>
</el-select>
<el-radio-group
v-if=
"isRadio"
v-bind=
"bindProps"
v-on=
"bindEvents"
v-model=
"currentVal"
>
<el-radio
v-for=
"item in itemOptions.options"
:key=
"item.value"
:label=
"item.value"
>
{{
item
.
label
}}
</el-radio
>
</el-radio-group>
<!-- datetimerange/daterange -->
<!-- datetimerange/daterange -->
<!--
<el-date-picker
<!--
<el-date-picker
v-if=
"isDatePickerDateRange"
v-if=
"isDatePickerDateRange"
...
@@ -166,6 +179,10 @@ export default {
...
@@ -166,6 +179,10 @@ export default {
isSelect
()
{
isSelect
()
{
return
this
.
itemOptions
.
element
===
'el-select'
return
this
.
itemOptions
.
element
===
'el-select'
},
},
// el-radio
isRadio
()
{
return
this
.
itemOptions
.
element
===
'el-radio'
},
// el-date-picker (type: datetimerange/daterange)
// el-date-picker (type: datetimerange/daterange)
isDatePickerDateRange
()
{
isDatePickerDateRange
()
{
const
isDatePicker
=
this
.
itemOptions
.
element
===
'el-date-picker'
const
isDatePicker
=
this
.
itemOptions
.
element
===
'el-date-picker'
...
...
src/config/micromodule.js
0 → 100644
View file @
65e453b
// 架构元模型
export
const
EADC_ARRCHITECTURE
=
'/eadc-architecture'
// 共享能力
export
const
EADC_SHARED_ABILITY
=
'/eadc-architecture'
// 架构知识库
export
const
EADC_KNOWLEDGE_POOL
=
'/eadc-knowledge-pool'
vue.config.js
View file @
65e453b
...
@@ -10,23 +10,23 @@ module.exports = defineConfig({
...
@@ -10,23 +10,23 @@ module.exports = defineConfig({
devServer
:
{
devServer
:
{
hot
:
true
,
hot
:
true
,
proxy
:
{
proxy
:
{
'/
api/file
'
:
{
'/
eadc-shared-ability
'
:
{
target
:
`http://
${
ip
}
:
90`
,
target
:
`http://
${
ip
}
:
80/`
,
// 共享能力
changeOrigin
:
true
,
changeOrigin
:
true
,
// secure: false,
// secure: false,
pathRewrite
:
{
'^/api/file'
:
'
'
},
// pathRewrite: { '^/api/eadc-shared-ability': '/eadc-shared-ability
' },
},
},
'/
api/network
'
:
{
'/
eadc-architecture
'
:
{
target
:
`http://
${
ip
}
:
90`
,
target
:
`http://
${
ip
}
:
80/`
,
// 架构元模型
changeOrigin
:
true
,
changeOrigin
:
true
,
// secure: false,
// secure: false,
pathRewrite
:
{
'^/api/network'
:
''
},
//
pathRewrite: { '^/api/network': '' },
},
},
'/
api
'
:
{
'/
eadc-knowledge-pool
'
:
{
target
:
`http://
${
ip
}
:
90`
,
target
:
`http://
${
ip
}
:
80/`
,
// 架构知识库
changeOrigin
:
true
,
changeOrigin
:
true
,
// secure: false,
// secure: false,
pathRewrite
:
{
'^/api'
:
''
},
//
pathRewrite: { '^/api': '' },
},
},
},
},
},
},
...
...
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment