Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
C
CivWeb
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
ReactWeb5
CivWeb
Commits
eddbeca5
Commit
eddbeca5
authored
Jan 21, 2021
by
涂茜
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 修改快捷键跳转到运维路径
parent
5e26a609
Pipeline
#22797
skipped with stages
Changes
3
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
45 additions
and
5 deletions
+45
-5
micor.js
config/micor.js
+1
-1
package-lock.json
package-lock.json
+38
-2
index.js
src/components/Container/index.js
+6
-2
No files found.
config/micor.js
View file @
eddbeca5
...
...
@@ -5,7 +5,7 @@ export default {
dev
:
[
{
name
:
'web4_console'
,
entry
:
`//
${
window
.
location
.
hostname
}
:3020/civweb4
/
`
,
entry
:
`//
${
window
.
location
.
hostname
}
:3020/civweb4`
,
container
:
'#micro-container'
,
activeRule
:
genActiveRule
(
'/civbase/civweb4'
),
props
:
{},
...
...
package-lock.json
View file @
eddbeca5
...
...
@@ -13770,6 +13770,7 @@
"requires"
:
{
"accepts"
:
"~1.3.5"
,
"array-flatten"
:
"1.1.1"
,
"body-parser"
:
"1.18.3"
,
"content-disposition"
:
"0.5.2"
,
"content-type"
:
"~1.0.4"
,
"cookie"
:
"0.3.1"
,
...
...
@@ -13799,6 +13800,31 @@
"vary"
:
"~1.1.2"
},
"dependencies"
:
{
"body-parser"
:
{
"version"
:
"1.18.3"
,
"resolved"
:
"https://g.civnet.cn:4873/body-parser/-/body-parser-1.18.3.tgz"
,
"integrity"
:
"sha1-WykhmP/dVTs6DyDe0FkrlWlVyLQ="
,
"requires"
:
{
"bytes"
:
"3.0.0"
,
"content-type"
:
"~1.0.4"
,
"debug"
:
"2.6.9"
,
"depd"
:
"~1.1.2"
,
"http-errors"
:
"~1.6.3"
,
"iconv-lite"
:
"0.4.23"
,
"on-finished"
:
"~2.3.0"
,
"qs"
:
"6.5.2"
,
"raw-body"
:
"2.3.3"
,
"type-is"
:
"~1.6.16"
}
},
"iconv-lite"
:
{
"version"
:
"0.4.23"
,
"resolved"
:
"https://g.civnet.cn:4873/iconv-lite/-/iconv-lite-0.4.23.tgz"
,
"integrity"
:
"sha512-neyTUVFtahjf0mB3dZT77u+8O0QB89jFdnBkd5P1JgYPbPaia3gXXOVL2fq8VyU2gMMD7SaN7QukTB/pmXYvDA=="
,
"requires"
:
{
"safer-buffer"
:
">= 2.1.2 < 3"
}
},
"path-to-regexp"
:
{
"version"
:
"0.1.7"
,
"resolved"
:
"https://g.civnet.cn:4873/path-to-regexp/-/path-to-regexp-0.1.7.tgz"
,
...
...
@@ -13808,6 +13834,17 @@
"version"
:
"6.5.2"
,
"resolved"
:
"https://g.civnet.cn:4873/qs/-/qs-6.5.2.tgz"
,
"integrity"
:
"sha512-N5ZAX4/LxJmF+7wN74pUD6qAh9/wnvdQcjq9TZjevvXzSUo7bfmw91saqMjzGS2xq91/odN2dW/WOl7qQHNDGA=="
},
"raw-body"
:
{
"version"
:
"2.3.3"
,
"resolved"
:
"https://g.civnet.cn:4873/raw-body/-/raw-body-2.3.3.tgz"
,
"integrity"
:
"sha512-9esiElv1BrZoI3rCDuOuKCBRbuApGGaDPQfjSflGxdy4oyzqghxu6klEkkVIvBje+FF0BX9coEv8KqW6X/7njw=="
,
"requires"
:
{
"bytes"
:
"3.0.0"
,
"http-errors"
:
"1.6.3"
,
"iconv-lite"
:
"0.4.23"
,
"unpipe"
:
"1.0.0"
}
}
}
},
...
...
@@ -26873,8 +26910,7 @@
"safer-buffer"
:
{
"version"
:
"2.1.2"
,
"resolved"
:
"https://g.civnet.cn:4873/safer-buffer/-/safer-buffer-2.1.2.tgz"
,
"integrity"
:
"sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg=="
,
"dev"
:
true
"integrity"
:
"sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg=="
},
"sane"
:
{
"version"
:
"4.1.0"
,
src/components/Container/index.js
View file @
eddbeca5
...
...
@@ -12,8 +12,8 @@ export default class Container extends React.Component {
oms
(
event
)
{
const
omsUrl
=
[
`
${
window
.
location
.
protocol
}
/`
,
window
.
location
.
h
ost
,
'cityoms3/4.0.html'
,
MaintenanceH
ost
,
MaintenancePath
,
].
join
(
'/'
);
window
.
open
(
omsUrl
,
'_blank'
);
}
...
...
@@ -26,3 +26,6 @@ export default class Container extends React.Component {
);
}
}
const
MaintenanceHost
=
'192.168.10.150:8777'
const
MaintenancePath
=
'CivManage/productCenter/product'
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
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 comment