فهرست منبع

fix: 弹框拖拽及定高

Summer________ 5 روز پیش
والد
کامیت
4b8c5996d7
82فایلهای تغییر یافته به همراه276 افزوده شده و 97 حذف شده
  1. 1 0
      dist/assets/404-5d699e50.js
  2. 1 0
      dist/assets/404-legacy-c04ee165.js
  3. 0 0
      dist/assets/BasicLayout-6d719502.js
  4. 1 0
      dist/assets/BasicLayout-bb20a3fc.css
  5. 0 0
      dist/assets/BasicLayout-legacy-0feb398c.js
  6. 1 0
      dist/assets/CusNavigation-1aee675a.css
  7. 1 0
      dist/assets/CusNavigation-96007fc9.js
  8. 1 0
      dist/assets/CusNavigation-legacy-a45aee11.js
  9. 0 0
      dist/assets/CusNavigation.vue_vue_type_style_index_0_scoped_5a71d35e_lang-0be67884.js
  10. 0 0
      dist/assets/CusNavigation.vue_vue_type_style_index_0_scoped_5a71d35e_lang-legacy-85deeaf1.js
  11. 0 0
      dist/assets/Detail-56da154c.js
  12. 0 0
      dist/assets/Detail-legacy-d1cca0a5.js
  13. 0 0
      dist/assets/Edit.vue_vue_type_script_setup_true_lang-1835bbce.js
  14. 0 0
      dist/assets/Edit.vue_vue_type_script_setup_true_lang-legacy-9e4718f7.js
  15. 1 0
      dist/assets/Index-07c1d2b0.css
  16. 1 0
      dist/assets/Index-0e43d8ab.css
  17. 1 0
      dist/assets/Index-11ebd19e.css
  18. 0 0
      dist/assets/Index-13a529f8.js
  19. 1 0
      dist/assets/Index-154fd69d.css
  20. 0 0
      dist/assets/Index-2503a761.js
  21. 1 0
      dist/assets/Index-27dcd7b7.css
  22. 1 0
      dist/assets/Index-31641a23.js
  23. 1 0
      dist/assets/Index-3a0ecd66.css
  24. 0 0
      dist/assets/Index-3b4a7510.js
  25. 0 0
      dist/assets/Index-48c130c7.js
  26. 0 0
      dist/assets/Index-4a0576a4.js
  27. 0 0
      dist/assets/Index-5d5df2d0.js
  28. 1 0
      dist/assets/Index-5eecf131.css
  29. 0 0
      dist/assets/Index-5f79061a.js
  30. 1 0
      dist/assets/Index-65580522.css
  31. 1 0
      dist/assets/Index-762c7e43.css
  32. 1 0
      dist/assets/Index-778c6654.css
  33. 1 0
      dist/assets/Index-804e9c86.css
  34. 1 0
      dist/assets/Index-881b9730.css
  35. 0 0
      dist/assets/Index-8d324957.js
  36. 0 0
      dist/assets/Index-99d88c15.js
  37. 0 0
      dist/assets/Index-a42c40cd.js
  38. 0 0
      dist/assets/Index-a431876c.js
  39. 0 0
      dist/assets/Index-b33c5823.js
  40. 1 0
      dist/assets/Index-c4d9b3b0.css
  41. 0 0
      dist/assets/Index-c8414f38.js
  42. 0 0
      dist/assets/Index-d164204e.js
  43. 0 0
      dist/assets/Index-da606dfc.js
  44. 13 0
      dist/assets/Index-dc525b15.js
  45. 0 0
      dist/assets/Index-ec936674.js
  46. 1 0
      dist/assets/Index-efece515.css
  47. 0 0
      dist/assets/Index-f9935601.js
  48. 1 0
      dist/assets/Index-fc891345.css
  49. 0 0
      dist/assets/Index-legacy-025d7624.js
  50. 0 0
      dist/assets/Index-legacy-040a040b.js
  51. 0 0
      dist/assets/Index-legacy-0940ceb1.js
  52. 0 0
      dist/assets/Index-legacy-0d34e15e.js
  53. 0 0
      dist/assets/Index-legacy-10e21d28.js
  54. 0 0
      dist/assets/Index-legacy-14b43804.js
  55. 0 0
      dist/assets/Index-legacy-2615c027.js
  56. 1 0
      dist/assets/Index-legacy-2b94f4ac.js
  57. 0 0
      dist/assets/Index-legacy-3958e9e6.js
  58. 0 0
      dist/assets/Index-legacy-4054b911.js
  59. 0 0
      dist/assets/Index-legacy-884968e7.js
  60. 0 0
      dist/assets/Index-legacy-8c48dcb1.js
  61. 0 0
      dist/assets/Index-legacy-97007798.js
  62. 0 0
      dist/assets/Index-legacy-b4c29310.js
  63. 0 0
      dist/assets/Index-legacy-b4fbaee4.js
  64. 0 0
      dist/assets/Index-legacy-c5b82d8d.js
  65. 14 0
      dist/assets/Index-legacy-d3260a0b.js
  66. 0 0
      dist/assets/Index-legacy-e053952f.js
  67. 0 0
      dist/assets/Index-legacy-f97e3b9e.js
  68. 1 0
      dist/assets/Index1-da85b547.js
  69. 0 0
      dist/assets/Index1-legacy-b0491235.js
  70. 1 0
      dist/assets/ReloadOutlined-5e110980.js
  71. 1 0
      dist/assets/ReloadOutlined-legacy-4a8e52f8.js
  72. 4 0
      dist/assets/index-1b93b7f0.js
  73. 0 0
      dist/assets/index-377b8bd6.js
  74. 9 0
      dist/assets/index-9140aa0f.css
  75. 0 0
      dist/assets/index-legacy-16c986a4.js
  76. 0 0
      dist/assets/index-legacy-9d1d1c53.js
  77. 0 0
      dist/assets/polyfills-legacy-63c04489.js
  78. BIN
      dist/assets/wifi-33b3054a.jfif
  79. BIN
      dist/assets/wifi_add-c1ee3d85.jfif
  80. 21 0
      dist/index.html
  81. 1 0
      package.json
  82. 188 97
      src/views/device/Add.vue

+ 1 - 0
dist/assets/404-5d699e50.js

@@ -0,0 +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};

+ 1 - 0
dist/assets/404-legacy-c04ee165.js

@@ -0,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-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})}}}))}}})}();

تفاوت فایلی نمایش داده نمی شود زیرا این فایل بسیار بزرگ است
+ 0 - 0
dist/assets/BasicLayout-6d719502.js


+ 1 - 0
dist/assets/BasicLayout-bb20a3fc.css

@@ -0,0 +1 @@
+[data-v-ed037dcb] .ant-menu-inline .ant-menu-item-selected:after{opacity:0}[data-v-ed037dcb] .ant-menu-inline .ant-menu-item-selected:before{content:"";position:absolute;top:0;left:0;bottom:0;border-right:3px solid #0058FF}[data-v-ed037dcb] .ant-menu:not(.ant-menu-horizontal) .ant-menu-item-selected{background-color:#eef1ff}[data-v-ed037dcb] .ant-menu-inline .ant-menu-item-selected{color:#0058ff}[data-v-ed037dcb] .ant-menu-inline .ant-menu-item{padding:0 20px!important;margin:0;font-family:PingFangSC,PingFang SC}#components-layout .trigger[data-v-5c801f26]{font-size:18px;line-height:64px;padding:0 24px;cursor:pointer;transition:color .3s}#components-layout .trigger[data-v-5c801f26]:hover{color:#1890ff}.site-layout .site-layout-background[data-v-5c801f26]{background:#fff}.tr-content[data-v-5c801f26]::-webkit-scrollbar{width:2px;height:8px;background-color:#61b6eb}.tr-content[data-v-5c801f26]::-webkit-scrollbar-track{background:#eee}.tr-content[data-v-5c801f26]::-webkit-scrollbar-thumb{background:#61B6EB;border-radius:100px}.tr-content[data-v-5c801f26]::-webkit-scrollbar-thumb:hover{background:#61B6EB}.tr-content[data-v-5c801f26]::-webkit-scrollbar-corner{background:#61B6EB}[data-v-5c801f26] .ant-breadcrumb{font-size:12px}

تفاوت فایلی نمایش داده نمی شود زیرا این فایل بسیار بزرگ است
+ 0 - 0
dist/assets/BasicLayout-legacy-0feb398c.js


+ 1 - 0
dist/assets/CusNavigation-1aee675a.css

@@ -0,0 +1 @@
+.cus-goback[data-v-5a71d35e]{margin-right:3px}.cus-goback[data-v-5a71d35e]:hover{cursor:pointer}

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

@@ -0,0 +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};

+ 1 - 0
dist/assets/CusNavigation-legacy-a45aee11.js

@@ -0,0 +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"]]))}}});

تفاوت فایلی نمایش داده نمی شود زیرا این فایل بسیار بزرگ است
+ 0 - 0
dist/assets/CusNavigation.vue_vue_type_style_index_0_scoped_5a71d35e_lang-0be67884.js


تفاوت فایلی نمایش داده نمی شود زیرا این فایل بسیار بزرگ است
+ 0 - 0
dist/assets/CusNavigation.vue_vue_type_style_index_0_scoped_5a71d35e_lang-legacy-85deeaf1.js


تفاوت فایلی نمایش داده نمی شود زیرا این فایل بسیار بزرگ است
+ 0 - 0
dist/assets/Detail-56da154c.js


تفاوت فایلی نمایش داده نمی شود زیرا این فایل بسیار بزرگ است
+ 0 - 0
dist/assets/Detail-legacy-d1cca0a5.js


تفاوت فایلی نمایش داده نمی شود زیرا این فایل بسیار بزرگ است
+ 0 - 0
dist/assets/Edit.vue_vue_type_script_setup_true_lang-1835bbce.js


تفاوت فایلی نمایش داده نمی شود زیرا این فایل بسیار بزرگ است
+ 0 - 0
dist/assets/Edit.vue_vue_type_script_setup_true_lang-legacy-9e4718f7.js


+ 1 - 0
dist/assets/Index-07c1d2b0.css

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

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

@@ -0,0 +1 @@
+[data-v-c04d5ed4] .ant-tabs-content{height:100%}[data-v-c04d5ed4] .ant-tabs-card>.ant-tabs-nav .ant-tabs-tab{border-color:#ccc;border-radius:0;border-left-width:0px}[data-v-c04d5ed4] .ant-tabs-card.ant-tabs-top>.ant-tabs-nav .ant-tabs-tab-active{border-bottom-color:#fff}[data-v-c04d5ed4] .ant-tabs-card>.ant-tabs-nav .ant-tabs-tab:first-child{border-left-width:1px}[data-v-c04d5ed4] .ant-tabs-top>.ant-tabs-nav:before{border-color:#ccc}[data-v-c04d5ed4] .ant-tabs-tab.ant-tabs-tab-active .ant-tabs-tab-btn{color:#0058ff}

+ 1 - 0
dist/assets/Index-11ebd19e.css

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

تفاوت فایلی نمایش داده نمی شود زیرا این فایل بسیار بزرگ است
+ 0 - 0
dist/assets/Index-13a529f8.js


+ 1 - 0
dist/assets/Index-154fd69d.css

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

تفاوت فایلی نمایش داده نمی شود زیرا این فایل بسیار بزرگ است
+ 0 - 0
dist/assets/Index-2503a761.js


+ 1 - 0
dist/assets/Index-27dcd7b7.css

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

+ 1 - 0
dist/assets/Index-31641a23.js

@@ -0,0 +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};

+ 1 - 0
dist/assets/Index-3a0ecd66.css

@@ -0,0 +1 @@
+[data-v-100e9f21] .ant-input-group-addon .ant-btn-primary{background:none;border:none;padding:0}

تفاوت فایلی نمایش داده نمی شود زیرا این فایل بسیار بزرگ است
+ 0 - 0
dist/assets/Index-3b4a7510.js


تفاوت فایلی نمایش داده نمی شود زیرا این فایل بسیار بزرگ است
+ 0 - 0
dist/assets/Index-48c130c7.js


تفاوت فایلی نمایش داده نمی شود زیرا این فایل بسیار بزرگ است
+ 0 - 0
dist/assets/Index-4a0576a4.js


تفاوت فایلی نمایش داده نمی شود زیرا این فایل بسیار بزرگ است
+ 0 - 0
dist/assets/Index-5d5df2d0.js


+ 1 - 0
dist/assets/Index-5eecf131.css

@@ -0,0 +1 @@
+[data-v-3ed49d7b] .ant-input-group-addon .ant-btn-primary{background:none;border:none;padding:0}[data-v-3ed49d7b] .ant-tabs>.ant-tabs-nav .ant-tabs-nav-list{flex-grow:1}[data-v-3ed49d7b] .ant-tabs-tab{flex-grow:1;justify-content:center;color:#666a78;font-size:18px}[data-v-3ed49d7b] .ant-tabs-tab.ant-tabs-tab-active .ant-tabs-tab-btn{color:#0058ff}[data-v-3ed49d7b] .ant-tabs-ink-bar{background-color:#0058ff}

تفاوت فایلی نمایش داده نمی شود زیرا این فایل بسیار بزرگ است
+ 0 - 0
dist/assets/Index-5f79061a.js


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

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

+ 1 - 0
dist/assets/Index-762c7e43.css

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

+ 1 - 0
dist/assets/Index-778c6654.css

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

+ 1 - 0
dist/assets/Index-804e9c86.css

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

+ 1 - 0
dist/assets/Index-881b9730.css

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

تفاوت فایلی نمایش داده نمی شود زیرا این فایل بسیار بزرگ است
+ 0 - 0
dist/assets/Index-8d324957.js


تفاوت فایلی نمایش داده نمی شود زیرا این فایل بسیار بزرگ است
+ 0 - 0
dist/assets/Index-99d88c15.js


تفاوت فایلی نمایش داده نمی شود زیرا این فایل بسیار بزرگ است
+ 0 - 0
dist/assets/Index-a42c40cd.js


تفاوت فایلی نمایش داده نمی شود زیرا این فایل بسیار بزرگ است
+ 0 - 0
dist/assets/Index-a431876c.js


تفاوت فایلی نمایش داده نمی شود زیرا این فایل بسیار بزرگ است
+ 0 - 0
dist/assets/Index-b33c5823.js


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

@@ -0,0 +1 @@
+.footer[data-v-eacc2cc3]{width:200px;float:right}.footer button[data-v-eacc2cc3]{margin-left:20px}.rows[data-v-eacc2cc3]{width:100%}.title-icon[data-v-eacc2cc3]{margin-right:5px;width:3px;height:25px;background-color:#000}img[data-v-eacc2cc3]{border:solid 1px #f0f0f0}.tools[data-v-8803d49d]{width:100px;float:right;height:60px}.footer[data-v-5769f2f7]{width:200px;float:right}.footer button[data-v-5769f2f7]{margin-left:20px}.rows[data-v-5769f2f7]{width:100%}.title-icon[data-v-5769f2f7]{margin-right:5px;width:3px;height:25px;background-color:#000}img[data-v-5769f2f7]{border:solid 1px #f0f0f0}[data-v-6bfeff43] .ant-table-wrapper{height:0px;flex-grow:1}[data-v-6bfeff43] .ant-spin-nested-loading{height:100%}[data-v-6bfeff43] .ant-spin-container{height:100%;display:flex;flex-direction:column}[data-v-6bfeff43] .ant-table{flex-grow:1;height:0px}[data-v-6bfeff43] .ant-table-container{height:100%;display:flex;flex-direction:column}[data-v-6bfeff43] .ant-table-body{overflow-y:auto!important;flex-grow:1;border-bottom:1px solid #eee;border-right:1px solid #eee}[data-v-6bfeff43] .ant-table-body::-webkit-scrollbar{width:1px;height:8px;background:#0058FF}[data-v-6bfeff43] .ant-table-body::-webkit-scrollbar-track{width:1px;background:#eee}[data-v-6bfeff43] .ant-table-body::-webkit-scrollbar-thumb{width:1px;background:#0058FF}[data-v-6bfeff43] .ant-table-body::-webkit-scrollbar-thumb:hover{background:#0058FF}[data-v-6bfeff43] .ant-table-body::-webkit-scrollbar-corner{width:1px;background:#eee}.cus-forbidden[data-v-6bfeff43]:hover{cursor:not-allowed}

تفاوت فایلی نمایش داده نمی شود زیرا این فایل بسیار بزرگ است
+ 0 - 0
dist/assets/Index-c8414f38.js


تفاوت فایلی نمایش داده نمی شود زیرا این فایل بسیار بزرگ است
+ 0 - 0
dist/assets/Index-d164204e.js


تفاوت فایلی نمایش داده نمی شود زیرا این فایل بسیار بزرگ است
+ 0 - 0
dist/assets/Index-da606dfc.js


تفاوت فایلی نمایش داده نمی شود زیرا این فایل بسیار بزرگ است
+ 13 - 0
dist/assets/Index-dc525b15.js


تفاوت فایلی نمایش داده نمی شود زیرا این فایل بسیار بزرگ است
+ 0 - 0
dist/assets/Index-ec936674.js


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

@@ -0,0 +1 @@
+[data-v-4b0161b5] .ant-input-group-addon .ant-btn-primary{background:none;border-color:#d9d9d9}

تفاوت فایلی نمایش داده نمی شود زیرا این فایل بسیار بزرگ است
+ 0 - 0
dist/assets/Index-f9935601.js


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

@@ -0,0 +1 @@
+[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}

تفاوت فایلی نمایش داده نمی شود زیرا این فایل بسیار بزرگ است
+ 0 - 0
dist/assets/Index-legacy-025d7624.js


تفاوت فایلی نمایش داده نمی شود زیرا این فایل بسیار بزرگ است
+ 0 - 0
dist/assets/Index-legacy-040a040b.js


تفاوت فایلی نمایش داده نمی شود زیرا این فایل بسیار بزرگ است
+ 0 - 0
dist/assets/Index-legacy-0940ceb1.js


تفاوت فایلی نمایش داده نمی شود زیرا این فایل بسیار بزرگ است
+ 0 - 0
dist/assets/Index-legacy-0d34e15e.js


تفاوت فایلی نمایش داده نمی شود زیرا این فایل بسیار بزرگ است
+ 0 - 0
dist/assets/Index-legacy-10e21d28.js


تفاوت فایلی نمایش داده نمی شود زیرا این فایل بسیار بزرگ است
+ 0 - 0
dist/assets/Index-legacy-14b43804.js


تفاوت فایلی نمایش داده نمی شود زیرا این فایل بسیار بزرگ است
+ 0 - 0
dist/assets/Index-legacy-2615c027.js


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

@@ -0,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-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)])))}}}))}}})}();

تفاوت فایلی نمایش داده نمی شود زیرا این فایل بسیار بزرگ است
+ 0 - 0
dist/assets/Index-legacy-3958e9e6.js


تفاوت فایلی نمایش داده نمی شود زیرا این فایل بسیار بزرگ است
+ 0 - 0
dist/assets/Index-legacy-4054b911.js


تفاوت فایلی نمایش داده نمی شود زیرا این فایل بسیار بزرگ است
+ 0 - 0
dist/assets/Index-legacy-884968e7.js


تفاوت فایلی نمایش داده نمی شود زیرا این فایل بسیار بزرگ است
+ 0 - 0
dist/assets/Index-legacy-8c48dcb1.js


تفاوت فایلی نمایش داده نمی شود زیرا این فایل بسیار بزرگ است
+ 0 - 0
dist/assets/Index-legacy-97007798.js


تفاوت فایلی نمایش داده نمی شود زیرا این فایل بسیار بزرگ است
+ 0 - 0
dist/assets/Index-legacy-b4c29310.js


تفاوت فایلی نمایش داده نمی شود زیرا این فایل بسیار بزرگ است
+ 0 - 0
dist/assets/Index-legacy-b4fbaee4.js


تفاوت فایلی نمایش داده نمی شود زیرا این فایل بسیار بزرگ است
+ 0 - 0
dist/assets/Index-legacy-c5b82d8d.js


تفاوت فایلی نمایش داده نمی شود زیرا این فایل بسیار بزرگ است
+ 14 - 0
dist/assets/Index-legacy-d3260a0b.js


تفاوت فایلی نمایش داده نمی شود زیرا این فایل بسیار بزرگ است
+ 0 - 0
dist/assets/Index-legacy-e053952f.js


تفاوت فایلی نمایش داده نمی شود زیرا این فایل بسیار بزرگ است
+ 0 - 0
dist/assets/Index-legacy-f97e3b9e.js


+ 1 - 0
dist/assets/Index1-da85b547.js

@@ -0,0 +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};

تفاوت فایلی نمایش داده نمی شود زیرا این فایل بسیار بزرگ است
+ 0 - 0
dist/assets/Index1-legacy-b0491235.js


+ 1 - 0
dist/assets/ReloadOutlined-5e110980.js

@@ -0,0 +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};

+ 1 - 0
dist/assets/ReloadOutlined-legacy-4a8e52f8.js

@@ -0,0 +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)}}});

تفاوت فایلی نمایش داده نمی شود زیرا این فایل بسیار بزرگ است
+ 4 - 0
dist/assets/index-1b93b7f0.js


تفاوت فایلی نمایش داده نمی شود زیرا این فایل بسیار بزرگ است
+ 0 - 0
dist/assets/index-377b8bd6.js


تفاوت فایلی نمایش داده نمی شود زیرا این فایل بسیار بزرگ است
+ 9 - 0
dist/assets/index-9140aa0f.css


تفاوت فایلی نمایش داده نمی شود زیرا این فایل بسیار بزرگ است
+ 0 - 0
dist/assets/index-legacy-16c986a4.js


تفاوت فایلی نمایش داده نمی شود زیرا این فایل بسیار بزرگ است
+ 0 - 0
dist/assets/index-legacy-9d1d1c53.js


تفاوت فایلی نمایش داده نمی شود زیرا این فایل بسیار بزرگ است
+ 0 - 0
dist/assets/polyfills-legacy-63c04489.js


BIN
dist/assets/wifi-33b3054a.jfif


BIN
dist/assets/wifi_add-c1ee3d85.jfif


+ 21 - 0
dist/index.html

@@ -0,0 +1,21 @@
+<!DOCTYPE html>
+<html lang="en">
+  <head>
+    <meta charset="UTF-8" />
+    <link rel="icon" type="image/svg+xml" href="/static/images/logo2.png" />
+    <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>
+    <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>
+  </head>
+  <body>
+    <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>
+  </body>
+</html>

+ 1 - 0
package.json

@@ -10,6 +10,7 @@
   },
   "dependencies": {
     "@ant-design/icons-vue": "^6.1.0",
+    "@vueuse/core": "^14.1.0",
     "ant-design-vue": "^3.2.20",
     "axios": "^1.4.0",
     "axios-jsonp": "^1.0.4",

+ 188 - 97
src/views/device/Add.vue

@@ -1,12 +1,23 @@
 <template>
   <a-modal
-    :title="isAdd ? '添加设备' : '编辑设备'" 
-    v-model:visible="visible" 
+    v-model:visible="visible"
     :maskClosable="false"
-    :width="480"
+    :width="580"
+    :bodyStyle="{ height: '480px', 'overflow-y': 'auto' }"
     cancelText="取消"
     okText="确定"
-    @ok="handleOk">
+    @ok="handleOk"
+  >
+    <template #title>
+      <div ref="modalTitleRef" style="width: 100%; cursor: move">
+        {{ isAdd ? "添加设备" : "编辑设备" }}
+      </div>
+    </template>
+    <template #modalRender="{ originVNode }">
+      <div :style="transformStyle">
+        <component :is="originVNode" />
+      </div>
+    </template>
     <a-form
       ref="formRef"
       :model="formState"
@@ -15,8 +26,8 @@
       :label-col="{ span: 4 }"
       :wrapper-col="{ span: 20 }"
       autocomplete="off"
-      layout="vertical">
-
+      layout="vertical"
+    >
       <!-- <a-form-item  :wrapper-col="{ offset: 0, span: 24 }"
         label="ID"
         name="id"
@@ -24,18 +35,26 @@
         <a-input size="large" v-model:value="formState.id" />
       </a-form-item> -->
 
-      <a-form-item  :wrapper-col="{ offset: 0, span: 24 }"
+      <a-form-item
+        :wrapper-col="{ offset: 0, span: 24 }"
         label="产品"
         name="productId"
-        :rules="[{ required: true, message: '请输入设备名称!' }]">
+        :rules="[{ required: true, message: '请输入设备名称!' }]"
+      >
         <!-- <a-input size="large" v-model:value="formState.productId" /> -->
-        <a-select size="large" v-model:value="formState.productId" :options="options"></a-select>
+        <a-select
+          size="large"
+          v-model:value="formState.productId"
+          :options="options"
+        ></a-select>
       </a-form-item>
 
-      <a-form-item  :wrapper-col="{ offset: 0, span: 24 }"
+      <a-form-item
+        :wrapper-col="{ offset: 0, span: 24 }"
         label="设备编号"
         name="mac"
-        :rules="[{ required: true, message: '请输入设备编号!' }]">
+        :rules="[{ required: true, message: '请输入设备编号!' }]"
+      >
         <a-input size="large" v-model:value="formState.mac" />
       </a-form-item>
 
@@ -46,176 +65,248 @@
         <a-input size="large" v-model:value="formState.name" />
       </a-form-item> -->
 
-      <a-form-item  :wrapper-col="{ offset: 0, span: 24 }"
+      <a-form-item
+        :wrapper-col="{ offset: 0, span: 24 }"
         label="IP"
         name="ipAddress"
-        >
+      >
         <a-input size="large" v-model:value="formState.ipAddress" />
       </a-form-item>
 
-      <a-form-item  :wrapper-col="{ offset: 0, span: 24 }"
+      <a-form-item
+        :wrapper-col="{ offset: 0, span: 24 }"
         label="网关"
         name="gateWay"
-        >
+      >
         <a-input size="large" v-model:value="formState.gateWay" />
       </a-form-item>
 
-      <a-form-item  :wrapper-col="{ offset: 0, span: 24 }"
+      <a-form-item
+        :wrapper-col="{ offset: 0, span: 24 }"
         label="子网掩码"
         name="netMask"
-        >
+      >
         <a-input size="large" v-model:value="formState.netMask" />
       </a-form-item>
 
-      <a-form-item  :wrapper-col="{ offset: 0, span: 24 }"
+      <a-form-item
+        :wrapper-col="{ offset: 0, span: 24 }"
         label="通信MAC"
         name="netMac"
-        >
+      >
         <a-input size="large" v-model:value="formState.netMac" />
       </a-form-item>
 
-      <a-form-item  :wrapper-col="{ offset: 0, span: 24 }"
+      <a-form-item
+        :wrapper-col="{ offset: 0, span: 24 }"
         label="描述"
         name="description"
-        :rules="[{ required: false, message: '请输入设备名称!' }]">
+        :rules="[{ required: false, message: '请输入设备名称!' }]"
+      >
         <!-- <a-input size="large" v-model:value="formState.name" /> -->
-        <a-textarea v-model:value="formState.description" placeholder="请输入描述" allow-clear />
+        <a-textarea
+          v-model:value="formState.description"
+          placeholder="请输入描述"
+          allow-clear
+        />
       </a-form-item>
 
-
       <!-- <a-form-item :wrapper-col="{ offset: 0, span: 24 }">
         <a-button  style="background: #0058FF;"
           size="large" block type="primary" html-type="submit">登录</a-button>
       </a-form-item> -->
     </a-form>
   </a-modal>
-  
 </template>
 
 <script setup lang="ts">
-import { ref, onMounted, onUnmounted, reactive  } from 'vue';
-import { AddDeviceParams } from '@/api/model'
-import { post } from '@/network/axios'
-import { message } from 'ant-design-vue'
-import { resetProperties } from '@/utils'
+import {
+  ref,
+  computed,
+  CSSProperties,
+  watch,
+  watchEffect,
+  onMounted,
+  onUnmounted,
+  reactive,
+} from "vue";
+import { AddDeviceParams } from "@/api/model";
+import { post } from "@/network/axios";
+import { message } from "ant-design-vue";
+import { resetProperties } from "@/utils";
+import { useDraggable } from "@vueuse/core";
 
+const modalTitleRef = ref<HTMLElement>();
 const formRef = ref<any>(null);
 const visible = ref<boolean>(false);
 const isAdd = ref<boolean>(true);
+const { x, y, isDragging } = useDraggable(modalTitleRef);
 
 // 属性
 // const props = defineProps()
 // 事件
-const emits = defineEmits(['onSuccess'])
+const emits = defineEmits(["onSuccess"]);
 
 // 选项
 const options = reactive<any[]>([
   {
-    value: '123',
-    label: '网络泵',
+    value: "123",
+    label: "网络泵",
   },
   {
-    value: '456',
-    label: '化疗泵',
+    value: "456",
+    label: "化疗泵",
   },
   {
-    value: '789',
-    label: '其他',
+    value: "789",
+    label: "其他",
   },
 ]);
 
-
 // 添加
 const formState = reactive<AddDeviceParams>({
   id: undefined,
-  mac: '',
-  name: '',
-  productId: '',
-  netMac: '',
-  description: '',
-  gateWay: '',
-  netMask: '',
-  ipAddress: ''
+  mac: "",
+  name: "",
+  productId: "",
+  netMac: "",
+  description: "",
+  gateWay: "",
+  netMask: "",
+  ipAddress: "",
 });
-const save = function(){
-  let url = '';
-  if(isAdd.value){
-    url = '/device/add'
-  }else{
-    url = '/device/edit'
+const save = function () {
+  let url = "";
+  if (isAdd.value) {
+    url = "/device/add";
+  } else {
+    url = "/device/edit";
   }
-  post({url, data: formState}, (result: any) => {
-    console.log(result)
+  post({ url, data: formState }, (result: any) => {
+    console.log(result);
     message.info(result.msg);
     hidden();
-    emits('onSuccess', result)
-  })
-}
-
+    emits("onSuccess", result);
+  });
+};
 
 const handleOk = (e: MouseEvent) => {
-  console.log('handleOK',  e);
-  formRef.value?.validate().then(()=>{
-    console.log('11')
-    save();
-  }, () => {
-    console.log('22')
-  })
+  console.log("handleOK", e);
+  formRef.value?.validate().then(
+    () => {
+      console.log("11");
+      save();
+    },
+    () => {
+      console.log("22");
+    }
+  );
 };
 
-
 const show = () => {
   visible.value = true;
-}
+};
 const hidden = () => {
   visible.value = false;
-}
+};
 const add = () => {
-  isAdd.value = true
+  isAdd.value = true;
   resetProperties(formState);
   formRef.value?.clearValidate();
   show();
-}
+};
 const update = (record: any) => {
   isAdd.value = false;
   record.id = record.deviceId;
-  Object.assign(formState, record)
+  Object.assign(formState, record);
   formRef.value?.clearValidate();
   show();
-}
+};
 
 // 声明周期
 onMounted(() => {
-  console.log('onMounted')
+  console.log("onMounted");
   options.splice(0);
-  post({url: '/product/search', data: {
-    size: 20,
-    page: 1,
-    sort: "createtime",
-    order: "desc"
-  }}, (result: any) => {
-    console.log(result)
-    result.data.forEach((item: any) => {
-      const option = {
-        value: item.code,
-        label: item.name,
-      };
-      options.push(option)
-    });
-  }, (failed: any) => {
-    console.log(failed)
-  })
-})
+  post(
+    {
+      url: "/product/search",
+      data: {
+        size: 20,
+        page: 1,
+        sort: "createtime",
+        order: "desc",
+      },
+    },
+    (result: any) => {
+      console.log(result);
+      result.data.forEach((item: any) => {
+        const option = {
+          value: item.code,
+          label: item.name,
+        };
+        options.push(option);
+      });
+    },
+    (failed: any) => {
+      console.log(failed);
+    }
+  );
+});
 onUnmounted(() => {
-  console.log('onUnmounted')
-})
+  console.log("onUnmounted");
+});
 
 defineExpose({
-  add, update
-})
+  add,
+  update,
+});
 
-</script>
+//拖拽
+
+const startX = ref<number>(0);
+const startY = ref<number>(0);
+const startedDrag = ref(false);
+const transformX = ref(0);
+const transformY = ref(0);
+const preTransformX = ref(0);
+const preTransformY = ref(0);
+const dragRect = ref({ left: 0, right: 0, top: 0, bottom: 0 });
+watch([x, y], () => {
+  if (!startedDrag.value) {
+    startX.value = x.value;
+    startY.value = y.value;
+    const bodyRect = document.body.getBoundingClientRect();
+    const titleRect = modalTitleRef.value.getBoundingClientRect();
+    dragRect.value.right = bodyRect.width - titleRect.width;
+    dragRect.value.bottom = bodyRect.height - titleRect.height;
+    preTransformX.value = transformX.value;
+    preTransformY.value = transformY.value;
+  }
+  startedDrag.value = true;
+});
+watch(isDragging, () => {
+  if (!isDragging) {
+    startedDrag.value = false;
+  }
+});
 
-<style scoped>
+watchEffect(() => {
+  if (startedDrag.value) {
+    transformX.value =
+      preTransformX.value +
+      Math.min(Math.max(dragRect.value.left, x.value), dragRect.value.right) -
+      startX.value;
+    transformY.value =
+      preTransformY.value +
+      Math.min(Math.max(dragRect.value.top, y.value), dragRect.value.bottom) -
+      startY.value;
+  }
+});
+const transformStyle = computed<CSSProperties>(() => {
+  return {
+    transform: `translate(${transformX.value}px, ${transformY.value}px)`,
+  };
+});
+</script>
 
-</style>
+<style scoped></style>

برخی فایل ها در این مقایسه diff نمایش داده نمی شوند زیرا تعداد فایل ها بسیار زیاد است