+      
+        
+          
+            
+              
+              
+            
+          
+          
+            
+          
+          
+            
+          
+          
+            
+            
+            
+            
+          
+          
+            
+            
+            
+            
+          
+        
+        
+      
+    
   
 
 
@@ -301,6 +376,20 @@ export default {
 
         width: '100px'
       },
+      modelList:[
+        {
+          value: '0', label: '强制关闭'
+        },
+        {
+          value: '1', label: '强制开启'
+        },
+        {
+          value: '2', label: '自动'
+        },
+        {
+          value: '3', label: '自动时间'
+        }
+      ],
       //自动重启设置
       restartcfg: {
         open: false,
@@ -323,6 +412,19 @@ export default {
 
         run: false,
       },
+      updateDate:{
+        open: false,
+        queryForm: {
+          id: '',
+          emMode: '',
+          nPreValue: '1',
+          nBrightness: '1',
+          startTime1: new Date(2022, 9, 10, 18, 40),
+          endTime1: new Date(2022, 9, 10, 18, 40),
+          startTime2: new Date(2022, 9, 10, 18, 40),
+          endTime2: new Date(2022, 9, 10, 18, 40),
+        },
+      },
       logInfoList: [],
       options: [{
         value: '0',
@@ -424,6 +526,19 @@ export default {
       };
       this.resetForm("form");
     },
+    updateDateReset(){
+      this.updateDate.queryForm= {
+        id: '',
+        emMode: '2',
+        nPreValue: '1',
+        nBrightness: '1',
+        startTime1: new Date(2022, 9, 10, 18, 40),
+        endTime1: new Date(2022, 9, 10, 18, 40),
+        startTime2: new Date(2022, 9, 10, 18, 40),
+        endTime2: new Date(2022, 9, 10, 18, 40),
+      }
+
+    },
     /** 搜索按钮操作 */
     handleQuery() {
       this.queryParams.pageNum = 1;
@@ -461,6 +576,9 @@ export default {
         case "showLog":
           this.showLog(row);
           break;
+        case "showDate":
+          this.showDate(row);
+          break;
         case "reboot":
           this.reboot(row);
           break;
@@ -557,6 +675,23 @@ export default {
         this.restartcfg.open = false;
       }
     },
+    // 显示时间
+    showDate(row){
+      // 重置表单
+      this.updateDateReset()
+      this.updateDate.queryForm.id = row.id;
+      this.getDate(row.id);
+      this.updateDate.open = true;
+    },
+    // 查询时间
+    async getDate(id){
+      let res = await this.$axiosGet('/web/camera/getDate/' + id);
+      console.log(res.data)
+    },
+    //修改时间
+    updateDateForm(){
+      console.log(this.updateDate.queryForm)
+    },
     reboot(row) {
       const id = row.id;
       const status = row.status;