From 7d068e81ea1d88f708f096ea62c769452385612e Mon Sep 17 00:00:00 2001
From: lohir <3399054449@qq.com>
Date: 星期四, 24 十月 2024 15:33:32 +0800
Subject: [PATCH] 白名单导入

---
 src/views/system/data-manage/data-detail/list.js |  370 +++++++++++++++++++++++++++++++++++-----------------
 1 files changed, 248 insertions(+), 122 deletions(-)

diff --git a/src/views/system/data-manage/data-detail/list.js b/src/views/system/data-manage/data-detail/list.js
index 5aaedc4..fea4339 100644
--- a/src/views/system/data-manage/data-detail/list.js
+++ b/src/views/system/data-manage/data-detail/list.js
@@ -1055,21 +1055,27 @@
           width: 200,
         },
         {
-          label: '鏈�杩戠洃娴嬪湪绾跨姸鎬�',
+          label: '璁惧鐘舵��',
           align: 'center',
-          prop: 'online',
+          prop: 'onlineStr',
+          width: 200,
+        },
+        {
+          label: '鏈�杩慞ing鐩戞祴鐘舵��',
+          align: 'center',
+          prop: 'pingOnlineStr',
           width: 200,
         },
         {
           label: '褰撴棩鐩戞祴娆℃暟',
           align: 'center',
-          prop: 'online',
+          prop: 'checkCount',
           width: 200,
         },
         {
           label: '褰撴棩绂荤嚎娆℃暟',
           align: 'center',
-          prop: 'online',
+          prop: 'offLineCount',
           width: 200,
         },
         {
@@ -1087,7 +1093,16 @@
               label: '璁惧鎬绘暟'
             },
             {
-              label: '浠婃棩鍦ㄧ嚎鐜�'
+              label: '璁惧姝e父鏁�'
+            },
+            {
+              label: '璁惧寮傚父鏁�'
+            },
+            {
+              label: '鏈煡鏁�'
+            },
+            {
+              label: '鍦ㄧ嚎鐜�'
             },
           ]
         }
@@ -1104,6 +1119,12 @@
         { key: 3, label: `鐪佸巺鏍囩`, visible: false },
         { key: 3, label: `鐪佸巺鏍囩鍒楄〃`, visible: false },
       ],
+      options: [
+        { label: '绂荤嚎',value: -1 },
+        { label: '鏈煡',value: 0 },
+        { label: '鍦ㄧ嚎',value: 1 },
+      ],
+      optionsName: '鍦ㄧ嚎鎯呭喌',
     },
     {
       title: "鐐逛綅鍦ㄧ嚎鐜�",
@@ -1128,21 +1149,27 @@
           width: 200,
         },
         {
-          label: '鏈�杩戠洃娴嬪湪绾跨姸鎬�',
+          label: '璁惧鐘舵��',
           align: 'center',
-          prop: 'online',
+          prop: 'onlineStr',
+          width: 200,
+        },
+        {
+          label: '鏈�杩慞ing鐩戞祴鐘舵��',
+          align: 'center',
+          prop: 'pingOnlineStr',
           width: 200,
         },
         {
           label: '褰撴棩鐩戞祴娆℃暟',
           align: 'center',
-          prop: 'online',
+          prop: 'checkCount',
           width: 200,
         },
         {
           label: '褰撴棩绂荤嚎娆℃暟',
           align: 'center',
-          prop: 'online',
+          prop: 'offLineCount',
           width: 200,
         },
         {
@@ -1160,7 +1187,16 @@
               label: '璁惧鎬绘暟'
             },
             {
-              label: '浠婃棩鍦ㄧ嚎鐜�'
+              label: '璁惧姝e父鏁�'
+            },
+            {
+              label: '璁惧寮傚父鏁�'
+            },
+            {
+              label: '鏈煡鏁�'
+            },
+            {
+              label: '鍦ㄧ嚎鐜�'
             },
           ]
         }
@@ -1177,6 +1213,12 @@
         { key: 3, label: `鐪佸巺鏍囩`, visible: false },
         { key: 3, label: `鐪佸巺鏍囩鍒楄〃`, visible: false },
       ],
+      options: [
+        { label: '绂荤嚎',value: -1 },
+        { label: '鏈煡',value: 0 },
+        { label: '鍦ㄧ嚎',value: 1 },
+      ],
+      optionsName: '鍦ㄧ嚎鎯呭喌',
     },
     {
       title: "褰曞儚鍙敤鐜�",
@@ -1699,21 +1741,27 @@
           width: 200,
         },
         {
-          label: '鏈�杩戠洃娴嬪湪绾跨姸鎬�',
+          label: '璁惧鐘舵��',
           align: 'center',
-          prop: 'online',
+          prop: 'onlineStr',
+          width: 200,
+        },
+        {
+          label: '鏈�杩慞ing鐩戞祴鐘舵��',
+          align: 'center',
+          prop: 'pingOnlineStr',
           width: 200,
         },
         {
           label: '褰撴棩鐩戞祴娆℃暟',
           align: 'center',
-          prop: 'online',
+          prop: 'checkCount',
           width: 200,
         },
         {
           label: '褰撴棩绂荤嚎娆℃暟',
           align: 'center',
-          prop: 'online',
+          prop: 'offLineCount',
           width: 200,
         },
         {
@@ -1731,7 +1779,16 @@
               label: '璁惧鎬绘暟'
             },
             {
-              label: '浠婃棩鍦ㄧ嚎鐜�'
+              label: '璁惧姝e父鏁�'
+            },
+            {
+              label: '璁惧寮傚父鏁�'
+            },
+            {
+              label: '鏈煡鏁�'
+            },
+            {
+              label: '鍦ㄧ嚎鐜�'
             },
           ]
         }
@@ -1748,6 +1805,12 @@
         { key: 3, label: `鐪佸巺鏍囩`, visible: false },
         { key: 3, label: `鐪佸巺鏍囩鍒楄〃`, visible: false },
       ],
+      options: [
+        { label: '绂荤嚎',value: -1 },
+        { label: '鏈煡',value: 0 },
+        { label: '鍦ㄧ嚎',value: 1 },
+      ],
+      optionsName: '鍦ㄧ嚎鎯呭喌',
     },
     {
       title: '閲嶇偣鐐逛綅褰曞儚鍙敤鐜�',
@@ -2068,21 +2131,27 @@
           width: 200,
         },
         {
-          label: '鏈�杩戠洃娴嬪湪绾跨姸鎬�',
+          label: '璁惧鐘舵��',
           align: 'center',
-          prop: 'online',
+          prop: 'onlineStr',
+          width: 200,
+        },
+        {
+          label: '鏈�杩慞ing鐩戞祴鐘舵��',
+          align: 'center',
+          prop: 'pingOnlineStr',
           width: 200,
         },
         {
           label: '褰撴棩鐩戞祴娆℃暟',
           align: 'center',
-          prop: 'online',
+          prop: 'checkCount',
           width: 200,
         },
         {
           label: '褰撴棩绂荤嚎娆℃暟',
           align: 'center',
-          prop: 'online',
+          prop: 'offLineCount',
           width: 200,
         },
         {
@@ -2100,7 +2169,16 @@
               label: '璁惧鎬绘暟'
             },
             {
-              label: '浠婃棩鍦ㄧ嚎鐜�'
+              label: '璁惧姝e父鏁�'
+            },
+            {
+              label: '璁惧寮傚父鏁�'
+            },
+            {
+              label: '鏈煡鏁�'
+            },
+            {
+              label: '鍦ㄧ嚎鐜�'
             },
           ]
         }
@@ -2117,6 +2195,12 @@
         { key: 3, label: `鐪佸巺鏍囩`, visible: false },
         { key: 3, label: `鐪佸巺鏍囩鍒楄〃`, visible: false },
       ],
+      options: [
+        { label: '绂荤嚎',value: -1 },
+        { label: '鏈煡',value: 0 },
+        { label: '鍦ㄧ嚎',value: 1 },
+      ],
+      optionsName: '鍦ㄧ嚎鎯呭喌',
     },
     {
       title: "瑙嗛鍥惧儚璐ㄩ噺妫�娴嬫姤鍛�",
@@ -2340,21 +2424,27 @@
           width: 200,
         },
         {
-          label: '鏈�杩戠洃娴嬪湪绾跨姸鎬�',
+          label: '璁惧鐘舵��',
           align: 'center',
-          prop: 'online',
+          prop: 'onlineStr',
+          width: 200,
+        },
+        {
+          label: '鏈�杩慞ing鐩戞祴鐘舵��',
+          align: 'center',
+          prop: 'pingOnlineStr',
           width: 200,
         },
         {
           label: '褰撴棩鐩戞祴娆℃暟',
           align: 'center',
-          prop: 'online',
+          prop: 'checkCount',
           width: 200,
         },
         {
           label: '褰撴棩绂荤嚎娆℃暟',
           align: 'center',
-          prop: 'online',
+          prop: 'offLineCount',
           width: 200,
         },
         {
@@ -2372,11 +2462,26 @@
               label: '璁惧鎬绘暟'
             },
             {
-              label: '浠婃棩鍦ㄧ嚎鐜�'
+              label: '璁惧姝e父鏁�'
+            },
+            {
+              label: '璁惧寮傚父鏁�'
+            },
+            {
+              label: '鏈煡鏁�'
+            },
+            {
+              label: '鍦ㄧ嚎鐜�'
             },
           ]
         }
-      ]
+      ],
+      options: [
+        { label: '绂荤嚎',value: -1 },
+        { label: '鏈煡',value: 0 },
+        { label: '鍦ㄧ嚎',value: 1 },
+      ],
+      optionsName: '鍦ㄧ嚎鎯呭喌',
     },
     {
       title: '鑱旂綉鍗″彛璁惧鐩綍涓�鑷寸巼',
@@ -3682,21 +3787,27 @@
           width: 200,
         },
         {
-          label: '鏈�杩戠洃娴嬪湪绾跨姸鎬�',
+          label: '璁惧鐘舵��',
           align: 'center',
-          prop: 'online',
+          prop: 'onlineStr',
+          width: 200,
+        },
+        {
+          label: '鏈�杩慞ing鐩戞祴鐘舵��',
+          align: 'center',
+          prop: 'pingOnlineStr',
           width: 200,
         },
         {
           label: '褰撴棩鐩戞祴娆℃暟',
           align: 'center',
-          prop: 'online',
+          prop: 'checkCount',
           width: 200,
         },
         {
           label: '褰撴棩绂荤嚎娆℃暟',
           align: 'center',
-          prop: 'online',
+          prop: 'offLineCount',
           width: 200,
         },
         {
@@ -3714,11 +3825,26 @@
               label: '璁惧鎬绘暟'
             },
             {
-              label: '浠婃棩鍦ㄧ嚎鐜�'
+              label: '璁惧姝e父鏁�'
+            },
+            {
+              label: '璁惧寮傚父鏁�'
+            },
+            {
+              label: '鏈煡鏁�'
+            },
+            {
+              label: '鍦ㄧ嚎鐜�'
             },
           ]
         }
-      ]
+      ],
+      options: [
+        { label: '绂荤嚎',value: -1 },
+        { label: '鏈煡',value: 0 },
+        { label: '鍦ㄧ嚎',value: 1 },
+      ],
+      optionsName: '鍦ㄧ嚎鎯呭喌',
     },
     {
       title: '鐩綍涓�鑷寸巼',
@@ -4799,153 +4925,153 @@
       index: 'view_zc_manage',
       columns: [
         {
-          label: "璁惧缂栫爜",
-          align: "center",
-          prop: "serialNumber"
+          "label": "璁惧缂栫爜",
+          "align": "center",
+          "prop": "serialNumber"
         },
         {
-          label: "璁惧鍚嶇О",
-          align: "center",
-          prop: "name"
+          "label": "璁惧鍚嶇О",
+          "align": "center",
+          "prop": "name"
         },
         {
-          label: "鐩戞帶鐐逛綅绫诲瀷",
-          align: "center",
-          prop: "siteType"
+          "label": "鐩戞帶鐐逛綅绫诲瀷",
+          "align": "center",
+          "prop": "siteType"
         },
         {
-          label: "Mac鍦板潃",
-          align: "center",
-          prop: "macAddr"
+          "label": "Mac鍦板潃",
+          "align": "center",
+          "prop": "macAddr"
         }, {
-          label: "IPV4/IPV6",
-          align: "center",
-          prop: "ip"
+          "label": "IPV4/IPV6",
+          "align": "center",
+          "prop": "ip"
         },
         {
-          label: "鎽勫儚鏈哄姛鑳界被鍨�",
-          align: "center",
-          prop: "cameraFunType"
+          "label": "鎽勫儚鏈哄姛鑳界被鍨�",
+          "align": "center",
+          "prop": "cameraFunType"
         },
         {
-          label: "缁忓害",
-          align: "center",
-          prop: "longitude"
+          "label": "缁忓害",
+          "align": "center",
+          "prop": "longitude"
         },
         {
-          label: "绾害",
-          align: "center",
-          prop: "latitude"
+          "label": "绾害",
+          "align": "center",
+          "prop": "latitude"
         },
         {
-          label: "鎽勫儚鏈洪噰闆嗗尯鍩�",
-          align: "center",
-          prop: "cameraCaptureArea"
+          "label": "鎽勫儚鏈洪噰闆嗗尯鍩�",
+          "align": "center",
+          "prop": "cameraCaptureArea"
         },
         {
-          label: "璁惧鐘舵��",
-          align: "center",
-          prop: "onState"
+          "label": "璁惧鐘舵��",
+          "align": "center",
+          "prop": "onState"
         },
         {
-          label: "琛屾斂鍖哄煙",
-          align: "center",
-          prop: "civilCode"
+          "label": "琛屾斂鍖哄煙",
+          "align": "center",
+          "prop": "civilCode"
         },
         {
-          label: "鏄惁闆嗘垚璁惧",
-          align: "center",
-          prop: "integratedDevice"
+          "label": "鏄惁闆嗘垚璁惧",
+          "align": "center",
+          "prop": "integratedDevice"
         },
         {
-          label: "鎽勫儚鏈哄搧鐗�",
-          align: "center",
-          prop: "cameraBrand"
+          "label": "鎽勫儚鏈哄搧鐗�",
+          "align": "center",
+          "prop": "cameraBrand"
         },
         {
-          label: "瀹夎鍦板潃",
-          align: "center",
-          prop: "address"
+          "label": "瀹夎鍦板潃",
+          "align": "center",
+          "prop": "address"
         },
         {
-          label: "鑱旂綉灞炴��",
-          align: "center",
-          prop: "netWorking"
+          "label": "鑱旂綉灞炴��",
+          "align": "center",
+          "prop": "netWorking"
         },
         {
-          label: "鎵�灞炶緰鍖哄叕瀹夋満鍏�",
-          align: "center",
-          prop: "publicSecurity"
+          "label": "鎵�灞炶緰鍖哄叕瀹夋満鍏�",
+          "align": "center",
+          "prop": "publicSecurity"
         },
         {
-          label: "瀹夎鏃堕棿",
-          align: "center",
-          prop: "installedTime"
+          "label": "瀹夎鏃堕棿",
+          "align": "center",
+          "prop": "installedTime"
         },
         {
-          label: "绠$悊鍗曚綅",
-          align: "center",
-          prop: "managementUnit"
+          "label": "绠$悊鍗曚綅",
+          "align": "center",
+          "prop": "managementUnit"
         },
         {
-          label: "绠$悊鍗曚綅鑱旂郴鏂瑰紡",
-          align: "center",
-          prop: "muContactInfo"
+          "label": "绠$悊鍗曚綅鑱旂郴鏂瑰紡",
+          "align": "center",
+          "prop": "muContactInfo"
         },
         {
-          label: "褰曞儚淇濆瓨澶╂暟",
-          align: "center",
-          prop: "storageDays"
+          "label": "褰曞儚淇濆瓨澶╂暟",
+          "align": "center",
+          "prop": "storageDays"
         },
         {
-          label: "鐩戣鏂逛綅",
-          align: "center",
-          prop: "monitorAzimuth"
+          "label": "鐩戣鏂逛綅",
+          "align": "center",
+          "prop": "monitorAzimuth"
         },
         {
-          label: "鎽勫儚鏈哄満鏅璁剧収鐗嘦RL",
-          align: "center",
-          prop: "scenePhotoAddr"
+          "label": "鎽勫儚鏈哄満鏅璁剧収鐗嘦RL",
+          "align": "center",
+          "prop": "scenePhotoAddr"
         },
         {
-          label: "璁惧鍨嬪彿",
-          align: "center",
-          prop: "model"
+          "label": "璁惧鍨嬪彿",
+          "align": "center",
+          "prop": "model"
         },
         {
-          label: "鐐逛綅淇楃О",
-          align: "center",
-          prop: "siteVulgo"
+          "label": "鐐逛綅淇楃О",
+          "align": "center",
+          "prop": "siteVulgo"
         },
         {
-          label: "鎽勫儚鏈虹被鍨�",
-          align: "center",
-          prop: "cameraType"
+          "label": "鎽勫儚鏈虹被鍨�",
+          "align": "center",
+          "prop": "cameraType"
         },
         {
-          label: "琛ュ厜灞炴��",
-          align: "center",
-          prop: "cameraLightType"
+          "label": "琛ュ厜灞炴��",
+          "align": "center",
+          "prop": "cameraLightType"
         },
         {
-          label: "鎽勫儚鏈虹紪鐮佹牸寮�",
-          align: "center",
-          prop: "encodedFormat"
+          "label": "鎽勫儚鏈虹紪鐮佹牸寮�",
+          "align": "center",
+          "prop": "encodedFormat"
         },
         {
-          label: "鎵�灞為儴闂�/琛屼笟",
-          align: "center",
-          prop: "cameraDept"
+          "label": "鎵�灞為儴闂�/琛屼笟",
+          "align": "center",
+          "prop": "cameraDept"
         },
         {
-          label: "琛屼笟缂栫爜",
-          align: "center",
-          prop: "hybm"
+          "label": "琛屼笟缂栫爜",
+          "align": "center",
+          "prop": "hybm"
         },
         {
-          label: "绫诲瀷缂栫爜",
-          align: "center",
-          prop: "lxbm"
+          "label": "绫诲瀷缂栫爜",
+          "align": "center",
+          "prop": "lxbm"
         }
       ],
       card: [

--
Gitblit v1.8.0