Browse Source

fix: 导出设备列表

Summer________ 4 ngày trước cách đây
mục cha
commit
368c8593f6
66 tập tin đã thay đổi với 109 bổ sung16 xóa
  1. 1 1
      dist/assets/404-9ada0e57.js
  2. 1 1
      dist/assets/404-legacy-2d0690d7.js
  3. 0 0
      dist/assets/BasicLayout-6511eb6b.js
  4. 0 0
      dist/assets/BasicLayout-legacy-526c4f05.js
  5. 1 1
      dist/assets/CusNavigation-0f19cdae.js
  6. 1 1
      dist/assets/CusNavigation-legacy-ce721f1c.js
  7. 0 0
      dist/assets/CusNavigation.vue_vue_type_style_index_0_scoped_5a71d35e_lang-328eb0e7.js
  8. 0 0
      dist/assets/CusNavigation.vue_vue_type_style_index_0_scoped_5a71d35e_lang-legacy-2e6df359.js
  9. 0 0
      dist/assets/Detail-c30957e2.js
  10. 0 0
      dist/assets/Detail-legacy-b7f782be.js
  11. 0 0
      dist/assets/Edit.vue_vue_type_script_setup_true_lang-167c6247.js
  12. 0 0
      dist/assets/Edit.vue_vue_type_script_setup_true_lang-legacy-d627e31b.js
  13. 0 0
      dist/assets/Index-025c769b.js
  14. 0 0
      dist/assets/Index-051ddb90.js
  15. 0 0
      dist/assets/Index-0c4564b6.js
  16. 0 0
      dist/assets/Index-0e65cb38.js
  17. 0 0
      dist/assets/Index-1c14f529.js
  18. 0 0
      dist/assets/Index-2f72c614.js
  19. 0 0
      dist/assets/Index-4671c8ce.js
  20. 1 0
      dist/assets/Index-5645bae4.css
  21. 0 0
      dist/assets/Index-567dd2fd.js
  22. 0 0
      dist/assets/Index-5d5df2d0.js
  23. 0 0
      dist/assets/Index-71092dc7.js
  24. 0 0
      dist/assets/Index-724d5f93.js
  25. 0 0
      dist/assets/Index-783c6988.js
  26. 0 0
      dist/assets/Index-85cf1682.js
  27. 0 0
      dist/assets/Index-896f4572.js
  28. 1 1
      dist/assets/Index-8b2a53eb.js
  29. 0 0
      dist/assets/Index-9c4832ff.js
  30. 0 0
      dist/assets/Index-a814ab4d.js
  31. 1 1
      dist/assets/Index-ac1138a8.js
  32. 0 0
      dist/assets/Index-b82c6569.js
  33. 0 0
      dist/assets/Index-cd21d725.js
  34. 0 1
      dist/assets/Index-fc891345.css
  35. 0 0
      dist/assets/Index-legacy-184697c7.js
  36. 0 0
      dist/assets/Index-legacy-22b87275.js
  37. 0 0
      dist/assets/Index-legacy-36db7cd2.js
  38. 0 0
      dist/assets/Index-legacy-3958e9e6.js
  39. 0 0
      dist/assets/Index-legacy-46363df3.js
  40. 0 0
      dist/assets/Index-legacy-4bcfbf9b.js
  41. 0 0
      dist/assets/Index-legacy-4c66522f.js
  42. 0 0
      dist/assets/Index-legacy-51d1caaa.js
  43. 0 0
      dist/assets/Index-legacy-7638c0c1.js
  44. 0 0
      dist/assets/Index-legacy-7c9d9a67.js
  45. 0 0
      dist/assets/Index-legacy-81871656.js
  46. 0 0
      dist/assets/Index-legacy-8925cbfa.js
  47. 1 1
      dist/assets/Index-legacy-a509e456.js
  48. 0 0
      dist/assets/Index-legacy-b279750b.js
  49. 0 0
      dist/assets/Index-legacy-c4dd1e08.js
  50. 0 0
      dist/assets/Index-legacy-d1b7b48d.js
  51. 1 1
      dist/assets/Index-legacy-dcb01f99.js
  52. 0 0
      dist/assets/Index-legacy-ec1270fe.js
  53. 0 0
      dist/assets/Index-legacy-f89c143a.js
  54. 0 0
      dist/assets/Index-legacy-fe24b586.js
  55. 1 1
      dist/assets/Index1-cbd5cf5d.js
  56. 0 0
      dist/assets/Index1-legacy-b834886f.js
  57. 1 1
      dist/assets/ReloadOutlined-c3438663.js
  58. 1 1
      dist/assets/ReloadOutlined-legacy-23a37b93.js
  59. 0 0
      dist/assets/index-4d846cc4.js
  60. 0 0
      dist/assets/index-a3c67351.js
  61. 0 0
      dist/assets/index-legacy-7f6656e1.js
  62. 0 0
      dist/assets/index-legacy-c2eb0980.js
  63. 0 0
      dist/assets/polyfills-legacy-0b317b90.js
  64. 3 3
      dist/index.html
  65. 2 1
      package.json
  66. 92 0
      src/views/device/Index.vue

+ 1 - 1
dist/assets/404-5d699e50.js → dist/assets/404-9ada0e57.js

@@ -1 +1 @@
-import{d as o,o as s,b as n,w as r,r as a}from"./index-1b93b7f0.js";const u=o({__name:"404",setup(_){return(p,t)=>{const e=a("a-result");return s(),n(e,{status:"404",title:"404","sub-title":"对不起,您访问的页面不存在!"},{extra:r(()=>[...t[0]||(t[0]=[])]),_:1})}}});export{u as default};
+import{d as o,o as s,b as n,w as r,r as a}from"./index-a3c67351.js";const u=o({__name:"404",setup(_){return(p,t)=>{const e=a("a-result");return s(),n(e,{status:"404",title:"404","sub-title":"对不起,您访问的页面不存在!"},{extra:r(()=>[...t[0]||(t[0]=[])]),_:1})}}});export{u as default};

+ 1 - 1
dist/assets/404-legacy-c04ee165.js → dist/assets/404-legacy-2d0690d7.js

@@ -1 +1 @@
-!function(){function t(t){return function(t){if(Array.isArray(t))return r(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,n){if(t){if("string"==typeof t)return r(t,n);var e={}.toString.call(t).slice(8,-1);return"Object"===e&&t.constructor&&(e=t.constructor.name),"Map"===e||"Set"===e?Array.from(t):"Arguments"===e||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e)?r(t,n):void 0}}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function r(t,r){(null==r||r>t.length)&&(r=t.length);for(var n=0,e=Array(r);n<r;n++)e[n]=t[n];return e}System.register(["./index-legacy-9d1d1c53.js"],function(r,n){"use strict";var e,o,u,i,a;return{setters:[function(t){e=t.d,o=t.o,u=t.b,i=t.w,a=t.r}],execute:function(){r("default",e({__name:"404",setup:function(r){return function(r,n){var e=a("a-result");return o(),u(e,{status:"404",title:"404","sub-title":"对不起,您访问的页面不存在!"},{extra:i(function(){return t(n[0]||(n[0]=[]))}),_:1})}}}))}}})}();
+!function(){function t(t){return function(t){if(Array.isArray(t))return r(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,n){if(t){if("string"==typeof t)return r(t,n);var e={}.toString.call(t).slice(8,-1);return"Object"===e&&t.constructor&&(e=t.constructor.name),"Map"===e||"Set"===e?Array.from(t):"Arguments"===e||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e)?r(t,n):void 0}}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function r(t,r){(null==r||r>t.length)&&(r=t.length);for(var n=0,e=Array(r);n<r;n++)e[n]=t[n];return e}System.register(["./index-legacy-7f6656e1.js"],function(r,n){"use strict";var e,o,u,i,a;return{setters:[function(t){e=t.d,o=t.o,u=t.b,i=t.w,a=t.r}],execute:function(){r("default",e({__name:"404",setup:function(r){return function(r,n){var e=a("a-result");return o(),u(e,{status:"404",title:"404","sub-title":"对不起,您访问的页面不存在!"},{extra:i(function(){return t(n[0]||(n[0]=[]))}),_:1})}}}))}}})}();

Những thai đổi đã bị hủy bỏ vì nó quá lớn
+ 0 - 0
dist/assets/BasicLayout-6511eb6b.js


Những thai đổi đã bị hủy bỏ vì nó quá lớn
+ 0 - 0
dist/assets/BasicLayout-legacy-526c4f05.js


+ 1 - 1
dist/assets/CusNavigation-96007fc9.js → dist/assets/CusNavigation-0f19cdae.js

@@ -1 +1 @@
-import{d as r,a as c,o as n,p as s,c as p,f as d,M as g,e,t as f,$ as u,_ as m}from"./index-1b93b7f0.js";import{I as x}from"./CusNavigation.vue_vue_type_style_index_0_scoped_5a71d35e_lang-0be67884.js";const y={style:{padding:"0px 0px 0px 0px",display:"flex","align-items":"center",height:"30px","margin-bottom":"20px"}},_={style:{"font-family":"PingFangSC, PingFang SC","font-weight":"600","font-size":"20px",color:"#191A1A","line-height":"30px","text-align":"justify","font-style":"normal"}},v=r({__name:"CusNavigation",props:{title:{type:String,default:"未知"},gobackabled:{type:Boolean,default:!1}},setup(o){const i=c(),l=t=>{console.log(t),i.go(-1)};return(t,a)=>(n(),s("div",y,[o.gobackabled?(n(),s("div",{key:0,class:"cus-goback",onClick:l},[p(d(x),{type:"icon-fanhui",style:{"font-size":"22px"}})])):g("",!0),e("div",_,[e("span",null,f(o.title),1)]),a[0]||(a[0]=e("div",{style:{"flex-grow":"1"}},null,-1)),e("div",null,[u(t.$slots,"right",{},void 0,!0)])]))}}),C=m(v,[["__scopeId","data-v-5a71d35e"]]);export{C};
+import{d as r,a as c,o as n,p as s,c as p,f as d,M as g,e,t as f,$ as u,_ as m}from"./index-a3c67351.js";import{I as x}from"./CusNavigation.vue_vue_type_style_index_0_scoped_5a71d35e_lang-328eb0e7.js";const y={style:{padding:"0px 0px 0px 0px",display:"flex","align-items":"center",height:"30px","margin-bottom":"20px"}},_={style:{"font-family":"PingFangSC, PingFang SC","font-weight":"600","font-size":"20px",color:"#191A1A","line-height":"30px","text-align":"justify","font-style":"normal"}},v=r({__name:"CusNavigation",props:{title:{type:String,default:"未知"},gobackabled:{type:Boolean,default:!1}},setup(o){const i=c(),l=t=>{console.log(t),i.go(-1)};return(t,a)=>(n(),s("div",y,[o.gobackabled?(n(),s("div",{key:0,class:"cus-goback",onClick:l},[p(d(x),{type:"icon-fanhui",style:{"font-size":"22px"}})])):g("",!0),e("div",_,[e("span",null,f(o.title),1)]),a[0]||(a[0]=e("div",{style:{"flex-grow":"1"}},null,-1)),e("div",null,[u(t.$slots,"right",{},void 0,!0)])]))}}),C=m(v,[["__scopeId","data-v-5a71d35e"]]);export{C};

+ 1 - 1
dist/assets/CusNavigation-legacy-a45aee11.js → dist/assets/CusNavigation-legacy-ce721f1c.js

@@ -1 +1 @@
-System.register(["./index-legacy-9d1d1c53.js","./CusNavigation.vue_vue_type_style_index_0_scoped_5a71d35e_lang-legacy-85deeaf1.js"],function(e,t){"use strict";var n,i,o,a,l,s,g,u,c,p,d,r;return{setters:[function(e){n=e.d,i=e.a,o=e.o,a=e.p,l=e.c,s=e.f,g=e.M,u=e.e,c=e.t,p=e.$,d=e._},function(e){r=e.I}],execute:function(){var t={style:{padding:"0px 0px 0px 0px",display:"flex","align-items":"center",height:"30px","margin-bottom":"20px"}},f={style:{"font-family":"PingFangSC, PingFang SC","font-weight":"600","font-size":"20px",color:"#191A1A","line-height":"30px","text-align":"justify","font-style":"normal"}},y=n({__name:"CusNavigation",props:{title:{type:String,default:"未知"},gobackabled:{type:Boolean,default:!1}},setup:function(e){var n=i(),d=function(e){console.log(e),n.go(-1)};return function(n,i){return o(),a("div",t,[e.gobackabled?(o(),a("div",{key:0,class:"cus-goback",onClick:d},[l(s(r),{type:"icon-fanhui",style:{"font-size":"22px"}})])):g("",!0),u("div",f,[u("span",null,c(e.title),1)]),i[0]||(i[0]=u("div",{style:{"flex-grow":"1"}},null,-1)),u("div",null,[p(n.$slots,"right",{},void 0,!0)])])}}});e("C",d(y,[["__scopeId","data-v-5a71d35e"]]))}}});
+System.register(["./index-legacy-7f6656e1.js","./CusNavigation.vue_vue_type_style_index_0_scoped_5a71d35e_lang-legacy-2e6df359.js"],function(e,t){"use strict";var n,i,o,a,l,s,g,u,c,p,d,r;return{setters:[function(e){n=e.d,i=e.a,o=e.o,a=e.p,l=e.c,s=e.f,g=e.M,u=e.e,c=e.t,p=e.$,d=e._},function(e){r=e.I}],execute:function(){var t={style:{padding:"0px 0px 0px 0px",display:"flex","align-items":"center",height:"30px","margin-bottom":"20px"}},f={style:{"font-family":"PingFangSC, PingFang SC","font-weight":"600","font-size":"20px",color:"#191A1A","line-height":"30px","text-align":"justify","font-style":"normal"}},y=n({__name:"CusNavigation",props:{title:{type:String,default:"未知"},gobackabled:{type:Boolean,default:!1}},setup:function(e){var n=i(),d=function(e){console.log(e),n.go(-1)};return function(n,i){return o(),a("div",t,[e.gobackabled?(o(),a("div",{key:0,class:"cus-goback",onClick:d},[l(s(r),{type:"icon-fanhui",style:{"font-size":"22px"}})])):g("",!0),u("div",f,[u("span",null,c(e.title),1)]),i[0]||(i[0]=u("div",{style:{"flex-grow":"1"}},null,-1)),u("div",null,[p(n.$slots,"right",{},void 0,!0)])])}}});e("C",d(y,[["__scopeId","data-v-5a71d35e"]]))}}});

Những thai đổi đã bị hủy bỏ vì nó quá lớn
+ 0 - 0
dist/assets/CusNavigation.vue_vue_type_style_index_0_scoped_5a71d35e_lang-328eb0e7.js


Những thai đổi đã bị hủy bỏ vì nó quá lớn
+ 0 - 0
dist/assets/CusNavigation.vue_vue_type_style_index_0_scoped_5a71d35e_lang-legacy-2e6df359.js


Những thai đổi đã bị hủy bỏ vì nó quá lớn
+ 0 - 0
dist/assets/Detail-c30957e2.js


Những thai đổi đã bị hủy bỏ vì nó quá lớn
+ 0 - 0
dist/assets/Detail-legacy-b7f782be.js


Những thai đổi đã bị hủy bỏ vì nó quá lớn
+ 0 - 0
dist/assets/Edit.vue_vue_type_script_setup_true_lang-167c6247.js


Những thai đổi đã bị hủy bỏ vì nó quá lớn
+ 0 - 0
dist/assets/Edit.vue_vue_type_script_setup_true_lang-legacy-d627e31b.js


Những thai đổi đã bị hủy bỏ vì nó quá lớn
+ 0 - 0
dist/assets/Index-025c769b.js


Những thai đổi đã bị hủy bỏ vì nó quá lớn
+ 0 - 0
dist/assets/Index-051ddb90.js


Những thai đổi đã bị hủy bỏ vì nó quá lớn
+ 0 - 0
dist/assets/Index-0c4564b6.js


Những thai đổi đã bị hủy bỏ vì nó quá lớn
+ 0 - 0
dist/assets/Index-0e65cb38.js


Những thai đổi đã bị hủy bỏ vì nó quá lớn
+ 0 - 0
dist/assets/Index-1c14f529.js


Những thai đổi đã bị hủy bỏ vì nó quá lớn
+ 0 - 0
dist/assets/Index-2f72c614.js


Những thai đổi đã bị hủy bỏ vì nó quá lớn
+ 0 - 0
dist/assets/Index-4671c8ce.js


+ 1 - 0
dist/assets/Index-5645bae4.css

@@ -0,0 +1 @@
+[data-v-37dc0905] .ant-table-wrapper{height:0px;flex-grow:1}[data-v-37dc0905] .ant-spin-nested-loading{height:100%}[data-v-37dc0905] .ant-spin-container{height:100%;display:flex;flex-direction:column}[data-v-37dc0905] .ant-table{flex-grow:1;height:0px}[data-v-37dc0905] .ant-table-container{height:100%;display:flex;flex-direction:column}[data-v-37dc0905] .ant-table-body{overflow-y:auto!important;flex-grow:1;border-bottom:1px solid #eee;border-right:1px solid #eee}[data-v-37dc0905] .ant-table-body::-webkit-scrollbar{width:1px;height:8px;background:#0058ff}[data-v-37dc0905] .ant-table-body::-webkit-scrollbar-track{width:1px;background:#eee}[data-v-37dc0905] .ant-table-body::-webkit-scrollbar-thumb{width:1px;background:#0058ff}[data-v-37dc0905] .ant-table-body::-webkit-scrollbar-thumb:hover{background:#0058ff}[data-v-37dc0905] .ant-table-body::-webkit-scrollbar-corner{width:1px;background:#eee}.cus-forbidden[data-v-37dc0905]:hover{cursor:not-allowed}

Những thai đổi đã bị hủy bỏ vì nó quá lớn
+ 0 - 0
dist/assets/Index-567dd2fd.js


Những thai đổi đã bị hủy bỏ vì nó quá lớn
+ 0 - 0
dist/assets/Index-5d5df2d0.js


Những thai đổi đã bị hủy bỏ vì nó quá lớn
+ 0 - 0
dist/assets/Index-71092dc7.js


Những thai đổi đã bị hủy bỏ vì nó quá lớn
+ 0 - 0
dist/assets/Index-724d5f93.js


Những thai đổi đã bị hủy bỏ vì nó quá lớn
+ 0 - 0
dist/assets/Index-783c6988.js


Những thai đổi đã bị hủy bỏ vì nó quá lớn
+ 0 - 0
dist/assets/Index-85cf1682.js


Những thai đổi đã bị hủy bỏ vì nó quá lớn
+ 0 - 0
dist/assets/Index-896f4572.js


+ 1 - 1
dist/assets/Index-31641a23.js → dist/assets/Index-8b2a53eb.js

@@ -1 +1 @@
-import{d as n,o,p as t,e as a}from"./index-1b93b7f0.js";const l=n({__name:"Index",setup(s){return(r,e)=>(o(),t("div",null,[...e[0]||(e[0]=[a("span",null,"大屏功能正在开发中......",-1)])]))}});export{l as default};
+import{d as n,o,p as t,e as a}from"./index-a3c67351.js";const l=n({__name:"Index",setup(s){return(r,e)=>(o(),t("div",null,[...e[0]||(e[0]=[a("span",null,"大屏功能正在开发中......",-1)])]))}});export{l as default};

Những thai đổi đã bị hủy bỏ vì nó quá lớn
+ 0 - 0
dist/assets/Index-9c4832ff.js


Những thai đổi đã bị hủy bỏ vì nó quá lớn
+ 0 - 0
dist/assets/Index-a814ab4d.js


+ 1 - 1
dist/assets/Index-dc525b15.js → dist/assets/Index-ac1138a8.js

@@ -1,4 +1,4 @@
-import{I as pm}from"./CusNavigation.vue_vue_type_style_index_0_scoped_5a71d35e_lang-0be67884.js";import{C as PL}from"./CusNavigation-96007fc9.js";import{d as go,i as Fr,k as yo,n as mo,o as _o,p as So,l as RL,c as ya,f as ma,e as Vt,q as dm}from"./index-1b93b7f0.js";/*! *****************************************************************************
+import{I as pm}from"./CusNavigation.vue_vue_type_style_index_0_scoped_5a71d35e_lang-328eb0e7.js";import{C as PL}from"./CusNavigation-0f19cdae.js";import{d as go,i as Fr,k as yo,n as mo,o as _o,p as So,l as RL,c as ya,f as ma,e as Vt,q as dm}from"./index-a3c67351.js";/*! *****************************************************************************
 Copyright (c) Microsoft Corporation.
 
 Permission to use, copy, modify, and/or distribute this software for any

Những thai đổi đã bị hủy bỏ vì nó quá lớn
+ 0 - 0
dist/assets/Index-b82c6569.js


Những thai đổi đã bị hủy bỏ vì nó quá lớn
+ 0 - 0
dist/assets/Index-cd21d725.js


+ 0 - 1
dist/assets/Index-fc891345.css

@@ -1 +0,0 @@
-[data-v-d40a1040] .ant-table-wrapper{height:0px;flex-grow:1}[data-v-d40a1040] .ant-spin-nested-loading{height:100%}[data-v-d40a1040] .ant-spin-container{height:100%;display:flex;flex-direction:column}[data-v-d40a1040] .ant-table{flex-grow:1;height:0px}[data-v-d40a1040] .ant-table-container{height:100%;display:flex;flex-direction:column}[data-v-d40a1040] .ant-table-body{overflow-y:auto!important;flex-grow:1;border-bottom:1px solid #eee;border-right:1px solid #eee}[data-v-d40a1040] .ant-table-body::-webkit-scrollbar{width:1px;height:8px;background:#0058ff}[data-v-d40a1040] .ant-table-body::-webkit-scrollbar-track{width:1px;background:#eee}[data-v-d40a1040] .ant-table-body::-webkit-scrollbar-thumb{width:1px;background:#0058ff}[data-v-d40a1040] .ant-table-body::-webkit-scrollbar-thumb:hover{background:#0058ff}[data-v-d40a1040] .ant-table-body::-webkit-scrollbar-corner{width:1px;background:#eee}.cus-forbidden[data-v-d40a1040]:hover{cursor:not-allowed}

Những thai đổi đã bị hủy bỏ vì nó quá lớn
+ 0 - 0
dist/assets/Index-legacy-184697c7.js


Những thai đổi đã bị hủy bỏ vì nó quá lớn
+ 0 - 0
dist/assets/Index-legacy-22b87275.js


Những thai đổi đã bị hủy bỏ vì nó quá lớn
+ 0 - 0
dist/assets/Index-legacy-36db7cd2.js


Những thai đổi đã bị hủy bỏ vì nó quá lớn
+ 0 - 0
dist/assets/Index-legacy-3958e9e6.js


Những thai đổi đã bị hủy bỏ vì nó quá lớn
+ 0 - 0
dist/assets/Index-legacy-46363df3.js


Những thai đổi đã bị hủy bỏ vì nó quá lớn
+ 0 - 0
dist/assets/Index-legacy-4bcfbf9b.js


Những thai đổi đã bị hủy bỏ vì nó quá lớn
+ 0 - 0
dist/assets/Index-legacy-4c66522f.js


Những thai đổi đã bị hủy bỏ vì nó quá lớn
+ 0 - 0
dist/assets/Index-legacy-51d1caaa.js


Những thai đổi đã bị hủy bỏ vì nó quá lớn
+ 0 - 0
dist/assets/Index-legacy-7638c0c1.js


Những thai đổi đã bị hủy bỏ vì nó quá lớn
+ 0 - 0
dist/assets/Index-legacy-7c9d9a67.js


Những thai đổi đã bị hủy bỏ vì nó quá lớn
+ 0 - 0
dist/assets/Index-legacy-81871656.js


Những thai đổi đã bị hủy bỏ vì nó quá lớn
+ 0 - 0
dist/assets/Index-legacy-8925cbfa.js


+ 1 - 1
dist/assets/Index-legacy-2b94f4ac.js → dist/assets/Index-legacy-a509e456.js

@@ -1 +1 @@
-!function(){function t(t){return function(t){if(Array.isArray(t))return r(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,n){if(t){if("string"==typeof t)return r(t,n);var e={}.toString.call(t).slice(8,-1);return"Object"===e&&t.constructor&&(e=t.constructor.name),"Map"===e||"Set"===e?Array.from(t):"Arguments"===e||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e)?r(t,n):void 0}}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function r(t,r){(null==r||r>t.length)&&(r=t.length);for(var n=0,e=Array(r);n<r;n++)e[n]=t[n];return e}System.register(["./index-legacy-9d1d1c53.js"],function(r,n){"use strict";var e,o,u,i;return{setters:[function(t){e=t.d,o=t.o,u=t.p,i=t.e}],execute:function(){r("default",e({__name:"Index",setup:function(r){return function(r,n){return o(),u("div",null,t(n[0]||(n[0]=[i("span",null,"大屏功能正在开发中......",-1)])))}}}))}}})}();
+!function(){function t(t){return function(t){if(Array.isArray(t))return r(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,n){if(t){if("string"==typeof t)return r(t,n);var e={}.toString.call(t).slice(8,-1);return"Object"===e&&t.constructor&&(e=t.constructor.name),"Map"===e||"Set"===e?Array.from(t):"Arguments"===e||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e)?r(t,n):void 0}}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function r(t,r){(null==r||r>t.length)&&(r=t.length);for(var n=0,e=Array(r);n<r;n++)e[n]=t[n];return e}System.register(["./index-legacy-7f6656e1.js"],function(r,n){"use strict";var e,o,u,i;return{setters:[function(t){e=t.d,o=t.o,u=t.p,i=t.e}],execute:function(){r("default",e({__name:"Index",setup:function(r){return function(r,n){return o(),u("div",null,t(n[0]||(n[0]=[i("span",null,"大屏功能正在开发中......",-1)])))}}}))}}})}();

Những thai đổi đã bị hủy bỏ vì nó quá lớn
+ 0 - 0
dist/assets/Index-legacy-b279750b.js


Những thai đổi đã bị hủy bỏ vì nó quá lớn
+ 0 - 0
dist/assets/Index-legacy-c4dd1e08.js


Những thai đổi đã bị hủy bỏ vì nó quá lớn
+ 0 - 0
dist/assets/Index-legacy-d1b7b48d.js


+ 1 - 1
dist/assets/Index-legacy-d3260a0b.js → dist/assets/Index-legacy-dcb01f99.js

@@ -1,4 +1,4 @@
-!function(){function t(e){return t="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},t(e)}System.register(["./CusNavigation.vue_vue_type_style_index_0_scoped_5a71d35e_lang-legacy-85deeaf1.js","./CusNavigation-legacy-a45aee11.js","./index-legacy-9d1d1c53.js"],function(e,n){"use strict";var i,r,o,a,s,l,u,h,c,p,d,f,g;return{setters:[function(t){i=t.I},function(t){r=t.C},function(t){o=t.d,a=t.i,s=t.k,l=t.n,u=t.o,h=t.p,c=t.l,p=t.c,d=t.f,f=t.e,g=t.q}],execute:function(){
+!function(){function t(e){return t="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},t(e)}System.register(["./CusNavigation.vue_vue_type_style_index_0_scoped_5a71d35e_lang-legacy-2e6df359.js","./CusNavigation-legacy-ce721f1c.js","./index-legacy-7f6656e1.js"],function(e,n){"use strict";var i,r,o,a,s,l,u,h,c,p,d,f,g;return{setters:[function(t){i=t.I},function(t){r=t.C},function(t){o=t.d,a=t.i,s=t.k,l=t.n,u=t.o,h=t.p,c=t.l,p=t.c,d=t.f,f=t.e,g=t.q}],execute:function(){
 /*! *****************************************************************************
             Copyright (c) Microsoft Corporation.
 

Những thai đổi đã bị hủy bỏ vì nó quá lớn
+ 0 - 0
dist/assets/Index-legacy-ec1270fe.js


Những thai đổi đã bị hủy bỏ vì nó quá lớn
+ 0 - 0
dist/assets/Index-legacy-f89c143a.js


Những thai đổi đã bị hủy bỏ vì nó quá lớn
+ 0 - 0
dist/assets/Index-legacy-fe24b586.js


+ 1 - 1
dist/assets/Index1-da85b547.js → dist/assets/Index1-cbd5cf5d.js

@@ -1 +1 @@
-import{d as n,k as t,o as s,p as l}from"./index-1b93b7f0.js";const a=n({__name:"Index1",setup(c){return t(async()=>{console.log("1...");const o=new Promise(e=>{console.log("2..."),setTimeout(()=>{e(8)},3e3)}).then(e=>(setTimeout(()=>{console.log("3...",e)},3e3),Promise.reject("p"))).then(e=>(console.log("5...",e),"123456")).catch(e=>(console.log("4...",e),"q"));console.log("a",o),setTimeout(()=>{console.log("a",o)},1e4)}),(o,e)=>(s(),l("div",null,"login1"))}});export{a as default};
+import{d as n,k as t,o as s,p as l}from"./index-a3c67351.js";const a=n({__name:"Index1",setup(c){return t(async()=>{console.log("1...");const o=new Promise(e=>{console.log("2..."),setTimeout(()=>{e(8)},3e3)}).then(e=>(setTimeout(()=>{console.log("3...",e)},3e3),Promise.reject("p"))).then(e=>(console.log("5...",e),"123456")).catch(e=>(console.log("4...",e),"q"));console.log("a",o),setTimeout(()=>{console.log("a",o)},1e4)}),(o,e)=>(s(),l("div",null,"login1"))}});export{a as default};

Những thai đổi đã bị hủy bỏ vì nó quá lớn
+ 0 - 0
dist/assets/Index1-legacy-b834886f.js


+ 1 - 1
dist/assets/ReloadOutlined-5e110980.js → dist/assets/ReloadOutlined-c3438663.js

@@ -1 +1 @@
-import{c as o,A as i}from"./index-1b93b7f0.js";var u={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M909.1 209.3l-56.4 44.1C775.8 155.1 656.2 92 521.9 92 290 92 102.3 279.5 102 511.5 101.7 743.7 289.8 932 521.9 932c181.3 0 335.8-115 394.6-276.1 1.5-4.2-.7-8.9-4.9-10.3l-56.7-19.5a8 8 0 00-10.1 4.8c-1.8 5-3.8 10-5.9 14.9-17.3 41-42.1 77.8-73.7 109.4A344.77 344.77 0 01655.9 829c-42.3 17.9-87.4 27-133.8 27-46.5 0-91.5-9.1-133.8-27A341.5 341.5 0 01279 755.2a342.16 342.16 0 01-73.7-109.4c-17.9-42.4-27-87.4-27-133.9s9.1-91.5 27-133.9c17.3-41 42.1-77.8 73.7-109.4 31.6-31.6 68.4-56.4 109.3-73.8 42.3-17.9 87.4-27 133.8-27 46.5 0 91.5 9.1 133.8 27a341.5 341.5 0 01109.3 73.8c9.9 9.9 19.2 20.4 27.8 31.4l-60.2 47a8 8 0 003 14.1l175.6 43c5 1.2 9.9-2.6 9.9-7.7l.8-180.9c-.1-6.6-7.8-10.3-13-6.2z"}}]},name:"reload",theme:"outlined"};const d=u;function c(r){for(var e=1;e<arguments.length;e++){var t=arguments[e]!=null?Object(arguments[e]):{},n=Object.keys(t);typeof Object.getOwnPropertySymbols=="function"&&(n=n.concat(Object.getOwnPropertySymbols(t).filter(function(a){return Object.getOwnPropertyDescriptor(t,a).enumerable}))),n.forEach(function(a){f(r,a,t[a])})}return r}function f(r,e,t){return e in r?Object.defineProperty(r,e,{value:t,enumerable:!0,configurable:!0,writable:!0}):r[e]=t,r}var l=function(e,t){var n=c({},e,t.attrs);return o(i,c({},n,{icon:d}),null)};l.displayName="ReloadOutlined";l.inheritAttrs=!1;const O=l;export{O as R};
+import{c as o,A as i}from"./index-a3c67351.js";var u={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M909.1 209.3l-56.4 44.1C775.8 155.1 656.2 92 521.9 92 290 92 102.3 279.5 102 511.5 101.7 743.7 289.8 932 521.9 932c181.3 0 335.8-115 394.6-276.1 1.5-4.2-.7-8.9-4.9-10.3l-56.7-19.5a8 8 0 00-10.1 4.8c-1.8 5-3.8 10-5.9 14.9-17.3 41-42.1 77.8-73.7 109.4A344.77 344.77 0 01655.9 829c-42.3 17.9-87.4 27-133.8 27-46.5 0-91.5-9.1-133.8-27A341.5 341.5 0 01279 755.2a342.16 342.16 0 01-73.7-109.4c-17.9-42.4-27-87.4-27-133.9s9.1-91.5 27-133.9c17.3-41 42.1-77.8 73.7-109.4 31.6-31.6 68.4-56.4 109.3-73.8 42.3-17.9 87.4-27 133.8-27 46.5 0 91.5 9.1 133.8 27a341.5 341.5 0 01109.3 73.8c9.9 9.9 19.2 20.4 27.8 31.4l-60.2 47a8 8 0 003 14.1l175.6 43c5 1.2 9.9-2.6 9.9-7.7l.8-180.9c-.1-6.6-7.8-10.3-13-6.2z"}}]},name:"reload",theme:"outlined"};const d=u;function c(r){for(var e=1;e<arguments.length;e++){var t=arguments[e]!=null?Object(arguments[e]):{},n=Object.keys(t);typeof Object.getOwnPropertySymbols=="function"&&(n=n.concat(Object.getOwnPropertySymbols(t).filter(function(a){return Object.getOwnPropertyDescriptor(t,a).enumerable}))),n.forEach(function(a){f(r,a,t[a])})}return r}function f(r,e,t){return e in r?Object.defineProperty(r,e,{value:t,enumerable:!0,configurable:!0,writable:!0}):r[e]=t,r}var l=function(e,t){var n=c({},e,t.attrs);return o(i,c({},n,{icon:d}),null)};l.displayName="ReloadOutlined";l.inheritAttrs=!1;const O=l;export{O as R};

+ 1 - 1
dist/assets/ReloadOutlined-legacy-4a8e52f8.js → dist/assets/ReloadOutlined-legacy-23a37b93.js

@@ -1 +1 @@
-System.register(["./index-legacy-9d1d1c53.js"],function(e,t){"use strict";var r,n;return{setters:[function(e){r=e.c,n=e.A}],execute:function(){var t={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M909.1 209.3l-56.4 44.1C775.8 155.1 656.2 92 521.9 92 290 92 102.3 279.5 102 511.5 101.7 743.7 289.8 932 521.9 932c181.3 0 335.8-115 394.6-276.1 1.5-4.2-.7-8.9-4.9-10.3l-56.7-19.5a8 8 0 00-10.1 4.8c-1.8 5-3.8 10-5.9 14.9-17.3 41-42.1 77.8-73.7 109.4A344.77 344.77 0 01655.9 829c-42.3 17.9-87.4 27-133.8 27-46.5 0-91.5-9.1-133.8-27A341.5 341.5 0 01279 755.2a342.16 342.16 0 01-73.7-109.4c-17.9-42.4-27-87.4-27-133.9s9.1-91.5 27-133.9c17.3-41 42.1-77.8 73.7-109.4 31.6-31.6 68.4-56.4 109.3-73.8 42.3-17.9 87.4-27 133.8-27 46.5 0 91.5 9.1 133.8 27a341.5 341.5 0 01109.3 73.8c9.9 9.9 19.2 20.4 27.8 31.4l-60.2 47a8 8 0 003 14.1l175.6 43c5 1.2 9.9-2.6 9.9-7.7l.8-180.9c-.1-6.6-7.8-10.3-13-6.2z"}}]},name:"reload",theme:"outlined"};function c(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?Object(arguments[t]):{},n=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(r).filter(function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable}))),n.forEach(function(t){a(e,t,r[t])})}return e}function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var o=function(e,a){var o=c({},e,a.attrs);return r(n,c({},o,{icon:t}),null)};o.displayName="ReloadOutlined",o.inheritAttrs=!1,e("R",o)}}});
+System.register(["./index-legacy-7f6656e1.js"],function(e,t){"use strict";var r,n;return{setters:[function(e){r=e.c,n=e.A}],execute:function(){var t={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M909.1 209.3l-56.4 44.1C775.8 155.1 656.2 92 521.9 92 290 92 102.3 279.5 102 511.5 101.7 743.7 289.8 932 521.9 932c181.3 0 335.8-115 394.6-276.1 1.5-4.2-.7-8.9-4.9-10.3l-56.7-19.5a8 8 0 00-10.1 4.8c-1.8 5-3.8 10-5.9 14.9-17.3 41-42.1 77.8-73.7 109.4A344.77 344.77 0 01655.9 829c-42.3 17.9-87.4 27-133.8 27-46.5 0-91.5-9.1-133.8-27A341.5 341.5 0 01279 755.2a342.16 342.16 0 01-73.7-109.4c-17.9-42.4-27-87.4-27-133.9s9.1-91.5 27-133.9c17.3-41 42.1-77.8 73.7-109.4 31.6-31.6 68.4-56.4 109.3-73.8 42.3-17.9 87.4-27 133.8-27 46.5 0 91.5 9.1 133.8 27a341.5 341.5 0 01109.3 73.8c9.9 9.9 19.2 20.4 27.8 31.4l-60.2 47a8 8 0 003 14.1l175.6 43c5 1.2 9.9-2.6 9.9-7.7l.8-180.9c-.1-6.6-7.8-10.3-13-6.2z"}}]},name:"reload",theme:"outlined"};function c(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?Object(arguments[t]):{},n=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(r).filter(function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable}))),n.forEach(function(t){a(e,t,r[t])})}return e}function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var o=function(e,a){var o=c({},e,a.attrs);return r(n,c({},o,{icon:t}),null)};o.displayName="ReloadOutlined",o.inheritAttrs=!1,e("R",o)}}});

Những thai đổi đã bị hủy bỏ vì nó quá lớn
+ 0 - 0
dist/assets/index-4d846cc4.js


Những thai đổi đã bị hủy bỏ vì nó quá lớn
+ 0 - 0
dist/assets/index-a3c67351.js


Những thai đổi đã bị hủy bỏ vì nó quá lớn
+ 0 - 0
dist/assets/index-legacy-7f6656e1.js


Những thai đổi đã bị hủy bỏ vì nó quá lớn
+ 0 - 0
dist/assets/index-legacy-c2eb0980.js


Những thai đổi đã bị hủy bỏ vì nó quá lớn
+ 0 - 0
dist/assets/polyfills-legacy-0b317b90.js


+ 3 - 3
dist/index.html

@@ -6,7 +6,7 @@
     <meta name="viewport" content="width=device-width, initial-scale=1.0" />
     <title>驼人物联网平台</title>
     <script type="text/javascript" src="//api.map.baidu.com/api?type=webgl&v=1.0&ak=r6wmhUcG2BBUmqP4OjRlxLOMbQ3F1Ptn"></script>
-    <script type="module" crossorigin src="/assets/index-1b93b7f0.js"></script>
+    <script type="module" crossorigin src="/assets/index-a3c67351.js"></script>
     <link rel="stylesheet" href="/assets/index-9140aa0f.css">
     <script type="module">import.meta.url;import("_").catch(()=>1);(async function*(){})().next();if(location.protocol!="file:"){window.__vite_is_modern_browser=true}</script>
     <script type="module">!function(){if(window.__vite_is_modern_browser)return;console.warn("vite: loading legacy chunks, syntax error above and the same error below should be ignored");var e=document.getElementById("vite-legacy-polyfill"),n=document.createElement("script");n.src=e.src,n.onload=function(){System.import(document.getElementById('vite-legacy-entry').getAttribute('data-src'))},document.body.appendChild(n)}();</script>
@@ -15,7 +15,7 @@
     <div id="app"></div>
     
     <script nomodule>!function(){var e=document,t=e.createElement("script");if(!("noModule"in t)&&"onbeforeload"in t){var n=!1;e.addEventListener("beforeload",(function(e){if(e.target===t)n=!0;else if(!e.target.hasAttribute("nomodule")||!n)return;e.preventDefault()}),!0),t.type="module",t.src=".",e.head.appendChild(t),t.remove()}}();</script>
-    <script nomodule crossorigin id="vite-legacy-polyfill" src="assets/polyfills-legacy-63c04489.js"></script>
-    <script nomodule crossorigin id="vite-legacy-entry" data-src="assets/index-legacy-9d1d1c53.js">System.import(document.getElementById('vite-legacy-entry').getAttribute('data-src'))</script>
+    <script nomodule crossorigin id="vite-legacy-polyfill" src="assets/polyfills-legacy-0b317b90.js"></script>
+    <script nomodule crossorigin id="vite-legacy-entry" data-src="assets/index-legacy-7f6656e1.js">System.import(document.getElementById('vite-legacy-entry').getAttribute('data-src'))</script>
   </body>
 </html>

+ 2 - 1
package.json

@@ -21,7 +21,8 @@
     "terser": "^5.28.1",
     "uuid": "^10.0.0",
     "vue": "^3.2.47",
-    "vue-router": "4"
+    "vue-router": "4",
+    "xlsx": "^0.18.5"
   },
   "devDependencies": {
     "@types/node": "^20.3.1",

+ 92 - 0
src/views/device/Index.vue

@@ -28,6 +28,15 @@
           <template #icon><PlusOutlined /></template>
           <span>添加</span>
         </a-button>
+        
+        <a-button
+          type="primary"
+          style="margin-right: 10px; background: #0058ff"
+          @click="exportExcel"
+        >
+          <template #icon><ArrowDownOutlined /></template>
+          <span>导出</span>
+        </a-button>
         <a-form layout="inline" :model="searchParams">
           <a-form-item>
             <a-input
@@ -217,6 +226,7 @@ import {
   PlusOutlined,
   SearchOutlined,
   ReloadOutlined,
+  ArrowDownOutlined,
 } from "@ant-design/icons-vue";
 import Add from "./Add.vue";
 import Location from "./Location.vue";
@@ -224,6 +234,7 @@ import { CusNavigation } from "@/components";
 import { post } from "@/network/axios";
 import { SearchDeviceParams, DeviceEntity, DeleteParams } from "@/api/model";
 import { home } from "@/utils";
+import * as XLSX from 'xlsx';
 // 表格视图
 const table_container: any = ref(null);
 const scroll = reactive<any>({ x: 1600 });
@@ -285,6 +296,87 @@ const onAdd = (e: any) => {
   console.log(e);
   addRef.value?.add();
 };
+
+// 导出Excel功能完善
+const exportExcel = async function () {
+  try {
+    // 显示加载状态
+    loading.value = true;
+    
+    // 获取全部设备数据(可能需要调整接口来获取所有数据)
+    const exportParams = {
+      ...searchParams,
+      page: pagination.current,
+      size: pagination.pageSize // 获取所有数据,可根据实际后端接口调整
+    };
+    
+    const result: any = await new Promise((resolve, reject) => {
+      post({ url: "/device/search", data: exportParams }, (res: any) => {
+        resolve(res);
+      });
+    });
+    debugger
+    if (result.code === 0) {
+      // 准备导出数据
+      const exportData = result.data.map((item: DeviceEntity, index: number) => ({
+        '序号': index + 1,
+        '设备编号': item.mac,
+        '绑定用户': item.username || '未知',
+        '所属产品': item.productName || '未知',
+        'SIM卡号': item.sim,
+        '通信MAC': item.netMac,
+        'IP': item.ipAddress,
+        '网关': item.gateWay,
+        '子网掩码': item.netMask,
+        '设备状态': item.isDelete ? '正常' : '异常',
+        '描述': item.description || '无描述',
+        '最近上传时间': item.modifytime,
+        '创建时间': item.createtime
+      }));
+      
+      // 创建工作簿
+      const wb = XLSX.utils.book_new();
+      const ws = XLSX.utils.json_to_sheet(exportData);
+      
+      // 设置列宽
+      const colWidths = [
+        { wch: 10 }, // 序号
+        { wch: 20 }, // 设备编号
+        { wch: 15 }, // 绑定用户
+        { wch: 20 }, // 所属产品
+        { wch: 20 }, // SIM卡号
+        { wch: 20 }, // 通信MAC
+        { wch: 15 }, // IP
+        { wch: 15 }, // 网关
+        { wch: 15 }, // 子网掩码
+        { wch: 12 }, // 设备状态
+        { wch: 20 }, // 描述
+        { wch: 20 }, // 最近上传时间
+        { wch: 20 }  // 创建时间
+      ];
+      ws['!cols'] = colWidths;
+      
+      // 添加工作表到工作簿
+      XLSX.utils.book_append_sheet(wb, ws, '设备列表');
+      
+      // 生成文件名
+      const fileName = `设备列表_${new Date().toISOString().slice(0, 19).replace(/:/g, '-')}.xlsx`;
+      
+      // 导出文件
+      XLSX.writeFile(wb, fileName);
+      
+      message.success('导出成功');
+    } else {
+      message.error(result.msg || '导出失败');
+    }
+  } catch (error) {
+    console.error('导出错误:', error);
+    message.error('导出失败,请重试');
+  } finally {
+    loading.value = false;
+  }
+};
+
 // 定位
 const locationRef = ref<any>(null);
 const onLocation = (record: any) => {

Một số tệp đã không được hiển thị bởi vì quá nhiều tập tin thay đổi trong này khác