Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
S
supervise-front
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
5
Issues
5
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
牛晓林
supervise-front
Commits
547ab9cb
Commit
547ab9cb
authored
Aug 18, 2019
by
牛晓林
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
adjust for 1440
parent
088531f5
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
78 additions
and
24 deletions
+78
-24
package-lock.json
package-lock.json
+58
-19
publish-to-backend.ps1
publish-to-backend.ps1
+1
-1
main.component.less
src/app/main/main.component.less
+10
-2
main.component.ts
src/app/main/main.component.ts
+3
-0
video.component.less
src/app/video/video.component.less
+1
-1
video.component.ts
src/app/video/video.component.ts
+5
-1
No files found.
package-lock.json
View file @
547ab9cb
...
...
@@ -1137,6 +1137,7 @@
"resolved"
:
"https://registry.npm.taobao.org/are-we-there-yet/download/are-we-there-yet-1.1.5.tgz"
,
"integrity"
:
"sha1-SzXClE8GKov82mZBB2A1D+nd/CE="
,
"dev"
:
true
,
"optional"
:
true
,
"requires"
:
{
"delegates"
:
"^1.0.0"
,
"readable-stream"
:
"^2.0.6"
...
...
@@ -2353,7 +2354,8 @@
"version"
:
"1.1.0"
,
"resolved"
:
"https://registry.npm.taobao.org/console-control-strings/download/console-control-strings-1.1.0.tgz"
,
"integrity"
:
"sha1-PXz0Rk22RG6mRL9LOVB/mFEAjo4="
,
"dev"
:
true
"dev"
:
true
,
"optional"
:
true
},
"constants-browserify"
:
{
"version"
:
"1.0.0"
,
...
...
@@ -2757,7 +2759,8 @@
"version"
:
"1.0.0"
,
"resolved"
:
"https://registry.npm.taobao.org/delegates/download/delegates-1.0.0.tgz"
,
"integrity"
:
"sha1-hMbhWbgZBP3KWaDvRM2HDTElD5o="
,
"dev"
:
true
"dev"
:
true
,
"optional"
:
true
},
"depd"
:
{
"version"
:
"1.1.2"
,
...
...
@@ -3702,7 +3705,8 @@
"ansi-regex"
:
{
"version"
:
"2.1.1"
,
"bundled"
:
true
,
"dev"
:
true
"dev"
:
true
,
"optional"
:
true
},
"aproba"
:
{
"version"
:
"1.2.0"
,
...
...
@@ -3723,12 +3727,14 @@
"balanced-match"
:
{
"version"
:
"1.0.0"
,
"bundled"
:
true
,
"dev"
:
true
"dev"
:
true
,
"optional"
:
true
},
"brace-expansion"
:
{
"version"
:
"1.1.11"
,
"bundled"
:
true
,
"dev"
:
true
,
"optional"
:
true
,
"requires"
:
{
"balanced-match"
:
"^1.0.0"
,
"concat-map"
:
"0.0.1"
...
...
@@ -3743,17 +3749,20 @@
"code-point-at"
:
{
"version"
:
"1.1.0"
,
"bundled"
:
true
,
"dev"
:
true
"dev"
:
true
,
"optional"
:
true
},
"concat-map"
:
{
"version"
:
"0.0.1"
,
"bundled"
:
true
,
"dev"
:
true
"dev"
:
true
,
"optional"
:
true
},
"console-control-strings"
:
{
"version"
:
"1.1.0"
,
"bundled"
:
true
,
"dev"
:
true
"dev"
:
true
,
"optional"
:
true
},
"core-util-is"
:
{
"version"
:
"1.0.2"
,
...
...
@@ -3870,7 +3879,8 @@
"inherits"
:
{
"version"
:
"2.0.3"
,
"bundled"
:
true
,
"dev"
:
true
"dev"
:
true
,
"optional"
:
true
},
"ini"
:
{
"version"
:
"1.3.5"
,
...
...
@@ -3882,6 +3892,7 @@
"version"
:
"1.0.0"
,
"bundled"
:
true
,
"dev"
:
true
,
"optional"
:
true
,
"requires"
:
{
"number-is-nan"
:
"^1.0.0"
}
...
...
@@ -3896,6 +3907,7 @@
"version"
:
"3.0.4"
,
"bundled"
:
true
,
"dev"
:
true
,
"optional"
:
true
,
"requires"
:
{
"brace-expansion"
:
"^1.1.7"
}
...
...
@@ -3903,12 +3915,14 @@
"minimist"
:
{
"version"
:
"0.0.8"
,
"bundled"
:
true
,
"dev"
:
true
"dev"
:
true
,
"optional"
:
true
},
"minipass"
:
{
"version"
:
"2.3.5"
,
"bundled"
:
true
,
"dev"
:
true
,
"optional"
:
true
,
"requires"
:
{
"safe-buffer"
:
"^5.1.2"
,
"yallist"
:
"^3.0.0"
...
...
@@ -3927,6 +3941,7 @@
"version"
:
"0.5.1"
,
"bundled"
:
true
,
"dev"
:
true
,
"optional"
:
true
,
"requires"
:
{
"minimist"
:
"0.0.8"
}
...
...
@@ -4007,7 +4022,8 @@
"number-is-nan"
:
{
"version"
:
"1.0.1"
,
"bundled"
:
true
,
"dev"
:
true
"dev"
:
true
,
"optional"
:
true
},
"object-assign"
:
{
"version"
:
"4.1.1"
,
...
...
@@ -4019,6 +4035,7 @@
"version"
:
"1.4.0"
,
"bundled"
:
true
,
"dev"
:
true
,
"optional"
:
true
,
"requires"
:
{
"wrappy"
:
"1"
}
...
...
@@ -4104,7 +4121,8 @@
"safe-buffer"
:
{
"version"
:
"5.1.2"
,
"bundled"
:
true
,
"dev"
:
true
"dev"
:
true
,
"optional"
:
true
},
"safer-buffer"
:
{
"version"
:
"2.1.2"
,
...
...
@@ -4140,6 +4158,7 @@
"version"
:
"1.0.2"
,
"bundled"
:
true
,
"dev"
:
true
,
"optional"
:
true
,
"requires"
:
{
"code-point-at"
:
"^1.0.0"
,
"is-fullwidth-code-point"
:
"^1.0.0"
,
...
...
@@ -4159,6 +4178,7 @@
"version"
:
"3.0.1"
,
"bundled"
:
true
,
"dev"
:
true
,
"optional"
:
true
,
"requires"
:
{
"ansi-regex"
:
"^2.0.0"
}
...
...
@@ -4202,12 +4222,14 @@
"wrappy"
:
{
"version"
:
"1.0.2"
,
"bundled"
:
true
,
"dev"
:
true
"dev"
:
true
,
"optional"
:
true
},
"yallist"
:
{
"version"
:
"3.0.3"
,
"bundled"
:
true
,
"dev"
:
true
"dev"
:
true
,
"optional"
:
true
}
}
},
...
...
@@ -4216,6 +4238,7 @@
"resolved"
:
"https://registry.npm.taobao.org/fstream/download/fstream-1.0.12.tgz"
,
"integrity"
:
"sha1-Touo7i1Ivk99DeUFRVVI6uWTIEU="
,
"dev"
:
true
,
"optional"
:
true
,
"requires"
:
{
"graceful-fs"
:
"^4.1.2"
,
"inherits"
:
"~2.0.0"
,
...
...
@@ -4228,6 +4251,7 @@
"resolved"
:
"https://registry.npm.taobao.org/gauge/download/gauge-2.7.4.tgz"
,
"integrity"
:
"sha1-LANAXHU4w51+s3sxcCLjJfsBi/c="
,
"dev"
:
true
,
"optional"
:
true
,
"requires"
:
{
"aproba"
:
"^1.0.3"
,
"console-control-strings"
:
"^1.0.0"
,
...
...
@@ -4265,7 +4289,8 @@
"version"
:
"4.0.1"
,
"resolved"
:
"https://registry.npm.taobao.org/get-stdin/download/get-stdin-4.0.1.tgz"
,
"integrity"
:
"sha1-uWjGsKBDhDJJAui/Gl3zJXmkUP4="
,
"dev"
:
true
"dev"
:
true
,
"optional"
:
true
},
"get-stream"
:
{
"version"
:
"3.0.0"
,
...
...
@@ -4445,7 +4470,8 @@
"version"
:
"2.0.1"
,
"resolved"
:
"https://registry.npm.taobao.org/has-unicode/download/has-unicode-2.0.1.tgz"
,
"integrity"
:
"sha1-4Ob+aijPUROIVeCG0Wkedx3iqLk="
,
"dev"
:
true
"dev"
:
true
,
"optional"
:
true
},
"has-value"
:
{
"version"
:
"1.0.0"
,
...
...
@@ -5184,7 +5210,8 @@
"version"
:
"0.2.1"
,
"resolved"
:
"https://registry.npm.taobao.org/is-utf8/download/is-utf8-0.2.1.tgz"
,
"integrity"
:
"sha1-Sw2hRCEE0bM2NA6AeX6GXPOffXI="
,
"dev"
:
true
"dev"
:
true
,
"optional"
:
true
},
"is-windows"
:
{
"version"
:
"1.0.2"
,
...
...
@@ -5812,6 +5839,7 @@
"resolved"
:
"https://registry.npm.taobao.org/load-json-file/download/load-json-file-1.1.0.tgz?cache=0&sync_timestamp=1562833825124&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fload-json-file%2Fdownload%2Fload-json-file-1.1.0.tgz"
,
"integrity"
:
"sha1-lWkFcI1YtLq0wiYbBPWfMcmTdMA="
,
"dev"
:
true
,
"optional"
:
true
,
"requires"
:
{
"graceful-fs"
:
"^4.1.2"
,
"parse-json"
:
"^2.2.0"
,
...
...
@@ -5824,7 +5852,8 @@
"version"
:
"2.3.0"
,
"resolved"
:
"https://registry.npm.taobao.org/pify/download/pify-2.3.0.tgz"
,
"integrity"
:
"sha1-7RQaasBDqEnqWISY59yosVMw6Qw="
,
"dev"
:
true
"dev"
:
true
,
"optional"
:
true
}
}
},
...
...
@@ -6097,7 +6126,8 @@
"version"
:
"1.0.1"
,
"resolved"
:
"https://registry.npm.taobao.org/map-obj/download/map-obj-1.0.1.tgz"
,
"integrity"
:
"sha1-2TPOuSBdgr3PSIb2dCvcK03qFG0="
,
"dev"
:
true
"dev"
:
true
,
"optional"
:
true
},
"map-visit"
:
{
"version"
:
"1.0.0"
,
...
...
@@ -6748,6 +6778,7 @@
"resolved"
:
"https://registry.npm.taobao.org/npmlog/download/npmlog-4.1.2.tgz"
,
"integrity"
:
"sha1-CKfyqL9zRgR3mp76StXMcXq7lUs="
,
"dev"
:
true
,
"optional"
:
true
,
"requires"
:
{
"are-we-there-yet"
:
"~1.1.2"
,
"console-control-strings"
:
"~1.1.0"
,
...
...
@@ -7783,6 +7814,7 @@
"resolved"
:
"https://registry.npm.taobao.org/read-pkg/download/read-pkg-1.1.0.tgz"
,
"integrity"
:
"sha1-9f+qXs0pyzHAR0vKfXVra7KePyg="
,
"dev"
:
true
,
"optional"
:
true
,
"requires"
:
{
"load-json-file"
:
"^1.0.0"
,
"normalize-package-data"
:
"^2.3.2"
,
...
...
@@ -7794,6 +7826,7 @@
"resolved"
:
"https://registry.npm.taobao.org/path-type/download/path-type-1.1.0.tgz"
,
"integrity"
:
"sha1-WcRPfuSR2nBNpBXaWkBwuk+P5EE="
,
"dev"
:
true
,
"optional"
:
true
,
"requires"
:
{
"graceful-fs"
:
"^4.1.2"
,
"pify"
:
"^2.0.0"
,
...
...
@@ -7804,7 +7837,8 @@
"version"
:
"2.3.0"
,
"resolved"
:
"https://registry.npm.taobao.org/pify/download/pify-2.3.0.tgz"
,
"integrity"
:
"sha1-7RQaasBDqEnqWISY59yosVMw6Qw="
,
"dev"
:
true
"dev"
:
true
,
"optional"
:
true
}
}
},
...
...
@@ -7813,6 +7847,7 @@
"resolved"
:
"https://registry.npm.taobao.org/read-pkg-up/download/read-pkg-up-1.0.1.tgz"
,
"integrity"
:
"sha1-nWPBMnbAZZGNV/ACpX9AobZD+wI="
,
"dev"
:
true
,
"optional"
:
true
,
"requires"
:
{
"find-up"
:
"^1.0.0"
,
"read-pkg"
:
"^1.0.0"
...
...
@@ -7823,6 +7858,7 @@
"resolved"
:
"https://registry.npm.taobao.org/find-up/download/find-up-1.1.2.tgz"
,
"integrity"
:
"sha1-ay6YIrGizgpgq2TWEOzK1TyyTQ8="
,
"dev"
:
true
,
"optional"
:
true
,
"requires"
:
{
"path-exists"
:
"^2.0.0"
,
"pinkie-promise"
:
"^2.0.0"
...
...
@@ -7833,6 +7869,7 @@
"resolved"
:
"https://registry.npm.taobao.org/path-exists/download/path-exists-2.1.0.tgz"
,
"integrity"
:
"sha1-D+tsZPD8UY2adU3V77YscCJ2H0s="
,
"dev"
:
true
,
"optional"
:
true
,
"requires"
:
{
"pinkie-promise"
:
"^2.0.0"
}
...
...
@@ -9156,6 +9193,7 @@
"resolved"
:
"https://registry.npm.taobao.org/strip-bom/download/strip-bom-2.0.0.tgz"
,
"integrity"
:
"sha1-YhmoVhZSBJHzV4i9vxRHqZx+aw4="
,
"dev"
:
true
,
"optional"
:
true
,
"requires"
:
{
"is-utf8"
:
"^0.2.0"
}
...
...
@@ -10505,6 +10543,7 @@
"resolved"
:
"https://registry.npm.taobao.org/wide-align/download/wide-align-1.1.3.tgz"
,
"integrity"
:
"sha1-rgdOa9wMFKQx6ATmJFScYzsABFc="
,
"dev"
:
true
,
"optional"
:
true
,
"requires"
:
{
"string-width"
:
"^1.0.2 || 2"
}
...
...
publish-to-backend.ps1
View file @
547ab9cb
...
...
@@ -8,7 +8,7 @@ git commit -m $msg
git push
Remove-Item
-Recurse -Force D:\\projects\\supervise\\supervise\\src\\main\\resources\\static
mkdir D:\\projects\\supervise\\supervise\\src\\main\\resources\\static
Copy-Item
D:\\projects\\map
\\dist\\map\\
*
-Destination D:\\projects\\supervise\\supervise\\src\\main\\resources\\static -Recurse
Copy-Item
.
\\dist\\map\\
*
-Destination D:\\projects\\supervise\\supervise\\src\\main\\resources\\static -Recurse
cd
../supervise/supervise
git pull
git add
.
...
...
src/app/main/main.component.less
View file @
547ab9cb
...
...
@@ -176,7 +176,7 @@ fieldset{
.tooltip {
position: relative;
display: inline-block;
margin-top: 1.
6
em;
margin-top: 1.
2
em;
text-align: center;
width:70px;
}
...
...
@@ -251,7 +251,7 @@ fieldset{
##Screen = B/w 1025px to 1280px
*/
@media (min-width: 1025px) and (max-width: 1
38
0px) {
@media (min-width: 1025px) and (max-width: 1
44
0px) {
.main{
.left{
width:250px;
...
...
@@ -262,6 +262,14 @@ fieldset{
width:24%!important;
}
//CSS
.function{
>.tooltip{
margin-bottom:0;
}
}
fieldset{
margin-bottom: 2em;
}
}
...
...
src/app/main/main.component.ts
View file @
547ab9cb
...
...
@@ -268,6 +268,9 @@ export class MainComponent implements OnInit {
this
.
http
.
get
<
any
>
(
this
.
s
.
basePath
+
"/scetion/list"
).
subscribe
(
res
=>
{
this
.
allsecs
=
res
.
data
;
});
//response to 1440*900
}
proj2Change
(
$event
,
type
)
{
this
.
map
.
clearOverlays
();
...
...
src/app/video/video.component.less
View file @
547ab9cb
...
...
@@ -29,7 +29,7 @@
}
#playWnd{
width:
10
00px;
width:
9
00px;
height: 500px;
// border:1px solid red;
}
...
...
src/app/video/video.component.ts
View file @
547ab9cb
...
...
@@ -299,8 +299,12 @@ export class VideoComponent implements OnInit {
// })
// })
var
width
=
$
(
document
).
width
()
var
ratio
=
0.75
;
if
(
window
.
screen
.
width
==
1440
){
ratio
=
0.65
;
}
var
height
=
$
(
document
).
height
()
oWebControl
.
JS_Resize
(
width
*
0.75
,
height
*
0.75
);
// 初始化后resize一次,规避firefox下首次显示窗口后插件窗口未与DIV窗口重合问题
oWebControl
.
JS_Resize
(
width
*
ratio
,
height
*
0.75
);
// 初始化后resize一次,规避firefox下首次显示窗口后插件窗口未与DIV窗口重合问题
});
});
}
...
...
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