Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
csbr-daop
/
fe-data-trusted-space
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
f8d8cc89
authored
2025-05-20 11:16:18 +0800
by
lxs
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
专区域名修改
1 parent
eeb61726
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
17 additions
and
17 deletions
.env.product
default.conf
src/api/modules/dataAsset.ts
src/api/modules/queryService.ts
src/layouts/index.vue
.env.product
View file @
f8d8cc8
# 页面标题
VITE_APP_TITLE = 数据资产管理系统
# 接口域名
VITE_API_BASEURL = https://
zq
-zcgl.zgsjzc.com/
VITE_API_BASEURL = https://
sz
-zcgl.zgsjzc.com/
# VITE_API_BASEURL = http://49.4.26.201:31709/
VITE_IDASS_BASEURL = https://
zq
.zgsjzc.com/portalLogin
VITE_IDASS_BASEURL = https://
sz
.zgsjzc.com/portalLogin
# 平台用户 接口请地址
VITE_APP_USER_API_BASEURL = gateway-server
...
...
@@ -28,7 +28,7 @@ VITE_OPEN_PROXY = true
VITE_SERVE_BASE = /
# 流程设计访问地址
VITE_BPMN_URL = https://
zq
-workflow.csbr.cn
VITE_BPMN_URL = https://
sz
-workflow.csbr.cn
#流程服务
VITE_APP_WORK_FLOW_URL = 'ms-daop-workflow-service'
...
...
@@ -78,9 +78,9 @@ VITE_API_MESSAGE = ms-daop-message-service
VITE_APP_PERSONAL_URL = ms-daop-personel-service
#流通平台接口地址
VITE_APP_CIRCULATION = https://
zq
-lt.zgsjzc.com/
VITE_APP_CIRCULATION = https://
sz
-lt.zgsjzc.com/
#数据加工交付
VITE_APP_DATA_DELIVERY = https://
zq
-jgjf.zgsjzc.com/
VITE_APP_DATA_DELIVERY = https://
sz
-jgjf.zgsjzc.com/
# 是否在打包时生成 sourcemap
VITE_BUILD_SOURCEMAP = false
...
...
default.conf
View file @
f8d8cc8
...
...
@@ -43,7 +43,7 @@ server {
# 使用 rewrite 将 /api 替换为 /new-api
rewrite
^/
api
/(.*)$ /$
1
break
;
proxy_pass
https
://
zq
-
zcgl
.
zgsjzc
.
com
;
proxy_pass
https
://
sz
-
zcgl
.
zgsjzc
.
com
;
}
location
/
circulation
{
...
...
@@ -61,7 +61,7 @@ server {
# 使用 rewrite 将 /circulation 替换为 /new-api
rewrite
^/
circulation
/(.*)$ /$
1
break
;
proxy_pass
https
://
zq
-
lt
.
zgsjzc
.
com
;
proxy_pass
https
://
sz
-
lt
.
zgsjzc
.
com
;
}
location
/
delivery
{
# 设置允许跨域的域名,可以使用通配符 '*' 允许所有域访问
...
...
@@ -78,7 +78,7 @@ server {
# 使用 rewrite 将 /circulation 替换为 /new-api
rewrite
^/
delivery
/(.*)$ /$
1
break
;
proxy_pass
https
://
zq
-
jgjf
.
zgsjzc
.
com
;
proxy_pass
https
://
sz
-
jgjf
.
zgsjzc
.
com
;
}
error_page
500
502
503
504
/
50
x
.
html
;
...
...
src/api/modules/dataAsset.ts
View file @
f8d8cc8
...
...
@@ -456,21 +456,21 @@ export const saveDamContract = (params) => request({
url
:
`
${
import
.
meta
.
env
.
VITE_API_NEW_PORTAL
}
/dam-contract/save`
,
method
:
'post'
,
data
:
params
})
})
/** 更新合同 */
export
const
updateDamContract
=
(
params
)
=>
request
({
url
:
`
${
import
.
meta
.
env
.
VITE_API_NEW_PORTAL
}
/dam-contract/update`
,
method
:
'put'
,
data
:
params
})
})
/** 删除合同 */
export
const
delDamContract
=
(
params
)
=>
request
({
url
:
`
${
import
.
meta
.
env
.
VITE_API_NEW_PORTAL
}
/dam-contract/delete`
,
method
:
'delete'
,
data
:
params
})
})
/** 获取会员列表 */
export
const
getTenantList
=
(
params
)
=>
request
({
...
...
@@ -498,14 +498,14 @@ export const getApiDetail = (params) => request({
// url:`${import.meta.env.VITE_APP_SERVICE_BASEURL}/api-base-info/detail`,
// url: `http://localhost:9000/circulation/ms-data-circulation-portal-service/enterprise/detail-by-name`,
// url: `http://localhost:9000/delivery/ms-daop-jgjf-data-open-service/api-base-info/detail/${params}`,
url
:
`https://
zq
-zcgl.zgsjzc.com/delivery/api/ms-daop-jgjf-data-open-service/api-base-info/detail/
${
params
}
`
,
url
:
`https://
sz
-zcgl.zgsjzc.com/delivery/api/ms-daop-jgjf-data-open-service/api-base-info/detail/
${
params
}
`
,
method
:
'get'
,
})
// 跨服务调加工交付接口 获取API调用次数
export
const
getApiInvokeCount
=
(
data
)
=>
request
({
// url: `http://localhost:9000/delivery/ms-daop-jgjf-data-open-service/home-page/dam/call-api-stat`,
url
:
`https://
zq
-zcgl.zgsjzc.com/delivery/api/ms-daop-jgjf-data-open-service/home-page/dam/call-api-stat`
,
url
:
`https://
sz
-zcgl.zgsjzc.com/delivery/api/ms-daop-jgjf-data-open-service/home-page/dam/call-api-stat`
,
method
:
'post'
,
data
})
...
...
src/api/modules/queryService.ts
View file @
f8d8cc8
...
...
@@ -93,7 +93,7 @@ export const getProduct = (params) => request({
export const getTenantInfo = (params) => request({
// url: `
$
{
import
.
meta
.
env
.
VITE_APP_PERSONAL_URL
}
/tenant/g
etByGuid
/
$
{
params
}
`,
// url: `
http
:
//localhost:9000/circulation/ms-data-circulation-portal-service/enterprise/detail-by-name`,
url
:
`https://
zq
-zcgl.zgsjzc.com/circulation/api/ms-data-circulation-portal-service/enterprise/detail-by-name`
,
url
:
`https://
sz
-zcgl.zgsjzc.com/circulation/api/ms-data-circulation-portal-service/enterprise/detail-by-name`
,
method
:
'get'
,
params
})
...
...
src/layouts/index.vue
View file @
f8d8cc8
...
...
@@ -159,7 +159,7 @@ const pageChange = (info) => {
const
messageJump
=
(
item
)
=>
{
if
(
!
item
.
jumpUrl
||
item
.
jumpUrl
==
'/'
)
{
return
;
//不跳转
return
;
//不跳转
}
if
(
item
.
jumpUrl
.
startsWith
(
'/data-finance/financial-Match?'
))
{
let
index
=
item
.
jumpUrl
.
indexOf
(
"?"
);
...
...
@@ -276,8 +276,8 @@ const messageAllRead = () => {
const
createServerConnect
=
()
=>
{
let
websocketUrl
=
'ws://192.168.6.20:39203'
;
//测试环境
if
(
location
.
origin
==
'https://
zq
-zcgl.zgsjzc.com'
)
{
websocketUrl
=
'wss://
zq
-zcgl.zgsjzc.com/websocket'
if
(
location
.
origin
==
'https://
sz
-zcgl.zgsjzc.com'
)
{
websocketUrl
=
'wss://
sz
-zcgl.zgsjzc.com/websocket'
}
else
if
(
location
.
origin
==
'https://daop-zcgl-test.zgsjzc.com'
)
{
websocketUrl
=
'wss://daop-zcgl-test.zgsjzc.com/websocket'
}
...
...
Write
Preview
Styling with
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