- 芋道后台管理系统
-
+ + + 产线生产监控系统 +
+diff --git a/.env.dev b/.env.dev
index 3e5a19da..acb7b2ac 100644
--- a/.env.dev
+++ b/.env.dev
@@ -1,7 +1,7 @@
###
# @Author: Do not edit
# @Date: 2023-08-29 09:40:39
- # @LastEditTime: 2023-11-13 09:50:51
+ # @LastEditTime: 2023-11-15 14:37:35
# @LastEditors: DY
# @Description:
###
diff --git a/public/static/videos/login.webm b/public/static/videos/login.webm
new file mode 100644
index 00000000..4ac1bdd2
Binary files /dev/null and b/public/static/videos/login.webm differ
diff --git a/src/api/monitoring/statisticalData.js b/src/api/monitoring/statisticalData.js
index 4f19d699..cdf92812 100644
--- a/src/api/monitoring/statisticalData.js
+++ b/src/api/monitoring/statisticalData.js
@@ -1,7 +1,7 @@
/*
* @Author: zhp
* @Date: 2023-11-07 14:10:18
- * @LastEditTime: 2023-11-07 16:29:55
+ * @LastEditTime: 2023-11-14 14:46:04
* @LastEditors: zhp
* @Description:
*/
diff --git a/src/assets/icons/svg/exitbtn.svg b/src/assets/icons/svg/exitbtn.svg
new file mode 100644
index 00000000..8b8b0eff
--- /dev/null
+++ b/src/assets/icons/svg/exitbtn.svg
@@ -0,0 +1,12 @@
+
+
\ No newline at end of file
diff --git a/src/assets/icons/svg/helpbtn.svg b/src/assets/icons/svg/helpbtn.svg
new file mode 100644
index 00000000..5960b5b3
--- /dev/null
+++ b/src/assets/icons/svg/helpbtn.svg
@@ -0,0 +1,20 @@
+
+
\ No newline at end of file
diff --git a/src/assets/images/choicepart/Core.png b/src/assets/images/choicepart/Core.png
new file mode 100644
index 00000000..f1d1b73d
Binary files /dev/null and b/src/assets/images/choicepart/Core.png differ
diff --git a/src/assets/images/choicepart/Delivery.png b/src/assets/images/choicepart/Delivery.png
new file mode 100644
index 00000000..b0331ade
Binary files /dev/null and b/src/assets/images/choicepart/Delivery.png differ
diff --git a/src/assets/images/choicepart/Energy.png b/src/assets/images/choicepart/Energy.png
new file mode 100644
index 00000000..a6511565
Binary files /dev/null and b/src/assets/images/choicepart/Energy.png differ
diff --git a/src/assets/images/choicepart/Equipment.png b/src/assets/images/choicepart/Equipment.png
new file mode 100644
index 00000000..763e5396
Binary files /dev/null and b/src/assets/images/choicepart/Equipment.png differ
diff --git a/src/assets/images/choicepart/Extend.png b/src/assets/images/choicepart/Extend.png
new file mode 100644
index 00000000..ae319647
Binary files /dev/null and b/src/assets/images/choicepart/Extend.png differ
diff --git a/src/assets/images/choicepart/Group.png b/src/assets/images/choicepart/Group.png
new file mode 100644
index 00000000..3c16e819
Binary files /dev/null and b/src/assets/images/choicepart/Group.png differ
diff --git a/src/assets/images/choicepart/Material.png b/src/assets/images/choicepart/Material.png
new file mode 100644
index 00000000..b4b1364a
Binary files /dev/null and b/src/assets/images/choicepart/Material.png differ
diff --git a/src/assets/images/choicepart/Order.png b/src/assets/images/choicepart/Order.png
new file mode 100644
index 00000000..7c8a3216
Binary files /dev/null and b/src/assets/images/choicepart/Order.png differ
diff --git a/src/assets/images/choicepart/Packaging.png b/src/assets/images/choicepart/Packaging.png
new file mode 100644
index 00000000..60ccd89e
Binary files /dev/null and b/src/assets/images/choicepart/Packaging.png differ
diff --git a/src/assets/images/choicepart/Quality.png b/src/assets/images/choicepart/Quality.png
new file mode 100644
index 00000000..e6680dfa
Binary files /dev/null and b/src/assets/images/choicepart/Quality.png differ
diff --git a/src/assets/images/choicepart/Report.png b/src/assets/images/choicepart/Report.png
new file mode 100644
index 00000000..a103eede
Binary files /dev/null and b/src/assets/images/choicepart/Report.png differ
diff --git a/src/assets/images/choicepart/System.png b/src/assets/images/choicepart/System.png
new file mode 100644
index 00000000..30a1a7e8
Binary files /dev/null and b/src/assets/images/choicepart/System.png differ
diff --git a/src/assets/images/choicepart/Warehouse.png b/src/assets/images/choicepart/Warehouse.png
new file mode 100644
index 00000000..d808730d
Binary files /dev/null and b/src/assets/images/choicepart/Warehouse.png differ
diff --git a/src/assets/images/choicepart/avatar.png b/src/assets/images/choicepart/avatar.png
new file mode 100644
index 00000000..4b1f623a
Binary files /dev/null and b/src/assets/images/choicepart/avatar.png differ
diff --git a/src/assets/images/choicepart/choice-item-back.png b/src/assets/images/choicepart/choice-item-back.png
new file mode 100644
index 00000000..1cddcef5
Binary files /dev/null and b/src/assets/images/choicepart/choice-item-back.png differ
diff --git a/src/assets/images/choicepart/choicepart-back.png b/src/assets/images/choicepart/choicepart-back.png
new file mode 100644
index 00000000..2f7a3de4
Binary files /dev/null and b/src/assets/images/choicepart/choicepart-back.png differ
diff --git a/src/assets/images/cnbm.png b/src/assets/images/cnbm.png
new file mode 100644
index 00000000..ed7d3fdf
Binary files /dev/null and b/src/assets/images/cnbm.png differ
diff --git a/src/assets/images/login-bg.png b/src/assets/images/login-bg.png
new file mode 100644
index 00000000..0156badd
Binary files /dev/null and b/src/assets/images/login-bg.png differ
diff --git a/src/assets/img/1.jpg b/src/assets/img/1.jpg
new file mode 100644
index 00000000..005bc57c
Binary files /dev/null and b/src/assets/img/1.jpg differ
diff --git a/src/assets/img/OperationalOverview/back.png b/src/assets/img/OperationalOverview/back.png
new file mode 100644
index 00000000..ad2afe91
Binary files /dev/null and b/src/assets/img/OperationalOverview/back.png differ
diff --git a/src/assets/img/OperationalOverview/title.png b/src/assets/img/OperationalOverview/title.png
new file mode 100644
index 00000000..b8a7e9dd
Binary files /dev/null and b/src/assets/img/OperationalOverview/title.png differ
diff --git a/src/assets/img/Toughenedfurnace.png b/src/assets/img/Toughenedfurnace.png
new file mode 100644
index 00000000..80263bd9
Binary files /dev/null and b/src/assets/img/Toughenedfurnace.png differ
diff --git a/src/assets/img/back.jpg b/src/assets/img/back.jpg
new file mode 100644
index 00000000..61df5c8c
Binary files /dev/null and b/src/assets/img/back.jpg differ
diff --git a/src/assets/img/back.png b/src/assets/img/back.png
new file mode 100644
index 00000000..e9d7d397
Binary files /dev/null and b/src/assets/img/back.png differ
diff --git a/src/assets/img/back1.png b/src/assets/img/back1.png
new file mode 100644
index 00000000..8b811db9
Binary files /dev/null and b/src/assets/img/back1.png differ
diff --git a/src/assets/img/bg-bottom-item.png b/src/assets/img/bg-bottom-item.png
new file mode 100644
index 00000000..a45ee8ee
Binary files /dev/null and b/src/assets/img/bg-bottom-item.png differ
diff --git a/src/assets/img/choicepart/ArtManager.png b/src/assets/img/choicepart/ArtManager.png
new file mode 100644
index 00000000..ae319647
Binary files /dev/null and b/src/assets/img/choicepart/ArtManager.png differ
diff --git a/src/assets/img/choicepart/ArticleManager.png b/src/assets/img/choicepart/ArticleManager.png
new file mode 100644
index 00000000..30a1a7e8
Binary files /dev/null and b/src/assets/img/choicepart/ArticleManager.png differ
diff --git a/src/assets/img/choicepart/DataAnalysis.png b/src/assets/img/choicepart/DataAnalysis.png
new file mode 100644
index 00000000..672cc103
Binary files /dev/null and b/src/assets/img/choicepart/DataAnalysis.png differ
diff --git a/src/assets/img/choicepart/EquipmentManager.png b/src/assets/img/choicepart/EquipmentManager.png
new file mode 100644
index 00000000..763e5396
Binary files /dev/null and b/src/assets/img/choicepart/EquipmentManager.png differ
diff --git a/src/assets/img/choicepart/MaterialsManage.png b/src/assets/img/choicepart/MaterialsManage.png
new file mode 100644
index 00000000..d808730d
Binary files /dev/null and b/src/assets/img/choicepart/MaterialsManage.png differ
diff --git a/src/assets/img/choicepart/OperationalOverview.png b/src/assets/img/choicepart/OperationalOverview.png
new file mode 100644
index 00000000..77af0878
Binary files /dev/null and b/src/assets/img/choicepart/OperationalOverview.png differ
diff --git a/src/assets/img/choicepart/WarehouseManager.png b/src/assets/img/choicepart/WarehouseManager.png
new file mode 100644
index 00000000..8f18d70f
Binary files /dev/null and b/src/assets/img/choicepart/WarehouseManager.png differ
diff --git a/src/assets/img/choicepart/basicData.png b/src/assets/img/choicepart/basicData.png
new file mode 100644
index 00000000..f1d1b73d
Binary files /dev/null and b/src/assets/img/choicepart/basicData.png differ
diff --git a/src/assets/img/choicepart/choice-item-back.png b/src/assets/img/choicepart/choice-item-back.png
new file mode 100644
index 00000000..1cddcef5
Binary files /dev/null and b/src/assets/img/choicepart/choice-item-back.png differ
diff --git a/src/assets/img/choicepart/choicepart-back.png b/src/assets/img/choicepart/choicepart-back.png
new file mode 100644
index 00000000..b16893b4
Binary files /dev/null and b/src/assets/img/choicepart/choicepart-back.png differ
diff --git a/src/assets/img/choicepart/energyManage.png b/src/assets/img/choicepart/energyManage.png
new file mode 100644
index 00000000..f1d1b73d
Binary files /dev/null and b/src/assets/img/choicepart/energyManage.png differ
diff --git a/src/assets/img/choicepart/factoryManage.png b/src/assets/img/choicepart/factoryManage.png
new file mode 100644
index 00000000..a804d851
Binary files /dev/null and b/src/assets/img/choicepart/factoryManage.png differ
diff --git a/src/assets/img/choicepart/formManage.png b/src/assets/img/choicepart/formManage.png
new file mode 100644
index 00000000..7c8a3216
Binary files /dev/null and b/src/assets/img/choicepart/formManage.png differ
diff --git a/src/assets/img/choicepart/orderManage.png b/src/assets/img/choicepart/orderManage.png
new file mode 100644
index 00000000..23038d23
Binary files /dev/null and b/src/assets/img/choicepart/orderManage.png differ
diff --git a/src/assets/img/choicepart/packingManage.png b/src/assets/img/choicepart/packingManage.png
new file mode 100644
index 00000000..60ccd89e
Binary files /dev/null and b/src/assets/img/choicepart/packingManage.png differ
diff --git a/src/assets/img/choicepart/qualityManage.png b/src/assets/img/choicepart/qualityManage.png
new file mode 100644
index 00000000..e6680dfa
Binary files /dev/null and b/src/assets/img/choicepart/qualityManage.png differ
diff --git a/src/assets/img/cnbm.png b/src/assets/img/cnbm.png
new file mode 100644
index 00000000..ed7d3fdf
Binary files /dev/null and b/src/assets/img/cnbm.png differ
diff --git a/src/assets/img/empty.png b/src/assets/img/empty.png
new file mode 100644
index 00000000..de349a33
Binary files /dev/null and b/src/assets/img/empty.png differ
diff --git a/src/assets/img/energy.png b/src/assets/img/energy.png
new file mode 100644
index 00000000..cb341110
Binary files /dev/null and b/src/assets/img/energy.png differ
diff --git a/src/assets/img/head-w.png b/src/assets/img/head-w.png
new file mode 100644
index 00000000..85dca606
Binary files /dev/null and b/src/assets/img/head-w.png differ
diff --git a/src/assets/img/head.png b/src/assets/img/head.png
new file mode 100644
index 00000000..0e5d2483
Binary files /dev/null and b/src/assets/img/head.png differ
diff --git a/src/assets/img/jiantou.svg b/src/assets/img/jiantou.svg
new file mode 100644
index 00000000..9652390b
--- /dev/null
+++ b/src/assets/img/jiantou.svg
@@ -0,0 +1,18 @@
+
+
\ No newline at end of file
diff --git a/src/assets/img/login-back.jpg b/src/assets/img/login-back.jpg
new file mode 100644
index 00000000..cfed13e1
Binary files /dev/null and b/src/assets/img/login-back.jpg differ
diff --git a/src/assets/img/login-back.png b/src/assets/img/login-back.png
new file mode 100644
index 00000000..a98739e7
Binary files /dev/null and b/src/assets/img/login-back.png differ
diff --git a/src/assets/img/login-new.jpg b/src/assets/img/login-new.jpg
new file mode 100644
index 00000000..b39ac147
Binary files /dev/null and b/src/assets/img/login-new.jpg differ
diff --git a/src/assets/img/login.gif b/src/assets/img/login.gif
new file mode 100644
index 00000000..8c931207
Binary files /dev/null and b/src/assets/img/login.gif differ
diff --git a/src/assets/img/login1.gif b/src/assets/img/login1.gif
new file mode 100644
index 00000000..2ca2b406
Binary files /dev/null and b/src/assets/img/login1.gif differ
diff --git a/src/assets/img/logo.png b/src/assets/img/logo.png
new file mode 100644
index 00000000..9fdd8338
Binary files /dev/null and b/src/assets/img/logo.png differ
diff --git a/src/assets/img/medal/champion.png b/src/assets/img/medal/champion.png
new file mode 100644
index 00000000..38006430
Binary files /dev/null and b/src/assets/img/medal/champion.png differ
diff --git a/src/assets/img/medal/secondPlace.png b/src/assets/img/medal/secondPlace.png
new file mode 100644
index 00000000..425b76c5
Binary files /dev/null and b/src/assets/img/medal/secondPlace.png differ
diff --git a/src/assets/img/medal/thirdPlace.png b/src/assets/img/medal/thirdPlace.png
new file mode 100644
index 00000000..db1d9edc
Binary files /dev/null and b/src/assets/img/medal/thirdPlace.png differ
diff --git a/src/assets/img/status.png b/src/assets/img/status.png
new file mode 100644
index 00000000..283cdd41
Binary files /dev/null and b/src/assets/img/status.png differ
diff --git a/src/assets/img/uploadIcon.png b/src/assets/img/uploadIcon.png
new file mode 100644
index 00000000..fb344f9f
Binary files /dev/null and b/src/assets/img/uploadIcon.png differ
diff --git a/src/assets/logo/cnbm.png b/src/assets/logo/cnbm.png
new file mode 100644
index 00000000..ed7d3fdf
Binary files /dev/null and b/src/assets/logo/cnbm.png differ
diff --git a/src/assets/styles/login.scss b/src/assets/styles/login.scss
index 7efb2546..db9f3a47 100644
--- a/src/assets/styles/login.scss
+++ b/src/assets/styles/login.scss
@@ -1,10 +1,13 @@
/* ===== PC DESIGN ===== */
-$W: 1000;
+$W: 1080;
$H: 1920;
-$picW: 438;
-$picH: 560;
-$formW: 320;
+// $picW: 438;
+// $picH: 560;
+$picW: 1080;
+$picH: 1118;
+$formW: 420;
$tabW: $formW / 2;
+// $rowH: 56;
$rowH: 56;
$buttonH: 50;
@@ -15,6 +18,7 @@ $containerBgImage: '../assets/images/bg.png';
$logoWidth: 417px;
$logoHeight: 64px;
$logoImage: '../assets/logo/login-logo.png';
+$cnbmLogo: '../assets/logo/cnbm.png';
// container-content
$contentWidth: round($W / $H * 100) * 1vw;
$contentHeight: round($picH / $W * 100) / 100 * $contentWidth;
@@ -22,7 +26,8 @@ $contentBgColor: #ffffff;
// container-content-pic
$picWidth: round($picW / $H * 100) * 1vw;
$picHeight: inherit;
-$picImage: '../assets/images/pic.png';
+// $picImage: '../assets/images/pic.png';
+$picImage: '../assets/images/login-bg.png';
// container-content-field
$fieldWidth: $contentWidth - $picWidth;
$fieldHeight: inherit;
@@ -34,231 +39,309 @@ $buttonHeight: $buttonH * 1px;
// - - - - - 页面基础设置
.container {
- .login-code {
- width: 33%;
- height: 38px;
- float: right;
- img {
- cursor: pointer;
- width:100%;max-width:100px; height:auto;
- vertical-align: middle;
- }
- }
- // 元素
- width: inherit;
- height: inherit;
- min-width: 1080px;
- min-height: 620px;
- background-color: $containerBgColor;
- background-image: url($containerBgImage);
- background-size: cover;
- // 定位
- position: relative;
- display: flex;
- justify-content: center;
- align-items: center;
- // 文字
- font-size: 14px;
- font-family: Microsoft YaHei;
- font-weight: 400;
- .logo {
- // 元素
- width: $logoWidth;
- height: $logoHeight;
- // background-image: url($logoImage);
- // background-size: contain;
- // 定位
- position: absolute;
- top: 50px;
- left: 50%;
- margin-left: -$logoWidth/2;
- }
- .content {
- // 元素
- width: $contentWidth;
- height: $contentHeight;
- background-color: #ffffff;
- box-shadow: 0px 16px 40px rgba(0, 0, 0, 0.07);
- border-radius: 20px;
- // 定位
- position: relative;
- .pic {
- // 元素
- width: $picWidth;
- height: $picHeight;
- background-image: url($picImage);
- background-repeat: no-repeat;
- background-size: cover;
- border-radius: 20px 0 0 20px;
- // 定位
- position: absolute;
- top: 0;
- left: 0;
- }
- .field {
- width: $fieldWidth;
- height: $fieldHeight;
- // 定位
- position: absolute;
- top: 0;
- left: $picWidth;
- display:flex;
- justify-content: center;
- align-items: center;
- .pc-title{ width: 100%; clear: both;}
- .mobile-title,
- .mobile-switch {
- display: none;
- }
- .form {
- box-sizing: border-box;
- width: $formWidth;
- // - - - tab
- :deep(.el-tabs__content) {
- padding: 20px 0 0;
- }
- :deep(.el-tabs__item) {
- // 元素
- width: $tabWidth;
- height: $rowHeight;
- padding: 0;
- // 文字
- line-height: $rowHeight;
- color: #666666;
- }
- :deep(.el-tabs__item.is-active) {
- font-weight: bold;
- color: #2F53EB;
- }
- :deep(.el-tabs__active-bar) {
- height: 3px;
- border-radius: 2px;
- }
- // - - - input
- :deep(.el-input__inner) {
- // 元素
- width: 100%;
- height: $rowHeight;
- background: #f5f5f5;
- border: 0;
- border-radius: 28px;
- // 文字
- text-align: center;
- line-height: 19px;
- color: #262626;
- }
- .code:deep(.el-input__inner) {
- padding: 0 24px;
- // 文字
- text-align: left;
- }
- :deep(.el-input__inner::-webkit-input-placeholder) { /* WebKit browsers */
- font-weight: 400;
- color: #8C8C8C;
- }
- :deep(.el-input__inner:-moz-placeholder) { /* Mozilla Firefox 4 to 18 */
- font-weight: 400;
- color: #8C8C8C;
- }
- :deep(.el-input__inner::-moz-placeholder) { /* Mozilla Firefox 19+ */
- font-weight: 400;
- color: #8C8C8C;
- opacity:1;
- }
- :deep(.el-input__inner:-ms-input-placeholder) { /* Internet Explorer 10+ */
- font-weight: 400;
- color: #8C8C8C !important;
- }
- :deep(.el-form-item) {
- position: relative;
- .button-code {
- // 元素
- height: $rowHeight;
- box-sizing: border-box;
- // 定位
- position: absolute;
- top: 0;
- right: 20px;
- z-index: 1;
- // 文字
- line-height: 20px;
- font-size: 14px;
- font-family: PingFang SC;
- font-weight: 400;
- color: #2F53EB;
- span {
- padding-left: 15px;
- border-left: 2px solid #D9D9D9;
- }
- }
- }
- :deep(.el-form-item__error) {
- padding-left: 24px;
- }
- .button {
- width: 100%;
- height: $buttonHeight;
- background: rgba(24, 144, 255, 0.2);
- border: 0;
- border-radius: 24px;
- margin-bottom: 20px;
- // 文字
- line-height: 26px;
- font-size: 20px;
- color: #FFFFFF;
- }
- .button-active {
- background: #2F53EB;
- box-shadow: 0px 2px 8px rgba(0, 80, 184, 0.2);
- }
- }
- }
- }
- .footer {
- // 元素
- height: 16px;
- line-height: 16px;
- font-size: 12px;
- color: #8c8c8c;
- // 定位
- position: absolute;
- bottom: 30px;
- a,
- a:hover,
- a:active {
- color: inherit;
- text-decoration: none;
- }
- }
+ .login-code {
+ width: 33%;
+ height: 38px;
+ float: right;
+ img {
+ cursor: pointer;
+ width: 100%;
+ max-width: 100px;
+ height: auto;
+ vertical-align: middle;
+ }
+ }
+ // 元素
+ width: inherit;
+ height: inherit;
+ min-width: 1080px;
+ min-height: 620px;
+ background-color: $containerBgColor;
+ // background-image: url($containerBgImage);
+ background-size: cover;
+ // 定位
+ position: relative;
+ display: flex;
+ justify-content: center;
+ align-items: center;
+ // 文字
+ font-size: 14px;
+ font-family: Microsoft YaHei;
+ font-weight: 400;
+ .logo {
+ // 元素
+ width: $logoWidth;
+ height: $logoHeight;
+ // background-image: url($logoImage);
+ // background-size: contain;
+ // 定位
+ position: absolute;
+ top: 50px;
+ left: 50%;
+ margin-left: -$logoWidth/2;
+ }
+ .content {
+ // 元素
+ // width: $contentWidth;
+ // height: $contentHeight;
+ width: 100%;
+ height: 100%;
+ background-color: #ffffff;
+ // box-shadow: 0px 16px 40px rgba(0, 0, 0, 0.07);
+ // border-radius: 20px;
+ // 定位
+ position: relative;
+ display: flex;
+
+ .pic {
+ // 元素
+ width: $picWidth;
+ height: $picHeight;
+ background-image: url($picImage);
+ background-repeat: no-repeat;
+ background-size: 100% 100%;
+ background-position: 0 0;
+ position: relative;
+ &::after {
+ content: '';
+ position: absolute;
+ top: 0;
+ left: 0;
+ width: 100%;
+ height: 100%;
+ // background: #f003;
+ display: inline-block;
+ }
+ }
+ .field {
+ // background: #ccc3;
+ position: relative;
+ padding-top: 196px;
+ flex: 1;
+ display: flex;
+ flex-direction: column;
+ // justify-content: center;
+ align-items: center;
+ .pc-title {
+ width: 100%;
+ text-align: center;
+ clear: both;
+ position: relative;
+ top: -36px;
+
+ // h3.title {
+ // position: relative;
+
+ // &::before {
+ // content: '';
+ // background: url($cnbmLogo) 100% / 100% no-repeat;
+ // height: 48px;
+ // width: 48px;
+ // position: absolute;
+ // left: 0px;
+ // top: 4px;
+ // display: inline-block;
+ // }
+ // }
+ }
+ .mobile-title,
+ .mobile-switch {
+ display: none;
+ }
+ .form {
+ margin-top: 32px;
+ box-sizing: border-box;
+ // width: $formWidth;
+ width: 100%;
+ // - - - tab
+ :deep(.el-tabs__nav) {
+ // background: #f0f3;
+ }
+ :deep(.el-tabs__content) {
+ padding: 20px 0 0;
+ }
+ :deep(.el-tabs__item) {
+ user-select: none;
+ // 元素
+ width: $tabWidth;
+ height: $rowHeight;
+ padding: 0;
+ // 文字
+ line-height: $rowHeight;
+ color: #666666;
+ font-size: 18px;
+ font-weight: 400;
+ text-align: center;
+ }
+ :deep(.el-tabs__item.is-active) {
+ font-weight: 500;
+ color: #2f53eb;
+ }
+ :deep(.el-tabs__active-bar) {
+ height: 3px;
+ border-radius: 2px;
+ }
+ // - - - input
+ :deep(.el-input__inner) {
+ // 元素
+ width: 100%;
+ height: $rowHeight;
+ background: #f5f5f5;
+ border: 0;
+ border-radius: 28px;
+ // 文字
+ text-align: center;
+ line-height: 19px;
+ color: #262626;
+ }
+ .code:deep(.el-input__inner) {
+ padding: 0 24px;
+ // 文字
+ text-align: left;
+ }
+ :deep(.el-input__inner::-webkit-input-placeholder) {
+ /* WebKit browsers */
+ font-weight: 400;
+ color: #8c8c8c;
+ }
+ :deep(.el-input__inner:-moz-placeholder) {
+ /* Mozilla Firefox 4 to 18 */
+ font-weight: 400;
+ color: #8c8c8c;
+ }
+ :deep(.el-input__inner::-moz-placeholder) {
+ /* Mozilla Firefox 19+ */
+ font-weight: 400;
+ color: #8c8c8c;
+ opacity: 1;
+ }
+ :deep(.el-input__inner:-ms-input-placeholder) {
+ /* Internet Explorer 10+ */
+ font-weight: 400;
+ color: #8c8c8c !important;
+ }
+ :deep(.el-form-item) {
+ position: relative;
+ .button-code {
+ // 元素
+ height: $rowHeight;
+ box-sizing: border-box;
+ // 定位
+ position: absolute;
+ top: 0;
+ right: 20px;
+ z-index: 1;
+ // 文字
+ line-height: 20px;
+ font-size: 14px;
+ font-family: PingFang SC;
+ font-weight: 400;
+ color: #2f53eb;
+ span {
+ padding-left: 15px;
+ border-left: 2px solid #d9d9d9;
+ }
+ }
+ }
+ :deep(.el-form-item__error) {
+ padding-left: 24px;
+ }
+ .button {
+ width: 100%;
+ height: $buttonHeight;
+ background: rgba(24, 144, 255, 0.2);
+ border: 0;
+ border-radius: 24px;
+ margin-bottom: 20px;
+ // 文字
+ line-height: 26px;
+ font-size: 20px;
+ color: #ffffff;
+ }
+ .button-active {
+ background: #2f53eb;
+ box-shadow: 0px 2px 8px rgba(0, 80, 184, 0.2);
+ }
+ }
+ }
+ }
+
+ .login-form {
+ * {
+ user-select: none;
+ }
+ // - - - input
+ :deep(.el-input__inner) {
+ // 元素
+ width: 420px;
+ height: 66px;
+ color: #262626;
+ font-size: 18px;
+ }
+ :deep(.el-checkbox__label) {
+ font-size: 18px;
+ line-height: 14px;
+ }
+ }
+
+ .footer {
+ user-select: none;
+ // 元素
+ height: 16px;
+ line-height: 16px;
+ font-size: 12px;
+ color: #8c8c8c;
+ // 定位
+ position: absolute;
+ bottom: 30px;
+ a,
+ a:hover,
+ a:active {
+ color: inherit;
+ text-decoration: none;
+ }
+ }
}
// - - - - - PC 最小尺寸设置
@media screen and (min-width: 599px) and (max-width: 1366px) {
- .container {
- .content {
- width: 710px;
- height: 397px;
- .pic {
- width: 314px;
- }
- .field {
- width: calc(710px - 314px);
- left: 314px;
- .form {
- width: 320px;
- :deep(.el-input__inner) {
- width: 320px;
- height: 56px;
- }
- .button {
- height: 50px;
- }
- }
- }
- }
- }
-}
+ .container {
+ min-width: 599px;
+ .content {
+ // width: 710px;
+ // height: 397px;
+ width: 100%;
+ height: 100%;
+ .pic {
+ // width: 314px;
+ display: none;
+ }
+ .field {
+ // width: calc(710px - 314px);
+ // left: 314px;
+ // justify-content: center;
+ width: 100%;
+ .pc-title {
+ h3 {
+ font-size: 2.4rem !important;
+ }
+ }
+
+ .form {
+ // width: 320px;
+ :deep(.el-input__inner) {
+ width: 320px;
+ height: 56px;
+ }
+ .button {
+ height: 50px;
+ }
+ }
+ }
+ }
+ }
+}
/* ===== MOBILE DESIGN ===== */
$mobileW: 375;
@@ -273,115 +356,142 @@ $mobileButtonH: 48;
$mobileContainerBgImage: '../assets/images/bg-mobile.png';
// container-content
$mobileContentWidth: round($mobileContentW / $mobileW * 100) * 1vw;
-$mobileContentHeight: round($mobileContentH / $mobileW * 100) / 100 * $mobileContentWidth;
+$mobileContentHeight: round($mobileContentH / $mobileW * 100) / 100 *
+ $mobileContentWidth;
// container-content-field-form
-$mobileFormWidth: round($mobileFormW / $mobileW *100) * 1vw;
+$mobileFormWidth: round($mobileFormW / $mobileW * 100) * 1vw;
$mobileRowHeight: $mobileRowH * 1px;
$mobileButtonHeight: $mobileButtonH * 1px;
$iconBgImage: '../assets/images/icon.png';
// - - - - - 移动端设置
@media screen and (max-width: 599px) {
- .container {
- // 元素
- background-image: url($mobileContainerBgImage);
- min-width: 280px;
- min-height: 568px;
- // 文字
- font-size: 17px;
- font-family: PingFang SC;
- font-weight: bold;
- .logo {
- display: none;
- }
+ .container {
+ // 元素
+ background-image: url($mobileContainerBgImage);
+ min-width: 280px;
+ min-height: 568px;
+ // 文字
+ font-size: 14px;
+ font-family: PingFang SC;
+ font-weight: bold;
+ .logo {
+ display: none;
+ }
- .content {
- // 元素
- width: $mobileContentWidth;
- height: $mobileContentHeight;
- min-width: 250px;
- min-height: 340px;
- // 定位
- display: flex;
- justify-content: center;
- align-items: center;
- .pic {
- display: none;
- }
- .field {
- // 元素
- width: inherit;
- min-height: inherit;
- // 定位
- left: 0;
- display: flex;
- flex-direction: column;
- .mobile-title {
- // 元素
- margin: 0 0 20px;
- display: block;
- }
- .form {
- width: $mobileFormWidth;
- // - - - tab
- :deep(.el-tabs__header) {
- display: none;
- }
- :deep(.el-tabs__content) {
- padding: 0;
- }
- // - - - input
- :deep(.el-input__inner) {
- height: $mobileRowHeight;
- line-height: 24px;
- // 文字
- text-align: center;
- color: #262626;
- }
- :deep(.el-form-item) {
- .button-code {
- // 元素
- height: $mobileRowHeight;
- }
- }
- .button {
- height: $mobileButtonHeight;
- line-height: 24px;
- color: #FFFFFF;
- }
- }
- .mobile-switch {
- display: block;
- line-height: 20px;
- font-size: 14px;
- font-weight: 400;
- color: #595959;
- margin: 0;
- .icon {
- width: 14px;
- height: 14px;
- display: inline-block;
- background-image: url($iconBgImage);
- background-size: cover;
- }
- }
- .mobile-switch:hover {
- cursor: pointer;
- }
- }
- }
- .footer {
- // 元素
- font-size: 12px;
- font-family: PingFang SC;
- font-weight: 400;
- line-height: 17px;
- color: #333333;
- opacity: 0.6;
- // 定位
- position: absolute;
- bottom: 20px;
- }
- }
+ .pc-title {
+ display: none;
+ }
+ .content {
+ // 元素
+ width: $mobileContentWidth;
+ height: $mobileContentHeight;
+ min-width: 250px;
+ min-height: 340px;
+ // 定位
+ display: flex;
+ justify-content: center;
+ align-items: center;
+ .pic {
+ display: none;
+ }
+ .field {
+ padding: 0;
+ // 元素
+ width: inherit;
+ min-height: inherit;
+ // 定位
+ left: 0;
+ display: flex;
+ flex-direction: column;
+
+ .mobile-title {
+ // 元素
+ margin: 0;
+ display: block;
+ }
+
+ .form {
+ margin: 0;
+ width: $mobileFormWidth;
+ // - - - tab
+ :deep(.el-tabs__header) {
+ display: none;
+ }
+ :deep(.el-tabs__content) {
+ padding: 0;
+ }
+ // - - - input
+ :deep(.el-input__inner) {
+ height: $mobileRowHeight;
+ line-height: 24px;
+ // 文字
+ text-align: center;
+ color: #262626;
+ }
+ :deep(.el-form-item) {
+ .button-code {
+ // 元素
+ height: $mobileRowHeight;
+ }
+ }
+ .button {
+ height: $mobileButtonHeight;
+ line-height: 24px;
+ color: #ffffff;
+ }
+ }
+
+ .login-form {
+ :deep(.el-input__inner) {
+ height: $mobileRowHeight;
+ line-height: 24px;
+ // 文字
+ text-align: center;
+ color: #262626;
+ }
+
+ :deep(#button-form-item) {
+ margin: 0 !important;
+ button {
+ // 元素
+ height: $mobileRowHeight;
+ }
+ }
+ }
+ .mobile-switch {
+ display: block;
+ line-height: 20px;
+ font-size: 14px;
+ font-weight: 400;
+ color: #595959;
+ margin: 0;
+ .icon {
+ width: 14px;
+ height: 14px;
+ display: inline-block;
+ background-image: url($iconBgImage);
+ background-size: cover;
+ }
+ }
+ .mobile-switch:hover {
+ cursor: pointer;
+ }
+ }
+ }
+
+ .footer {
+ // 元素
+ font-size: 12px;
+ font-family: PingFang SC;
+ font-weight: 400;
+ line-height: 17px;
+ color: #333333;
+ opacity: 0.6;
+ // 定位
+ // position: absolute;
+ bottom: -32px;
+ }
+ }
}
diff --git a/src/assets/styles/ruoyi.scss b/src/assets/styles/ruoyi.scss
index 17ef2e4f..d9b3a411 100644
--- a/src/assets/styles/ruoyi.scss
+++ b/src/assets/styles/ruoyi.scss
@@ -104,8 +104,8 @@ h6 {
word-break: break-word;
background-color: #f8f8f9;
color: #515a6e;
- height: 40px;
- font-size: 13px;
+ // height: 40px;
+ // font-size: 13px;
}
}
.el-table__body-wrapper {
diff --git a/src/components/Breadcrumb/index.vue b/src/components/Breadcrumb/index.vue
index 4902d3d8..d7c255e2 100644
--- a/src/components/Breadcrumb/index.vue
+++ b/src/components/Breadcrumb/index.vue
@@ -35,7 +35,7 @@ export default {
const first = matched[0]
if (!this.isDashboard(first)) {
- matched = [{ path: '/index', meta: { title: '首页' }}].concat(matched)
+ matched = [{ path: '/', meta: { title: '首页' }}].concat(matched)
}
this.levelList = matched.filter(item => item.meta && item.meta.title && item.meta.breadcrumb !== false)
diff --git a/src/layout/components/Navbar.vue b/src/layout/components/Navbar.vue
index 655a9ab5..c23172b9 100644
--- a/src/layout/components/Navbar.vue
+++ b/src/layout/components/Navbar.vue
@@ -5,8 +5,12 @@
{{ a.name }}
{{ b.name }}
{{ c.name }}
{{ d.name }}
{{ a.name }}
{{ b.name }}
{{ c.name }}
@@ -76,11 +109,14 @@ v-for="d in wareData.four.slice((i - 1) * 10, i * 10)" :key="d.id + d.code" :title="d.name" - style="background: #fff8e8; float: left"> + :style="{ + background: bgColor[d.enabled], + float: 'left', + }">{{ d.name }}
@@ -106,7 +142,14 @@ export default { four: [], }, total: 0, - bgColor: ['#7362F3', '#16DC09', '#FFA08F'], + bgColor: ['#D7DBE5', '#D8E5FF'], + dotColor: ['#16DC09', '#FFD781', '#7362F3', '#FFA08F'], + cassetteStatusList: [ + { id: '1', name: '可用', color: '#16DC09' }, + { id: '2', name: '占用-待入库', color: '#FFD781' }, + { id: '3', name: '占用-有货', color: '#7362F3' }, + { id: '4', name: '占用-待出库', color: '#FFA08F' }, + ], formConfig: [ { type: 'button', @@ -130,26 +173,26 @@ export default { there: [], four: [], }), - getWarehouseList().then((response) => { - response.data.forEach((item) => { - if (item.storageType === 5) { - listByWarehouse(item.id).then((response) => { - response.data.forEach((a, b) => { - if (b % 4 === 0) { - this.wareData.one.push(a); - } else if (b % 4 === 1) { - this.wareData.two.push(a); - } else if (b % 4 === 2) { - this.wareData.there.push(a); - } else if (b % 4 === 3) { - this.wareData.four.push(a); + getWarehouseList().then((response) => { + response.data.forEach((item) => { + if (item.storageType === 5) { + listByWarehouse(item.id).then((response) => { + response.data.forEach((a, b) => { + if (b % 4 === 0) { + this.wareData.one.push(a); + } else if (b % 4 === 1) { + this.wareData.two.push(a); + } else if (b % 4 === 2) { + this.wareData.there.push(a); + } else if (b % 4 === 3) { + this.wareData.four.push(a); + } + }); + this.total = Math.ceil(response.data.length / 40); + }); } }); - this.total = Math.ceil(response.data.length / 40); - }); - } - }); - }); + }); }, buttonClick(val) { switch (val.btnName) { @@ -225,4 +268,25 @@ export default { top: 22px; right: 120px; } +.dashboard-legend { + margin: 5px 5px 10px 5px; + .dashboard-legend-cassette { + display: inline-block; + margin-right: 24px; + .dashboard-legend-cassette-cricle { + display: inline-block; + width: 12px; + height: 12px; + border-radius: 6px; + } + } + .dashboard-legend-port { + display: inline-block; + height: 24px; + line-height: 24px; + border-radius: 4px; + padding: 0 16px; + margin-left: 24px; + } +} diff --git a/src/views/warehouse/out-material/warehouseRealtimeLocation/index.vue b/src/views/warehouse/out-material/warehouseRealtimeLocation/index.vue index 64d43daf..56bd9a47 100644 --- a/src/views/warehouse/out-material/warehouseRealtimeLocation/index.vue +++ b/src/views/warehouse/out-material/warehouseRealtimeLocation/index.vue @@ -17,7 +17,7 @@{{ a.name }}
{{ b.name }}
{{ c.name }}
@@ -76,11 +109,14 @@ v-for="d in wareData.four.slice((i - 1) * 10, i * 10)" :key="d.id + d.code" :title="d.name" - style="background: #fff8e8; float: left"> + :style="{ + background: bgColor[d.enabled], + float: 'left', + }">{{ d.name }}
@@ -106,7 +142,14 @@ export default { four: [], }, total: 0, - bgColor: ['#7362F3', '#16DC09', '#FFA08F'], + bgColor: ['#D7DBE5', '#D8E5FF'], + dotColor: ['#16DC09', '#FFD781', '#7362F3', '#FFA08F'], + cassetteStatusList: [ + { id: '1', name: '可用', color: '#16DC09' }, + { id: '2', name: '占用-待入库', color: '#FFD781' }, + { id: '3', name: '占用-有货', color: '#7362F3' }, + { id: '4', name: '占用-待出库', color: '#FFA08F' }, + ], formConfig: [ { type: 'button', @@ -130,26 +173,26 @@ export default { there: [], four: [], }), - getWarehouseList().then((response) => { - response.data.forEach((item) => { - if (item.storageType === 3) { - listByWarehouse(item.id).then((response) => { - response.data.forEach((a, b) => { - if (b % 4 === 0) { - this.wareData.one.push(a); - } else if (b % 4 === 1) { - this.wareData.two.push(a); - } else if (b % 4 === 2) { - this.wareData.there.push(a); - } else if (b % 4 === 3) { - this.wareData.four.push(a); + getWarehouseList().then((response) => { + response.data.forEach((item) => { + if (item.storageType === 3) { + listByWarehouse(item.id).then((response) => { + response.data.forEach((a, b) => { + if (b % 4 === 0) { + this.wareData.one.push(a); + } else if (b % 4 === 1) { + this.wareData.two.push(a); + } else if (b % 4 === 2) { + this.wareData.there.push(a); + } else if (b % 4 === 3) { + this.wareData.four.push(a); + } + }); + this.total = Math.ceil(response.data.length / 40); + }); } }); - this.total = Math.ceil(response.data.length / 40); - }); - } - }); - }); + }); }, buttonClick(val) { switch (val.btnName) { @@ -225,4 +268,25 @@ export default { top: 22px; right: 120px; } +.dashboard-legend { + margin: 5px 5px 10px 5px; + .dashboard-legend-cassette { + display: inline-block; + margin-right: 24px; + .dashboard-legend-cassette-cricle { + display: inline-block; + width: 12px; + height: 12px; + border-radius: 6px; + } + } + .dashboard-legend-port { + display: inline-block; + height: 24px; + line-height: 24px; + border-radius: 4px; + padding: 0 16px; + margin-left: 24px; + } +} diff --git a/src/views/warehouse/package-material/warehouseRealtimeLocation/index.vue b/src/views/warehouse/package-material/warehouseRealtimeLocation/index.vue index da46a2d8..eda55804 100644 --- a/src/views/warehouse/package-material/warehouseRealtimeLocation/index.vue +++ b/src/views/warehouse/package-material/warehouseRealtimeLocation/index.vue @@ -17,7 +17,7 @@{{ a.name }}
{{ b.name }}
{{ c.name }}
@@ -76,11 +109,14 @@ v-for="d in wareData.four.slice((i - 1) * 10, i * 10)" :key="d.id + d.code" :title="d.name" - style="background: #fff8e8; float: left"> + :style="{ + background: bgColor[d.enabled], + float: 'left', + }">{{ d.name }}
@@ -106,7 +142,14 @@ export default { four: [], }, total: 0, - bgColor: ['#7362F3', '#16DC09', '#FFA08F'], + bgColor: ['#D7DBE5', '#D8E5FF'], + dotColor: ['#16DC09', '#FFD781', '#7362F3', '#FFA08F'], + cassetteStatusList: [ + { id: '1', name: '可用', color: '#16DC09' }, + { id: '2', name: '占用-待入库', color: '#FFD781' }, + { id: '3', name: '占用-有货', color: '#7362F3' }, + { id: '4', name: '占用-待出库', color: '#FFA08F' }, + ], formConfig: [ { type: 'button', @@ -130,26 +173,26 @@ export default { there: [], four: [], }), - getWarehouseList().then((response) => { - response.data.forEach((item) => { - if (item.storageType === 4) { - listByWarehouse(item.id).then((response) => { - response.data.forEach((a, b) => { - if (b % 4 === 0) { - this.wareData.one.push(a); - } else if (b % 4 === 1) { - this.wareData.two.push(a); - } else if (b % 4 === 2) { - this.wareData.there.push(a); - } else if (b % 4 === 3) { - this.wareData.four.push(a); + getWarehouseList().then((response) => { + response.data.forEach((item) => { + if (item.storageType === 4) { + listByWarehouse(item.id).then((response) => { + response.data.forEach((a, b) => { + if (b % 4 === 0) { + this.wareData.one.push(a); + } else if (b % 4 === 1) { + this.wareData.two.push(a); + } else if (b % 4 === 2) { + this.wareData.there.push(a); + } else if (b % 4 === 3) { + this.wareData.four.push(a); + } + }); + this.total = Math.ceil(response.data.length / 40); + }); } }); - this.total = Math.ceil(response.data.length / 40); - }); - } - }); - }); + }); }, buttonClick(val) { switch (val.btnName) { @@ -225,4 +268,25 @@ export default { top: 22px; right: 120px; } +.dashboard-legend { + margin: 5px 5px 10px 5px; + .dashboard-legend-cassette { + display: inline-block; + margin-right: 24px; + .dashboard-legend-cassette-cricle { + display: inline-block; + width: 12px; + height: 12px; + border-radius: 6px; + } + } + .dashboard-legend-port { + display: inline-block; + height: 24px; + line-height: 24px; + border-radius: 4px; + padding: 0 16px; + margin-left: 24px; + } +} diff --git a/src/views/warehouse/part-material/warehouseRealtimeLocation/index.vue b/src/views/warehouse/part-material/warehouseRealtimeLocation/index.vue index b0c93ded..00779a9c 100644 --- a/src/views/warehouse/part-material/warehouseRealtimeLocation/index.vue +++ b/src/views/warehouse/part-material/warehouseRealtimeLocation/index.vue @@ -17,7 +17,7 @@{{ a.name }}
{{ b.name }}
{{ c.name }}
@@ -76,11 +109,14 @@ v-for="d in wareData.four.slice((i - 1) * 10, i * 10)" :key="d.id + d.code" :title="d.name" - style="background: #fff8e8; float: left"> + :style="{ + background: bgColor[d.enabled], + float: 'left', + }">{{ d.name }}
@@ -106,7 +142,14 @@ export default { four: [], }, total: 0, - bgColor: ['#7362F3', '#16DC09', '#FFA08F'], + bgColor: ['#D7DBE5', '#D8E5FF'], + dotColor: ['#16DC09', '#FFD781', '#7362F3', '#FFA08F'], + cassetteStatusList: [ + { id: '1', name: '可用', color: '#16DC09' }, + { id: '2', name: '占用-待入库', color: '#FFD781' }, + { id: '3', name: '占用-有货', color: '#7362F3' }, + { id: '4', name: '占用-待出库', color: '#FFA08F' }, + ], formConfig: [ { type: 'button', @@ -130,26 +173,26 @@ export default { there: [], four: [], }), - getWarehouseList().then((response) => { - response.data.forEach((item) => { - if (item.storageType === 1) { - listByWarehouse(item.id).then((response) => { - response.data.forEach((a, b) => { - if (b % 4 === 0) { - this.wareData.one.push(a); - } else if (b % 4 === 1) { - this.wareData.two.push(a); - } else if (b % 4 === 2) { - this.wareData.there.push(a); - } else if (b % 4 === 3) { - this.wareData.four.push(a); + getWarehouseList().then((response) => { + response.data.forEach((item) => { + if (item.storageType === 1) { + listByWarehouse(item.id).then((response) => { + response.data.forEach((a, b) => { + if (b % 4 === 0) { + this.wareData.one.push(a); + } else if (b % 4 === 1) { + this.wareData.two.push(a); + } else if (b % 4 === 2) { + this.wareData.there.push(a); + } else if (b % 4 === 3) { + this.wareData.four.push(a); + } + }); + this.total = Math.ceil(response.data.length / 40); + }); } }); - this.total = Math.ceil(response.data.length / 40); - }); - } - }); - }); + }); }, buttonClick(val) { switch (val.btnName) { @@ -225,4 +268,25 @@ export default { top: 22px; right: 120px; } +.dashboard-legend { + margin: 5px 5px 10px 5px; + .dashboard-legend-cassette { + display: inline-block; + margin-right: 24px; + .dashboard-legend-cassette-cricle { + display: inline-block; + width: 12px; + height: 12px; + border-radius: 6px; + } + } + .dashboard-legend-port { + display: inline-block; + height: 24px; + line-height: 24px; + border-radius: 4px; + padding: 0 16px; + margin-left: 24px; + } +} diff --git a/src/views/warehouse/raw-material/warehouseRealtimeLocation/index.vue b/src/views/warehouse/raw-material/warehouseRealtimeLocation/index.vue index aa2c9d51..5da72b0d 100644 --- a/src/views/warehouse/raw-material/warehouseRealtimeLocation/index.vue +++ b/src/views/warehouse/raw-material/warehouseRealtimeLocation/index.vue @@ -17,7 +17,7 @@