diff --git a/src/assets/images/t-yp.png b/src/assets/images/t-yp.png
new file mode 100644
index 0000000..8dfcdd4
Binary files /dev/null and b/src/assets/images/t-yp.png differ
diff --git a/src/assets/styles/index.scss b/src/assets/styles/index.scss
index 2eab990..c363e1e 100644
--- a/src/assets/styles/index.scss
+++ b/src/assets/styles/index.scss
@@ -278,12 +278,16 @@ aside {
color: #333;
}
.el-input__inner{
+ width: 336px;
height: 40px;
line-height: 40px;
}
.el-range-separator{
line-height: 34px;
}
+ .el-date-editor{
+ width: 336px;
+ }
}
.el-dialog__header{
position: relative;
diff --git a/src/views/device/deviceConfig.vue b/src/views/device/deviceConfig.vue
index 11004fc..9991836 100644
--- a/src/views/device/deviceConfig.vue
+++ b/src/views/device/deviceConfig.vue
@@ -5,52 +5,54 @@
- 设备ID
+ 设备ID:
- 设备名称
+ 设备名称:
- 配置
- 清空
+ 配置
+ 清空
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 编辑
+ 记录
+
+
+
+
+
-
+
开机时间
@@ -168,7 +170,7 @@
{ required: true, message: '请选择具体关机时间', trigger: 'change' },
]"
>
-
+
@@ -179,8 +181,8 @@
@@ -235,7 +237,7 @@ export default {
watch: {},
methods: {
// 编辑
- edit(index, row) {
+ editFormData(index, row) {
this.addFromVisible = true
},
clearCheckbox() {
@@ -277,6 +279,10 @@ export default {
.setting_btn{
margin-right: 10px;
}
+.clear_btn {
+ color: #3a8aeb;
+ border-color: #3a8aeb;
+}
.cover_img{
width: 65px;
}
@@ -284,31 +290,37 @@ export default {
::v-deep .el-dialog__body{
padding: 0 20px;
}
- .setting_cont{
- display: flex;
- span{
- display: block;
- width: 80px;
- line-height: 32px;
- }
- .no_margin {
- margin: 0;
- }
- .weekly_margin{
- margin-bottom: 6px;
- ::v-deep .el-form-item__error{
- top: 70%;
- }
- }
- ::v-deep .el-form-item--small.el-form-item:last-child{
- margin: 0;
+ .setting_item{
+ color: #333;
+ h4{
+ font-size: 16px;
}
- ::v-deep .el-radio-group{
- display: block;
- // line-height: 32px;
- .el-radio{
+ .setting_cont{
+ display: flex;
+ span{
+ display: block;
+ width: 80px;
line-height: 32px;
}
+ .no_margin {
+ margin: 0;
+ }
+ .weekly_margin{
+ margin-bottom: 6px;
+ ::v-deep .el-form-item__error{
+ top: 70%;
+ }
+ }
+ ::v-deep .el-form-item--small.el-form-item:last-child{
+ margin: 0;
+ }
+ ::v-deep .el-radio-group{
+ display: block;
+ // line-height: 32px;
+ .el-radio{
+ line-height: 32px;
+ }
+ }
}
}
}
diff --git a/src/views/device/index.vue b/src/views/device/index.vue
index e8d0252..2c98538 100644
--- a/src/views/device/index.vue
+++ b/src/views/device/index.vue
@@ -5,7 +5,7 @@
- 状态
+ 状态:
- 设备ID
+ 设备ID:
- 设备名称
+ 设备名称:
- 清空
+ 清空
+
-
-
-
-
-
-
-
-
-
-
- {{ scope.row.isDel ? '在线' : '离线' }}
-
-
-
-
- 查看
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+ {{ scope.row.isDel ? '在线' : '离线' }}
+
+
+
+
+ 查看
+
+
+
+
+
+ 编辑
+ 记录
+
+
+
+
+
@@ -89,22 +92,17 @@
:title="dialogTitle"
:close-on-click-modal="false"
:visible.sync="addFromVisible"
- width="400px"
+ width="576px"
>
-
+
-
+
-
+
-
+
图片
-
-
-
-
- JPG
- 30S
-
-
1.3X2DD244
+

+
+ JPG
-
-
1
+
人工智能
视频
+
+ -
+
+
+ Video
+ 03:00
+
+ 防控疫情小贴士
+
+
音频
+
+ -
+
+
+ Video
+ 03:00
+
+ 防控疫情小贴士
+
+
@@ -201,7 +215,7 @@ export default {
watch: {},
methods: {
// 编辑
- edit(index, row) {
+ editFormData(index, row) {
this.dialogTitle = '编辑设备'
this.addFromVisible = true
this.form.account = row.account
@@ -226,9 +240,23 @@ export default {
}