From 0a7014497175088133e9f4d45f31ec5adead662f Mon Sep 17 00:00:00 2001 From: cjp <3096114695@qq.com> Date: Mon, 28 Aug 2023 13:54:53 +0800 Subject: [PATCH 1/4] =?UTF-8?q?fix:=20=E5=88=9B=E5=BB=BA=E6=96=B0=E5=88=86?= =?UTF-8?q?=E6=94=AF=EF=BC=8C=E5=B9=B6=E5=BC=80=E5=A7=8B=E7=BC=96=E5=86=99?= =?UTF-8?q?=E9=A1=B9=E7=9B=AE=E3=80=81=E4=BC=81=E4=B8=9A=E3=80=81=E6=94=BF?= =?UTF-8?q?=E5=8A=A1=E5=8D=87=E9=99=8D=E6=9C=BA=E6=A8=A1=E5=9D=97?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../equipManagement/index.scss | 40 + .../liftSupervision/equipManagement/index.vue | 786 +++++++++++++++++ .../historyData/alarmData/index.scss | 16 + .../historyData/alarmData/index.vue | 233 +++++ .../historyData/realTimeData/index.scss | 16 + .../historyData/realTimeData/index.vue | 491 +++++++++++ .../historyData/workCycleData/index.scss | 16 + .../historyData/workCycleData/index.vue | 315 +++++++ .../notice/myReceive/index.scss | 42 + .../notice/myReceive/index.vue | 199 +++++ .../liftSupervision/operatingData/index.scss | 325 +++++++ .../liftSupervision/operatingData/index.vue | 388 ++++++++ .../liftSupervision/operatingData/index.scss | 325 +++++++ .../liftSupervision/operatingData/index.vue | 487 +++++++++++ .../equipManagement/index.scss | 35 + .../liftSupervision/equipManagement/index.vue | 827 ++++++++++++++++++ .../historyData/alarmData/index.scss | 11 + .../historyData/alarmData/index.vue | 264 ++++++ .../historyData/realTimeData/index.scss | 11 + .../historyData/realTimeData/index.vue | 522 +++++++++++ .../historyData/workCycleData/index.scss | 11 + .../historyData/workCycleData/index.vue | 346 ++++++++ .../liftSupervision/operatingData/index.scss | 277 ++++++ .../liftSupervision/operatingData/index.vue | 429 +++++++++ 24 files changed, 6412 insertions(+) create mode 100644 src/views/enterprise/liftSupervision/equipManagement/index.scss create mode 100644 src/views/enterprise/liftSupervision/equipManagement/index.vue create mode 100644 src/views/enterprise/liftSupervision/historyData/alarmData/index.scss create mode 100644 src/views/enterprise/liftSupervision/historyData/alarmData/index.vue create mode 100644 src/views/enterprise/liftSupervision/historyData/realTimeData/index.scss create mode 100644 src/views/enterprise/liftSupervision/historyData/realTimeData/index.vue create mode 100644 src/views/enterprise/liftSupervision/historyData/workCycleData/index.scss create mode 100644 src/views/enterprise/liftSupervision/historyData/workCycleData/index.vue create mode 100644 src/views/enterprise/liftSupervision/notice/myReceive/index.scss create mode 100644 src/views/enterprise/liftSupervision/notice/myReceive/index.vue create mode 100644 src/views/enterprise/liftSupervision/operatingData/index.scss create mode 100644 src/views/enterprise/liftSupervision/operatingData/index.vue create mode 100644 src/views/goverment/liftSupervision/operatingData/index.scss create mode 100644 src/views/goverment/liftSupervision/operatingData/index.vue create mode 100644 src/views/project/liftSupervision/equipManagement/index.scss create mode 100644 src/views/project/liftSupervision/equipManagement/index.vue create mode 100644 src/views/project/liftSupervision/historyData/alarmData/index.scss create mode 100644 src/views/project/liftSupervision/historyData/alarmData/index.vue create mode 100644 src/views/project/liftSupervision/historyData/realTimeData/index.scss create mode 100644 src/views/project/liftSupervision/historyData/realTimeData/index.vue create mode 100644 src/views/project/liftSupervision/historyData/workCycleData/index.scss create mode 100644 src/views/project/liftSupervision/historyData/workCycleData/index.vue create mode 100644 src/views/project/liftSupervision/operatingData/index.scss create mode 100644 src/views/project/liftSupervision/operatingData/index.vue diff --git a/src/views/enterprise/liftSupervision/equipManagement/index.scss b/src/views/enterprise/liftSupervision/equipManagement/index.scss new file mode 100644 index 0000000..ebdacf0 --- /dev/null +++ b/src/views/enterprise/liftSupervision/equipManagement/index.scss @@ -0,0 +1,40 @@ +.date-select { + width: 100%; + display: flex; + align-items: center; + justify-content: space-between; +} +.basic-form { + .face-img { + width: 100%; + align-self: flex-start; + :deep(.face-uploader .el-upload) { + border: 1px dashed #d9d9d9 !important; + border-radius: 6px !important; + cursor: pointer !important; + position: relative !important; + overflow: hidden !important; + } + .face-uploader .el-upload:hover { + border-color: #409eff !important; + } + :deep(.el-icon) { + font-size: 28px; + color: #8c939d; + width: 53px; + height: 53px; + line-height: 53px; + text-align: center; + } + .face-avatar { + width: 53px; + height: 53px; + display: block; + } + } +} +:deep() { + .tabs-option { + display: none; + } +} diff --git a/src/views/enterprise/liftSupervision/equipManagement/index.vue b/src/views/enterprise/liftSupervision/equipManagement/index.vue new file mode 100644 index 0000000..bdff8f3 --- /dev/null +++ b/src/views/enterprise/liftSupervision/equipManagement/index.vue @@ -0,0 +1,786 @@ + + + + diff --git a/src/views/enterprise/liftSupervision/historyData/alarmData/index.scss b/src/views/enterprise/liftSupervision/historyData/alarmData/index.scss new file mode 100644 index 0000000..78172c0 --- /dev/null +++ b/src/views/enterprise/liftSupervision/historyData/alarmData/index.scss @@ -0,0 +1,16 @@ +@mixin flex { + display: flex; + align-items: center; +} +.table-data { + @include flex; + > span { + display: inline-block; + width: 50%; + } +} +:deep() { + .tabs-option { + display: none; + } +} diff --git a/src/views/enterprise/liftSupervision/historyData/alarmData/index.vue b/src/views/enterprise/liftSupervision/historyData/alarmData/index.vue new file mode 100644 index 0000000..a4611e8 --- /dev/null +++ b/src/views/enterprise/liftSupervision/historyData/alarmData/index.vue @@ -0,0 +1,233 @@ + + + + diff --git a/src/views/enterprise/liftSupervision/historyData/realTimeData/index.scss b/src/views/enterprise/liftSupervision/historyData/realTimeData/index.scss new file mode 100644 index 0000000..78172c0 --- /dev/null +++ b/src/views/enterprise/liftSupervision/historyData/realTimeData/index.scss @@ -0,0 +1,16 @@ +@mixin flex { + display: flex; + align-items: center; +} +.table-data { + @include flex; + > span { + display: inline-block; + width: 50%; + } +} +:deep() { + .tabs-option { + display: none; + } +} diff --git a/src/views/enterprise/liftSupervision/historyData/realTimeData/index.vue b/src/views/enterprise/liftSupervision/historyData/realTimeData/index.vue new file mode 100644 index 0000000..e081034 --- /dev/null +++ b/src/views/enterprise/liftSupervision/historyData/realTimeData/index.vue @@ -0,0 +1,491 @@ + + + + diff --git a/src/views/enterprise/liftSupervision/historyData/workCycleData/index.scss b/src/views/enterprise/liftSupervision/historyData/workCycleData/index.scss new file mode 100644 index 0000000..78172c0 --- /dev/null +++ b/src/views/enterprise/liftSupervision/historyData/workCycleData/index.scss @@ -0,0 +1,16 @@ +@mixin flex { + display: flex; + align-items: center; +} +.table-data { + @include flex; + > span { + display: inline-block; + width: 50%; + } +} +:deep() { + .tabs-option { + display: none; + } +} diff --git a/src/views/enterprise/liftSupervision/historyData/workCycleData/index.vue b/src/views/enterprise/liftSupervision/historyData/workCycleData/index.vue new file mode 100644 index 0000000..8e84577 --- /dev/null +++ b/src/views/enterprise/liftSupervision/historyData/workCycleData/index.vue @@ -0,0 +1,315 @@ + + + + diff --git a/src/views/enterprise/liftSupervision/notice/myReceive/index.scss b/src/views/enterprise/liftSupervision/notice/myReceive/index.scss new file mode 100644 index 0000000..0fb6677 --- /dev/null +++ b/src/views/enterprise/liftSupervision/notice/myReceive/index.scss @@ -0,0 +1,42 @@ +.el-table :deep(.el-table__row) { + height: 36px; +} +.el-table :deep(.el-table__header th) { + height: 36px; +} + +.list { + margin: 18px 0 32px 0; +} +.time { + // margin-left: 42px; + margin: 10px 0 10px 42px; +} +.content { + padding: 0 40px; +} +.html-div { + display: flex; + align-items: center; + justify-content: center; + line-height: 50px; + height: 50px; + width: 100%; + white-space: nowrap; + text-overflow: ellipsis; + overflow: hidden; + :deep() { + p:first-child { + width: 100%; + display: flex; + align-items: center; + justify-content: center; + white-space: nowrap; + text-overflow: ellipsis; + overflow: hidden; + } + p:not(:first-child) { + display: none !important; + } + } +} diff --git a/src/views/enterprise/liftSupervision/notice/myReceive/index.vue b/src/views/enterprise/liftSupervision/notice/myReceive/index.vue new file mode 100644 index 0000000..847c113 --- /dev/null +++ b/src/views/enterprise/liftSupervision/notice/myReceive/index.vue @@ -0,0 +1,199 @@ + + + + diff --git a/src/views/enterprise/liftSupervision/operatingData/index.scss b/src/views/enterprise/liftSupervision/operatingData/index.scss new file mode 100644 index 0000000..379a4d2 --- /dev/null +++ b/src/views/enterprise/liftSupervision/operatingData/index.scss @@ -0,0 +1,325 @@ +@mixin boxStyle { + background: #ffffff; + border-radius: 8px; +} +@mixin flex { + display: flex; + align-items: center; +} +.operate-box { + width: 100%; + height: 100%; + @include flex; + .monitor-data { + @include boxStyle; + + flex: 1; + height: 100%; + min-height: 600px; + .monitor-title { + margin-top: 15px; + margin-left: 36px; + @include flex; + span:first-child { + margin-right: 20px; + font-family: "Source Han Sans CN-Bold", "Source Han Sans CN"; + font-size: 30px; + font-weight: bold; + color: #333333; + } + span:last-child { + font-family: "Source Han Sans CN-Medium", "Source Han Sans CN"; + font-size: 22px; + font-weight: 500; + } + } + .monitor-content { + display: flex; + height: calc(100% - 265px); + margin-top: 36px; + margin-left: 36px; + .monitor-tool { + position: relative; + span { + font-family: "Source Han Sans CN-Regular", "Source Han Sans CN"; + font-size: 18px; + font-weight: 400; + color: #000000; + } + .property-one { + position: absolute; + top: 0; + left: 0; + } + .property-two { + position: absolute; + top: 0; + right: 0; + } + .property-three { + position: absolute; + top: 180px; + left: 0; + } + .other-info { + position: absolute; + top: 240px; + right: 0; + display: flex; + flex-direction: column; + > span { + margin-bottom: 20px; + } + } + img { + width: 357px; + height: 100%; + } + } + .common-info { + display: flex; + flex-wrap: wrap; + align-content: flex-start; + margin-left: 86px; + &-item { + flex-direction: column; + justify-content: center; + width: 184px; + height: 100px; + margin-right: 26px; + margin-bottom: 30px; + background: #ffffff; + border: 1px solid #ebebeb; + border-radius: 4px; + @include flex; + > div:first-child { + @include flex; + + margin-bottom: 12px; + span { + margin-right: 7px; + font-family: "Source Han Sans CN-Medium", "Source Han Sans CN"; + font-size: 18px; + font-weight: 500; + color: #333333; + } + img { + width: 20px; + height: 20px; + } + } + > div:last-child { + @include flex; + span { + font-family: "Source Han Sans CN-Medium", "Source Han Sans CN"; + font-size: 18px; + font-weight: 500; + color: #00378f; + } + } + } + } + .monitor-aspect { + display: flex; + flex-wrap: wrap; + align-content: flex-start; + margin-left: 86px; + &-item { + flex-direction: column; + justify-content: center; + width: 184px; + height: 100px; + margin-right: 26px; + margin-bottom: 30px; + background: #ffffff; + border: 1px solid #ebebeb; + border-radius: 4px; + @include flex; + > div:first-child { + @include flex; + + margin-bottom: 12px; + span { + margin-right: 7px; + font-family: "Source Han Sans CN-Medium", "Source Han Sans CN"; + font-size: 18px; + font-weight: 500; + color: #333333; + } + img { + width: 20px; + height: 20px; + } + } + > div:last-child { + @include flex; + span { + font-family: "Source Han Sans CN-Medium", "Source Han Sans CN"; + font-size: 18px; + font-weight: 500; + color: #00378f; + } + } + } + } + } + .monitor-equip { + margin-top: 31px; + margin-bottom: 16px; + margin-left: 36px; + @include flex; + .monitor-state:not(:last-child) { + margin-right: 26px; + } + .monitor-state { + @include flex; + + flex-direction: column; + align-items: center; + cursor: pointer; + > div { + position: relative; + img { + width: 184px; + height: 100px; + } + span { + position: absolute; + top: 0; + right: 0; + width: 32px; + height: 15px; + font-family: "Source Han Sans CN-Regular", "Source Han Sans CN"; + font-size: 10px; + font-weight: 400; + color: #ffffff; + text-align: center; + } + } + > span { + font-family: "Source Han Sans CN-Regular", "Source Han Sans CN"; + font-size: 16px; + font-weight: 400; + color: #000000; + } + } + .active-class { + box-shadow: 0 4px 8px 0 rgb(48 62 100 / 20%); + } + } + } + .no-data { + @include boxStyle; + + display: flex; + flex: 1; + flex-direction: column; + align-items: center; + justify-content: center; + height: 100%; + min-height: 600px; + color: #999999; + } + .history-data { + @include boxStyle; + + width: 300px; + height: 100%; + margin-left: 20px; + :deep() { + .leftMenu { + height: 100%; + } + .content { + height: calc(100% - 100px); + } + } + .search-wrapper { + @include flex; + + height: 50px; + padding: 0 10px; + background-color: #ffffff; + border-bottom: 1px solid #e5e5e5; + } + .alarm-list { + height: calc(100% - 50px); + min-height: 83%; + overflow-y: scroll; + &-item { + display: flex; + flex-direction: column; + padding: 12px; + border-bottom: 1px solid #e5e5e5; + > div { + span { + font-family: "Source Han Sans CN-Regular", "Source Han Sans CN"; + font-size: 12px; + font-weight: 400; + color: #333333; + } + } + > div:not(:last-child) { + margin-bottom: 8px; + } + } + } + .info-list { + height: calc(100% - 50px); + min-height: 83%; + overflow-y: scroll; + &-item { + display: flex; + flex-direction: column; + padding: 12px; + border-bottom: 1px solid #e5e5e5; + > div:nth-child(1) { + margin-bottom: 10px; + font-family: "Source Han Sans CN-Medium", "Source Han Sans CN"; + font-size: 16px; + font-weight: 500; + color: #333333; + } + &-aspect { + display: flex; + align-items: center; + justify-content: space-between; + &-item { + margin-bottom: 8px; + span { + font-family: "Source Han Sans CN-Regular", "Source Han Sans CN"; + font-size: 12px; + font-weight: 400; + } + > span:nth-child(1) { + display: inline-block; + width: 36px; + height: 18px; + margin-right: 20px; + color: #606266; + text-align: left; + } + > span:nth-child(2) { + display: inline-block; + width: 42px; + height: 18px; + color: #333333; + } + } + } + > div:last-child { + margin-top: 5px; + font-family: "Source Han Sans CN-Regular", "Source Han Sans CN"; + font-size: 10px; + font-weight: 400; + color: rgb(102 102 102 / 80%); + } + } + } + } +} +:deep() { + .tabs-option { + display: none; + } +} diff --git a/src/views/enterprise/liftSupervision/operatingData/index.vue b/src/views/enterprise/liftSupervision/operatingData/index.vue new file mode 100644 index 0000000..8fc9a79 --- /dev/null +++ b/src/views/enterprise/liftSupervision/operatingData/index.vue @@ -0,0 +1,388 @@ + + + + diff --git a/src/views/goverment/liftSupervision/operatingData/index.scss b/src/views/goverment/liftSupervision/operatingData/index.scss new file mode 100644 index 0000000..fa64dac --- /dev/null +++ b/src/views/goverment/liftSupervision/operatingData/index.scss @@ -0,0 +1,325 @@ +@mixin boxStyle { + border-radius: 8px; + background: #ffffff; +} +@mixin flex { + display: flex; + align-items: center; +} +.entire-box { + height: 100%; + width: 100%; + display: flex; + flex-direction: column; + background-color: #f6f6f6; + .operate-box { + height: calc(100% - 112px); + padding: 0 20px 20px 20px; + @include flex; + .alarm-data { + height: 100%; + // 页面的项目工程 + .leftProject { + border-radius: 8px; + color: #333333; + // background-color: pink; + .projectName { + display: block; + width: 100%; + overflow: hidden; + + // font-weight: 700; + font-family: "siyuan_Medium"; + font-size: 16px; + text-overflow: ellipsis; + white-space: nowrap; + } + .leftMenu_item { + .middleSize { + font-size: 12px; + } + img { + margin: 0 4px; + width: 12px; + height: 12px; + } + } + .bottom_item { + .bottomSize { + font-size: 10px; + color: #666666; + } + } + } + .LeftMenu { + width: 300px; + height: 100%; + border-radius: 8px; + // box-shadow: 0 4px 4px 0 rgb(0 55 143 / 20%); + overflow-y: scroll; + margin-right: 20px; + :deep() { + .content { + height: calc(100% - 150px); + } + } + } + } + .monitor-data { + @include boxStyle; + flex: 1; + height: 100%; + .monitor-title { + margin-top: 15px; + margin-left: 36px; + span:first-child { + font-size: 30px; + font-family: Source Han Sans CN-Bold, Source Han Sans CN; + font-weight: bold; + color: #333333; + margin-right: 20px; + } + span:last-child { + font-size: 22px; + font-family: Source Han Sans CN-Medium, Source Han Sans CN; + font-weight: 500; + color: #0f64da; + } + } + .monitor-content { + display: flex; + height: calc(100% - 265px); + margin-top: 36px; + margin-left: 36px; + .monitor-tool { + position: relative; + span { + font-size: 18px; + font-family: Source Han Sans CN-Regular, Source Han Sans CN; + font-weight: 400; + color: #000000; + } + .property-one { + position: absolute; + top: 0; + left: 0; + } + .property-two { + position: absolute; + top: 0; + right: 0; + } + .property-three { + position: absolute; + top: 180px; + left: 0; + } + .other-info { + position: absolute; + top: 240px; + right: 0px; + display: flex; + flex-direction: column; + > span { + margin-bottom: 20px; + } + } + img { + width: 688px; + height: 100%; + } + } + .monitor-aspect { + margin-left: 56px; + display: flex; + flex-wrap: wrap; + align-content: flex-start; + &-item { + width: 184px; + height: 100px; + background: #ffffff; + border-radius: 4px; + border: 1px solid #ebebeb; + @include flex; + flex-direction: column; + justify-content: center; + margin-right: 26px; + margin-bottom: 30px; + > div:first-child { + @include flex; + margin-bottom: 12px; + span { + font-size: 18px; + font-family: Source Han Sans CN-Medium, Source Han Sans CN; + font-weight: 500; + color: #333333; + margin-right: 7px; + } + img { + width: 20px; + height: 20px; + } + } + > div:last-child { + @include flex; + span { + font-size: 18px; + font-family: Source Han Sans CN-Medium, Source Han Sans CN; + font-weight: 500; + color: #00378f; + } + } + } + } + } + .monitor-equip { + margin-top: 31px; + margin-left: 36px; + margin-bottom: 16px; + @include flex; + .monitor-state:not(:last-child) { + margin-right: 26px; + } + .monitor-state { + @include flex; + flex-direction: column; + align-items: center; + > div { + position: relative; + img { + width: 184px; + height: 100px; + } + span { + width: 32px; + height: 15px; + background: #008bff; + font-size: 10px; + font-family: Source Han Sans CN-Regular, Source Han Sans CN; + font-weight: 400; + color: #ffffff; + text-align: center; + position: absolute; + top: 0; + right: 0; + } + } + > span { + font-size: 16px; + font-family: Source Han Sans CN-Regular, Source Han Sans CN; + font-weight: 400; + color: #000000; + } + } + .active-class { + box-shadow: 0px 4px 8px 0px rgba(48, 62, 100, 0.2); + } + } + } + .no-data { + @include boxStyle; + flex: 1; + height: 100%; + display: flex; + justify-content: center; + align-items: center; + flex-direction: column; + color: #999; + } + .history-data { + @include boxStyle; + width: 300px; + height: 100%; + margin-left: 20px; + :deep() { + .leftMenu { + height: 100%; + } + .content { + height: calc(100% - 100px); + } + } + .search-wrapper { + @include flex; + height: 50px; + padding: 0 10px; + background-color: #ffffff; + border-bottom: 1px solid #e5e5e5; + } + .alarm-list { + height: calc(100% - 50px); + min-height: 83%; + overflow-y: scroll; + &-item { + display: flex; + flex-direction: column; + border-bottom: 1px solid #e5e5e5; + padding: 12px; + > div { + span { + font-size: 12px; + font-family: Source Han Sans CN-Regular, Source Han Sans CN; + font-weight: 400; + color: #333333; + } + } + > div:not(:last-child) { + margin-bottom: 8px; + } + } + } + .info-list { + height: calc(100% - 50px); + min-height: 83%; + overflow-y: scroll; + &-item { + display: flex; + flex-direction: column; + border-bottom: 1px solid #e5e5e5; + padding: 12px; + > div:nth-child(1) { + font-size: 16px; + font-family: Source Han Sans CN-Medium, Source Han Sans CN; + font-weight: 500; + color: #333333; + margin-bottom: 10px; + } + &-aspect { + display: flex; + align-items: center; + justify-content: space-between; + &-item { + margin-bottom: 8px; + span { + font-size: 12px; + font-family: Source Han Sans CN-Regular, Source Han Sans CN; + font-weight: 400; + } + > span:nth-child(1) { + display: inline-block; + width: 36px; + height: 18px; + color: #606266; + margin-right: 20px; + text-align: left; + } + > span:nth-child(2) { + display: inline-block; + width: 42px; + height: 18px; + color: #333333; + } + } + } + > div:last-child { + font-size: 10px; + font-family: Source Han Sans CN-Regular, Source Han Sans CN; + font-weight: 400; + color: rgba(102, 102, 102, 0.8); + margin-top: 5px; + } + } + } + } + } +} diff --git a/src/views/goverment/liftSupervision/operatingData/index.vue b/src/views/goverment/liftSupervision/operatingData/index.vue new file mode 100644 index 0000000..a1d7e66 --- /dev/null +++ b/src/views/goverment/liftSupervision/operatingData/index.vue @@ -0,0 +1,487 @@ + + + + diff --git a/src/views/project/liftSupervision/equipManagement/index.scss b/src/views/project/liftSupervision/equipManagement/index.scss new file mode 100644 index 0000000..5030cce --- /dev/null +++ b/src/views/project/liftSupervision/equipManagement/index.scss @@ -0,0 +1,35 @@ +.date-select { + width: 100%; + display: flex; + align-items: center; + justify-content: space-between; +} +.basic-form { + .face-img { + width: 100%; + align-self: flex-start; + :deep(.face-uploader .el-upload) { + border: 1px dashed #d9d9d9 !important; + border-radius: 6px !important; + cursor: pointer !important; + position: relative !important; + overflow: hidden !important; + } + .face-uploader .el-upload:hover { + border-color: #409eff !important; + } + :deep(.el-icon) { + font-size: 28px; + color: #8c939d; + width: 53px; + height: 53px; + line-height: 53px; + text-align: center; + } + .face-avatar { + width: 53px; + height: 53px; + display: block; + } + } +} diff --git a/src/views/project/liftSupervision/equipManagement/index.vue b/src/views/project/liftSupervision/equipManagement/index.vue new file mode 100644 index 0000000..86eca01 --- /dev/null +++ b/src/views/project/liftSupervision/equipManagement/index.vue @@ -0,0 +1,827 @@ + + + + diff --git a/src/views/project/liftSupervision/historyData/alarmData/index.scss b/src/views/project/liftSupervision/historyData/alarmData/index.scss new file mode 100644 index 0000000..669485c --- /dev/null +++ b/src/views/project/liftSupervision/historyData/alarmData/index.scss @@ -0,0 +1,11 @@ +@mixin flex { + display: flex; + align-items: center; +} +.table-data { + @include flex; + > span { + display: inline-block; + width: 50%; + } +} diff --git a/src/views/project/liftSupervision/historyData/alarmData/index.vue b/src/views/project/liftSupervision/historyData/alarmData/index.vue new file mode 100644 index 0000000..3f9fc5e --- /dev/null +++ b/src/views/project/liftSupervision/historyData/alarmData/index.vue @@ -0,0 +1,264 @@ + + + + diff --git a/src/views/project/liftSupervision/historyData/realTimeData/index.scss b/src/views/project/liftSupervision/historyData/realTimeData/index.scss new file mode 100644 index 0000000..669485c --- /dev/null +++ b/src/views/project/liftSupervision/historyData/realTimeData/index.scss @@ -0,0 +1,11 @@ +@mixin flex { + display: flex; + align-items: center; +} +.table-data { + @include flex; + > span { + display: inline-block; + width: 50%; + } +} diff --git a/src/views/project/liftSupervision/historyData/realTimeData/index.vue b/src/views/project/liftSupervision/historyData/realTimeData/index.vue new file mode 100644 index 0000000..5d5555e --- /dev/null +++ b/src/views/project/liftSupervision/historyData/realTimeData/index.vue @@ -0,0 +1,522 @@ + + + + diff --git a/src/views/project/liftSupervision/historyData/workCycleData/index.scss b/src/views/project/liftSupervision/historyData/workCycleData/index.scss new file mode 100644 index 0000000..669485c --- /dev/null +++ b/src/views/project/liftSupervision/historyData/workCycleData/index.scss @@ -0,0 +1,11 @@ +@mixin flex { + display: flex; + align-items: center; +} +.table-data { + @include flex; + > span { + display: inline-block; + width: 50%; + } +} diff --git a/src/views/project/liftSupervision/historyData/workCycleData/index.vue b/src/views/project/liftSupervision/historyData/workCycleData/index.vue new file mode 100644 index 0000000..7c077ca --- /dev/null +++ b/src/views/project/liftSupervision/historyData/workCycleData/index.vue @@ -0,0 +1,346 @@ + + + + diff --git a/src/views/project/liftSupervision/operatingData/index.scss b/src/views/project/liftSupervision/operatingData/index.scss new file mode 100644 index 0000000..f9691a0 --- /dev/null +++ b/src/views/project/liftSupervision/operatingData/index.scss @@ -0,0 +1,277 @@ +@mixin boxStyle { + background: #ffffff; + border-radius: 8px; +} +@mixin flex { + display: flex; + align-items: center; +} +.operate-box { + width: 100%; + height: 100%; + @include flex; + .monitor-data { + @include boxStyle; + + flex: 1; + height: 100%; + min-height: 600px; + .monitor-title { + margin-top: 15px; + margin-left: 36px; + @include flex; + span:first-child { + margin-right: 20px; + font-family: "Source Han Sans CN-Bold", "Source Han Sans CN"; + font-size: 30px; + font-weight: bold; + color: #333333; + } + span:last-child { + font-family: "Source Han Sans CN-Medium", "Source Han Sans CN"; + font-size: 22px; + font-weight: 500; + } + } + .monitor-content { + display: flex; + height: calc(100% - 265px); + margin-top: 36px; + margin-left: 36px; + .monitor-tool { + position: relative; + span { + font-family: "Source Han Sans CN-Regular", "Source Han Sans CN"; + font-size: 18px; + font-weight: 400; + color: #000000; + } + .property-one { + position: absolute; + top: 0; + left: 0; + } + .property-two { + position: absolute; + top: 0; + right: 0; + } + .property-three { + position: absolute; + top: 180px; + left: 0; + } + .other-info { + position: absolute; + top: 240px; + right: 0; + display: flex; + flex-direction: column; + > span { + margin-bottom: 20px; + } + } + img { + width: 357px; + height: 100%; + } + } + .monitor-aspect { + display: flex; + flex-wrap: wrap; + align-content: flex-start; + margin-left: 86px; + &-item { + flex-direction: column; + justify-content: center; + width: 184px; + height: 100px; + margin-right: 26px; + margin-bottom: 30px; + background: #ffffff; + border: 1px solid #ebebeb; + border-radius: 4px; + @include flex; + > div:first-child { + @include flex; + + margin-bottom: 12px; + span { + margin-right: 7px; + font-family: "Source Han Sans CN-Medium", "Source Han Sans CN"; + font-size: 18px; + font-weight: 500; + color: #333333; + } + img { + width: 20px; + height: 20px; + } + } + > div:last-child { + @include flex; + span { + font-family: "Source Han Sans CN-Medium", "Source Han Sans CN"; + font-size: 18px; + font-weight: 500; + color: #00378f; + } + } + } + } + } + .monitor-equip { + margin-top: 31px; + margin-bottom: 16px; + margin-left: 36px; + @include flex; + .monitor-state:not(:last-child) { + margin-right: 26px; + } + .monitor-state { + @include flex; + + flex-direction: column; + align-items: center; + cursor: pointer; + > div { + position: relative; + img { + width: 184px; + height: 100px; + } + span { + position: absolute; + top: 0; + right: 0; + width: 32px; + height: 15px; + font-family: "Source Han Sans CN-Regular", "Source Han Sans CN"; + font-size: 10px; + font-weight: 400; + color: #ffffff; + text-align: center; + } + } + > span { + font-family: "Source Han Sans CN-Regular", "Source Han Sans CN"; + font-size: 16px; + font-weight: 400; + color: #000000; + } + } + .active-class { + box-shadow: 0 4px 8px 0 rgb(48 62 100 / 20%); + } + } + } + .no-data { + @include boxStyle; + + display: flex; + flex: 1; + flex-direction: column; + align-items: center; + justify-content: center; + height: 100%; + min-height: 600px; + color: #999999; + } + .history-data { + @include boxStyle; + + width: 300px; + height: 100%; + margin-left: 20px; + :deep() { + .leftMenu { + height: 100%; + } + .content { + height: calc(100% - 100px); + } + } + .search-wrapper { + @include flex; + + height: 50px; + padding: 0 10px; + background-color: #ffffff; + border-bottom: 1px solid #e5e5e5; + } + .alarm-list { + height: calc(100% - 50px); + min-height: 83%; + overflow-y: scroll; + &-item { + display: flex; + flex-direction: column; + padding: 12px; + border-bottom: 1px solid #e5e5e5; + > div { + span { + font-family: "Source Han Sans CN-Regular", "Source Han Sans CN"; + font-size: 12px; + font-weight: 400; + color: #333333; + } + } + > div:not(:last-child) { + margin-bottom: 8px; + } + } + } + .info-list { + height: calc(100% - 50px); + min-height: 83%; + overflow-y: scroll; + &-item { + display: flex; + flex-direction: column; + padding: 12px; + border-bottom: 1px solid #e5e5e5; + > div:nth-child(1) { + margin-bottom: 10px; + font-family: "Source Han Sans CN-Medium", "Source Han Sans CN"; + font-size: 16px; + font-weight: 500; + color: #333333; + } + &-aspect { + display: flex; + align-items: center; + justify-content: space-between; + &-item { + margin-bottom: 8px; + span { + font-family: "Source Han Sans CN-Regular", "Source Han Sans CN"; + font-size: 12px; + font-weight: 400; + } + > span:nth-child(1) { + display: inline-block; + width: 36px; + height: 18px; + margin-right: 20px; + color: #606266; + text-align: left; + } + > span:nth-child(2) { + display: inline-block; + width: 42px; + height: 18px; + color: #333333; + } + } + } + > div:last-child { + margin-top: 5px; + font-family: "Source Han Sans CN-Regular", "Source Han Sans CN"; + font-size: 10px; + font-weight: 400; + color: rgb(102 102 102 / 80%); + } + } + } + } +} diff --git a/src/views/project/liftSupervision/operatingData/index.vue b/src/views/project/liftSupervision/operatingData/index.vue new file mode 100644 index 0000000..9b51b43 --- /dev/null +++ b/src/views/project/liftSupervision/operatingData/index.vue @@ -0,0 +1,429 @@ + + + + From 767e85a1a44889f5deadccc63e844cf733735eae Mon Sep 17 00:00:00 2001 From: kun <1422840143@qq.com> Date: Mon, 28 Aug 2023 16:31:56 +0800 Subject: [PATCH 2/4] =?UTF-8?q?fix:=20BUG=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../components/detailsDialog.vue | 22 ++++++++++++---- .../components/transformInfo.vue | 11 +++++--- .../acceptanceApply/index.vue | 2 ++ .../acceptancePlan/index.vue | 5 ++++ .../components/transformInfo.vue | 2 ++ .../components/transformInfo.vue | 2 ++ .../components/transformInfo.vue | 10 ++++++-- .../acceptanceApply/index.vue | 4 ++- .../acceptancePlan/index.vue | 4 ++- .../GanttchartChart/index.vue | 4 ++- .../divisionsAndISubItems/index.vue | 4 ++- .../investmentPayment/index.vue | 4 ++- .../panoramicPlan/index.vue | 4 ++- .../planFinishSituation/index.vue | 4 ++- .../components/detailsDialog.vue | 25 ++++++++++++++----- .../components/transformInfo.vue | 4 ++- .../acceptanceApply/index.vue | 2 ++ .../acceptancePlan/index.vue | 7 +++++- .../components/transformInfo.vue | 2 ++ .../components/transformInfo.vue | 2 ++ .../ProjectSupervision/overview.vue | 9 ++++++- 21 files changed, 106 insertions(+), 27 deletions(-) diff --git a/src/views/enterprise/engineeringAcceptance/acceptanceApply/components/detailsDialog.vue b/src/views/enterprise/engineeringAcceptance/acceptanceApply/components/detailsDialog.vue index c361d8b..72fda32 100644 --- a/src/views/enterprise/engineeringAcceptance/acceptanceApply/components/detailsDialog.vue +++ b/src/views/enterprise/engineeringAcceptance/acceptanceApply/components/detailsDialog.vue @@ -300,7 +300,9 @@ const baseUrl = import.meta.env.VITE_API_URL; const props = defineProps({ dialogVisible: Boolean, relativeId: String, - title: String + title: String, + searchSn: String, + activeValue: String }); const emits = defineEmits(["update:dialogVisible", "confirm"]); const visible1 = ref(false); @@ -382,9 +384,13 @@ const confirm = async () => { let requestData = { ...allForm.value, detailList: recordData.value, - annexList: documentData.value, - engineeringSn: globalStore.engineeringSn + annexList: documentData.value }; + if (props.activeValue == "eng") { + requestData.engineeringSn = props.searchSn; + } else { + requestData.projectSn = props.searchSn; + } if (props.title == "重新发起") { requestData.id = props.relativeId; } @@ -467,7 +473,13 @@ const confirm = async () => { visible1.value = false; }; const getSingleEngineerData = async () => { - const res = await singleEngineer({ engineeringSn: globalStore.engineeringSn }); + let requestData = {}; + if (props.activeValue == "eng") { + requestData.engineeringSn = props.searchSn; + } else { + requestData.projectSn = props.searchSn; + } + const res = await singleEngineer(requestData); singleEngineerList.value = res.result; console.log(res); }; @@ -548,6 +560,7 @@ watch( (n, o) => { visible1.value = n; if (n) { + getSingleEngineerData(); if (props.title == "新增") { allForm.value = { stage: "", @@ -571,7 +584,6 @@ watch(visible1, (n, o) => { }); onMounted(() => { getDicMainList(); - getSingleEngineerData(); }); diff --git a/src/views/enterprise/engineeringAcceptance/acceptanceApply/components/transformInfo.vue b/src/views/enterprise/engineeringAcceptance/acceptanceApply/components/transformInfo.vue index 1d42b74..e1ce118 100644 --- a/src/views/enterprise/engineeringAcceptance/acceptanceApply/components/transformInfo.vue +++ b/src/views/enterprise/engineeringAcceptance/acceptanceApply/components/transformInfo.vue @@ -487,8 +487,8 @@ onMounted(() => {}); top: 0; right: -460px; width: 380px; - height: calc(100% - 31px); min-width: 420px; + height: calc(100% - 31px); background: #ffffff; box-shadow: 0px 4px 8px 0px rgba(48, 62, 100, 0.2); border-radius: 8px 8px 8px 8px; @@ -502,7 +502,8 @@ onMounted(() => {}); display: flex; margin-bottom: 12px; span:nth-child(1) { - width: 56px; + display: inline-block; + width: 60px; text-align: right; font-size: 12px; font-family: Source Han Sans CN-Medium, Source Han Sans CN; @@ -524,11 +525,13 @@ onMounted(() => {}); img { width: 95px; height: 53px; + margin-bottom: 10px; margin-right: 15px; } :deep(.el-image) { width: 95px; height: 53px; + margin-bottom: 10px; margin-right: 15px; } } @@ -574,10 +577,10 @@ onMounted(() => {}); .situation-step { margin-top: 20px; overflow-y: scroll; - height: 300px; + height: 210px; .row { span:nth-child(1) { - text-align: left; + text-align: right; } } :deep(.el-timeline-item) { diff --git a/src/views/enterprise/engineeringAcceptance/acceptanceApply/index.vue b/src/views/enterprise/engineeringAcceptance/acceptanceApply/index.vue index 6de5bb1..13c3d96 100644 --- a/src/views/enterprise/engineeringAcceptance/acceptanceApply/index.vue +++ b/src/views/enterprise/engineeringAcceptance/acceptanceApply/index.vue @@ -41,6 +41,8 @@ v-model:dialogVisible="dialogVisible" :title="newTitle" :relativeId="relativeId" + :searchSn="searchSn" + :activeValue="activeValue" @confirm="confirmReform" > diff --git a/src/views/enterprise/engineeringAcceptance/acceptancePlan/index.vue b/src/views/enterprise/engineeringAcceptance/acceptancePlan/index.vue index 2dab69c..5190c8f 100644 --- a/src/views/enterprise/engineeringAcceptance/acceptancePlan/index.vue +++ b/src/views/enterprise/engineeringAcceptance/acceptancePlan/index.vue @@ -284,6 +284,10 @@ const confirm = async (formEl: FormInstance | undefined) => { await formEl.validate(async (valid, fields) => { if (valid) { planFormData.value.engineeringSn = initParam.engineeringSn; + planFormData.value.fileUrl = planFormData.value.fileUrl ? JSON.stringify(planFormData.value.fileUrl) : ""; + if (planFormData.value.state == "0") { + planFormData.value.completeDate = null; + } if (planFormData.value.id) { const res = await acceptancePlanEdit({ ...planFormData.value }); ElMessage.success("编辑成功"); @@ -345,6 +349,7 @@ const getTableList = (params: any) => { // 修改数据按钮 const handleEditItem = async (index: number, row: any) => { + ruleFormRef.value?.resetFields(); if (index === 1) { newTitle.value = "新增验收计划"; planFormData.value = reactive({ diff --git a/src/views/enterprise/qualitySupervision/components/transformInfo.vue b/src/views/enterprise/qualitySupervision/components/transformInfo.vue index 625a840..91710b1 100644 --- a/src/views/enterprise/qualitySupervision/components/transformInfo.vue +++ b/src/views/enterprise/qualitySupervision/components/transformInfo.vue @@ -520,11 +520,13 @@ onMounted(() => {}); img { width: 95px; height: 53px; + margin-bottom: 10px; margin-right: 15px; } :deep(.el-image) { width: 95px; height: 53px; + margin-bottom: 10px; margin-right: 15px; } } diff --git a/src/views/enterprise/safetySupervision/components/transformInfo.vue b/src/views/enterprise/safetySupervision/components/transformInfo.vue index 9693b41..1ea1e26 100644 --- a/src/views/enterprise/safetySupervision/components/transformInfo.vue +++ b/src/views/enterprise/safetySupervision/components/transformInfo.vue @@ -521,11 +521,13 @@ onMounted(() => {}); img { width: 95px; height: 53px; + margin-bottom: 10px; margin-right: 15px; } :deep(.el-image) { width: 95px; height: 53px; + margin-bottom: 10px; margin-right: 15px; } } diff --git a/src/views/goverment/engineeringAcceptance/acceptanceApply/components/transformInfo.vue b/src/views/goverment/engineeringAcceptance/acceptanceApply/components/transformInfo.vue index fd92ae9..b353049 100644 --- a/src/views/goverment/engineeringAcceptance/acceptanceApply/components/transformInfo.vue +++ b/src/views/goverment/engineeringAcceptance/acceptanceApply/components/transformInfo.vue @@ -495,11 +495,17 @@ onMounted(() => {}); .imgList { display: flex; flex-wrap: wrap; + img { + width: 95px; + height: 53px; + margin-right: 15px; + margin-bottom: 10px; + } :deep(.el-image) { width: 95px; height: 53px; margin-right: 15px; - margin-bottom: 5px; + margin-bottom: 10px; } } .face-img { @@ -544,7 +550,7 @@ onMounted(() => {}); .situation-step { margin-top: 20px; overflow-y: scroll; - height: 300px; + height: 210px; .row { span:nth-child(1) { text-align: left; diff --git a/src/views/goverment/engineeringAcceptance/acceptanceApply/index.vue b/src/views/goverment/engineeringAcceptance/acceptanceApply/index.vue index d090f90..fbc1a24 100644 --- a/src/views/goverment/engineeringAcceptance/acceptanceApply/index.vue +++ b/src/views/goverment/engineeringAcceptance/acceptanceApply/index.vue @@ -16,7 +16,9 @@
- {{ data.projectAddress || data.address }} + + {{ data.projectAddress || data.address }} +
diff --git a/src/views/goverment/engineeringAcceptance/acceptancePlan/index.vue b/src/views/goverment/engineeringAcceptance/acceptancePlan/index.vue index 61c463d..5372da9 100644 --- a/src/views/goverment/engineeringAcceptance/acceptancePlan/index.vue +++ b/src/views/goverment/engineeringAcceptance/acceptancePlan/index.vue @@ -16,7 +16,9 @@
- {{ data.projectAddress || data.address }} + + {{ data.projectAddress || data.address }} +
diff --git a/src/views/goverment/progressManagement/GanttchartChart/index.vue b/src/views/goverment/progressManagement/GanttchartChart/index.vue index 0cc6a52..ddcd161 100644 --- a/src/views/goverment/progressManagement/GanttchartChart/index.vue +++ b/src/views/goverment/progressManagement/GanttchartChart/index.vue @@ -16,7 +16,9 @@
- {{ data.projectAddress || data.address }} + + {{ data.projectAddress || data.address }} +
@@ -209,6 +207,7 @@ import { towerCraneEquipAll, operationData } from "@/api/modules/goverment"; +const equipActive = ref(0); const monitorList = ref([]); const alarmList = ref([]); const equipList = ref([]); @@ -324,6 +323,7 @@ const getEquipList = async () => { }; // 获取设备信息 const getEquipInfo = async (obj: any) => { + equipActive.value = equipList.value.findIndex(item => item.id == obj.id); let requestData = { id: obj.id }; diff --git a/src/views/project/hoistingMachineryRecord/index.scss b/src/views/project/hoistingMachineryRecord/index.scss new file mode 100644 index 0000000..5030cce --- /dev/null +++ b/src/views/project/hoistingMachineryRecord/index.scss @@ -0,0 +1,35 @@ +.date-select { + width: 100%; + display: flex; + align-items: center; + justify-content: space-between; +} +.basic-form { + .face-img { + width: 100%; + align-self: flex-start; + :deep(.face-uploader .el-upload) { + border: 1px dashed #d9d9d9 !important; + border-radius: 6px !important; + cursor: pointer !important; + position: relative !important; + overflow: hidden !important; + } + .face-uploader .el-upload:hover { + border-color: #409eff !important; + } + :deep(.el-icon) { + font-size: 28px; + color: #8c939d; + width: 53px; + height: 53px; + line-height: 53px; + text-align: center; + } + .face-avatar { + width: 53px; + height: 53px; + display: block; + } + } +} diff --git a/src/views/project/hoistingMachineryRecord/index.vue b/src/views/project/hoistingMachineryRecord/index.vue new file mode 100644 index 0000000..86eca01 --- /dev/null +++ b/src/views/project/hoistingMachineryRecord/index.vue @@ -0,0 +1,827 @@ + + + + diff --git a/src/views/project/towerCraneSupervision/operatingData/index.vue b/src/views/project/towerCraneSupervision/operatingData/index.vue index a72b96d..b80b13b 100644 --- a/src/views/project/towerCraneSupervision/operatingData/index.vue +++ b/src/views/project/towerCraneSupervision/operatingData/index.vue @@ -329,6 +329,7 @@ const getEquipList = async () => { }; // 获取设备信息 const getEquipInfo = async (obj: any) => { + equipActive.value = equipList.value.findIndex(item => item.id == obj.id); let requestData = { id: obj.id }; From 061d729e2a6b3858379aff668b2ebfbc09f3eadc Mon Sep 17 00:00:00 2001 From: cjp <3096114695@qq.com> Date: Mon, 28 Aug 2023 18:28:42 +0800 Subject: [PATCH 4/4] =?UTF-8?q?fix:=20=E7=BC=96=E5=86=99=E6=94=BF=E5=8A=A1?= =?UTF-8?q?=E9=A1=B9=E7=9B=AE=E3=80=81=E4=BC=81=E4=B8=9A=E3=80=81=E6=94=BF?= =?UTF-8?q?=E5=8A=A1=E7=AB=AF=E5=8D=87=E9=99=8D=E6=9C=BA=E9=9D=99=E6=80=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../liftSupervision/operatingData/index.scss | 57 ++------ .../liftSupervision/operatingData/index.vue | 4 +- .../liftSupervision/operatingData/index.scss | 125 ++++++++++-------- .../liftSupervision/operatingData/index.vue | 22 +-- .../liftSupervision/operatingData/index.scss | 14 +- .../liftSupervision/operatingData/index.vue | 17 ++- 6 files changed, 128 insertions(+), 111 deletions(-) diff --git a/src/views/enterprise/liftSupervision/operatingData/index.scss b/src/views/enterprise/liftSupervision/operatingData/index.scss index 379a4d2..709ddc0 100644 --- a/src/views/enterprise/liftSupervision/operatingData/index.scss +++ b/src/views/enterprise/liftSupervision/operatingData/index.scss @@ -63,7 +63,7 @@ } .other-info { position: absolute; - top: 240px; + top: 230px; right: 0; display: flex; flex-direction: column; @@ -71,52 +71,21 @@ margin-bottom: 20px; } } + .common-info { + position: absolute; + top: 30px; + left: 0; + display: flex; + flex-direction: column; + > span { + margin-bottom: 20px; + } + } img { width: 357px; height: 100%; - } - } - .common-info { - display: flex; - flex-wrap: wrap; - align-content: flex-start; - margin-left: 86px; - &-item { - flex-direction: column; - justify-content: center; - width: 184px; - height: 100px; - margin-right: 26px; - margin-bottom: 30px; - background: #ffffff; - border: 1px solid #ebebeb; - border-radius: 4px; - @include flex; - > div:first-child { - @include flex; - - margin-bottom: 12px; - span { - margin-right: 7px; - font-family: "Source Han Sans CN-Medium", "Source Han Sans CN"; - font-size: 18px; - font-weight: 500; - color: #333333; - } - img { - width: 20px; - height: 20px; - } - } - > div:last-child { - @include flex; - span { - font-family: "Source Han Sans CN-Medium", "Source Han Sans CN"; - font-size: 18px; - font-weight: 500; - color: #00378f; - } - } + margin-right: 215px; + margin-left: 215px; } } .monitor-aspect { diff --git a/src/views/enterprise/liftSupervision/operatingData/index.vue b/src/views/enterprise/liftSupervision/operatingData/index.vue index 8fc9a79..5930da0 100644 --- a/src/views/enterprise/liftSupervision/operatingData/index.vue +++ b/src/views/enterprise/liftSupervision/operatingData/index.vue @@ -23,9 +23,9 @@ 额定下行速度: {{ equipInfo.towerHeight ? equipInfo.towerHeight : 0 }}m
- 设备编号: {{ equipInfo.devNumber ? equipInfo.devNumber : "" }} + 备案编号: TD2374693 安装日期: {{ equipInfo.installTime ? equipInfo.installTime : "" }} - + 终端编号: TD2374693 更新时间: {{ equipInfo.realTime ? equipInfo.realTime : "" }}
diff --git a/src/views/goverment/liftSupervision/operatingData/index.scss b/src/views/goverment/liftSupervision/operatingData/index.scss index fa64dac..8597e67 100644 --- a/src/views/goverment/liftSupervision/operatingData/index.scss +++ b/src/views/goverment/liftSupervision/operatingData/index.scss @@ -1,27 +1,29 @@ @mixin boxStyle { - border-radius: 8px; background: #ffffff; + border-radius: 8px; } @mixin flex { display: flex; align-items: center; } .entire-box { - height: 100%; - width: 100%; display: flex; flex-direction: column; + width: 100%; + height: 100%; background-color: #f6f6f6; .operate-box { height: calc(100% - 112px); - padding: 0 20px 20px 20px; + padding: 0 20px 20px; @include flex; .alarm-data { height: 100%; + // 页面的项目工程 .leftProject { - border-radius: 8px; color: #333333; + border-radius: 8px; + // background-color: pink; .projectName { display: block; @@ -39,9 +41,9 @@ font-size: 12px; } img { - margin: 0 4px; width: 12px; height: 12px; + margin: 0 4px; } } .bottom_item { @@ -54,10 +56,11 @@ .LeftMenu { width: 300px; height: 100%; - border-radius: 8px; + margin-right: 20px; + // box-shadow: 0 4px 4px 0 rgb(0 55 143 / 20%); overflow-y: scroll; - margin-right: 20px; + border-radius: 8px; :deep() { .content { height: calc(100% - 150px); @@ -67,21 +70,22 @@ } .monitor-data { @include boxStyle; + flex: 1; height: 100%; .monitor-title { margin-top: 15px; margin-left: 36px; span:first-child { + margin-right: 20px; + font-family: "Source Han Sans CN-Bold", "Source Han Sans CN"; font-size: 30px; - font-family: Source Han Sans CN-Bold, Source Han Sans CN; font-weight: bold; color: #333333; - margin-right: 20px; } span:last-child { + font-family: "Source Han Sans CN-Medium", "Source Han Sans CN"; font-size: 22px; - font-family: Source Han Sans CN-Medium, Source Han Sans CN; font-weight: 500; color: #0f64da; } @@ -94,8 +98,8 @@ .monitor-tool { position: relative; span { + font-family: "Source Han Sans CN-Regular", "Source Han Sans CN"; font-size: 18px; - font-family: Source Han Sans CN-Regular, Source Han Sans CN; font-weight: 400; color: #000000; } @@ -116,8 +120,18 @@ } .other-info { position: absolute; - top: 240px; - right: 0px; + top: 210px; + right: 0; + display: flex; + flex-direction: column; + > span { + margin-bottom: 20px; + } + } + .common-info { + position: absolute; + top: 30px; + left: 0; display: flex; flex-direction: column; > span { @@ -125,35 +139,38 @@ } } img { - width: 688px; + width: 357px; height: 100%; + margin-right: 170px; + margin-left: 180px; } } .monitor-aspect { - margin-left: 56px; display: flex; flex-wrap: wrap; align-content: flex-start; + margin-left: 56px; &-item { - width: 184px; - height: 100px; - background: #ffffff; - border-radius: 4px; - border: 1px solid #ebebeb; - @include flex; flex-direction: column; justify-content: center; + width: 184px; + height: 100px; margin-right: 26px; margin-bottom: 30px; + background: #ffffff; + border: 1px solid #ebebeb; + border-radius: 4px; + @include flex; > div:first-child { @include flex; + margin-bottom: 12px; span { + margin-right: 7px; + font-family: "Source Han Sans CN-Medium", "Source Han Sans CN"; font-size: 18px; - font-family: Source Han Sans CN-Medium, Source Han Sans CN; font-weight: 500; color: #333333; - margin-right: 7px; } img { width: 20px; @@ -163,8 +180,8 @@ > div:last-child { @include flex; span { + font-family: "Source Han Sans CN-Medium", "Source Han Sans CN"; font-size: 18px; - font-family: Source Han Sans CN-Medium, Source Han Sans CN; font-weight: 500; color: #00378f; } @@ -174,14 +191,15 @@ } .monitor-equip { margin-top: 31px; - margin-left: 36px; margin-bottom: 16px; + margin-left: 36px; @include flex; .monitor-state:not(:last-child) { margin-right: 26px; } .monitor-state { @include flex; + flex-direction: column; align-items: center; > div { @@ -191,43 +209,45 @@ height: 100px; } span { - width: 32px; - height: 15px; - background: #008bff; - font-size: 10px; - font-family: Source Han Sans CN-Regular, Source Han Sans CN; - font-weight: 400; - color: #ffffff; - text-align: center; position: absolute; top: 0; right: 0; + width: 32px; + height: 15px; + font-family: "Source Han Sans CN-Regular", "Source Han Sans CN"; + font-size: 10px; + font-weight: 400; + color: #ffffff; + text-align: center; + background: #008bff; } } > span { + font-family: "Source Han Sans CN-Regular", "Source Han Sans CN"; font-size: 16px; - font-family: Source Han Sans CN-Regular, Source Han Sans CN; font-weight: 400; color: #000000; } } .active-class { - box-shadow: 0px 4px 8px 0px rgba(48, 62, 100, 0.2); + box-shadow: 0 4px 8px 0 rgb(48 62 100 / 20%); } } } .no-data { @include boxStyle; - flex: 1; - height: 100%; + display: flex; - justify-content: center; - align-items: center; + flex: 1; flex-direction: column; - color: #999; + align-items: center; + justify-content: center; + height: 100%; + color: #999999; } .history-data { @include boxStyle; + width: 300px; height: 100%; margin-left: 20px; @@ -241,6 +261,7 @@ } .search-wrapper { @include flex; + height: 50px; padding: 0 10px; background-color: #ffffff; @@ -253,12 +274,12 @@ &-item { display: flex; flex-direction: column; - border-bottom: 1px solid #e5e5e5; padding: 12px; + border-bottom: 1px solid #e5e5e5; > div { span { + font-family: "Source Han Sans CN-Regular", "Source Han Sans CN"; font-size: 12px; - font-family: Source Han Sans CN-Regular, Source Han Sans CN; font-weight: 400; color: #333333; } @@ -275,14 +296,14 @@ &-item { display: flex; flex-direction: column; - border-bottom: 1px solid #e5e5e5; padding: 12px; + border-bottom: 1px solid #e5e5e5; > div:nth-child(1) { + margin-bottom: 10px; + font-family: "Source Han Sans CN-Medium", "Source Han Sans CN"; font-size: 16px; - font-family: Source Han Sans CN-Medium, Source Han Sans CN; font-weight: 500; color: #333333; - margin-bottom: 10px; } &-aspect { display: flex; @@ -291,16 +312,16 @@ &-item { margin-bottom: 8px; span { + font-family: "Source Han Sans CN-Regular", "Source Han Sans CN"; font-size: 12px; - font-family: Source Han Sans CN-Regular, Source Han Sans CN; font-weight: 400; } > span:nth-child(1) { display: inline-block; width: 36px; height: 18px; - color: #606266; margin-right: 20px; + color: #606266; text-align: left; } > span:nth-child(2) { @@ -312,11 +333,11 @@ } } > div:last-child { - font-size: 10px; - font-family: Source Han Sans CN-Regular, Source Han Sans CN; - font-weight: 400; - color: rgba(102, 102, 102, 0.8); margin-top: 5px; + font-family: "Source Han Sans CN-Regular", "Source Han Sans CN"; + font-size: 10px; + font-weight: 400; + color: rgb(102 102 102 / 80%); } } } diff --git a/src/views/goverment/liftSupervision/operatingData/index.vue b/src/views/goverment/liftSupervision/operatingData/index.vue index a1d7e66..8c96333 100644 --- a/src/views/goverment/liftSupervision/operatingData/index.vue +++ b/src/views/goverment/liftSupervision/operatingData/index.vue @@ -53,15 +53,21 @@
- - 尾臂长: {{ equipInfo.posteriorArmLength ? equipInfo.posteriorArmLength : 0 }}m - 臂长: {{ equipInfo.forearmLength ? equipInfo.forearmLength : 0 }}m - 塔身高: {{ equipInfo.towerHeight ? equipInfo.towerHeight : 0 }}m + +
+ 额定载重: {{ equipInfo.posteriorArmLength ? equipInfo.posteriorArmLength : 0 }}kg + 额定人数: {{ equipInfo.forearmLength ? equipInfo.forearmLength : 0 }}人 + 最大倾斜角度: {{ equipInfo.towerHeight ? equipInfo.towerHeight : 0 }}° + 最大高度: {{ equipInfo.towerHeight ? equipInfo.towerHeight : 0 }}m + 风级: {{ equipInfo.towerHeight ? equipInfo.towerHeight : 0 }}级风 + 额定上行速度: {{ equipInfo.towerHeight ? equipInfo.towerHeight : 0 }}m + 额定下行速度: {{ equipInfo.towerHeight ? equipInfo.towerHeight : 0 }}m +
- 设备编号: {{ equipInfo.devNumber ? equipInfo.devNumber : "" }} - 安装日期: {{ equipInfo.installTime ? equipInfo.installTime : "" }} - - 更新时间: {{ equipInfo.realTime ? equipInfo.realTime : "" }} + 备案编号: TD2374693 + 安装日期: 2022-12-01 + 终端编号: TD2374693 + 更新时间: 2023-05-23
diff --git a/src/views/project/liftSupervision/operatingData/index.scss b/src/views/project/liftSupervision/operatingData/index.scss index f9691a0..a502cbe 100644 --- a/src/views/project/liftSupervision/operatingData/index.scss +++ b/src/views/project/liftSupervision/operatingData/index.scss @@ -63,7 +63,7 @@ } .other-info { position: absolute; - top: 240px; + top: 230px; right: 0; display: flex; flex-direction: column; @@ -71,9 +71,21 @@ margin-bottom: 20px; } } + .common-info { + position: absolute; + top: 30px; + left: 0; + display: flex; + flex-direction: column; + > span { + margin-bottom: 20px; + } + } img { width: 357px; height: 100%; + margin-right: 215px; + margin-left: 215px; } } .monitor-aspect { diff --git a/src/views/project/liftSupervision/operatingData/index.vue b/src/views/project/liftSupervision/operatingData/index.vue index 9b51b43..3719fac 100644 --- a/src/views/project/liftSupervision/operatingData/index.vue +++ b/src/views/project/liftSupervision/operatingData/index.vue @@ -10,13 +10,22 @@
- 尾臂长: {{ equipInfo.posteriorArmLength ? equipInfo.posteriorArmLength : 0 }}m + +
+ 额定载重: {{ equipInfo.posteriorArmLength ? equipInfo.posteriorArmLength : 0 }}kg + 额定人数: {{ equipInfo.forearmLength ? equipInfo.forearmLength : 0 }}人 + 最大倾斜角度: {{ equipInfo.towerHeight ? equipInfo.towerHeight : 0 }}° + 最大高度: {{ equipInfo.towerHeight ? equipInfo.towerHeight : 0 }}m + 风级: {{ equipInfo.towerHeight ? equipInfo.towerHeight : 0 }}级风 + 额定上行速度: {{ equipInfo.towerHeight ? equipInfo.towerHeight : 0 }}m + 额定下行速度: {{ equipInfo.towerHeight ? equipInfo.towerHeight : 0 }}m +
- 设备编号: {{ equipInfo.devNumber ? equipInfo.devNumber : "" }} + 备案编号: TD2374693 安装日期: {{ equipInfo.installTime ? equipInfo.installTime : "" }} - + 终端编号: TD2374693 更新时间: {{ equipInfo.realTime ? equipInfo.realTime : "" }}