Преглед на файлове

Merge branch 'master' of http://124.70.58.209:3000/songchenchen/VehicleMonitor-WEB

caoge преди 7 месеца
родител
ревизия
91b0f18fc1
променени са 1 файла, в които са добавени 24 реда и са изтрити 0 реда
  1. 24 0
      src/views/account/camera/index.vue

+ 24 - 0
src/views/account/camera/index.vue

@@ -60,6 +60,19 @@
               >
             </div>
           </div>
+          <el-select
+            v-model="queryParams.enableOrNot"
+            placeholder="摄像机启用状态"
+            style="width: 220px; padding: 0 10px"
+            clearable
+          >
+            <el-option
+              v-for="item in statusOptions"
+              :key="item.value"
+              :label="item.label"
+              :value="item.value"
+            />
+          </el-select>
           <div
             :span="6"
             justify="end"
@@ -936,6 +949,16 @@ export default {
           label: "否",
         },
       ],
+      statusOptions:[
+        {
+          label: '启用',
+          value: '1'
+        },
+        {
+          label: '停用',
+          value: '2'
+        }
+      ],
       xianlu: [
         {
           value: "1",
@@ -1294,6 +1317,7 @@ export default {
       this.queryParams.endMileBD = "";
       this.queryParams.stationName = "";
       this.queryParams.cameraCode = "";
+      this.queryParams.enableOrNot=''
       this.queryParams.pageNum = 1;
       this.queryParams.pageSize = 10;
       this.getCameraList();