Commit eddbeca5 authored by 涂茜's avatar 涂茜

fix: 修改快捷键跳转到运维路径

parent 5e26a609
Pipeline #22797 skipped with stages
...@@ -5,7 +5,7 @@ export default { ...@@ -5,7 +5,7 @@ export default {
dev: [ dev: [
{ {
name: 'web4_console', name: 'web4_console',
entry: `//${window.location.hostname}:3020/civweb4/`, entry: `//${window.location.hostname}:3020/civweb4`,
container: '#micro-container', container: '#micro-container',
activeRule: genActiveRule('/civbase/civweb4'), activeRule: genActiveRule('/civbase/civweb4'),
props: {}, props: {},
......
...@@ -13770,6 +13770,7 @@ ...@@ -13770,6 +13770,7 @@
"requires": { "requires": {
"accepts": "~1.3.5", "accepts": "~1.3.5",
"array-flatten": "1.1.1", "array-flatten": "1.1.1",
"body-parser": "1.18.3",
"content-disposition": "0.5.2", "content-disposition": "0.5.2",
"content-type": "~1.0.4", "content-type": "~1.0.4",
"cookie": "0.3.1", "cookie": "0.3.1",
...@@ -13799,6 +13800,31 @@ ...@@ -13799,6 +13800,31 @@
"vary": "~1.1.2" "vary": "~1.1.2"
}, },
"dependencies": { "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": { "path-to-regexp": {
"version": "0.1.7", "version": "0.1.7",
"resolved": "https://g.civnet.cn:4873/path-to-regexp/-/path-to-regexp-0.1.7.tgz", "resolved": "https://g.civnet.cn:4873/path-to-regexp/-/path-to-regexp-0.1.7.tgz",
...@@ -13808,6 +13834,17 @@ ...@@ -13808,6 +13834,17 @@
"version": "6.5.2", "version": "6.5.2",
"resolved": "https://g.civnet.cn:4873/qs/-/qs-6.5.2.tgz", "resolved": "https://g.civnet.cn:4873/qs/-/qs-6.5.2.tgz",
"integrity": "sha512-N5ZAX4/LxJmF+7wN74pUD6qAh9/wnvdQcjq9TZjevvXzSUo7bfmw91saqMjzGS2xq91/odN2dW/WOl7qQHNDGA==" "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 @@ ...@@ -26873,8 +26910,7 @@
"safer-buffer": { "safer-buffer": {
"version": "2.1.2", "version": "2.1.2",
"resolved": "https://g.civnet.cn:4873/safer-buffer/-/safer-buffer-2.1.2.tgz", "resolved": "https://g.civnet.cn:4873/safer-buffer/-/safer-buffer-2.1.2.tgz",
"integrity": "sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg==", "integrity": "sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg=="
"dev": true
}, },
"sane": { "sane": {
"version": "4.1.0", "version": "4.1.0",
...@@ -12,8 +12,8 @@ export default class Container extends React.Component { ...@@ -12,8 +12,8 @@ export default class Container extends React.Component {
oms(event) { oms(event) {
const omsUrl = [ const omsUrl = [
`${window.location.protocol}/`, `${window.location.protocol}/`,
window.location.host, MaintenanceHost,
'cityoms3/4.0.html', MaintenancePath,
].join('/'); ].join('/');
window.open(omsUrl, '_blank'); window.open(omsUrl, '_blank');
} }
...@@ -26,3 +26,6 @@ export default class Container extends React.Component { ...@@ -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
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment