diff --git a/src/api/systemOverview.js b/src/api/systemOverview.js
new file mode 100644
index 0000000..dbae65c
--- /dev/null
+++ b/src/api/systemOverview.js
@@ -0,0 +1,27 @@
+import { getAction, postAction } from '@api/manage'
+
+// 设备分页列表
+const getDevicePage = (params) => getAction('/device/page', params)
+// 添加设备
+const addDevice = (params) => postAction('/device/add', params)
+// 修改设备
+const editDevice = (params) => postAction('/device/edit', params)
+// 删除设备
+const delDevice = (params) => postAction('/device/delete', params)
+// 系统设备概况
+const getSysDeviceOverview = (params) => getAction('/device/statistics', params)
+
+// 井口列表
+const getWellheadList = (params) => getAction('/wellhead/list', params)
+// 添加井口
+const addWellhead = (params) => postAction('/wellhead/add', params)
+
+export {
+ getDevicePage,
+ addDevice,
+ editDevice,
+ delDevice,
+ getSysDeviceOverview,
+ getWellheadList,
+ addWellhead,
+}
diff --git a/src/assets/images/componentImg/btn-blue.png b/src/assets/images/componentImg/btn-blue.png
new file mode 100644
index 0000000..56816f9
Binary files /dev/null and b/src/assets/images/componentImg/btn-blue.png differ
diff --git a/src/assets/images/componentImg/btn-cyan.png b/src/assets/images/componentImg/btn-cyan.png
new file mode 100644
index 0000000..fe6c261
Binary files /dev/null and b/src/assets/images/componentImg/btn-cyan.png differ
diff --git a/src/assets/images/componentImg/btn.png b/src/assets/images/componentImg/btn.png
deleted file mode 100644
index e54070f..0000000
Binary files a/src/assets/images/componentImg/btn.png and /dev/null differ
diff --git a/src/assets/images/icon/add.png b/src/assets/images/icon/add.png
new file mode 100644
index 0000000..187a6ff
Binary files /dev/null and b/src/assets/images/icon/add.png differ
diff --git a/src/assets/images/icon/refresh.png b/src/assets/images/icon/refresh.png
new file mode 100644
index 0000000..a27e3b2
Binary files /dev/null and b/src/assets/images/icon/refresh.png differ
diff --git a/src/assets/images/systemOverview/equipmentManagement/card-bg.png b/src/assets/images/systemOverview/equipmentManagement/card-bg.png
new file mode 100644
index 0000000..011d0c7
Binary files /dev/null and b/src/assets/images/systemOverview/equipmentManagement/card-bg.png differ
diff --git a/src/assets/images/systemOverview/equipmentManagement/controller.png b/src/assets/images/systemOverview/equipmentManagement/controller.png
new file mode 100644
index 0000000..9991f80
Binary files /dev/null and b/src/assets/images/systemOverview/equipmentManagement/controller.png differ
diff --git a/src/assets/images/systemOverview/equipmentManagement/device.png b/src/assets/images/systemOverview/equipmentManagement/device.png
new file mode 100644
index 0000000..71ddf66
Binary files /dev/null and b/src/assets/images/systemOverview/equipmentManagement/device.png differ
diff --git a/src/assets/images/systemOverview/equipmentManagement/left-bottom.png b/src/assets/images/systemOverview/equipmentManagement/left-bottom.png
new file mode 100644
index 0000000..8f410fe
Binary files /dev/null and b/src/assets/images/systemOverview/equipmentManagement/left-bottom.png differ
diff --git a/src/assets/images/systemOverview/equipmentManagement/left-top.png b/src/assets/images/systemOverview/equipmentManagement/left-top.png
new file mode 100644
index 0000000..eadae47
Binary files /dev/null and b/src/assets/images/systemOverview/equipmentManagement/left-top.png differ
diff --git a/src/assets/images/systemOverview/equipmentManagement/right-bottom.png b/src/assets/images/systemOverview/equipmentManagement/right-bottom.png
new file mode 100644
index 0000000..1bd8344
Binary files /dev/null and b/src/assets/images/systemOverview/equipmentManagement/right-bottom.png differ
diff --git a/src/assets/images/systemOverview/equipmentManagement/right-top.png b/src/assets/images/systemOverview/equipmentManagement/right-top.png
new file mode 100644
index 0000000..712b0d5
Binary files /dev/null and b/src/assets/images/systemOverview/equipmentManagement/right-top.png differ
diff --git a/src/assets/images/systemOverview/equipmentManagement/terminal.png b/src/assets/images/systemOverview/equipmentManagement/terminal.png
new file mode 100644
index 0000000..890c117
Binary files /dev/null and b/src/assets/images/systemOverview/equipmentManagement/terminal.png differ
diff --git a/src/assets/images/systemOverview/equipmentManagement/wellhead.png b/src/assets/images/systemOverview/equipmentManagement/wellhead.png
new file mode 100644
index 0000000..31186dc
Binary files /dev/null and b/src/assets/images/systemOverview/equipmentManagement/wellhead.png differ
diff --git a/src/assets/images/systemOverview/wellheadDataMonitoring/suspend.gif b/src/assets/images/systemOverview/wellheadDataMonitoring/suspend.gif
index a5dfea0..3173160 100644
Binary files a/src/assets/images/systemOverview/wellheadDataMonitoring/suspend.gif and b/src/assets/images/systemOverview/wellheadDataMonitoring/suspend.gif differ
diff --git a/src/assets/images/systemOverview/wellheadDataMonitoring/working.gif b/src/assets/images/systemOverview/wellheadDataMonitoring/working.gif
index 71a6c50..e26c96d 100644
Binary files a/src/assets/images/systemOverview/wellheadDataMonitoring/working.gif and b/src/assets/images/systemOverview/wellheadDataMonitoring/working.gif differ
diff --git a/src/assets/less/common.less b/src/assets/less/common.less
index 0c90140..cebf2ed 100644
--- a/src/assets/less/common.less
+++ b/src/assets/less/common.less
@@ -1,4 +1,7 @@
@import "./modifyLessVars.less";
+@custom-cyan: #2EE4FD;
+@custom-red: #FF5353;
+
/*列表上方操作按钮区域*/
.ant-card-body .table-operator {
//margin-bottom: 8px;
@@ -106,6 +109,21 @@
border-radius: 0;
}
.ant-table td { white-space: nowrap; }
+// 表头边框错位
+.ant-table.ant-table-fixed-header .ant-table-scroll .ant-table-header {
+ margin-right: -11px;
+}
+// 表头字体
+.ant-table .ant-table-thead tr > th {
+ font-family: Alimama ShuHeiTi, Alimama ShuHeiTi, sans-serif;
+ font-weight: bold;
+ font-size: 14px;
+ line-height: 20px;
+}
+.ant-table.ant-table-bordered.ant-table-fixed-header .ant-table-scroll .ant-table-header.ant-table-hide-scrollbar .ant-table-thead > tr:only-child > th:last-child {
+ border-right-color: @primary-color;
+ border-radius: 0;
+}
/* 表格样式end */
/* 复选框begin */
@@ -200,28 +218,61 @@
.ant-input,
.ant-select-selection
{
- background: url("~@assets/images/componentImg/input.png") no-repeat center center !important;
- background-size: 110% calc(@btn-height-base + 2px) !important;
+ //background: url("~@assets/images/componentImg/input.png") no-repeat center center !important;
+ //background-size: 110% calc(100% + 4px) !important;
+ background: linear-gradient(to bottom, rgba(0, 89, 153, 0) 0%, rgba(0, 148, 255, 0.2) 100%) !important;
}
-// 搜索按钮
-.search-btn {
- border: none !important;
- width: 88px !important;
- background: url("~@assets/images/componentImg/btn.png") no-repeat center center !important;
- background-size: 100% @btn-height-base !important;
- font-size: 0;
+// 按钮样式
+.custom-btns-box {
+
+ .btn-icon {
+ margin-right: 3px;
+ margin-bottom: 3px;
+ width: 14px;
+ }
+ .btn-text {
+ font-family: PingFang SC, PingFang SC, sans-serif;
+ font-weight: 500;
+ font-size: 14px;
+ color: #FFFFFF;
+ line-height: 16px;
+ }
+ // 蓝色按钮
+ .btn-blue {
+ background: url("~@assets/images/componentImg/btn-blue.png") no-repeat center center !important;
+ }
+ // 青色按钮
+ .btn-cyan {
+ background: url("~@assets/images/componentImg/btn-cyan.png") no-repeat center center !important;
+ }
+ // 按钮公共样式
+ .btn-blue,
+ .btn-cyan {
+ border: none !important;
+ width: 88px !important;
+ background-size: 100% @btn-height-base !important;
+ }
}
-.search-btn-icon {
- margin-right: 3px;
- margin-bottom: 3px;
- width: 14px;
+
+.ant-btn.primary-btn,
+.ant-btn.primary-btn:hover,
+.ant-btn.primary-btn:focus {
+ width: 88px;
+ height: 32px;
+ background: linear-gradient( 180deg, rgba(0,148,255,0) 0%, rgba(0,148,255,0.6) 100%);
+ border-radius: 2px 2px 2px 2px;
+ border: 1px solid #0094FF;
+ color: @text-color;
}
-.search-btn-text {
- font-family: PingFang SC, PingFang SC, sans-serif;
- font-weight: 500;
- font-size: 14px;
- color: #FFFFFF;
- line-height: 16px;
+.ant-btn.danger-btn,
+.ant-btn.danger-btn:hover,
+.ant-btn.danger-btn:focus {
+ width: 88px;
+ height: 32px;
+ background: linear-gradient( 0deg, rgba(255,83,83,0.6) 00%, rgba(255,83,83,0) 100%);
+ border-radius: 2px 2px 2px 2px;
+ border: 1px solid #FF5353;
+ color: @text-color;
}
/* 部分组件end */
@@ -301,23 +352,92 @@
background-color: #FF5353;
}
-.ant-btn.primary-btn,
-.ant-btn.primary-btn:hover,
-.ant-btn.primary-btn:focus {
- width: 88px;
- height: 32px;
- background: linear-gradient( 180deg, rgba(0,148,255,0) 0%, rgba(0,148,255,0.6) 100%);
- border-radius: 2px 2px 2px 2px;
- border: 1px solid #0094FF;
- color: @text-color;
+// 特殊大数字
+.big-number {
+ font-family: Audiowide, Audiowide, sans-serif;
+ font-weight: 400;
+ font-size: 24px;
+ line-height: 32px;
+ margin-right: 8px;
+ background: linear-gradient(90deg, #FFFFFF 0%, #96D0F9 100%);
+ -webkit-background-clip: text;
}
-.ant-btn.danger-btn,
-.ant-btn.danger-btn:hover,
-.ant-btn.danger-btn:focus {
- width: 88px;
- height: 32px;
- background: linear-gradient( 0deg, rgba(255,83,83,0.6) 00%, rgba(255,83,83,0) 100%);
- border-radius: 2px 2px 2px 2px;
- border: 1px solid #FF5353;
+
+// 标题加渐变背景
+.title-background {
+ margin-bottom: 14px;
+ font-family: DingTalk JinBuTi, DingTalk JinBuTi, sans-serif;
+ font-weight: 400;
+ font-size: 15px;
color: @text-color;
+ line-height: 18px;
+ display: inline-block;
+ position: relative;
+
+ &::before {
+ content: '';
+ display: block;
+ position: absolute;
+ top: 6px;
+ left: 0;
+ width: 100%;
+ height: 16px;
+ background: linear-gradient( 90deg, rgba(0,116,202,0.1) 0%, #0074CA 50%, rgba(0,116,202,0) 100%);
+ }
+
+ .title-background-text {
+ padding: 0 4px;
+ position: relative;
+ height: 22px;
+ }
+}
+
+// 青色
+.text-cyan { color: @custom-cyan; }
+
+// 红色
+.text-red { color: @custom-red; }
+
+/* a标签按钮样式 */
+.operation-btns {
+ .primary,
+ .primary:hover {
+ color: @custom-cyan;
+ }
+ .danger,
+ .danger:hover {
+ color: @custom-red
+ }
+ & > a:not(:last-child) {
+ margin-right: 10px;
+ }
+}
+
+/* 表单begin */
+.custom-vertical-form {
+ .ant-form-item-label {
+ line-height: 22px;
+ margin-bottom: 4px;
+ }
+ .ant-form-item {
+ margin-bottom: 18px;
+ }
+ .ant-form-item-label > label::after {
+ display: none;
+ }
+}
+/* 表单end */
+
+// flex居中
+.flex-center {
+ display: flex;
+ justify-content: center;
+ align-items: center;
+}
+// flex纵向
+.flex-column-between {
+ height: 100%;
+ display: flex;
+ flex-direction: column;
+ justify-content: space-between;
}
\ No newline at end of file
diff --git a/src/assets/less/modifyLessVars.js b/src/assets/less/modifyLessVars.js
index 54af57f..d884464 100644
--- a/src/assets/less/modifyLessVars.js
+++ b/src/assets/less/modifyLessVars.js
@@ -23,5 +23,8 @@ module.exports = {
// 高度调整
'btn-height-base': '36px',
- 'input-height-base': '36px'
+ 'input-height-base': '36px',
+
+ // 其他
+ 'red-6': '#FF5353'
}
diff --git a/src/assets/less/modifyLessVars.less b/src/assets/less/modifyLessVars.less
index a4ca526..ecbd05c 100644
--- a/src/assets/less/modifyLessVars.less
+++ b/src/assets/less/modifyLessVars.less
@@ -23,4 +23,7 @@
/* 按钮 */
@btn-height-base: 36px;
-@input-height-base: 36px;
\ No newline at end of file
+@input-height-base: 36px;
+
+/* 其他 */
+@red-6: #FF5353;
\ No newline at end of file
diff --git a/src/components/CommonCard.vue b/src/components/CommonCard.vue
index 6a8f624..3ce73e4 100644
--- a/src/components/CommonCard.vue
+++ b/src/components/CommonCard.vue
@@ -25,9 +25,29 @@ export default {
diff --git a/src/views/systemOverview/wellheadDataMonitoring/WellheadDataMonitoring.vue b/src/views/systemOverview/wellheadDataMonitoring/WellheadDataMonitoring.vue
index 659b46f..87bd620 100644
--- a/src/views/systemOverview/wellheadDataMonitoring/WellheadDataMonitoring.vue
+++ b/src/views/systemOverview/wellheadDataMonitoring/WellheadDataMonitoring.vue
@@ -12,10 +12,10 @@
{{ item.name }}
-
-
-
- 查询
+
+
+
+ 查询
@@ -73,12 +73,12 @@
名称:华h62-1
-
![油井工作状态]()
+
-
远程启井
-
远程停井
-
频率控制
+
远程启井
+
远程停井
+
频率控制
@@ -137,8 +137,7 @@
-
-
+
th {
- font-family: Alimama ShuHeiTi, Alimama ShuHeiTi, sans-serif;
- font-weight: bold;
- font-size: 14px;
- line-height: 20px;
-}
-// 表头边框错位
-/deep/ .ant-table-fixed-header .ant-table-scroll .ant-table-header {
- margin-right: -11px;
-}
// 确认
.confirm,
.confirm:hover {