diff --git a/Step/wwwroot/assets/styles/base/alarms.less b/Step/wwwroot/assets/styles/base/alarms.less index dbd08534..990e2cc9 100644 --- a/Step/wwwroot/assets/styles/base/alarms.less +++ b/Step/wwwroot/assets/styles/base/alarms.less @@ -537,7 +537,7 @@ display: flex; flex-flow: row; } - .attach{ + .attach, .note{ .accordion{ margin-top: 24px; .filename{ @@ -572,7 +572,7 @@ .filename.selected{ background-color: rgba(255, 255, 255, 0.8); } - .allattach{ + .allattach, .allnote{ display: flex; height: 64px; align-items: center; diff --git a/Step/wwwroot/assets/styles/base/layout.less b/Step/wwwroot/assets/styles/base/layout.less index 75d3741c..23d2b3f7 100644 --- a/Step/wwwroot/assets/styles/base/layout.less +++ b/Step/wwwroot/assets/styles/base/layout.less @@ -31,6 +31,7 @@ @import "create-queue.less"; @import "program-management.less"; @import "job-editor.less"; +@import "scada.less"; @background-color: rgb(216, 216, 216); @handle-width: 48px; diff --git a/Step/wwwroot/assets/styles/base/scada.less b/Step/wwwroot/assets/styles/base/scada.less new file mode 100644 index 00000000..c87b2090 --- /dev/null +++ b/Step/wwwroot/assets/styles/base/scada.less @@ -0,0 +1,17 @@ +// out: false, sourceMap: false, main: ../style.less +@import "colors.less"; + +.scada-container{ + height: 100%; + width: 100%; + display: flex; + justify-content: center; + padding-top: 104px; + .scada-box{ + width: 1808px; + height: 872px; + border-radius: 2px; + background-color: @color-background-white; + box-shadow: 0 3px 5px 0 @color-black-40; + } +} \ No newline at end of file diff --git a/Step/wwwroot/assets/styles/style.css b/Step/wwwroot/assets/styles/style.css index 85c24c95..34c1d587 100644 --- a/Step/wwwroot/assets/styles/style.css +++ b/Step/wwwroot/assets/styles/style.css @@ -3298,50 +3298,67 @@ footer .container button.big:before { display: flex; flex-flow: row; } -.alarm-history-container .alarm-history-body .alarm-history-body-right .box-right .box-right-action .attach .accordion { +.alarm-history-container .alarm-history-body .alarm-history-body-right .box-right .box-right-action .attach .accordion, +.alarm-history-container .alarm-history-body .alarm-history-body-right .box-right .box-right-action .note .accordion { margin-top: 24px; } -.alarm-history-container .alarm-history-body .alarm-history-body-right .box-right .box-right-action .attach .accordion .filename { +.alarm-history-container .alarm-history-body .alarm-history-body-right .box-right .box-right-action .attach .accordion .filename, +.alarm-history-container .alarm-history-body .alarm-history-body-right .box-right .box-right-action .note .accordion .filename { display: flex; height: 64px; align-items: center; cursor: pointer; } -.alarm-history-container .alarm-history-body .alarm-history-body-right .box-right .box-right-action .attach .accordion .filename i { +.alarm-history-container .alarm-history-body .alarm-history-body-right .box-right .box-right-action .attach .accordion .filename i, +.alarm-history-container .alarm-history-body .alarm-history-body-right .box-right .box-right-action .note .accordion .filename i { margin: 0 20px 0 20px; } -.alarm-history-container .alarm-history-body .alarm-history-body-right .box-right .box-right-action .attach .accordion .filename span { +.alarm-history-container .alarm-history-body .alarm-history-body-right .box-right .box-right-action .attach .accordion .filename span, +.alarm-history-container .alarm-history-body .alarm-history-body-right .box-right .box-right-action .note .accordion .filename span { width: 100%; font-size: 18px; line-height: 1; color: #4b4b4b; } -.alarm-history-container .alarm-history-body .alarm-history-body-right .box-right .box-right-action .attach .accordion .filename .right { +.alarm-history-container .alarm-history-body .alarm-history-body-right .box-right .box-right-action .attach .accordion .filename .right, +.alarm-history-container .alarm-history-body .alarm-history-body-right .box-right .box-right-action .note .accordion .filename .right { width: 100%; display: flex; justify-content: flex-end; } -.alarm-history-container .alarm-history-body .alarm-history-body-right .box-right .box-right-action .attach .accordion .filename .right button.btn-hidden { +.alarm-history-container .alarm-history-body .alarm-history-body-right .box-right .box-right-action .attach .accordion .filename .right button.btn-hidden, +.alarm-history-container .alarm-history-body .alarm-history-body-right .box-right .box-right-action .note .accordion .filename .right button.btn-hidden { visibility: hidden; } -.alarm-history-container .alarm-history-body .alarm-history-body-right .box-right .box-right-action .attach .accordion .filename .right button.btn-hidden i { +.alarm-history-container .alarm-history-body .alarm-history-body-right .box-right .box-right-action .attach .accordion .filename .right button.btn-hidden i, +.alarm-history-container .alarm-history-body .alarm-history-body-right .box-right .box-right-action .note .accordion .filename .right button.btn-hidden i { font-size: 26px; visibility: visible; margin: 0 12px; cursor: pointer; } -.alarm-history-container .alarm-history-body .alarm-history-body-right .box-right .box-right-action .attach .accordion .filename.selected { +.alarm-history-container .alarm-history-body .alarm-history-body-right .box-right .box-right-action .attach .accordion .filename.selected, +.alarm-history-container .alarm-history-body .alarm-history-body-right .box-right .box-right-action .note .accordion .filename.selected { background-color: rgba(255, 255, 255, 0.8); } -.alarm-history-container .alarm-history-body .alarm-history-body-right .box-right .box-right-action .attach .accordion .allattach { +.alarm-history-container .alarm-history-body .alarm-history-body-right .box-right .box-right-action .attach .accordion .allattach, +.alarm-history-container .alarm-history-body .alarm-history-body-right .box-right .box-right-action .note .accordion .allattach, +.alarm-history-container .alarm-history-body .alarm-history-body-right .box-right .box-right-action .attach .accordion .allnote, +.alarm-history-container .alarm-history-body .alarm-history-body-right .box-right .box-right-action .note .accordion .allnote { display: flex; height: 64px; align-items: center; } -.alarm-history-container .alarm-history-body .alarm-history-body-right .box-right .box-right-action .attach .accordion .allattach button.btn-hidden { +.alarm-history-container .alarm-history-body .alarm-history-body-right .box-right .box-right-action .attach .accordion .allattach button.btn-hidden, +.alarm-history-container .alarm-history-body .alarm-history-body-right .box-right .box-right-action .note .accordion .allattach button.btn-hidden, +.alarm-history-container .alarm-history-body .alarm-history-body-right .box-right .box-right-action .attach .accordion .allnote button.btn-hidden, +.alarm-history-container .alarm-history-body .alarm-history-body-right .box-right .box-right-action .note .accordion .allnote button.btn-hidden { visibility: hidden; } -.alarm-history-container .alarm-history-body .alarm-history-body-right .box-right .box-right-action .attach .accordion .allattach button.btn-hidden span { +.alarm-history-container .alarm-history-body .alarm-history-body-right .box-right .box-right-action .attach .accordion .allattach button.btn-hidden span, +.alarm-history-container .alarm-history-body .alarm-history-body-right .box-right .box-right-action .note .accordion .allattach button.btn-hidden span, +.alarm-history-container .alarm-history-body .alarm-history-body-right .box-right .box-right-action .attach .accordion .allnote button.btn-hidden span, +.alarm-history-container .alarm-history-body .alarm-history-body-right .box-right .box-right-action .note .accordion .allnote button.btn-hidden span { font-size: 18px; line-height: 1; visibility: visible; @@ -3349,10 +3366,12 @@ footer .container button.big:before { color: #4b4b4b; cursor: pointer; } -.alarm-history-container .alarm-history-body .alarm-history-body-right .box-right .box-right-action .attach .accordion header { +.alarm-history-container .alarm-history-body .alarm-history-body-right .box-right .box-right-action .attach .accordion header, +.alarm-history-container .alarm-history-body .alarm-history-body-right .box-right .box-right-action .note .accordion header { color: #002680; } -.alarm-history-container .alarm-history-body .alarm-history-body-right .box-right .box-right-action .attach .accordion header small { +.alarm-history-container .alarm-history-body .alarm-history-body-right .box-right .box-right-action .attach .accordion header small, +.alarm-history-container .alarm-history-body .alarm-history-body-right .box-right .box-right-action .note .accordion header small { border: 2px solid #002680; color: #002680; } @@ -12868,6 +12887,20 @@ footer .container button.big:before { width: 100%; justify-content: flex-end; } +.scada-container { + height: 100%; + width: 100%; + display: flex; + justify-content: center; + padding-top: 104px; +} +.scada-container .scada-box { + width: 1808px; + height: 872px; + border-radius: 2px; + background-color: #fff; + box-shadow: 0 3px 5px 0 rgba(0, 0, 0, 0.4); +} a, a:visited, a:hover, diff --git a/Step/wwwroot/src/app.modules.js b/Step/wwwroot/src/app.modules.js index b5531b06..ada14ecb 100644 --- a/Step/wwwroot/src/app.modules.js +++ b/Step/wwwroot/src/app.modules.js @@ -67,6 +67,9 @@ export const AlarmHistory = () => export const Production = () => import ("./components/production.vue"); +export const Scada = () => + import ("./components/scada.vue"); + export const CreateQueue = () => import ("./components/create-queue.vue"); diff --git a/Step/wwwroot/src/components/alarm-history.vue b/Step/wwwroot/src/components/alarm-history.vue index 2d24ac31..6b43d54b 100644 --- a/Step/wwwroot/src/components/alarm-history.vue +++ b/Step/wwwroot/src/components/alarm-history.vue @@ -138,6 +138,21 @@