Compare commits

...

97 Commits

Author SHA1 Message Date
zouzhibing 4791c1cb2f feat:发布新版本 2023-03-06 17:15:23 +08:00
zouzhibing 91e11aa0d3 feat:发布新版本 2023-03-02 10:38:35 +08:00
zouzhibing c9466ef448 Merge branch 'vue-i18n' of https://gitee.com/yuanzbz/vue-admin-perfect into ghpages 2023-03-02 10:31:04 +08:00
zouzhibing bb4b2d747a 特性: 中英文菜单切换 2023-03-02 10:30:35 +08:00
zouzhibing 76cb2b7890 Merge branch 'master' of https://gitee.com/yuanzbz/vue-admin-perfect into vue-i18n
 Conflicts:
	src/layout/components/SubMenu/SubItem.vue
2023-03-02 10:12:43 +08:00
zouzhibing 946f5cfbe6 feat:发布新版本 2023-02-28 14:41:23 +08:00
zouzhibing a3426174ea Merge branch 'vue-i18n' of https://github.com/zouzhibin/vue-admin-perfect into ghpages
 Conflicts:
	package-lock.json
	yarn.lock
2023-02-28 14:36:49 +08:00
zouzhibing 0f5b8e0422 Merge branch 'master' of https://github.com/zouzhibin/vue-admin-perfect into vue-i18n 2023-02-28 14:24:12 +08:00
zouzhibing 47de66b6ee feat:发布新版本 2023-02-27 20:03:35 +08:00
zouzhibing dd5246edaf Merge branch 'master' of https://github.com/zouzhibin/vue-admin-perfect into vue-i18n
 Conflicts:
	package-lock.json
2023-02-27 19:59:29 +08:00
zouzhibing a3beb6873d feat:发布新版本 2023-02-27 19:43:11 +08:00
zouzhibing 685e8e74c0 Merge branch 'master' of https://gitee.com/yuanzbz/vue-admin-perfect into ghpages
 Conflicts:
	src/assets/image/we.png
2023-02-27 19:40:32 +08:00
zouzhibing 439f4c119f fix:修改二维码 2023-02-20 10:43:58 +08:00
zouzhibing 4df2a6d4c8 fix:修改二维码 2023-02-20 09:25:04 +08:00
zouzhibing 139780c467 提交 2023-02-09 10:43:03 +08:00
zouzhibing 37e49e1060 fix:修改二维码图片 2023-02-09 10:37:52 +08:00
zouzhibing f1197d68fc fix:修改二维码图片 2023-02-01 11:39:35 +08:00
zouzhibing 0349543c95 Merge branch 'vue-i18n' of https://github.com/zouzhibin/vue-admin-perfect into ghpages
 Conflicts:
	src/main.ts
2023-02-01 11:34:03 +08:00
zouzhibing 94f30e910a Merge remote-tracking branch 'origin/vue-i18n' into vue-i18n
# Conflicts:
#	package-lock.json
#	src/main.ts
2023-02-01 11:33:20 +08:00
zouzhibing 7b0e03c086 Merge branch 'master' of https://github.com/zouzhibin/vue-admin-perfect into vue-i18n
 Conflicts:
	src/views/home/index.vue
2023-02-01 11:32:22 +08:00
zouzhibing 54b7f2c4f6 refacto 2023-01-09 18:47:49 +08:00
zouzhibing 9c4dc55bd2 Merge branch 'master' of https://github.com/zouzhibin/vue-admin-perfect into vue-i18n
 Conflicts:
	package-lock.json
2023-01-09 18:44:31 +08:00
zouzhibing d76a771f15 提交 2023-01-09 16:47:25 +08:00
zouzhibing ff44288888 Merge branch 'vue-i18n' of https://gitee.com/yuanzbz/vue-admin-perfect into ghpages
 Conflicts:
	src/main.ts
2023-01-09 16:46:03 +08:00
zouzhibing 3b259b3a96 提交 2023-01-09 16:44:42 +08:00
zouzhibing 20929efa5a Merge branch 'master' of https://gitee.com/yuanzbz/vue-admin-perfect into vue-i18n
 Conflicts:
	package-lock.json
	src/main.ts
	yarn.lock
2023-01-09 16:42:48 +08:00
zouzhibing 10e71ea340 refactor: 去掉多余得东西 2022-12-15 21:41:01 +08:00
zouzhibing 3ec07dec00 Merge branch 'vue-i18n' of https://github.com/zouzhibin/vue-admin-perfect into ghpages 2022-12-15 21:36:37 +08:00
zouzhibing 4b74d4da83 Merge branch 'master' of https://github.com/zouzhibin/vue-admin-perfect into vue-i18n 2022-12-15 21:35:50 +08:00
zouzhibing 563cabf08f refactor: 去掉多余得东西 2022-12-15 21:34:33 +08:00
zouzhibing f9dee72ae8 Merge branch 'vue-i18n' of https://github.com/zouzhibin/vue-admin-perfect into ghpages 2022-12-15 21:32:24 +08:00
zouzhibing b8aaa067d0 Merge branch 'master' of https://github.com/zouzhibin/vue-admin-perfect into vue-i18n 2022-12-15 21:28:52 +08:00
zouzhibing 092c935c30 build: 发布新版 2022-12-12 15:14:19 +08:00
zouzhibing c8da35b71e Merge branch 'vue-i18n' of https://github.com/zouzhibin/vue-admin-perfect into ghpages
 Conflicts:
	yarn.lock
2022-12-12 15:13:01 +08:00
zouzhibing f924e47ebe Merge branch 'master' of https://github.com/zouzhibin/vue-admin-perfect into vue-i18n
 Conflicts:
	src/main.ts
	yarn.lock
2022-12-12 15:07:25 +08:00
zouzhibing 1919bb9f3e build: 新包 2022-12-02 22:36:56 +08:00
zouzhibing 1c11242326 Merge branch 'vue-i18n' of https://github.com/zouzhibin/vue-admin-perfect into ghpages 2022-12-02 22:34:27 +08:00
zouzhibing 27b1f3d316 Merge branch 'master' of https://github.com/zouzhibin/vue-admin-perfect into vue-i18n 2022-12-02 22:23:59 +08:00
zouzhibing 2c6ee4609c build: 优化滚动
2022-11-27 21:35:57 +08:00
zouzhibing 9f9ae83a04 Merge branch 'master' of https://github.com/zouzhibin/vue-admin-perfect into ghpages 2022-11-27 21:34:51 +08:00
zouzhibing 3908419a9d Merge branch 'master' of https://github.com/zouzhibin/vue-admin-perfect into vue-i18n 2022-11-27 21:30:36 +08:00
zouzhibing 8a016efb1a build: 发布新的版本,新增加表单 2022-11-27 21:09:38 +08:00
zouzhibing ef3894f636 Merge branch 'vue-i18n' of https://github.com/zouzhibin/vue-admin-perfect into ghpages 2022-11-27 21:02:53 +08:00
zouzhibing e7b1714d51 Merge branch 'master' of https://github.com/zouzhibin/vue-admin-perfect into vue-i18n 2022-11-27 21:00:30 +08:00
zouzhibing 6e30c3f120 build: 新修改得内容进行发布 2022-11-26 22:56:21 +08:00
zouzhibing 0571a99fe6 Merge branch 'vue-i18n' of https://github.com/zouzhibin/vue-admin-perfect into ghpages 2022-11-26 22:53:36 +08:00
zouzhibing 3d5ca333fa fix: 📌 home组件分离css样式,中英文切换组件合并 2022-11-26 22:44:14 +08:00
zouzhibing 1eb34fdad7 Merge branch 'master' of https://github.com/zouzhibin/vue-admin-perfect into vue-i18n
 Conflicts:
	package-lock.json
	src/layout/Header/index.vue
	src/layout/components/Header/components/Language.vue
	yarn.lock
2022-11-26 22:02:40 +08:00
zouzhibing afb3453c32 Merge branch 'master' of https://github.com/zouzhibin/vue-admin-perfect into vue-i18n
 Conflicts:
	src/views/login/components/LoginForm.vue
2022-11-25 22:15:32 +08:00
zouzhibing e34e8fc987 feat: 🔥 发布新版 2022-11-25 12:57:45 +08:00
zouzhibing f2ed537959 feat: 🔥 发布新版 2022-11-25 12:57:33 +08:00
zouzhibing 94f650547c feat: 🔥 发布新版 2022-11-25 12:44:51 +08:00
zouzhibing 5ef9c903ab feat: 🔥 发布新版 2022-11-25 12:42:25 +08:00
zouzhibing b81ab54947 Merge branch 'master' of https://github.com/zouzhibin/vue-admin-perfect into vue-i18n 2022-11-25 12:35:50 +08:00
zouzhibing 32ddc75a35 Merge branch 'master' of https://github.com/zouzhibin/vue-admin-perfect into vue-i18n
 Conflicts:
	src/views/errorPages/404.vue
2022-11-20 19:54:03 +08:00
zouzhibing 5a58833768 refactor 📌 进行代码优化 2022-11-20 14:46:21 +08:00
zouzhibing d0fa7eb853 Merge branch 'master' of https://gitee.com/yuanzbz/vue-admin-perfect into vue-i18n
 Conflicts:
	src/views/home/index.vue
2022-11-20 01:28:25 +08:00
zouzhibing 9e575785df Merge branch 'master' of https://gitee.com/yuanzbz/vue-admin-perfect into vue-i18n 2022-11-19 23:19:34 +08:00
zouzhibing a9c4c25aa2 fix: 修复合并错误 2022-11-16 19:57:42 +08:00
zouzhibing 809e0fa8f4 Merge branch 'master' of https://gitee.com/yuanzbz/vue-admin-perfect into vue-i18n
 Conflicts:
	README.md
	src/layout/Header/index.vue
2022-11-16 19:48:51 +08:00
zouzhibing c3eccb95d2 doc:📝 更新readme.md 2022-11-15 23:37:19 +08:00
zouzhibing fbab7f8b21 fix: 修复路由权限问题,增加微信二维码进群 2022-11-15 23:20:57 +08:00
zouzhibing a855449dfe Merge branch 'master' of https://github.com/zouzhibin/vue-admin-perfect into vue-i18n
 Conflicts:
	src/views/home/index.vue
2022-11-15 23:18:17 +08:00
zouzhibing fe457dced5 Merge branch 'master' of https://github.com/zouzhibin/vue-admin-perfect into vue-i18n 2022-11-14 22:41:29 +08:00
zouzhibing dba9155b18 Merge branch 'master' of https://gitee.com/yuanzbz/vue-admin-perfect into vue-i18n 2022-11-14 00:40:27 +08:00
zouzhibing 7590502878 Merge branch 'master' of https://gitee.com/yuanzbz/vue-admin-perfect into vue-i18n 2022-11-13 20:16:03 +08:00
zouzhibing c87bab1d3d Merge branch 'master' of https://gitee.com/yuanzbz/vue-admin-perfect into vue-i18n 2022-11-13 13:50:43 +08:00
zouzhibing 15c679001f feat:增加echarts 图表,调整目录结构 2022-11-12 23:50:46 +08:00
zouzhibing 2dbe6aa5b9 Merge branch 'master' of https://github.com/zouzhibin/vue-admin-perfect into vue-i18n 2022-11-12 22:36:04 +08:00
zouzhibing d6d8583ed0 feat:修复头像问题 2022-11-12 21:59:41 +08:00
zouzhibing 548d6fae3f Merge branch 'master' of https://github.com/zouzhibin/vue-admin-perfect into vue-i18n
 Conflicts:
	src/layout/Header/index.vue
	src/views/home/index.vue
2022-11-12 21:55:07 +08:00
zouzhibing aedf2b903b feat:优化代码结构 2022-11-10 14:19:35 +08:00
zouzhibing 69401cb7f8 Merge branch 'master' of https://github.com/zouzhibin/vue-admin-perfect into vue-i18n
 Conflicts:
	yarn.lock
2022-11-10 14:17:34 +08:00
zouzhibing c99d218b93 refactor:合并 2022-11-03 23:12:58 +08:00
zouzhibing cd3688d055 Merge branch 'master' of https://github.com/zouzhibin/vue-admin-perfect into vue-i18n
 Conflicts:
	src/layout/TagsView/components/MoreButton.vue
	src/views/home/index.vue
2022-11-03 23:11:44 +08:00
zouzhibing 2e1ba2b857 feat:增加中英文 2022-10-23 21:54:57 +08:00
zouzhibing a5bfac59b0 Merge branch 'master' of https://github.com/zouzhibin/vue-admin-perfect into vue-i18n
 Conflicts:
	src/layout/Header/index.vue
	src/layout/TagsView/index.vue
2022-10-23 21:50:22 +08:00
zouzhibing c0f5728373 Merge branch 'master' of https://github.com/zouzhibin/vue-admin-perfect into vue-i18n
 Conflicts:
	src/layout/Header/components/globalComSize.vue
	src/router/modules/charts.ts
	src/router/modules/error.ts
	src/router/modules/other.ts
	src/router/modules/table.ts
2022-09-28 22:09:03 +08:00
zouzhibing ea2d42eae2 Merge branch 'master' of https://github.com/zouzhibin/vue-admin-perfect into vue-i18n
 Conflicts:
	src/router/index.ts
2022-09-28 17:32:04 +08:00
zouzhibing af5849c9eb Merge branch 'master' of https://github.com/zouzhibin/vue-admin-perfect into vue-i18n 2022-09-18 12:33:17 +08:00
zouzhibing 15972ad88d Merge branch 'master' of https://github.com/zouzhibin/vue-admin-perfect into vue-i18n 2022-09-18 12:18:57 +08:00
zouzhibing 5976b851a2 feat: 优化 2022-09-15 14:02:29 +08:00
zouzhibing 5a804b3840 Merge branch 'master' of https://github.com/zouzhibin/vue-admin-perfect into vue-i18n 2022-09-15 14:01:08 +08:00
zouzhibing 304d9f2bfc Merge branch 'master' of https://github.com/zouzhibin/vue-admin-perfect into vue-i18n 2022-09-14 08:47:01 +08:00
zouzhibing 764f9583df fix:setting文件更改 2022-09-13 21:27:27 +08:00
zouzhibing 6fb99e7536 Merge branch 'master' of https://github.com/zouzhibin/vue-admin-perfect into vue-i18n
 Conflicts:
	src/store/modules/setting.ts
2022-09-13 21:21:07 +08:00
zouzhibing 958c3c9f05 Merge branch 'master' of https://github.com/zouzhibin/vue-admin-perfect into vue-i18n
 Conflicts:
	src/main.ts
	src/views/home/index.vue
2022-09-13 19:23:39 +08:00
zouzhibing d1ed7b3927 Merge branch 'master' of https://github.com/zouzhibin/vue-admin-perfect into vue-i18n
 Conflicts:
	src/layout/TagsView/index.vue
2022-09-13 00:26:12 +08:00
zouzhibin b63f67218a Merge branch 'master' of https://github.com/zouzhibin/vue-admin-perfect into vue-i18n 2022-09-02 21:31:15 +08:00
zouzhibin 9d55ad2dfb 合并分支 2022-09-02 00:23:24 +08:00
zouzhibing aa3ddeb0ed update:更新log,引入入场加载Loading,增加文档注释 2022-09-01 16:57:31 +08:00
zouzhibing b864ce1b0d Merge branch 'master' of https://github.com/zouzhibin/vue-admin-perfect into vue-i18n
 Conflicts:
	src/main.ts
2022-09-01 16:45:05 +08:00
zouzhibing b6d0f52585 Merge branch 'master' of https://github.com/zouzhibin/vue-admin-perfect into vue-i18n 2022-09-01 09:34:13 +08:00
zouzhibing d9829552a0 updata:更新 2022-08-31 11:36:02 +08:00
zouzhibing 376a6950a2 Merge branch 'master' of https://github.com/zouzhibin/vue-admin-perfect into vue-i18n
 Conflicts:
	src/main.ts
	src/store/modules/setting.ts
	src/views/home/index.vue
2022-08-31 11:32:57 +08:00
zouzhibin 08777777aa feature:增加部分中英文语言切换 2022-08-29 20:48:20 +08:00
zouzhibing f4964c4c0e feature:增加中英文切换 2022-08-29 17:53:01 +08:00
307 changed files with 6816 additions and 33 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.8 KiB

View File

@ -0,0 +1 @@
import{_,r as o,o as d,c as i,a as s,b as n,w as l,d as r,e as p,p as h,f as v}from"./index.1118af8e.js";const u="/vue-admin-perfect/assets/403.359d32ca.png",e="/vue-admin-perfect/assets/404_cloud.98e7ac66.png";const m={},c=t=>(h("data-v-662eb5d8"),t=t(),v(),t),b={class:"app-container"},f={class:"app-container-inner"},g={class:"wscn-http403-container"},x={class:"wscn-http403"},w=r('<div class="pic-403" data-v-662eb5d8><img class="pic-403__parent" src="'+u+'" alt="403" data-v-662eb5d8><img class="pic-403__child left" src="'+e+'" alt="403" data-v-662eb5d8><img class="pic-403__child mid" src="'+e+'" alt="403" data-v-662eb5d8><img class="pic-403__child right" src="'+e+'" alt="403" data-v-662eb5d8></div>',1),k={class:"bullshit"},I=c(()=>s("div",{class:"bullshit__oops"},"\u60A8\u6CA1\u6709\u8BBF\u95EE\u6743\u9650\uFF01",-1)),N=c(()=>s("div",{class:"bullshit__info"}," \u8BF7\u68C0\u67E5URL\u5730\u5740\u662F\u5426\u6B63\u786E, \u6216\u70B9\u51FB\u56DE\u5230\u9996\u9875\u3002 ",-1));function S(t,V){const a=o("router-link");return d(),i("div",b,[s("div",f,[s("div",g,[s("div",x,[w,s("div",k,[I,N,n(a,{to:"/",class:"bullshit__return-home"},{default:l(()=>[p("\u56DE\u5230\u9996\u9875")]),_:1})])])])])])}const y=_(m,[["render",S],["__scopeId","data-v-662eb5d8"]]);export{y as default};

Binary file not shown.

After

Width:  |  Height:  |  Size: 218 KiB

File diff suppressed because one or more lines are too long

Binary file not shown.

File diff suppressed because one or more lines are too long

Binary file not shown.

View File

@ -0,0 +1 @@
import{_,r as o,o as d,c as i,a as s,b as n,w as l,d as r,e as p,p as f,f as h}from"./index.1118af8e.js";const v="/vue-admin-perfect/assets/404_bg.79e0e553.png",a="/vue-admin-perfect/assets/404_cloud.98e7ac66.png";const u={},e=t=>(f("data-v-af0db10f"),t=t(),h(),t),m={class:"app-container"},b={class:"app-container-inner"},g={class:"wscn-http404-container"},x={class:"wscn-http404"},w=r('<div class="pic-404" data-v-af0db10f><img class="pic-404__parent" src="'+v+'" alt="404" data-v-af0db10f><img class="pic-404__child left" src="'+a+'" alt="404" data-v-af0db10f><img class="pic-404__child mid" src="'+a+'" alt="404" data-v-af0db10f><img class="pic-404__child right" src="'+a+'" alt="404" data-v-af0db10f></div>',1),k={class:"bullshit"},I=e(()=>s("div",{class:"bullshit__oops"},"\u9875\u9762\u4E0D\u5B58\u5728\uFF01",-1)),N=e(()=>s("div",{class:"bullshit__headline"},"\u60A8\u6CA1\u6709\u64CD\u4F5C\u89D2\u8272...",-1)),S=e(()=>s("div",{class:"bullshit__info"},"\u8BF7\u68C0\u67E5URL\u5730\u5740\u662F\u5426\u6B63\u786E, \u6216\u70B9\u51FB\u56DE\u5230\u9996\u9875\u3002",-1));function V(t,B){const c=o("router-link");return d(),i("div",m,[s("div",b,[s("div",g,[s("div",x,[w,s("div",k,[I,N,S,n(c,{to:"/",class:"bullshit__return-home"},{default:l(()=>[p("\u56DE\u5230\u9996\u9875")]),_:1})])])])])])}const C=_(u,[["render",V],["__scopeId","data-v-af0db10f"]]);export{C as default};

Binary file not shown.

After

Width:  |  Height:  |  Size: 227 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.9 KiB

View File

@ -0,0 +1 @@
import{i as s}from"./index.1d4dbcc5.js";import{g as o,x as r,o as c,c as d,y as l,z as h}from"./index.1118af8e.js";const m=["id"],g=o({__name:"bar",props:{className:{type:String,default:"chart"},config:{type:Object,default:()=>{}},id:{type:String,default:"chart"},width:{type:String,default:"200px"},height:{type:String,default:"200px"}},setup(t){const a=t,n={grid:{top:10,left:"2%",right:"2%",bottom:"2%",containLabel:!0},xAxis:{type:"category",data:["\u661F\u671F\u4E00","\u661F\u671F\u4E8C","\u661F\u671F\u4E09","\u661F\u671F\u56DB","\u661F\u671F\u4E94","\u661F\u671F\u516D","\u661F\u671F\u65E5"]},yAxis:{type:"value"},series:[{data:[150,230,150,80,70,110,130],type:"bar"}]};let e;const u=()=>{let i=s(document.getElementById(a.id));return i.setOption(n),i};return r(()=>{e=u(),window.addEventListener("resize",function(){e&&e.resize()})}),(i,p)=>(c(),d("div",{id:t.id,class:l(t.className),style:h({height:t.height,width:t.width})},null,14,m))}});export{g as _};

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 33 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.6 KiB

File diff suppressed because one or more lines are too long

Binary file not shown.

View File

@ -0,0 +1 @@
import{E as k}from"./exceljs.min.02b0256c.js";const h=(a,n=10)=>(a==null?n=10:a.toString().charCodeAt(0)>255?n=a.toString().length*2:n=a.toString().length,n),g=async({column:a,data:n,filename:s,autoWidth:u,format:c})=>{const e=new k.Workbook;e.creator="Me",e.title=s,e.created=new Date,e.modified=new Date;const i=e.addWorksheet(s),l=[];a.forEach((o,t)=>{const w={header:o.label,key:o.name,width:null};if(u){const d=[h(o.label)];n.forEach(f=>{const x=f[o.name]||"";x&&d.push(h(x))}),w.width=Math.max(...d)+5}l.push(w)}),i.columns=l,i.addRows(n);const b=c==="xlsx"?await e.xlsx.writeBuffer():await e.csv.writeBuffer(),r=new Blob([b],{type:"application/octet-binary"});if(window.navigator.msSaveOrOpenBlob)navigator.msSaveBlob(r,s+`.${c}`);else{const o=document.createElement("a");o.href=window.URL.createObjectURL(r),o.download=s+`.${c}`,o.click(),window.URL.revokeObjectURL(o.href)}};function E(a,n){const{color:s,fontSize:u,horizontal:c,bold:e}=n||{};a.fill={type:"pattern",pattern:"solid",fgColor:{argb:s}},a.font={bold:e!=null?e:!0,size:u!=null?u:11,color:{argb:"ff0000"}},a.alignment={vertical:"middle",wrapText:!0,horizontal:c!=null?c:"left"}}const R=async({column:a,data:n,filename:s,autoWidth:u,format:c})=>{const e=new k.Workbook;e.creator="Me",e.title=s,e.created=new Date,e.modified=new Date;const i=e.addWorksheet(s),l=[];a.forEach((t,w)=>{const d={header:t.label,key:t.name,width:null};if(u){const f=[h(t.label)];n.forEach(x=>{const p=x[t.name]||"";p&&f.push(h(p))}),d.width=Math.max(...f)+5}l.push(d)}),i.columns=l,i.addRows(n),i.getRow(1).eachCell(t=>E(t,{color:"dff8ff",fontSize:12,horizontal:"left"}));const r=c==="xlsx"?await e.xlsx.writeBuffer():await e.csv.writeBuffer(),o=new Blob([r],{type:"application/octet-binary"});if(window.navigator.msSaveOrOpenBlob)navigator.msSaveBlob(o,s+`.${c}`);else{const t=document.createElement("a");t.href=window.URL.createObjectURL(o),t.download=s+`.${c}`,t.click(),window.URL.revokeObjectURL(t.href)}},v=({column:a,data:n,filename:s,autoWidth:u})=>{const c=new k.Workbook,e=c.addWorksheet("sheet1");e.getRow(1).values=["\u5E8F\u53F7","\u65E5\u671F","\u5730\u5740","\u914D\u9001\u6D88\u606F",,,],e.getRow(2).values=["\u5E8F\u53F7","\u65E5\u671F","\u5730\u5740","\u7701\u4EFD","\u57CE\u5E02","\u90AE\u7F16"];const i=[];a.forEach((l,b)=>{if(l.children)l.children.forEach(r=>{const o={key:r.name,width:null},t=[h(r.label)];n.forEach(w=>{const d=w[r.name]||"";d&&t.push(h(d))}),o.width=Math.max(...t)+5,i.push(o)});else{const r={key:l.name,width:null},o=[h(l.label)];n.forEach(t=>{const w=t[l.name]||"";w&&o.push(h(w))}),r.width=Math.max(...o)+5,i.push(r)}}),e.columns=i,e.addRows(n),e.mergeCells("D1:F1"),e.mergeCells("A1:A2"),e.mergeCells("B1:B2"),e.mergeCells("C1:C2"),c.xlsx.writeBuffer().then(l=>{const b=new Blob([l,{type:"application/vnd.ms-excel"}]);if(window.navigator.msSaveOrOpenBlob)navigator.msSaveBlob(b,s+".xlsx");else{const r=document.createElement("a");r.href=window.URL.createObjectURL(b),r.download=s+".xlsx",r.click(),window.URL.revokeObjectURL(r.href)}})};export{v as a,R as b,g as e};

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@ -0,0 +1 @@
import{g as y,h as B,i as N,r as t,o as d,c as b,a as U,b as e,w as n,F as R,D as h,n as p,X as k,e as g,M as q,_ as E}from"./index.1118af8e.js";const O={class:"app-container"},P={class:"app-container-inner"},S=y({name:"appendForm"}),A=y({...S,setup(I){const m=B(),s=N({domains:[{key:1,value:"",name:""}]}),V=l=>{const o=s.domains.indexOf(l);o!==-1&&s.domains.splice(o,1)},C=()=>{s.domains.push({key:Date.now(),value:"",name:""})},w=l=>{!l||l.validate(o=>{if(o)q.success(`\u63D0\u4EA4\u6570\u636E: ${JSON.stringify(s.domains)}`),console.log("submit!",s.domains);else return console.log("error submit!"),!1})},x=l=>{!l||l.resetFields()};return(l,o)=>{const f=t("el-input"),_=t("el-form-item"),c=t("el-col"),D=t("Plus"),v=t("el-icon"),i=t("el-button"),F=t("Minus"),M=t("el-row"),$=t("el-form");return d(),b("div",O,[U("div",P,[e($,{ref_key:"formRef",ref:m,model:s,"label-width":"120px",class:"demo-dynamic"},{default:n(()=>[(d(!0),b(R,null,h(s.domains,(a,r)=>(d(),p(M,{gutter:20,key:a.key},{default:n(()=>[e(c,{span:10},{default:n(()=>[e(_,{label:"Domain"+r,prop:"domains."+r+".name",rules:{required:!0,message:"domain can not be null",trigger:"blur"}},{default:n(()=>[e(f,{modelValue:a.name,"onUpdate:modelValue":u=>a.name=u},null,8,["modelValue","onUpdate:modelValue"])]),_:2},1032,["label","prop"])]),_:2},1024),e(c,{span:10},{default:n(()=>[e(_,{label:"Domain"+r,prop:"domains."+r+".value",rules:{required:!0,message:"domain can not be null",trigger:"blur"}},{default:n(()=>[e(f,{modelValue:a.value,"onUpdate:modelValue":u=>a.value=u},null,8,["modelValue","onUpdate:modelValue"])]),_:2},1032,["label","prop"])]),_:2},1024),e(c,{span:4},{default:n(()=>[r===0?(d(),p(i,{key:0,onClick:o[0]||(o[0]=k(u=>C(),["prevent"]))},{default:n(()=>[e(v,null,{default:n(()=>[e(D)]),_:1})]),_:1})):(d(),p(i,{key:1,onClick:k(u=>V(a),["prevent"])},{default:n(()=>[e(v,null,{default:n(()=>[e(F)]),_:1})]),_:2},1032,["onClick"]))]),_:2},1024)]),_:2},1024))),128)),e(_,null,{default:n(()=>[e(i,{type:"primary",onClick:o[1]||(o[1]=a=>w(m.value))},{default:n(()=>[g("Submit")]),_:1}),e(i,{onClick:o[2]||(o[2]=a=>x(m.value))},{default:n(()=>[g("Reset")]),_:1})]),_:1})]),_:1},8,["model"])])])}}});const L=E(A,[["__scopeId","data-v-60208d80"]]);export{L as default};

File diff suppressed because one or more lines are too long

Binary file not shown.

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1 @@
import{b as g}from"./exprotExcel.36a3126a.js";import{g as w,h as u,r as a,o as r,c as _,a as s,b as t,w as c,e as y,F as A,D as C,_ as B}from"./index.1118af8e.js";import"./exceljs.min.02b0256c.js";const V={class:"app-container"},k={class:"header"},N={class:"footer"},z={class:"footer-inner"},I=w({__name:"index",setup(L){const n=[];for(let e=0;e<10;e++)n.push({date:"2016-05-02",name:"\u738B\u4E94"+e,price:1+e,province:"\u4E0A\u6D77",admin:"admin",sex:e%2?1:0,checked:!0,id:e+1,age:0,city:"\u666E\u9640\u533A",address:"\u4E0A\u6D77\u5E02\u666E\u4E0A\u6D77",zip:200333});const d=[{name:"id",label:"id"},{name:"name",label:"\u59D3\u540D"},{name:"age",label:"\u5E74\u9F84",align:"right"},{name:"price",label:"\u4EF7\u683C"},{name:"admin",label:"\u8D26\u53F7"},{name:"address",label:"\u5730\u5740",width:180},{name:"date",label:"\u65E5\u671F",width:140},{name:"province",label:"\u7701\u4EFD"},{name:"city",label:"\u57CE\u5E02"},{name:"zip",label:"\u90AE\u7F16"}],p=u(n),o=u(""),m=u("xlsx"),b=()=>{g({column:d,data:n,filename:o.value||"\u5BFC\u51FA excel",format:m.value,autoWidth:!0})};return(e,i)=>{const x=a("el-input"),E=a("Download"),h=a("el-icon"),F=a("el-button"),f=a("el-table-column"),v=a("el-table");return r(),_("div",V,[s("div",k,[t(x,{modelValue:o.value,"onUpdate:modelValue":i[0]||(i[0]=l=>o.value=l),placeholder:"\u9ED8\u8BA4\u6587\u4EF6\u540D\u5BFC\u51FA excel",style:{width:"200px","margin-right":"10px"}},null,8,["modelValue"]),t(F,{onClick:b,type:"primary"},{default:c(()=>[t(h,{style:{"margin-right":"6px"}},{default:c(()=>[t(E)]),_:1}),y("\u5BFC\u51FA\u6837\u5F0F Excel ")]),_:1})]),s("div",N,[s("div",z,[t(v,{data:p.value,class:"table",border:""},{default:c(()=>[(r(),_(A,null,C(d,(l,D)=>t(f,{key:D,prop:l.name,label:l.label,width:l.width},null,8,["prop","label","width"])),64))]),_:1},8,["data"])])])])}}});const W=B(I,[["__scopeId","data-v-7a49142d"]]);export{W as default};

View File

@ -0,0 +1 @@
import{g as A,u as j,h as p,i as k,r as l,o as d,c as B,b as o,w as n,j as y,a as t,e as Y,F as U,k as P,E as W,p as F,f as x,l as X,_ as h,m as M,t as R,n as I}from"./index.1118af8e.js";import{g as T}from"./index.5be08a55.js";import{v as Z}from"./vue-qr.c32fa0eb.js";const z="/vue-admin-perfect/assets/side-logo.74a8e9c4.png",H="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACgAAAAoCAYAAACM/rhtAAACVElEQVRYhc2YP2gTURzHPwanhNzWUnAqV4XSatFB6FBoQdBBEMVRpQh2EJx0E7lfkWKVRIWAg4OIdBSkm5YMLvXISRTB0GIb3CtYTLGQzSGX41WS5uXy7s93uTz45b0Pv8/j7t0dsUeGBHAYMKtrZcYnJgGouJ+4fvXKoFMCkAEEWDQyWwTJ+FchpZBHld8yNDzM1OkzWrrr21v8rNe1Fhm1beyx41q1375+4dfOTkdAAHnx6jVo7MlSsUDpaUFr0YuXLnPn7j2t2ts35yl/eB+MMx1qhBTp7gQIKYL8X7EaWXIesFH77gBkszlevlkxsujCjWvs7/8FYHxikvuLD0MBAojnugBOPm8ZgQOoeh57ew2t2m6K1QgJ6u7VwXYkb+XBwBMHwJ8LaG2dw6ILCK1OggHIj15Vu1ZHsRohZt39AkLMkP0oViMVdx00dVfcdSjqTVzf3jowDgsIfexJz3Xxb1d9J4xiNULEugcFhIghB1GsRkbtMfB1nzw1xepa2cjEpgBB2ZPZXC44/g8aE4rVCIZ1m+xgO9Jo/GGjVtO6BVmWdaDbPzY32d39HYyjAAQQ/62uJ+TZ6WlW3r4Lxs+fLPc8UZuKYEB3lIBgADIqxWpkZnaOmdm5QHfx0RLNZlPrz3EAAsj8rQXw92SpWNAGjFqxGiGE7jgBIQRkXIrViH91oHXSOXFspGtx3B1sR9DsZFKAoAmZhGI1cu78BTjkiZM0IPT4YJWkYjVCF91pAYQukGlQrEaePV6m+rkS6E4bICgfrCBditUIvu40drAdAfgHGouWAs/uvbcAAAAASUVORK5CYII=",K=e=>(F("data-v-0642e726"),e=e(),x(),e),D=K(()=>t("div",{class:"login-title"},[t("img",{class:"icon",src:X,alt:"logo"}),t("h2",{class:"title"},"Vue-Admin-Perfect")],-1)),O=A({__name:"LoginForm",setup(e){const a=P(),_=j(),i=p(),c=p("password"),m=p(!1),b=k({password:[{required:!0,message:"\u8BF7\u8F93\u5165\u7528\u6237\u540D",trigger:"blur"}],username:[{required:!0,message:"\u8BF7\u8F93\u5165\u5BC6\u7801",trigger:"blur"}]}),u=k({username:"admin",password:"123456"}),C=()=>{c.value=c.value==="password"?"":"password"},g=v=>{!v||v.validate(s=>{if(s)m.value=!0,setTimeout(async()=>{await _.login(u),await a.push({path:"/"}),W({title:T(),message:"\u6B22\u8FCE\u767B\u5F55 Vue Admin Perfect",type:"success",duration:3e3}),m.value=!0},1e3);else return console.log("error submit!"),!1})};return(v,s)=>{const S=l("UserFilled"),w=l("el-icon"),V=l("el-input"),f=l("el-form-item"),E=l("GoodsFilled"),G=l("svg-icon"),L=l("el-button"),Q=l("el-form");return d(),B(U,null,[D,o(Q,{ref_key:"ruleFormRef",ref:i,model:u,rules:b},{default:n(()=>[o(f,{label:"",prop:"username"},{default:n(()=>[o(V,{placeholder:"\u8BF7\u8F93\u5165\u7528\u6237\u540D",autoComplete:"on",style:{position:"relative"},modelValue:u.username,"onUpdate:modelValue":s[0]||(s[0]=r=>u.username=r),onKeyup:s[1]||(s[1]=y(r=>g(i.value),["enter","native"]))},{prefix:n(()=>[o(w,{class:"el-input__icon"},{default:n(()=>[o(S)]),_:1})]),_:1},8,["modelValue"])]),_:1}),o(f,{label:"",prop:"password"},{default:n(()=>[o(V,{placeholder:"\u8BF7\u8F93\u5165\u5BC6\u7801",autoComplete:"on",onKeyup:s[2]||(s[2]=y(r=>g(i.value),["enter","native"])),modelValue:u.password,"onUpdate:modelValue":s[3]||(s[3]=r=>u.password=r),type:c.value},{prefix:n(()=>[o(w,{class:"el-input__icon"},{default:n(()=>[o(E)]),_:1})]),suffix:n(()=>[t("div",{class:"show-pwd",onClick:C},[o(G,{"icon-class":c.value==="password"?"eye":"eye-open"},null,8,["icon-class"])])]),_:1},8,["modelValue","type"])]),_:1}),o(f,{style:{width:"100%"}},{default:n(()=>[o(L,{loading:m.value,class:"login-btn",type:"primary",onClick:s[4]||(s[4]=r=>g(i.value))},{default:n(()=>[Y("\u767B\u5F55")]),_:1},8,["loading"])]),_:1})]),_:1},8,["model","rules"])],64)}}});const $=h(O,[["__scopeId","data-v-0642e726"]]),q=e=>(F("data-v-b84a7639"),e=e(),x(),e),J={class:"login-qrcode"},N=q(()=>t("h2",{class:"title"},"Vue-Admin-Perfect",-1)),ee=A({__name:"LoginQrcode",setup(e){return(a,_)=>(d(),B("div",J,[N,o(Z,{text:"https://github.com/zouzhibin/vue-admin-perfect"})]))}});const oe=h(ee,[["__scopeId","data-v-b84a7639"]]),se=e=>(F("data-v-0809de44"),e=e(),x(),e),te={class:"login-container"},ne={class:"login-box"},ae=se(()=>t("div",{class:"login-left"},[t("img",{src:z})],-1)),le={class:"login-form"},ue={class:"info-qrcode"},re=A({__name:"index",setup(e){const a=p(!0),_=()=>{console.log("=======",a),a.value=!a.value};return(i,c)=>(d(),B("div",te,[t("div",ne,[o(M,{class:"login-dark"}),ae,t("div",le,[t("div",ue,R(a.value?"\u626B\u7801\u767B\u5F55":"\u8D26\u53F7\u767B\u5F55"),1),t("img",{src:H,class:"qrcode",onClick:_}),a.value?(d(),I($,{key:0})):(d(),I(oe,{key:1}))])])]))}});const _e=h(re,[["__scopeId","data-v-0809de44"]]);export{_e as default};

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

Binary file not shown.

View File

@ -0,0 +1 @@
import{C as c}from"./index.aca2ee62.js";import{g as v,h as E,i as I,r as i,o as B,c as g,a as s,b as a,s as u,e as n,w as o,p as D,f as y,_ as A}from"./index.1118af8e.js";const U=r=>(D("data-v-d0f116c6"),r=r(),y(),r),w={class:"app-container"},k={class:"app-container-inner"},N={style:{"margin-top":"40px","margin-bottom":"30px"}},S={class:"label"},R={class:"label"},T={class:"label"},h=U(()=>s("br",null,null,-1)),j={class:"label"},q={class:"label"},z={class:"label"},G={class:"label"},H=v({__name:"index",setup(r){const f=E();let l=I({startValInput:0,endValInput:9888,durationInput:2e3,decimals:1,prefix:"\u4EF7\u94B1\uFF1A",suffix:"\u5143",separator:","});const d=(b,e)=>{},C=()=>{f.value.start()},V=()=>{f.value.pauseResume()};return(b,e)=>{const m=i("el-input-number"),_=i("el-input"),F=i("el-button"),p=i("el-descriptions-item"),x=i("el-descriptions");return B(),g("div",w,[s("div",k,[a(c,{ref_key:"example",ref:f,class:"count-to","start-val":u(l).startValInput,"end-val":u(l).endValInput,duration:u(l).durationInput,decimals:u(l).decimals,prefix:u(l).prefix,suffix:u(l).suffix,autoplay:!0,separator:u(l).separator},null,8,["start-val","end-val","duration","decimals","prefix","suffix","separator"]),s("div",N,[s("label",S,[n("\u8D77\u59CB\u503C: "),a(m,{modelValue:u(l).startValInput,"onUpdate:modelValue":e[0]||(e[0]=t=>u(l).startValInput=t),onChange:e[1]||(e[1]=t=>d()),min:0,label:"\u63CF\u8FF0\u6587\u5B57"},null,8,["modelValue"])]),s("label",R,[n("\u6700\u7EC8\u503C: "),a(m,{modelValue:u(l).endValInput,"onUpdate:modelValue":e[2]||(e[2]=t=>u(l).endValInput=t),onChange:e[3]||(e[3]=t=>d()),min:1,label:"\u63CF\u8FF0\u6587\u5B57"},null,8,["modelValue"])]),s("label",T,[n("\u6301\u7EED\u65F6\u95F4: "),a(m,{modelValue:u(l).durationInput,"onUpdate:modelValue":e[4]||(e[4]=t=>u(l).durationInput=t),onChange:e[5]||(e[5]=t=>d()),min:1,label:"\u63CF\u8FF0\u6587\u5B57"},null,8,["modelValue"])]),h,s("label",j,[n("\u5C0F\u6570\u4F4D\u6570: "),a(m,{modelValue:u(l).decimals,"onUpdate:modelValue":e[6]||(e[6]=t=>u(l).decimals=t),onChange:e[7]||(e[7]=t=>d()),min:0,label:"\u63CF\u8FF0\u6587\u5B57"},null,8,["modelValue"])]),s("label",q,[n(" \u5206\u9694\u7B26:"),a(_,{modelValue:u(l).separator,"onUpdate:modelValue":e[8]||(e[8]=t=>u(l).separator=t),onChange:e[9]||(e[9]=t=>d()),style:{width:"100px","margin-left":"10px"}},null,8,["modelValue"])]),s("label",z,[n(" \u524D\u7F00:"),a(_,{modelValue:u(l).prefix,"onUpdate:modelValue":e[10]||(e[10]=t=>u(l).prefix=t),onChange:e[11]||(e[11]=t=>d()),style:{width:"100px","margin-left":"10px"}},null,8,["modelValue"])]),s("label",G,[n("\u540E\u7F00: "),a(_,{modelValue:u(l).suffix,"onUpdate:modelValue":e[12]||(e[12]=t=>u(l).suffix=t),onChange:e[13]||(e[13]=t=>d()),style:{width:"100px","margin-left":"10px"}},null,8,["modelValue"])]),a(F,{type:"primary",onClick:C},{default:o(()=>[n("\u5F00\u59CB")]),_:1}),a(F,{type:"danger",onClick:V},{default:o(()=>[n("\u6682\u505C/\u6062\u590D")]),_:1})]),a(x,{title:"\u914D\u7F6E\u9879 ",column:1,border:"",class:"descriptions"},{default:o(()=>[a(p,{label:"startValInput"},{default:o(()=>[n(" \u8D77\u59CB\u503C\uFF0C\u9ED8\u8BA4\u4E3A0 ")]),_:1}),a(p,{label:"endValInput"},{default:o(()=>[n(" \u6700\u7EC8\u503C\uFF0C\u9ED8\u8BA4\u4E3A2017 ")]),_:1}),a(p,{label:"durationInput"},{default:o(()=>[n(" \u6301\u7EED\u65F6\u95F4\uFF0C\u9ED8\u8BA4\u4E3A3000 ")]),_:1}),a(p,{label:"decimals"},{default:o(()=>[n(" \u5C0F\u6570\u4F4D\u6570 ")]),_:1}),a(p,{label:"separator"},{default:o(()=>[n(" \u5206\u9694\u7B26\uFF0C\u9ED8\u8BA4\u4E3A ',' ")]),_:1}),a(p,{label:"prefix"},{default:o(()=>[n(" \u524D\u7F00 ")]),_:1}),a(p,{label:"suffix"},{default:o(()=>[n(" \u540E\u7F00 ")]),_:1})]),_:1})])])}}});const L=A(H,[["__scopeId","data-v-d0f116c6"]]);export{L as default};

View File

@ -0,0 +1 @@
import{g as F,h as y,i as W,r as o,o as r,c as k,b as l,w as e,y as M,F as U,D as Y,G as O,n as B,q as j,H as q,a as h,e as f,t as z,_ as E,s as x,M as G,p as J,f as L}from"./index.1118af8e.js";const T={class:"advancedForm"},K={class:"search-btn"},P=F({__name:"index",props:{labelWidth:{default:"100px"},gutterWidth:{type:Number,default:24},showRow:{type:Number,default:1},columns:{type:Array,default:()=>[]},byHeight:{type:Boolean,default:!1}},emits:["submit","reset"],setup(a,{emit:i}){const v=a,m=y(),u=y(!1),n=W({});for(let s of v.columns)n[s.name]=null;const d=()=>{i("submit",n)},p=s=>{if(console.log("formEl",s),!s)return;s.resetFields(),Object.keys(n).forEach(_=>{n[_]=null}),i("reset",n)};return(s,c)=>{const _=o("el-input"),g=o("el-form-item"),A=o("el-date-picker"),S=o("el-col"),D=o("el-row"),N=o("el-form"),b=o("el-button"),R=o("arrow-down"),$=o("arrow-up"),H=o("el-icon");return r(),k("div",T,[l(N,{ref_key:"ruleFormRef",ref:m,inline:!0,"label-position":"right",model:n,class:"form-inline"},{default:e(()=>[l(D,{class:M({"not-show":a.byHeight&&!u.value}),gutter:a.gutterWidth},{default:e(()=>[(r(!0),k(U,null,Y(a.columns,(t,I)=>O((r(),B(S,{span:t.span,key:t.name},{default:e(()=>[t.type==="input"?(r(),B(g,{key:0,label:t.title,"label-width":a.labelWidth},{default:e(()=>[l(_,{clearable:"",modelValue:n[t.name],"onUpdate:modelValue":w=>n[t.name]=w,placeholder:t.placeholder},null,8,["modelValue","onUpdate:modelValue","placeholder"])]),_:2},1032,["label","label-width"])):t.type==="date"?(r(),B(g,{key:1,label:t.title,"label-width":a.labelWidth},{default:e(()=>[l(A,{"value-format":"YYYY-MM-DD",modelValue:n[t.name],"onUpdate:modelValue":w=>n[t.name]=w,type:"date",placeholder:t.placeholder},null,8,["modelValue","onUpdate:modelValue","placeholder"])]),_:2},1032,["label","label-width"])):j("",!0)]),_:2},1032,["span"])),[[q,a.byHeight?!0:I<a.showRow*3||u.value]])),128))]),_:1},8,["class","gutter"])]),_:1},8,["model"]),h("div",K,[l(b,{type:"primary",onClick:d},{default:e(()=>[f("\u67E5\u8BE2")]),_:1}),l(b,{onClick:c[0]||(c[0]=t=>p(m.value))},{default:e(()=>[f("\u91CD\u7F6E")]),_:1}),l(b,{link:"",type:"primary",onClick:c[1]||(c[1]=t=>u.value=!u.value)},{default:e(()=>[f(z(u.value?"\u5408\u5E76":"\u5C55\u5F00"),1),l(H,null,{default:e(()=>[u.value?(r(),B($,{key:1})):(r(),B(R,{key:0}))]),_:1})]),_:1})])])}}});const C=E(P,[["__scopeId","data-v-b96f41c8"]]),V=a=>(J("data-v-ef4c0f99"),a=a(),L(),a),Q={class:"advancedForm"},X={class:"card-header"},Z=V(()=>h("span",{style:{"margin-right":"100px"}},"\u6536\u7F29\u8868\u5355 \u901A\u8FC7v-show\u6765\u63A7\u5236\u663E\u9690\u85CF",-1)),ee=V(()=>h("div",{class:"card-header"},[h("span",null,"\u6536\u7F29\u8868\u5355 \u901A\u8FC7\u9AD8\u5EA6\u6765\u63A7\u5236\u663E\u9690\u85CF")],-1)),te=F({__name:"index",setup(a){let i=[{type:"input",name:"name1",title:"\u5B57\u6BB51",placeholder:"\u5B57\u6BB51",span:8},{type:"date",name:"name2",title:"\u5B57\u6BB52",placeholder:"\u5B57\u6BB52",span:8},{type:"input",name:"name3",title:"\u5B57\u6BB53",placeholder:"\u5B57\u6BB53",span:8},{type:"input",name:"name4",title:"\u5B57\u6BB54",placeholder:"\u5B57\u6BB54",span:8},{type:"input",name:"name5",title:"\u5B57\u6BB55",placeholder:"\u5B57\u6BB55",span:8},{type:"input",name:"name6",title:"\u5B57\u6BB56",placeholder:"\u5B57\u6BB56",span:8},{type:"input",name:"name7",title:"\u5B57\u6BB57",placeholder:"\u5B57\u6BB57",span:8},{type:"input",name:"name8",title:"\u5B57\u6BB58",placeholder:"\u5B57\u6BB58",span:8},{type:"input",name:"name9",title:"\u5B57\u6BB59",placeholder:"\u5B57\u6BB59",span:8}];const v=y({}),m=y(1),u=d=>{v.value=d,G.success(JSON.stringify(d))},n=d=>{m.value=d};return(d,p)=>{const s=o("el-button"),c=o("el-card");return r(),k("div",Q,[l(c,{class:"box-card"},{header:e(()=>[h("div",X,[Z,l(s,{onClick:p[0]||(p[0]=_=>n(2)),type:"primary",link:""},{default:e(()=>[f("\u663E\u793A\u4E24\u884C")]),_:1}),l(s,{onClick:p[1]||(p[1]=_=>n(1)),type:"primary",link:""},{default:e(()=>[f("\u663E\u793A\u4E00\u884C")]),_:1})])]),default:e(()=>[l(C,{columns:x(i),onSubmit:u,showRow:m.value},null,8,["columns","showRow"])]),_:1}),l(c,{class:"box-card",style:{"margin-top":"20px"}},{header:e(()=>[ee]),default:e(()=>[l(C,{columns:x(i),onSubmit:u,byHeight:!0},null,8,["columns"])]),_:1})])}}});const ae=E(te,[["__scopeId","data-v-ef4c0f99"]]);export{ae as default};

View File

@ -0,0 +1,10 @@
import{a as v}from"./index.5be08a55.js";import{g as D,h as b,x as h,K as y,r as f,o as w,c as k,b as t,w as u,e as l}from"./index.1118af8e.js";function C(_){const{container:d=document.body,width:c="240",height:n="100",textAlign:E="left",textBaseline:F="bottom",font:s="16px Microsoft Yahei",fillStyle:o="#000",content:e="Vue Admin Perfect",globalAlpha:r=.3,rotate:p=16,zIndex:a=1e3,isCancel:B=!0}=_,i=document.createElement("canvas");i.setAttribute("width",c),i.setAttribute("height",n);const m=i.getContext("2d");m.globalAlpha=r,m.textAlign=E,m.textBaseline=F,m.font=s,m.fillStyle=o,m.rotate(Math.PI*p/180),m.fillText(e,50,50);const x=i.toDataURL(),A=document.querySelector(".__wm")||document.createElement("div"),g=`
position:absolute;
top:0px;
left:0px;
width:100%;
height:100%;
z-index:${a};
pointer-events:none;
background-repeat:repeat;
background-image:url('${x}')`;A.setAttribute("style",g),A.classList.add("__wm"),d.style.position="relative",d.appendChild(A)}const S={class:"m-water-marker"},N=D({__name:"index",setup(_){const d=b(.2);let c=b(-1);const n={rotate:-10,globalAlpha:d.value};function E(o,e){const r=e-o,p=Math.random();return(o+r*p).toFixed(0)}const F=["red"];for(let o=0;o<30;o++)F.push(v());const s=o=>{switch(o){case-1:c.value=o,n.container=document.getElementsByClassName("m-water-marker")[0],C(n);return;case 0:c.value=o,delete n.container,C(n);return;case 1:n.fillStyle="#000",C(n);return;case 2:n.fillStyle=F[E(0,30)],C(n);return;case 3:n.globalAlpha=d.value,C(n);return;case 4:y(()=>{const e=document.getElementsByClassName("__wm")[0];e&&(c.value===-1?e.remove():document.body.removeChild(e))})}};return h(()=>{y(()=>{s(-1)})}),(o,e)=>{const r=f("el-button"),p=f("el-input"),a=f("el-descriptions-item"),B=f("el-descriptions");return w(),k("div",S,[t(r,{onClick:e[0]||(e[0]=i=>s(-1)),type:"primary"},{default:u(()=>[l("\u9ED8\u8BA4\u5C40\u90E8\u6C34\u5370")]),_:1}),t(r,{onClick:e[1]||(e[1]=i=>s(0)),type:"primary"},{default:u(()=>[l("\u751F\u6210\u5168\u5C40\u6C34\u5370")]),_:1}),t(r,{onClick:e[2]||(e[2]=i=>s(1)),type:"primary"},{default:u(()=>[l("\u751F\u6210\u9ED8\u8BA4\u989C\u8272\u6C34\u5370")]),_:1}),t(r,{onClick:e[3]||(e[3]=i=>s(2)),type:"primary"},{default:u(()=>[l("\u751F\u6210\u968F\u673A\u989C\u8272\u6C34\u5370")]),_:1}),t(p,{modelValue:d.value,"onUpdate:modelValue":e[4]||(e[4]=i=>d.value=i),style:{width:"100px","margin-left":"20px"}},null,8,["modelValue"]),t(r,{onClick:e[5]||(e[5]=i=>s(3)),type:"primary"},{default:u(()=>[l("\u8BBE\u7F6E\u900F\u660E\u5EA6")]),_:1}),t(r,{onClick:e[6]||(e[6]=i=>s(4)),type:"primary"},{default:u(()=>[l("\u53D6\u6D88\u6C34\u5370")]),_:1}),t(B,{title:"\u914D\u7F6E\u9879 ",column:1,border:"",class:"descriptions"},{default:u(()=>[t(a,{label:"content"},{default:u(()=>[l(" \u6C34\u5370\u5185\u5BB9\uFF0C\u9ED8\u8BA4\u4E3A 'Vue Admin Perfect' ")]),_:1}),t(a,{label:"container"},{default:u(()=>[l(" \u6C34\u5370\u5BB9\u5668\uFF0C\u9ED8\u8BA4\u751F\u6210\u5728 document.body \u4E0B\u9762 ")]),_:1}),t(a,{label:"globalAlpha"},{default:u(()=>[l(" \u8BBE\u7F6E\u56FE\u5F62\u548C\u56FE\u50CF\u900F\u660E\u5EA6\u7684\u503C\uFF0C\u9ED8\u8BA4\u4E3A 0.3 ")]),_:1}),t(a,{label:"height"},{default:u(()=>[l(" \u6C34\u5370\u9AD8\u5EA6\uFF0C\u9ED8\u8BA4\u4E3A 240 ")]),_:1}),t(a,{label:"width"},{default:u(()=>[l(" \u6C34\u5370\u5BBD\u5EA6\uFF0C\u9ED8\u8BA4\u4E3A 100 ")]),_:1}),t(a,{label:"fillStyle"},{default:u(()=>[l(" \u6C34\u5370\u989C\u8272\uFF0C\u9ED8\u8BA4\u4E3A '#000' ")]),_:1}),t(a,{label:"textAlign"},{default:u(()=>[l(" \u6587\u5B57\u5BF9\u9F50\uFF0C\u9ED8\u8BA4\u4E3A 'left' ")]),_:1}),t(a,{label:"textBaseline"},{default:u(()=>[l(" \u57FA\u51C6\u7EBF\uFF0C\u9ED8\u8BA4\u4E3A 'bottom' ")]),_:1}),t(a,{label:"rotate"},{default:u(()=>[l(" \u6587\u5B57\u65CB\u8F6C\u89D2\u5EA6\uFF0C\u9ED8\u8BA4\u4E3A '16' \u8BA1\u7B97\u65B9\u5F0F\u4E3A (Math.PI * rotate) / 180 ")]),_:1}),t(a,{label:"iconStyle"},{default:u(()=>[l(' \u56FE\u6807\u7684\u6837\u5F0F\uFF0C\u9ED8\u8BA4\u6837\u5F0F\u4E3A { width: "1em", height: " 1em" } ')]),_:1})]),_:1})])}}});export{N as default};

View File

@ -0,0 +1 @@
import{_ as o}from"./index.vue_vue_type_script_setup_true_lang.b4344421.js";import{g as s,r as _,o as a,c,b as e,w as n,e as r,_ as u}from"./index.1118af8e.js";import"./index.1d4dbcc5.js";const i={class:"echarts-map"},d=s({__name:"index",setup(p){return(m,l)=>{const t=_("el-card");return a(),c("div",i,[e(t,{class:"info"},{default:n(()=>[r("Echarts \u5B9E\u73B0\u98DE\u7EBF\u56FE\u3001\u5730\u56FE\u589E\u52A0\u56FE\u6807\u3001\u9AD8\u4EAE")]),_:1}),e(o,{height:"100%",width:"100%",id:"migration"})])}}});const h=u(d,[["__scopeId","data-v-51004948"]]);export{h as default};

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

Binary file not shown.

File diff suppressed because one or more lines are too long

Binary file not shown.

File diff suppressed because one or more lines are too long

Binary file not shown.

File diff suppressed because one or more lines are too long

Binary file not shown.

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

Binary file not shown.

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

Binary file not shown.

View File

@ -0,0 +1 @@
import{g as v,h as C,bU as i,r as F,o as h,c as x,a as e,b as _,w as l,e as d,t as r,s,p as y,f as g,_ as B}from"./index.1118af8e.js";const p=t=>(y("data-v-286516fe"),t=t(),g(),t),k={class:"app-container"},w={class:"app-container-inner"},S={class:"header"},b=p(()=>e("div",{class:"title"},"window\u5207\u6362\u5168\u5C4F",-1)),A=p(()=>e("div",{class:"title"},"DOM\u5143\u7D20\u5207\u6362\u5168\u5C4F",-1)),I={class:"inner"},D=v({__name:"index",setup(t){const o=C(null),{enter:N,toggle:f,exit:V,isFullscreen:n}=i(),{toggle:c}=i(o);return(R,a)=>{const u=F("el-button");return h(),x("div",k,[e("div",w,[e("div",S,[b,_(u,{type:"primary",onClick:s(f)},{default:l(()=>[d(r(s(n)?"\u9000\u51FA\u5168\u5C4F":"\u70B9\u51FB\u5168\u5C4F"),1)]),_:1},8,["onClick"])]),e("div",{class:"fullscreen",onClick:a[0]||(a[0]=(...m)=>s(c)&&s(c)(...m)),ref_key:"domRef",ref:o},[A,e("div",I,[_(u,{type:"primary"},{default:l(()=>[d(r(s(n)?"\u9000\u51FA\u5168\u5C4F":"\u70B9\u51FB\u5168\u5C4F"),1)]),_:1})])],512)])])}}});const M=B(D,[["__scopeId","data-v-286516fe"]]);export{M as default};

View File

@ -0,0 +1 @@
import{e as h}from"./exprotExcel.36a3126a.js";import{g as f,h as s,r as e,o as E,c as m,a as n,b as u,w as l,e as y,F as w,D as B,p as z,f as V,_ as k}from"./index.1118af8e.js";import"./exceljs.min.02b0256c.js";const I=[{date:"2016-05-02",name:"\u738B\u4E94",price:20,province:"\u4E0A\u6D77",admin:"admin",sex:1,id:1,age:18,city:"\u666E\u9640\u533A",address:"\u4E0A\u6D77\u5E02\u666E\u9640\u533A\u91D1\u6C99\u6C5F\u8DEF 1518 \u5F04",zip:200333},{date:"2018-06-11",name:"\u68A6\u742A",price:20,province:"\u4E0A\u6D77",admin:"admin",sex:1,id:2,age:22,city:"\u666E\u9640\u533A",address:"\u4E0A\u6D77\u5E02\u666E\u9640\u533A\u91D1\u6C99\u6C5F\u8DEF 1519 \u5F04",zip:200333},{date:"2022-05-23",name:"\u5FC6\u67F3",price:22,province:"\u4E0A\u6D77",admin:"admin",sex:0,id:3,age:23,city:"\u666E\u9640\u533A",address:"\u4E0A\u6D77\u5E02\u666E\u9640\u533A\u91D1\u6C99\u6C5F\u8DEF 1520 \u5F04",zip:200333},{date:"2022-01-24",name:"\u4E4B\u6843",price:33,province:"\u4E0A\u6D77",admin:"admin",sex:1,id:4,age:24,city:"\u666E\u9640\u533A",address:"\u4E0A\u6D77\u5E02\u666E\u9640\u533A\u91D1\u6C99\u6C5F\u8DEF 2222 \u5F04",zip:200333},{date:"2022-07-22",name:"\u6155\u9752",price:45,province:"\u4E0A\u6D77",admin:"admin",sex:0,id:5,age:25,city:"\u666E\u9640\u533A",address:"\u4E0A\u6D77\u5E02\u666E\u9640\u533A\u91D1\u6C99\u6C5F\u8DEF 2223 \u5F04",zip:200333},{date:"2016-05-02",name:"\u95EE\u5170",price:47,province:"\u4E0A\u6D77",admin:"admin",sex:1,id:6,age:26,city:"\u666E\u9640\u533A",address:"\u4E0A\u6D77\u5E02\u666E\u9640\u533A\u91D1\u6C99\u6C5F\u8DEF 2224 \u5F04",zip:200333},{date:"2016-08-02",name:"\u5143\u9999",price:45,province:"\u4E0A\u6D77",admin:"admin",sex:0,id:7,age:27,city:"\u666E\u9640\u533A",address:"\u4E0A\u6D77\u5E02\u666E\u9640\u533A\u91D1\u6C99\u6C5F\u8DEF 2225 \u5F04",zip:200333},{date:"2019-11-11",name:"\u521D\u590F",price:23,province:"\u4E0A\u6D77",admin:"admin",sex:1,id:8,age:28,city:"\u666E\u9640\u533A",address:"\u4E0A\u6D77\u5E02\u666E\u9640\u533A\u91D1\u6C99\u6C5F\u8DEF 2226 \u5F04",zip:200333},{date:"2018-08-02",name:"\u6C9B\u83E1",price:33,province:"\u4E0A\u6D77",admin:"other",sex:0,id:9,age:29,city:"\u666E\u9640\u533A",address:"\u4E0A\u6D77\u5E02\u666E\u9640\u533A\u91D1\u6C99\u6C5F\u8DEF 2227 \u5F04",zip:200339},{date:"2022-11-03",name:"\u50B2\u73CA",price:222,province:"\u6D59\u6C5F",admin:"admin",sex:1,id:10,age:30,city:"\u676D\u5DDE",address:"\u676D\u5DDE\u5E02\u6EE8\u6C5F\u533A\u5EFA\u4E1A\u8DEF228\u53F7",zip:200433}],N=t=>(z("data-v-6812afa4"),t=t(),V(),t),S={class:"app-container"},L={class:"header"},U=N(()=>n("label",{style:{"margin-right":"10px"}},"\u5BFC\u51FA\u683C\u5F0F",-1)),T={class:"footer"},W={class:"footer-inner"},j=f({__name:"index",setup(t){const c=[{name:"id",label:"id"},{name:"name",label:"\u59D3\u540D"},{name:"age",label:"\u5E74\u9F84",align:"right"},{name:"price",label:"\u4EF7\u683C"},{name:"admin",label:"\u8D26\u53F7"},{name:"address",label:"\u5730\u5740",width:250},{name:"date",label:"\u65E5\u671F",width:140},{name:"province",label:"\u7701\u4EFD"},{name:"city",label:"\u57CE\u5E02"},{name:"zip",label:"\u90AE\u7F16"}],p=s(I),o=s(""),d=s("xlsx"),F=()=>{h({column:c,data:p.value,filename:o.value||"\u5BFC\u51FA excel",format:d.value,autoWidth:!0})};return(q,i)=>{const _=e("el-input"),r=e("el-option"),D=e("el-select"),A=e("Download"),x=e("el-icon"),C=e("el-button"),v=e("el-table-column"),b=e("el-table");return E(),m("div",S,[n("div",L,[u(_,{modelValue:o.value,"onUpdate:modelValue":i[0]||(i[0]=a=>o.value=a),placeholder:"\u8BF7\u8F93\u5165\u6587\u4EF6\u540D",style:{width:"200px","margin-right":"10px"}},null,8,["modelValue"]),n("div",null,[U,u(D,{modelValue:d.value,"onUpdate:modelValue":i[1]||(i[1]=a=>d.value=a),class:"m-2",placeholder:"\u5BFC\u51FA\u683C\u5F0F",style:{width:"200px","margin-right":"10px"}},{default:l(()=>[u(r,{label:"xlsx",value:"xlsx"}),u(r,{label:"csv",value:"csv"})]),_:1},8,["modelValue"])]),u(C,{onClick:F,type:"primary"},{default:l(()=>[u(x,{style:{"margin-right":"6px"}},{default:l(()=>[u(A)]),_:1}),y("\u5BFC\u51FA Excel ")]),_:1})]),n("div",T,[n("div",W,[u(b,{data:p.value,border:"",class:"table"},{default:l(()=>[(E(),m(w,null,B(c,(a,g)=>u(v,{key:g,prop:a.name,label:a.label,width:a.width},null,8,["prop","label","width"])),64))]),_:1},8,["data"])])])])}}});const K=k(j,[["__scopeId","data-v-6812afa4"]]);export{K as default};

File diff suppressed because one or more lines are too long

Binary file not shown.

View File

@ -0,0 +1 @@
import{E as L}from"./exceljs.min.02b0256c.js";import{g as C,h as y,r as a,o as p,n as g,w as l,b as s,s as N,T as P,a as i,c as V,F as W,D as j,e as M,M as T}from"./index.1118af8e.js";const H=i("div",{class:"el-upload__text"},[M(" \u62D6\u62FD\u4E0A\u4F20 "),i("em",null,"\u6216\u8005\u70B9\u51FB\u4E0A\u4F20 Excel")],-1),U=C({__name:"index",setup(J){const f=y([]),h=y([]),k=(m,B)=>new Promise((x,b)=>{const o=new FileReader;o.onload=async r=>{const n=r.target.result,e=new L.Workbook;try{let c=await e.xlsx.load(n);const F=c._worksheets&&c._worksheets.filter(d=>typeof d<"u"),E=[];let u=[];F.forEach(d=>{d._rows.forEach((v,A)=>{if(A===0)v.values.forEach(t=>{u.push(t)});else{let t={},w=[];v.values.forEach(_=>{w.push(_)}),u.forEach((_,D)=>{t[_]=w[D]}),E.push(t)}})}),f.value=E,h.value=u}catch{T.error("\u89E3\u6790\u5931\u8D25")}},o.readAsArrayBuffer(m)});return(m,B)=>{const x=a("el-icon"),b=a("el-upload"),o=a("el-table-column"),r=a("el-table"),n=a("PageWrapLayout");return p(),g(n,{class:"m-upload-excel"},{default:l(()=>[s(b,{style:{width:"100%"},class:"upload-demo",drag:"",action:"/","before-upload":k,type:"file",accept:".xlsx, .xls"},{default:l(()=>[s(x,{class:"el-icon--upload"},{default:l(()=>[s(N(P))]),_:1}),H]),_:1}),i("div",null,[s(r,{data:f.value,border:"","highlight-current-row":"",style:{width:"100%","margin-top":"20px"}},{default:l(()=>[(p(!0),V(W,null,j(h.value,e=>(p(),g(o,{prop:e,label:e,key:e},null,8,["prop","label"]))),128))]),_:1},8,["data"])])]),_:1})}}});export{U as default};

View File

@ -0,0 +1 @@
import{u as s}from"./useResizeElement.d96a18bd.js";import{i as r}from"./index.1d4dbcc5.js";import{g as l,h as n,x as i,o as u,c,a as d,_ as p}from"./index.1118af8e.js";const m={class:"app-container"},f=l({__name:"index",setup(_){const a=n();let o={color:["#03acd1","#04cab7","#03c781","#fce348","#fc2d8a","#0292fe"],title:{text:"\u7F51\u7EDC/\u5B89\u5168\u8BBE\u5907",textStyle:{fontSize:16},padding:0,top:35,left:"center"},tooltip:{show:!0,formatter:"{b}:{d}%"},legend:{orient:"vertical",icon:"circle",padding:0,bottom:"center",right:120,itemWidth:14,itemHeight:14,itemGap:21,textStyle:{fontSize:14}},series:[{name:"\u7F51\u7EDC\u5B89\u5168\u8BBE\u5907",type:"pie",center:["50%","50%"],top:"2%",left:"0%",radius:["0%","70%"],avoidLabelOverlap:!1,clockwise:!1,startAngle:160,roseType:"area",label:{show:!0,position:"outside",formatter:"{b}:{c}"},labelLine:{show:!0,length:30,length2:10,smooth:!0},itemStyle:{borderColor:"rgba(0,0,0,.1)",borderWidth:0},data:[{value:1048,name:"IDS"},{value:735,name:"VPN"},{value:580,name:"\u4EA4\u6362\u673A"},{value:484,name:"\u9632\u706B\u5899"},{value:300,name:" WAF"},{value:600,name:" \u5821\u5792\u673A"}].sort((e,t)=>t.value-e.value),emphasis:{scale:!0,scaleSize:10,itemStyle:{shadowBlur:10,shadowOffsetX:0,shadowColor:"rgba(0, 0, 0, 0.5)"}}}]};return i(()=>{let e=r(a.value);e.setOption(o);let{addObserver:t}=s(e,a.value);t()}),(e,t)=>(u(),c("div",m,[d("div",{ref_key:"chartsRef",ref:a,class:"app-echarts"},null,512)]))}});const S=p(f,[["__scopeId","data-v-4eb0e263"]]);export{S as default};

View File

@ -0,0 +1 @@
.card-header{display:flex;justify-content:space-between;align-items:center}.text{font-size:14px}.item{margin-bottom:18px}.box-card{margin-bottom:10px;width:100%}

View File

@ -0,0 +1 @@
import{_ as n,r as e,o as s,c as r,b as t}from"./index.1118af8e.js";const _={},a={style:{padding:"30px"}};function l(i,p){const o=e("el-alert"),c=e("router-view");return s(),r("div",a,[t(o,{title:"menu 1-1",type:"success",closable:!1}),t(c)])}const m=n(_,[["render",l]]);export{m as default};

File diff suppressed because one or more lines are too long

Binary file not shown.

View File

@ -0,0 +1 @@
import{_ as t,r as n,o,c,b as s}from"./index.1118af8e.js";const a={},r={style:{padding:"30px"}};function l(_,d){const e=n("el-alert");return o(),c("div",r,[s(e,{title:"menu 1-2-1",type:"warning",closable:!1})])}const p=t(a,[["render",l]]);export{p as default};

File diff suppressed because one or more lines are too long

Binary file not shown.

View File

@ -0,0 +1 @@
import{g as v,h as _,i as E,bM as n,r as B,o as V,c as C,a,b as e,w as t,e as g,s as A,bN as y,p as w,f as x,bO as D,bP as k,bQ as U,bR as q,bS as I,bT as T,_ as M}from"./index.1118af8e.js";const i=s=>(w("data-v-9e34b3bc"),s=s(),x(),s),N={class:"app-container"},S={class:"app-container-inner"},H=["innerHTML"],R=i(()=>a("div",null,"\u9A8C\u8BC1\u8EAB\u4EFD\u8BC1\u662F\u5426\u6B63\u786E",-1)),L=i(()=>a("div",null,"\u9A8C\u8BC1url\u662F\u5426\u6B63\u786E\u3002",-1)),P=i(()=>a("div",null,"\u662F\u5426\u662Fhtml\u6807\u7B7E",-1)),K=i(()=>a("div",null,"\u662F\u5426\u662F\u6B63\u786E\u7684\u65E5\u671F",-1)),O=i(()=>a("div",null,"\u662F\u5426\u662F\u6B63\u786E\u7684\u90AE\u7BB1",-1)),Q=v({__name:"index",setup(s){const c=_();let m="\u53EA\u8981\u81EA\u5DF1\u4E0D\u653E\u5F03\uFF0C\u6CA1\u6709\u4EFB\u4F55\u4EBA\u53EF\u4EE5\u6253\u5012\u4F60",p=_(m);const u=E({phone:"",keyword:"",percent:"",idCard:null,website:null,html:null,date:null,email:null}),f=E({phone:[{required:!0,validator:n(D,"\u8BF7\u8F93\u5165\u6B63\u786E\u7684\u624B\u673A\u53F7"),trigger:["blur","change"]}],idCard:[{required:!0,validator:n(k,"\u8BF7\u8F93\u5165\u6B63\u786E\u7684\u8EAB\u4EFD\u8BC1"),trigger:["blur","change"]}],website:[{required:!0,validator:n(U,"\u8BF7\u8F93\u5165\u6B63\u786E\u7684\u7F51\u5740"),trigger:["blur","change"]}],html:[{required:!0,validator:n(q,"\u8BF7\u8F93\u5165\u6B63\u786E\u7684html\u6807\u7B7E"),trigger:["blur","change"]}],date:[{required:!0,validator:n(I,"\u8BF7\u8F93\u5165\u6B63\u786E\u7684\u65E5\u671F"),trigger:["blur","change"]}],email:[{required:!0,validator:n(T,"\u8BF7\u8F93\u5165\u6B63\u786E\u7684\u90AE\u7BB1"),trigger:["blur","change"]}]}),b=F=>{F?p.value=y(F,m):p.value=m};return(F,l)=>{const r=B("el-input"),d=B("el-form-item"),h=B("el-form");return V(),C("div",N,[a("div",S,[e(h,{ref_key:"ruleFormRef",ref:c,model:u,rules:f,"label-width":"120px","status-icon":"","label-position":"top"},{default:t(()=>[e(d,{label:"\u624B\u673A\u53F7\u7801",prop:"phone"},{default:t(()=>[e(r,{modelValue:u.phone,"onUpdate:modelValue":l[0]||(l[0]=o=>u.phone=o),placeholder:"\u8BF7\u8F93\u5165\u624B\u673A\u53F7\u7801"},null,8,["modelValue"])]),_:1}),e(d,{label:"\u5339\u914D\u6587\u5B57\u53D8\u8272\uFF08\u641C\u7D22\u65F6\uFF09",prop:"keyword",class:"item-form"},{default:t(()=>[a("div",null,[g("\u793A\u4F8B\uFF1A"),a("span",{innerHTML:A(p)},null,8,H)]),e(r,{modelValue:u.keyword,"onUpdate:modelValue":l[1]||(l[1]=o=>u.keyword=o),placeholder:"\u8BF7\u8F93\u5165\u5173\u952E\u5B57",onInput:b},null,8,["modelValue"])]),_:1}),e(d,{label:"\u8EAB\u4EFD\u8BC1",prop:"idCard",class:"item-form"},{default:t(()=>[R,e(r,{modelValue:u.idCard,"onUpdate:modelValue":l[2]||(l[2]=o=>u.idCard=o),placeholder:"\u8BF7\u8F93\u5165\u8EAB\u4EFD\u8BC1"},null,8,["modelValue"])]),_:1}),e(d,{label:"\u7F51\u5740",prop:"website",class:"item-form"},{default:t(()=>[L,e(r,{modelValue:u.website,"onUpdate:modelValue":l[3]||(l[3]=o=>u.website=o),placeholder:"\u8BF7\u8F93\u5165url"},null,8,["modelValue"])]),_:1}),e(d,{label:"html\u6807\u7B7E",prop:"html",class:"item-form"},{default:t(()=>[P,e(r,{modelValue:u.html,"onUpdate:modelValue":l[4]||(l[4]=o=>u.html=o),placeholder:"\u8BF7\u8F93\u5165html\u6807\u7B7E"},null,8,["modelValue"])]),_:1}),e(d,{label:"\u65E5\u671F",prop:"date",class:"item-form"},{default:t(()=>[K,e(r,{modelValue:u.date,"onUpdate:modelValue":l[5]||(l[5]=o=>u.date=o),placeholder:"\u8BF7\u8F93\u5165\u65E5\u671F"},null,8,["modelValue"])]),_:1}),e(d,{label:"\u90AE\u7BB1",prop:"email",class:"item-form"},{default:t(()=>[O,e(r,{modelValue:u.email,"onUpdate:modelValue":l[6]||(l[6]=o=>u.email=o),placeholder:"\u8BF7\u8F93\u5165\u90AE\u7BB1"},null,8,["modelValue"])]),_:1})]),_:1},8,["model","rules"])])])}}});const j=M(Q,[["__scopeId","data-v-9e34b3bc"]]);export{j as default};

File diff suppressed because one or more lines are too long

Binary file not shown.

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1 @@
import{_ as e,o as s,c,a as n}from"./index.1118af8e.js";const o={},t={class:"app-container"},a=n("div",{class:"app-container-inner"}," \u7B80\u6613\u7248\u672C\u5206\u652F\u5728 \uFF1Avue-admin-simple ",-1),r=[a];function _(i,d){return s(),c("div",t,r)}const l=e(o,[["render",_]]);export{l as default};

View File

@ -0,0 +1 @@
function i(){for(var r="#",t=["1","2","3","4","4","5","6","7","8","9","a","b","c","d","e","f"],n=0;n<6;n++){var e=parseInt(Math.random()*16);r+=t[e]}return r}const c=function(r){let t=new WeakMap;function n(e){if(e==null)return e;if(e instanceof Date)return new Date(e);if(e instanceof RegExp)return new RegExp(e);if(typeof e!="object")return e;if(t.get(e))return t.get(e);let u=new e.constructor;t.set(e,u);for(let a in e)if(Object.prototype.hasOwnProperty.call(e,a)){let f=e[a];u[a]=n(f)}return u}return n(r)};function l(){let t=new Date().getHours();if(t>=6&&t<=10)return"\u65E9\u4E0A\u597D";if(t>=10&&t<=14)return"\u4E2D\u5348\u597D";if(t>=14&&t<=18)return"\u4E0B\u5348\u597D";if(t>=18&&t<=24)return"\u665A\u4E0A\u597D";if(t>=0&&t<=6)return"\u51CC\u6668\u597D"}export{i as a,c as d,l as g};

View File

@ -0,0 +1 @@
import{L as l,i as c}from"./index.1d4dbcc5.js";import{u}from"./useResizeElement.d96a18bd.js";import{g as d,h as p,x as b,o as f,c as y,a as h,_ as g}from"./index.1118af8e.js";const x={class:"app-container"},m=d({__name:"index",setup(_){const o=p();let r=["2022-01","2022-02","2022-03","2022-04","2022-05","2022-06","2022-07","2022-08","2022-09","2022-10","2022-11","2022-12"],a={jfsbs:[805,860,400,400,400,400,990,985,990,850,560,772],md:[300,390,290,285,290,288,790,795,795,760,660,480],znhbl:[95,78,50,60,85,78,76,70,65,90,74,66]},s={tooltip:{trigger:"axis",axisPointer:{type:"shadow",shadowStyle:{shadowColor:"rgba(60, 161, 246, 0.43)",shadowBlur:10}},backgroundColor:"#FFFFFF",borderColor:"rgba(60, 161, 246, 0.43)",borderWidth:1,shadowColor:" rgba(111, 193, 253, 0.35)",shadowBlur:10,formatter:function(e){e[0].seriesName;let t=e[0].value;e[1].seriesName;let i=e[1].value;e[2].seriesName;let n=e[2].value;return'<div><span style="color:rgba(36, 36, 36, 1);display: inline-block;width: 86px;">\u5BC6\u5EA6\u6570</span><span style="color:#5DB6FB">'+t+'</span></div><div><span style="color:rgba(36, 36, 36, 1);display: inline-block;width: 86px;">\u8BBE\u5907\u6570</span><span style="color:#5DB6FB">'+i+'</span></div><div><span style="color:rgba(36, 36, 36, 1);display: inline-block;width: 86px;">\u667A\u80FD\u5316\u6BD4\u4F8B</span><span style="color:#5DB6FB">'+n+"%</span></div>"},textStyle:{rich:{name:{color:"rgba(36, 36, 36, 1)",fontSize:13,align:"center"},percent:{fontFamily:"DIN",fontWeight:500,fontSize:22,color:"#1D91F5",align:"center"}}}},grid:{left:"2%",right:"4%",bottom:"14%",top:"16%",containLabel:!0},legend:{top:"5%",textStyle:{color:"rgba(128, 125, 125, 1)",fontSize:12},icon:"rect",itemWidth:12,itemHeight:12,itemGap:25},xAxis:{type:"category",data:r,axisLine:{lineStyle:{color:"rgba(204, 204, 204, 1)"}},axisLabel:{textStyle:{color:"rgba(185, 185, 185, 1)"}},axisTick:{show:!1}},yAxis:[{type:"value",axisLabel:{textStyle:{color:"rgba(185, 185, 185, 1)"}},axisLine:{show:!1},axisTick:{show:!1},splitLine:{show:!0,lineStyle:{color:"rgba(237, 237, 237, 1)",type:"dotted"}}},{type:"value",nameTextStyle:{color:"rgba(185, 185, 185, 1)"},position:"right",axisLine:{show:!1},splitLine:{show:!1},axisTick:{show:!1},axisLabel:{show:!0,formatter:"{value} %",textStyle:{color:"rgba(185, 185, 185, 1)"}}}],series:[{name:"\u65B0\u589E\u57FA\u6869\u6570",type:"bar",barWidth:"12px",itemStyle:{normal:{color:new l(0,0,0,1,[{offset:0,color:"rgba(141, 113, 226, 1)"},{offset:1,color:"rgba(141, 113, 226, 0.2)"}])}},data:a.jfsbs},{name:"\u672C\u6708\u68C0\u6D4B\u6570",type:"bar",barWidth:"12px",itemStyle:{normal:{color:new l(0,0,0,1,[{offset:0,color:"rgba(116, 178, 252, 1)"},{offset:1,color:"rgba(116, 178, 252, 0.2)"}])}},data:a.md},{name:"\u7D2F\u8BA1\u5B8C\u6210\u7387",type:"line",smooth:!0,yAxisIndex:1,symbol:"emptycircle",symbolSize:0,itemStyle:{color:"rgba(65, 197, 95, 1)"},areaStyle:{color:new l(0,0,0,1,[{offset:0,color:"rgba(65, 197, 95, 0.4)"},{offset:1,color:"rgba(255,255,255, 0)"}],!1)},data:a.znhbl}]};return b(()=>{let e=c(o.value);e.setOption(s);let{addObserver:t}=u(e,o.value);t()}),(e,t)=>(f(),y("div",x,[h("div",{ref_key:"chartsRef",ref:o,class:"app-echarts"},null,512)]))}});const S=g(m,[["__scopeId","data-v-e0337986"]]);export{S as default};

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1,2 @@
import{g as k,h as g,x as L,O as P,r as a,o as U,c as M,b as e,w as t,s as x,bK as z,a as V,F as N,M as j,i as w,n as O,e as C}from"./index.1118af8e.js";const W=["src"],I=k({__name:"Upload",props:{modelValue:Array},emits:["update:modelValue"],setup(b,{emit:D}){const i=b;let u=g([]);const F=g(""),_=g(!1),E=(n,r)=>{console.log(n,r)},d=(n,r)=>new Promise((m,c)=>{var p=new FileReader;let s=/\.jpg$|\.jpeg$|\.gif$|\.png$/i;p.readAsDataURL(n);let f=n.name;s.test(f)?p.onload=B=>{u.value.push({name:f,url:B.target.result}),D("update:modelValue",u.value),m(B.target.result)}:(j.error("\u8BF7\u4E0A\u4F20\u56FE\u7247"),c())}),l=n=>{F.value=n.url,_.value=!0};return L(()=>{P(()=>i.modelValue,n=>{u.value=n})}),(n,r)=>{const m=a("el-icon"),c=a("el-upload"),p=a("el-dialog");return U(),M(N,null,[e(c,{action:"","before-upload":d,"list-type":"picture-card","on-preview":l,"on-remove":E,"file-list":x(u)},{default:t(()=>[e(m,null,{default:t(()=>[e(x(z))]),_:1})]),_:1},8,["file-list"]),e(p,{modelValue:_.value,"onUpdate:modelValue":r[0]||(r[0]=s=>_.value=s),width:"80%",top:"80px"},{default:t(()=>[V("img",{"w-full":"",src:F.value,alt:"\u9884\u89C8\u56FE\u7247",style:{width:"100%"}},null,8,W)]),_:1},8,["modelValue"])],64)}}}),K={style:{"max-width":"800px"}},S=V("span",{class:"text-gray-500"},"-",-1),G=k({__name:"index",setup(b){const D=g("default"),i=g(),u=w({name:"\u8DD1\u6B65",region:"",date1:"",date2:"",delivery:!1,type:[],resource:"",desc:"",img:[]}),F=w({name:[{required:!0,message:"\u8BF7\u8F93\u5165\u6D3B\u52A8\u540D\u79F0\u6D3B\u52A8\u533A\u57DF",trigger:"blur"},{min:3,max:5,message:"\u957F\u5EA6\u5728 3 \u5230 5 \u4E2A\u5B57\u7B26",trigger:"blur"}],img:[{required:!0,message:"\u8BF7\u4E0A\u4F20\u56FE\u7247",trigger:"blur"}],region:[{required:!0,message:"\u8BF7\u9009\u62E9\u6D3B\u52A8\u533A\u57DF",trigger:"change"}],date1:[{type:"date",required:!0,message:"\u8BF7\u9009\u62E9\u65F6\u95F4",trigger:"change"}],date2:[{type:"date",required:!0,message:"\u8BF7\u9009\u62E9\u65F6\u95F4",trigger:"change"}],type:[{type:"array",required:!0,message:"\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u6D3B\u52A8\u6027\u8D28",trigger:"change"}],resource:[{required:!0,message:`\u8BF7\u9009\u62E9\u6D3B\u52A8\u8D44\u6E90
`,trigger:"change"}],desc:[{required:!0,message:"\u8BF7\u586B\u5199\u6D3B\u52A8\u5F62\u5F0F",trigger:"blur"}]}),_=async d=>{console.log("--FORM---",u)},E=d=>{!d||d.resetFields()};return(d,l)=>{const n=a("el-input"),r=a("el-form-item"),m=a("el-option"),c=a("el-select"),p=a("el-date-picker"),s=a("el-col"),f=a("el-time-picker"),B=a("el-switch"),A=a("el-checkbox"),q=a("el-checkbox-group"),y=a("el-radio"),$=a("el-radio-group"),v=a("el-button"),h=a("el-form"),R=a("PageWrapLayout");return U(),O(R,null,{default:t(()=>[V("div",K,[e(h,{ref_key:"ruleFormRef",ref:i,model:u,rules:F,"label-width":"120px",class:"demo-ruleForm",size:D.value},{default:t(()=>[e(r,{label:"\u6D3B\u52A8\u540D\u79F0",prop:"name"},{default:t(()=>[e(n,{modelValue:u.name,"onUpdate:modelValue":l[0]||(l[0]=o=>u.name=o)},null,8,["modelValue"])]),_:1}),e(r,{label:"\u6D3B\u52A8\u533A\u57DF",prop:"region"},{default:t(()=>[e(c,{modelValue:u.region,"onUpdate:modelValue":l[1]||(l[1]=o=>u.region=o),placeholder:"\u6D3B\u52A8\u533A\u57DF"},{default:t(()=>[e(m,{label:"\u533A\u57DF1",value:"\u4E0A\u6D77"}),e(m,{label:"\u533A\u57DF2",value:"\u5317\u4EAC"})]),_:1},8,["modelValue"])]),_:1}),e(r,{label:"\u5373\u65F6\u914D\u9001",required:""},{default:t(()=>[e(s,{span:11},{default:t(()=>[e(r,{prop:"date1"},{default:t(()=>[e(p,{modelValue:u.date1,"onUpdate:modelValue":l[2]||(l[2]=o=>u.date1=o),type:"date",placeholder:"\u9009\u62E9\u65F6\u95F4",style:{width:"100%"}},null,8,["modelValue"])]),_:1})]),_:1}),e(s,{class:"text-center",span:2,style:{"text-align":"center"}},{default:t(()=>[S]),_:1}),e(s,{span:11},{default:t(()=>[e(r,{prop:"date2"},{default:t(()=>[e(f,{modelValue:u.date2,"onUpdate:modelValue":l[3]||(l[3]=o=>u.date2=o),placeholder:"\u9009\u62E9\u65F6\u95F4",style:{width:"100%"}},null,8,["modelValue"])]),_:1})]),_:1})]),_:1}),e(r,{label:"\u5373\u65F6\u914D\u9001",prop:"delivery"},{default:t(()=>[e(B,{modelValue:u.delivery,"onUpdate:modelValue":l[4]||(l[4]=o=>u.delivery=o)},null,8,["modelValue"])]),_:1}),e(r,{label:"\u6D3B\u52A8\u6027\u8D28",prop:"type"},{default:t(()=>[e(q,{modelValue:u.type,"onUpdate:modelValue":l[5]||(l[5]=o=>u.type=o)},{default:t(()=>[e(A,{label:"\u7F8E\u98DF/\u9910\u5385\u7EBF\u4E0A\u6D3B\u52A8",name:"type"}),e(A,{label:"\u5730\u63A8\u6D3B\u52A8",name:"type"}),e(A,{label:"\u7EBF\u4E0B\u4E3B\u9898\u6D3B\u52A8",name:"type"}),e(A,{label:"\u5355\u7EAF\u54C1\u724C\u66DD\u5149",name:"type"})]),_:1},8,["modelValue"])]),_:1}),e(r,{label:"\u7279\u6B8A\u8D44\u6E90",prop:"resource"},{default:t(()=>[e($,{modelValue:u.resource,"onUpdate:modelValue":l[6]||(l[6]=o=>u.resource=o)},{default:t(()=>[e(y,{label:"\u7EBF\u4E0A\u54C1\u724C\u5546\u8D5E\u52A9"}),e(y,{label:"\u7EBF\u4E0B\u573A\u5730\u514D\u8D39"})]),_:1},8,["modelValue"])]),_:1}),e(r,{label:"\u4E0A\u4F20\u56FE\u7247",prop:"img"},{default:t(()=>[e(I,{modelValue:u.img,"onUpdate:modelValue":l[7]||(l[7]=o=>u.img=o)},null,8,["modelValue"])]),_:1}),e(r,{label:"\u5907\u6CE8",prop:"desc"},{default:t(()=>[e(n,{modelValue:u.desc,"onUpdate:modelValue":l[8]||(l[8]=o=>u.desc=o),type:"textarea"},null,8,["modelValue"])]),_:1}),e(r,null,{default:t(()=>[e(v,{type:"primary",onClick:l[9]||(l[9]=o=>_(i.value))},{default:t(()=>[C("\u7ACB\u5373\u521B\u5EFA")]),_:1}),e(v,{onClick:l[10]||(l[10]=o=>E(i.value))},{default:t(()=>[C("\u91CD\u7F6E")]),_:1})]),_:1})]),_:1},8,["model","rules","size"])])]),_:1})}}});export{G as default};

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1 @@
import{i as o}from"./index.1d4dbcc5.js";import{u as n}from"./useResizeElement.d96a18bd.js";import{g as l,h as u,x as m,o as s,c as i,a as c,_ as d}from"./index.1118af8e.js";const p={class:"app-container"},x=l({__name:"index",setup(f){const e=u();let r={normal:{top:200,left:300,width:500,height:400,zIndex:6,backgroundColor:""},color:["rgba(245, 166, 35, 1)","rgba(19, 173, 255, 1)"],title:{show:!0,text:"\u57FA\u7840\u96F7\u8FBE\u56FE",left:"40%",top:"1%",textStyle:{fontSize:18,fontStyle:"normal",fontWeight:"normal"}},legend:{show:!0,icon:"circle",left:"35%",top:"90%",orient:"horizontal",textStyle:{fontSize:14},data:["\u6570\u636E1","\u6570\u636E2"]},radar:{center:["50%","50%"],radius:"70%",startAngle:90,splitNumber:4,shape:"circle",splitArea:{areaStyle:{color:["transparent"]}},axisLabel:{show:!1,fontSize:18,color:"#fff",fontStyle:"normal",fontWeight:"normal"},axisLine:{show:!0,lineStyle:{color:"grey"}},splitLine:{show:!0,lineStyle:{color:"grey"}},indicator:[{name:"\u9053\u8DEF\u7ED3\u51B0",max:88},{name:"\u66B4\u96EA",max:88},{name:"\u66B4\u96E8",max:88},{name:"\u51B0\u96F9",max:88},{name:"\u5927\u98CE",max:88},{name:"\u5927\u96FE",max:88},{name:"\u9AD8\u6E29",max:88},{name:"\u5E72\u65F1",max:88},{name:"\u5BD2\u6F6E",max:88},{name:"\u96F7\u7535",max:88},{name:"\u973E",max:88},{name:"\u6C99\u5C18\u66B4",max:88},{name:"\u971C\u51BB",max:88},{name:"\u53F0\u98CE",max:88},{name:"\u6D2A\u6C34",max:88}]},series:[{name:"\u6570\u636E1",type:"radar",symbol:"circle",symbolSize:10,areaStyle:{normal:{color:"rgba(245, 166, 35, 0.4)"}},itemStyle:{color:"rgba(245, 166, 35, 1)",borderColor:"rgba(245, 166, 35, 0.3)",borderWidth:10},lineStyle:{normal:{type:"dashed",color:"rgba(245, 166, 35, 1)",width:2}},data:[[80,50,55,80,50,80,48,43,60,78,60,40,42,44,65]]},{name:"\u6570\u636E2",type:"radar",symbol:"circle",symbolSize:10,itemStyle:{normal:{color:"rgba(19, 173, 255, 1)",borderColor:"rgba(19, 173, 255, 0.4)",borderWidth:10}},areaStyle:{normal:{color:"rgba(19, 173, 255, 0.5)"}},lineStyle:{normal:{color:"rgba(19, 173, 255, 1)",width:2,type:"dashed"}},data:[[60,60,65,60,70,40,80,63,68,60,77,60,80,62,80]]}]};return m(()=>{let a=o(e.value);a.setOption(r);let{addObserver:t}=n(a,e.value);t()}),(a,t)=>(s(),i("div",p,[c("div",{ref_key:"chartsRef",ref:e,class:"app-echarts"},null,512)]))}});const b=d(x,[["__scopeId","data-v-d55a3365"]]);export{b as default};

File diff suppressed because one or more lines are too long

Binary file not shown.

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

Binary file not shown.

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

Binary file not shown.

View File

@ -0,0 +1 @@
import{g as l,r as a,o as d,n as r,w as c,a as t,b as s,bL as e,e as u,p as m,f as F,_ as f}from"./index.1118af8e.js";const E=o=>(m("data-v-b1d795aa"),o=o(),F(),o),b={class:"content-box"},g=E(()=>t("br",null,null,-1)),v={class:"icon-list"},h=l({name:"svgIcon"}),B=l({...h,setup(o){return(x,C)=>{const i=a("el-alert"),n=a("el-descriptions-item"),_=a("el-descriptions"),p=a("PageWrapLayout");return d(),r(p,{class:"components-container"},{default:c(()=>[t("div",b,[s(i,{title:"SVG \u56FE\u6807\u76EE\u524D\u4F7F\u7528 vite-plugin-svg-icons \u63D2\u4EF6\u5B8C\u6210\uFF0C\u5B98\u65B9\u6587\u6863\u8BF7\u67E5\u770B \uFF1Ahttps://github.com/vbenjs/vite-plugin-svg-icons",type:"warning",closable:!1}),g,t("div",v,[s(e,{"icon-class":"borrow","class-name":"icon"}),s(e,{"icon-class":"compass","class-name":"icon"}),s(e,{"icon-class":"dashboard","class-name":"icon"}),s(e,{"icon-class":"entrust","class-name":"icon"}),s(e,{"icon-class":"example","class-name":"icon"}),s(e,{"icon-class":"exit-fullscreen","class-name":"icon"}),s(e,{"icon-class":"eye","class-name":"icon"}),s(e,{"icon-class":"eye-open","class-name":"icon"}),s(e,{"icon-class":"form","class-name":"icon"}),s(e,{"icon-class":"fullscreen","class-name":"icon"}),s(e,{"icon-class":"go-out","class-name":"icon"})]),s(_,{title:"\u914D\u7F6E\u9879",column:1,border:""},{default:c(()=>[s(n,{label:"name"},{default:c(()=>[u(" \u56FE\u6807\u7684\u540D\u79F0\uFF0Csvg \u56FE\u6807\u5FC5\u987B\u5B58\u50A8\u5728 src/icons \u76EE\u5F55\u4E0B ")]),_:1}),s(n,{label:"prefix"},{default:c(()=>[u(' \u56FE\u6807\u7684\u524D\u7F00\uFF0C\u9ED8\u8BA4\u4E3A "icon-class" ')]),_:1}),s(n,{label:"iconStyle"},{default:c(()=>[u(' \u56FE\u6807\u7684\u6837\u5F0F\uFF0C\u9ED8\u8BA4\u6837\u5F0F\u4E3A { width: "1em", height: " 1em" } ')]),_:1})]),_:1})])]),_:1})}}});const D=f(B,[["__scopeId","data-v-b1d795aa"]]);export{D as default};

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1 @@
import{_ as o,r as t,o as a,c as n,a as s,b as c}from"./index.1118af8e.js";const r={},_={class:"app-container"},l={class:"app-container-inner"};function i(d,p){const e=t("el-alert");return a(),n("div",_,[s("div",l,[c(e,{title:"menu 2",closable:!1})])])}const m=o(r,[["render",i]]);export{m as default};

View File

@ -0,0 +1 @@
import{_ as t,r as o,o as s,c,b as n}from"./index.1118af8e.js";const a={},r={style:{padding:"30px"}};function l(_,d){const e=o("el-alert");return s(),c("div",r,[n(e,{title:"menu 1-3",type:"success",closable:!1})])}const i=t(a,[["render",l]]);export{i as default};

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

Binary file not shown.

File diff suppressed because one or more lines are too long

Binary file not shown.

View File

@ -0,0 +1 @@
import{_ as y,o as u,c as r,F as w,D as v,X as _,t as x,z as b,q as k,g as C,h as p,k as S,r as d,n as E,w as h,b as f,e as F}from"./index.1118af8e.js";const N={props:{data:{type:Array,default:()=>[]},left:{type:Number,default:0},type:{type:Number,default:1},dataInfo:{type:Object,default:()=>{}},top:{type:Number,default:0},isViewInfo:{type:Boolean,default:!0}},watch:{left:{handler(e,t){e&&(this.isShow=!0)}}},computed:{style(){let e=document.body.clientHeight,t=this.top;return e-t<100?`left:${this.left}px;bottom:${e-t}px`:`left:${this.left}px;top:${this.top}px`}},data(){return{isShow:!1}},methods:{operatingRightAction(e,t){this.$emit("ok",e,t),this.isShow=!1}},mounted(){let e=this;window.addEventListener("click",function(){e.isShow=!1}),window.addEventListener("mousedown",function(t){t.which===3&&(e.isShow=!1)})}};const $=["onClick"];function A(e,t,n,c,i,l){return i.isShow?(u(),r("div",{key:0,class:"g-right-click-menu",style:b(l.style),ref:"rightMenu"},[(u(!0),r(w,null,v(n.data,(s,o)=>(u(),r("div",{key:o,class:"operating",onClick:_(a=>l.operatingRightAction(a,s),["stop"])},x(s.label),9,$))),128))],4)):k("",!0)}const D=y(N,[["render",A],["__scopeId","data-v-f9c1d2d8"]]),L=C({__name:"index",setup(e){const t=p(0),n=p(0),c=[{label:"\u6253\u5370",value:1,path:"/other/print"},{label:"\u5934\u50CF\u88C1\u526A",value:2,path:"/other/cropper"},{label:"\u5361\u7247\u62D6\u62FD",value:3,path:"/other/grid-sorter"},{label:"\u5206\u5272\u6A21\u5757",value:4,path:"/other/splitpane"},{label:"\u751F\u6210\u4E8C\u7EF4\u7801",value:5,path:"/other/qrcode"}],i=o=>{t.value=o.clientX,n.value=o.clientY},l=S(),s=(o,a)=>{console.log("\u83B7\u53D6\u6570\u636E",a),l.push({path:a.path})};return(o,a)=>{const m=d("el-button"),g=d("PageWrapLayout");return u(),E(g,{style:{"min-height":"300px"}},{default:h(()=>[f(m,{onContextmenu:_(i,["prevent"]),style:{width:"200px"}},{default:h(()=>[F("\u53F3\u952E\u83DC\u5355")]),_:1},8,["onContextmenu"]),f(D,{left:t.value,top:n.value,onOk:s,data:c},null,8,["left","top"])]),_:1})}}});export{L as default};

Some files were not shown because too many files have changed in this diff Show More