This commit is contained in:
zouzhibing 2022-11-20 22:10:03 +08:00
parent 4699093e6d
commit 418a8e77d8
256 changed files with 749 additions and 2 deletions

1
.gitignore vendored
View File

@ -8,7 +8,6 @@ pnpm-debug.log*
lerna-debug.log*
node_modules
dist
dist-ssr
*.local

BIN
dist/assets/1-1-bg.adff0836.png vendored Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.8 KiB

1
dist/assets/403.1ad755d4.css vendored Normal file

File diff suppressed because one or more lines are too long

BIN
dist/assets/403.359d32ca.png vendored Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 218 KiB

1
dist/assets/403.9a12a398.js vendored Normal file
View File

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

BIN
dist/assets/403_cloud.98e7ac66.png vendored Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.7 KiB

1
dist/assets/404.7170f518.js vendored Normal file
View File

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

1
dist/assets/404.72c4e989.css vendored Normal file

File diff suppressed because one or more lines are too long

BIN
dist/assets/404_bg.79e0e553.png vendored Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 227 KiB

BIN
dist/assets/avatar.31e95fb7.png vendored Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.9 KiB

View File

@ -0,0 +1 @@
import{i as s}from"./index.df40fc31.js";import{g as o,x as r,o as c,c as d,y as l,z as h}from"./index.0f539a17.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 _};

BIN
dist/assets/circle-bg.dedbd709.png vendored Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.7 KiB

BIN
dist/assets/cro-avatar.e5c65db1.jpg vendored Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 33 KiB

BIN
dist/assets/emoji-after.664cb306.png vendored Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.6 KiB

60
dist/assets/exceljs.min.566fd9a5.js vendored Normal file

File diff suppressed because one or more lines are too long

BIN
dist/assets/exceljs.min.566fd9a5.js.gz vendored Normal file

Binary file not shown.

1
dist/assets/exprotExcel.f0aa21de.js vendored Normal file
View File

@ -0,0 +1 @@
import{E as k}from"./exceljs.min.566fd9a5.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};

BIN
dist/assets/iconfont.0906b3df.woff vendored Normal file

Binary file not shown.

BIN
dist/assets/iconfont.3dba991f.ttf vendored Normal file

Binary file not shown.

BIN
dist/assets/iconfont.f1592be7.woff2 vendored Normal file

Binary file not shown.

1
dist/assets/index.0096e06e.css vendored Normal file

File diff suppressed because one or more lines are too long

1
dist/assets/index.07341e76.js vendored Normal file

File diff suppressed because one or more lines are too long

BIN
dist/assets/index.07341e76.js.gz vendored Normal file

Binary file not shown.

1
dist/assets/index.075258d5.css vendored Normal file

File diff suppressed because one or more lines are too long

1
dist/assets/index.0797668d.js vendored Normal file
View File

@ -0,0 +1 @@
import{_ as n,r as e,o as s,c as r,b as t}from"./index.0f539a17.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};

62
dist/assets/index.0f539a17.js vendored Normal file

File diff suppressed because one or more lines are too long

BIN
dist/assets/index.0f539a17.js.gz vendored Normal file

Binary file not shown.

1
dist/assets/index.0fe08016.css vendored Normal file

File diff suppressed because one or more lines are too long

1
dist/assets/index.134cb9ae.js vendored Normal file
View File

@ -0,0 +1 @@
import{g as l,r as n,o as p,j as d,w as c,a as t,b as s,bM as e,e as u,p as m,f as F,_ as f}from"./index.0f539a17.js";const E=o=>(m("data-v-052b5841"),o=o(),F(),o),b={class:"content-box"},v=E(()=>t("br",null,null,-1)),g={class:"icon-list"},h=l({name:"svgIcon"}),B=l({...h,setup(o){return(x,C)=>{const i=n("el-alert"),a=n("el-descriptions-item"),_=n("el-descriptions"),r=n("u-container-layout");return p(),d(r,{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}),v,t("div",g,[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(a,{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(a,{label:"prefix"},{default:c(()=>[u(' \u56FE\u6807\u7684\u524D\u7F00\uFF0C\u9ED8\u8BA4\u4E3A "icon-class" ')]),_:1}),s(a,{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-052b5841"]]);export{D as default};

1
dist/assets/index.16825dd2.js vendored Normal file
View File

@ -0,0 +1 @@
import{_ as c,r as e,o,c as r,a as l,b as t,w as _,j as i,V as p}from"./index.0f539a17.js";const d={},m={class:"app-container"},f={class:"app-container-inner"};function u(v,x){const n=e("el-alert"),a=e("router-view");return o(),r("div",m,[l("div",f,[t(n,{title:"menu 1",closable:!1}),t(a,null,{default:_(({Component:s})=>[(o(),i(p(s)))]),_:1})])])}const w=c(d,[["render",u]]);export{w as default};

1
dist/assets/index.16c3ae70.css vendored Normal file

File diff suppressed because one or more lines are too long

1
dist/assets/index.1ce56d45.css vendored Normal file

File diff suppressed because one or more lines are too long

1
dist/assets/index.1e80d4b1.js vendored Normal file
View File

@ -0,0 +1 @@
import{_ as c,o as t,c as o,p as a,f as d,a as s}from"./index.0f539a17.js";const _={},n=e=>(a("data-v-f3bd1ed6"),e=e(),d(),e),r={class:"app-container"},p=n(()=>s("div",{class:"app-container-inner"},[s("iframe",{src:"https://ext.dcloud.net.cn/plugin?id=7511",frameborder:"0",class:"full-iframe"})],-1)),i=[p];function f(e,l){return t(),o("div",r,i)}const h=c(_,[["render",f],["__scopeId","data-v-f3bd1ed6"]]);export{h as default};

1
dist/assets/index.23854b9a.css vendored Normal file

File diff suppressed because one or more lines are too long

BIN
dist/assets/index.23854b9a.css.gz vendored Normal file

Binary file not shown.

1
dist/assets/index.262826fa.js vendored Normal file
View File

@ -0,0 +1 @@
import{i as r}from"./index.df40fc31.js";import{g as i,h as l,x as c,o as u,c as d,a as p,_ as f}from"./index.0f539a17.js";const m={class:"app-container"},_=i({__name:"index",setup(h){const a=l();let s={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,o)=>o.value-e.value),emphasis:{scale:!0,scaleSize:10,itemStyle:{shadowBlur:10,shadowOffsetX:0,shadowColor:"rgba(0, 0, 0, 0.5)"}}}]},t;const n=()=>{const e=r(a.value);return e.setOption(s),e};return c(()=>{t=n(),window.addEventListener("resize",function(){t&&t.resize()})}),(e,o)=>(u(),d("div",m,[p("div",{ref_key:"chartsRef",ref:a,class:"app-echarts"},null,512)]))}});const y=f(_,[["__scopeId","data-v-22993628"]]);export{y as default};

1
dist/assets/index.2807881f.js vendored Normal file

File diff suppressed because one or more lines are too long

2
dist/assets/index.3225e0ee.js vendored Normal file
View File

@ -0,0 +1,2 @@
import{g as k,h as g,x as L,P as N,r as a,o as U,c as P,b as e,w as t,s as x,bL as j,a as E,F as z,N as M,i as w,j as I,e as C}from"./index.0f539a17.js";const O=["src"],S=k({__name:"Upload",props:{modelValue:Array},emits:["update:modelValue"],setup(b,{emit:D}){const p=b;let l=g([]);const F=g(""),c=g(!1),V=(n,r)=>{console.log(n,r)},d=(n,r)=>new Promise((i,_)=>{var m=new FileReader;let s=/\.jpg$|\.jpeg$|\.gif$|\.png$/i;m.readAsDataURL(n);let f=n.name;s.test(f)?m.onload=B=>{l.value.push({name:f,url:B.target.result}),D("update:modelValue",l.value),i(B.target.result)}:(M.error("\u8BF7\u4E0A\u4F20\u56FE\u7247"),_())}),u=n=>{F.value=n.url,c.value=!0};return L(()=>{N(()=>p.modelValue,n=>{l.value=n})}),(n,r)=>{const i=a("el-icon"),_=a("el-upload"),m=a("el-dialog");return U(),P(z,null,[e(_,{action:"","before-upload":d,"list-type":"picture-card","on-preview":u,"on-remove":V,"file-list":x(l)},{default:t(()=>[e(i,null,{default:t(()=>[e(x(j))]),_:1})]),_:1},8,["file-list"]),e(m,{modelValue:c.value,"onUpdate:modelValue":r[0]||(r[0]=s=>c.value=s),width:"80%",top:"80px"},{default:t(()=>[E("img",{"w-full":"",src:F.value,alt:"\u9884\u89C8\u56FE\u7247",style:{width:"100%"}},null,8,O)]),_:1},8,["modelValue"])],64)}}}),T={style:{"max-width":"800px"}},G=E("span",{class:"text-gray-500"},"-",-1),J=k({__name:"index",setup(b){const D=g("default"),p=g(),l=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"}]}),c=async d=>{console.log("--FORM---",l),d&&await d.validate((u,n)=>{u?console.log("submit!"):console.log("error submit!",n)})},V=d=>{!d||d.resetFields()};return(d,u)=>{const n=a("el-input"),r=a("el-form-item"),i=a("el-option"),_=a("el-select"),m=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("u-container-layout");return U(),I(R,null,{default:t(()=>[E("div",T,[e(h,{ref_key:"ruleFormRef",ref:p,model:l,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:l.name,"onUpdate:modelValue":u[0]||(u[0]=o=>l.name=o)},null,8,["modelValue"])]),_:1}),e(r,{label:"\u6D3B\u52A8\u533A\u57DF",prop:"region"},{default:t(()=>[e(_,{modelValue:l.region,"onUpdate:modelValue":u[1]||(u[1]=o=>l.region=o),placeholder:"\u6D3B\u52A8\u533A\u57DF"},{default:t(()=>[e(i,{label:"\u533A\u57DF1",value:"\u4E0A\u6D77"}),e(i,{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(m,{modelValue:l.date1,"onUpdate:modelValue":u[2]||(u[2]=o=>l.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(()=>[G]),_:1}),e(s,{span:11},{default:t(()=>[e(r,{prop:"date2"},{default:t(()=>[e(f,{modelValue:l.date2,"onUpdate:modelValue":u[3]||(u[3]=o=>l.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:l.delivery,"onUpdate:modelValue":u[4]||(u[4]=o=>l.delivery=o)},null,8,["modelValue"])]),_:1}),e(r,{label:"\u6D3B\u52A8\u6027\u8D28",prop:"type"},{default:t(()=>[e(q,{modelValue:l.type,"onUpdate:modelValue":u[5]||(u[5]=o=>l.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:l.resource,"onUpdate:modelValue":u[6]||(u[6]=o=>l.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(S,{modelValue:l.img,"onUpdate:modelValue":u[7]||(u[7]=o=>l.img=o)},null,8,["modelValue"])]),_:1}),e(r,{label:"\u5907\u6CE8",prop:"desc"},{default:t(()=>[e(n,{modelValue:l.desc,"onUpdate:modelValue":u[8]||(u[8]=o=>l.desc=o),type:"textarea"},null,8,["modelValue"])]),_:1}),e(r,null,{default:t(()=>[e(v,{type:"primary",onClick:u[9]||(u[9]=o=>c(p.value))},{default:t(()=>[C("\u7ACB\u5373\u521B\u5EFA")]),_:1}),e(v,{onClick:u[10]||(u[10]=o=>V(p.value))},{default:t(()=>[C("\u91CD\u7F6E")]),_:1})]),_:1})]),_:1},8,["model","rules","size"])])]),_:1})}}});export{J as default};

1
dist/assets/index.350288ed.js vendored Normal file
View File

@ -0,0 +1 @@
import{b as g}from"./exprotExcel.f0aa21de.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.0f539a17.js";import"./exceljs.min.566fd9a5.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};

1
dist/assets/index.385c58e0.js vendored Normal file
View File

@ -0,0 +1 @@
import{g as x,h as d,i as w,r as t,o as N,c as h,b as e,w as l,a as D,e as _,s as A,J as $,O as U,_ as I}from"./index.0f539a17.js";import{m as k}from"./system.8d92d643.js";const z={class:"dialog-footer"},P=x({__name:"MenuDrawer",setup(R,{expose:C}){d(k);const i=d(),m=d(),p=w({roleName:[{required:!0,message:"\u8BF7\u8F93\u5165\u89D2\u8272\u540D\u79F0",trigger:"blur"}],roleIdentification:[{required:!0,message:"\u8BF7\u8F93\u5165\u89D2\u8272\u6807\u8BC6",trigger:"blur"}]}),f=d("\u65B0\u589E\u83DC\u5355"),n=w({name:"",roleIdentification:"",describe:null,status:!0}),F={value:"menuName",label:"menuName",checkStrictly:!0},B=(r={})=>{f.value="\u65B0\u589E\u83DC\u5355",r.name&&(f.value="\u7F16\u8F91\u83DC\u5355",Object.keys(r).forEach(u=>{n[u]=r[u]})),m.value=!0},y=async r=>{await i.value.validate((u,c)=>{u?console.log("submit!"):console.log("error submit!",c)})};return C({show:B}),(r,u)=>{const c=t("el-radio-button"),v=t("el-radio-group"),a=t("el-form-item"),b=t("el-input"),E=t("el-cascader"),V=t("el-form"),s=t("el-button"),g=t("el-drawer");return N(),h("div",null,[e(g,{modelValue:m.value,"onUpdate:modelValue":u[6]||(u[6]=o=>m.value=o),title:f.value,size:"50%"},{footer:l(()=>[D("span",z,[e(s,{onClick:u[4]||(u[4]=o=>m.value=!1)},{default:l(()=>[_("\u53D6\u6D88")]),_:1}),e(s,{type:"primary",onClick:u[5]||(u[5]=o=>y(i.value))},{default:l(()=>[_("\u786E\u5B9A")]),_:1})])]),default:l(()=>[e(V,{ref_key:"ruleFormRef",ref:i,model:n,rules:p,"label-width":"120px"},{default:l(()=>[e(a,{label:"\u83DC\u5355\u7C7B\u578B",prop:"menuType"},{default:l(()=>[e(v,{modelValue:n.menuType,"onUpdate:modelValue":u[0]||(u[0]=o=>n.menuType=o)},{default:l(()=>[e(c,{label:"\u76EE\u5F55"}),e(c,{label:"\u83DC\u5355"}),e(c,{label:"\u6309\u94AE"})]),_:1},8,["modelValue"])]),_:1}),e(a,{label:"\u83DC\u5355\u540D\u79F0",prop:"menuName"},{default:l(()=>[e(b,{modelValue:n.menuName,"onUpdate:modelValue":u[1]||(u[1]=o=>n.menuName=o),placeholder:"\u8BF7\u8F93\u5165\u83DC\u5355\u540D\u79F0"},null,8,["modelValue"])]),_:1}),e(a,{label:"\u7236\u7EA7\u83DC\u5355",prop:"role"},{default:l(()=>[e(E,{style:{width:"100%"},options:A(k),props:F,clearable:""},null,8,["options"])]),_:1}),e(a,{label:"\u6743\u9650\u6807\u8BC6",prop:"identification"},{default:l(()=>[e(b,{modelValue:n.identification,"onUpdate:modelValue":u[2]||(u[2]=o=>n.identification=o),placeholder:"\u8BF7\u8F93\u5165\u6743\u9650\u6807\u8BC6"},null,8,["modelValue"])]),_:1}),e(a,{label:"\u8DEF\u7531\u5730\u5740",prop:"identification"},{default:l(()=>[e(b,{modelValue:n.url,"onUpdate:modelValue":u[3]||(u[3]=o=>n.url=o),placeholder:"\u8BF7\u8F93\u5165\u8DEF\u7531\u5730\u5740"},null,8,["modelValue"])]),_:1})]),_:1},8,["model","rules"])]),_:1},8,["modelValue","title"])])}}}),q={class:"app-container"},M={class:"header"},O={class:"footer"},S={class:"util"},j={class:"table-wrap"},J=x({__name:"index",setup(R){const C=d(k);d("\u65B0\u589E");const i=d(),m=d(),p=w({}),f=r=>{},n=()=>{console.log("submit!",p)},F=()=>{i.value.show()},B=r=>{i.value.show(r)},y=r=>{U.confirm("\u4F60\u786E\u5B9A\u8981\u5220\u9664\u5F53\u524D\u9879\u5417?","\u6E29\u99A8\u63D0\u793A",{confirmButtonText:"\u786E\u5B9A",cancelButtonText:"\u53D6\u6D88",type:"warning",draggable:!0}).then(()=>{}).catch(()=>{})};return(r,u)=>{const c=t("el-input"),v=t("el-form-item"),a=t("el-button"),b=t("el-form"),E=t("Plus"),V=t("el-icon"),s=t("el-table-column"),g=t("el-table");return N(),h("div",q,[D("div",M,[e(b,{inline:!0,model:p,ref_key:"ruleFormRef",ref:m},{default:l(()=>[e(v,{label:"\u7528\u6237\u540D",prop:"username"},{default:l(()=>[e(c,{modelValue:p.username,"onUpdate:modelValue":u[0]||(u[0]=o=>p.username=o)},null,8,["modelValue"])]),_:1}),e(v,null,{default:l(()=>[e(a,{type:"primary",onClick:n,icon:A($)},{default:l(()=>[_("\u67E5\u8BE2")]),_:1},8,["icon"]),e(a,{onClick:u[1]||(u[1]=o=>f(m.value))},{default:l(()=>[_("\u91CD\u7F6E")]),_:1})]),_:1})]),_:1},8,["model"])]),D("div",O,[D("div",S,[e(a,{type:"primary",onClick:F},{default:l(()=>[e(V,null,{default:l(()=>[e(E)]),_:1}),_(" \u65B0\u589E\u83DC\u5355 ")]),_:1})]),D("div",j,[e(g,{data:C.value,style:{width:"100%"},border:"","default-expand-all":"","row-key":"id",class:"table"},{default:l(()=>[e(s,{prop:"menuName",label:"\u6743\u9650\u540D\u79F0"}),e(s,{prop:"menuType",label:"\u6743\u9650\u7C7B\u578B"}),e(s,{prop:"menuRouter",label:"\u6743\u9650\u8DEF\u7531"}),e(s,{prop:"identification",label:"\u6743\u9650\u6807\u8BC6"}),e(s,{prop:"status",label:"\u64CD\u4F5C"},{default:l(o=>[e(a,{type:"primary",size:"small",icon:"Edit",onClick:T=>B(o.row)},{default:l(()=>[_(" \u7F16\u8F91 ")]),_:2},1032,["onClick"]),e(a,{onClick:T=>y(o.row),type:"danger",size:"small",icon:"Delete"},{default:l(()=>[_(" \u5220\u9664 ")]),_:2},1032,["onClick"])]),_:1})]),_:1},8,["data"])])]),e(P,{ref_key:"menuDrawerRef",ref:i},null,512)])}}});const K=I(J,[["__scopeId","data-v-0392cced"]]);export{K as default};

1
dist/assets/index.38d35a7d.js vendored Normal file
View File

@ -0,0 +1 @@
import{_ as g,o as s,c as r,F as w,D as v,W as _,t as x,z as b,H as C,g as k,h as p,l as S,r as d,j as E,w as h,b as f,e as F}from"./index.0f539a17.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,a,c,i,l){return i.isShow?(s(),r("div",{key:0,class:"g-right-click-menu",style:b(l.style),ref:"rightMenu"},[(s(!0),r(w,null,v(a.data,(u,o)=>(s(),r("div",{key:o,class:"operating",onClick:_(n=>l.operatingRightAction(n,u),["stop"])},x(u.label),9,$))),128))],4)):C("",!0)}const D=g(N,[["render",A],["__scopeId","data-v-f9c1d2d8"]]),R=k({__name:"index",setup(e){const t=p(0),a=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,a.value=o.clientY},l=S(),u=(o,n)=>{console.log("\u83B7\u53D6\u6570\u636E",n),l.push({path:n.path})};return(o,n)=>{const m=d("el-button"),y=d("u-container-layout");return s(),E(y,{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:a.value,onOk:u,data:c},null,8,["left","top"])]),_:1})}}});export{R as default};

10
dist/assets/index.39d4b0f3.js vendored Normal file

File diff suppressed because one or more lines are too long

BIN
dist/assets/index.39d4b0f3.js.gz vendored Normal file

Binary file not shown.

1
dist/assets/index.3d7574bf.js vendored Normal file
View File

@ -0,0 +1 @@
import{e as h}from"./exprotExcel.f0aa21de.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.0f539a17.js";import"./exceljs.min.566fd9a5.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};

1
dist/assets/index.419433fd.css vendored Normal file

File diff suppressed because one or more lines are too long

BIN
dist/assets/index.419433fd.css.gz vendored Normal file

Binary file not shown.

1
dist/assets/index.4d9a2801.js vendored Normal file
View File

@ -0,0 +1 @@
import{_ as t,r as n,o,c,b as s}from"./index.0f539a17.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-2",type:"warning",closable:!1})])}const p=t(a,[["render",l]]);export{p as default};

1
dist/assets/index.4efcd1cf.css vendored Normal file

File diff suppressed because one or more lines are too long

1
dist/assets/index.4fe175c3.js vendored Normal file
View File

@ -0,0 +1 @@
import{i as n}from"./index.df40fc31.js";import{g as l,h as u,x as i,o as s,c as m,a as c,_ as d}from"./index.0f539a17.js";const p={class:"app-container"},x=l({__name:"index",setup(f){const t=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]]}]},e;const o=()=>{const a=n(t.value);return a.setOption(r),a};return i(()=>{e=o(),window.addEventListener("resize",function(){e&&e.resize()})}),(a,h)=>(s(),m("div",p,[c("div",{ref_key:"chartsRef",ref:t,class:"app-echarts"},null,512)]))}});const b=d(x,[["__scopeId","data-v-d188ccf7"]]);export{b as default};

1
dist/assets/index.51b59bd1.js vendored Normal file
View File

@ -0,0 +1 @@
import{a as A}from"./exprotExcel.f0aa21de.js";import{g as B,h,r as a,o as t,c as o,a as b,b as n,w as u,e as C,F as i,D as x,j as p,_ as V}from"./index.0f539a17.js";import"./exceljs.min.566fd9a5.js";const N={class:"app-container"},z={class:"header"},j={class:"footer"},H=B({__name:"index",setup(I){const d=[];for(let l=0;l<10;l++)d.push({date:"2016-05-02",name:"\u738B\u4E94"+l,price:1+l,province:"\u4E0A\u6D77",admin:"admin",sex:l%2?1:0,checked:!0,id:l+1,age:0,city:"\u666E\u9640\u533A",address:"\u4E0A\u6D77\u5E02\u666E\u4E0A\u6D77",zip:200333});const _=[{name:"id",width:60,label:"\u5E8F\u53F7"},{name:"date",label:"\u65E5\u671F"},{name:"address",label:"\u5730\u5740"},{label:"\u914D\u9001\u4FE1\u606F",children:[{name:"province",label:"\u7701\u4EFD",width:130},{name:"city",label:"\u57CE\u5E02"},{name:"zip",label:"\u90AE\u7F16"}]}],c=h(""),E=h(d),w=()=>{A({column:_,data:d,filename:c.value||"\u5BFC\u51FA excel",autoWidth:!0})};return(l,m)=>{const f=a("el-input"),F=a("Download"),v=a("el-icon"),y=a("el-button"),s=a("el-table-column"),k=a("el-table");return t(),o("div",N,[b("div",z,[n(f,{modelValue:c.value,"onUpdate:modelValue":m[0]||(m[0]=e=>c.value=e),placeholder:"\u8BF7\u8F93\u5165\u6587\u4EF6\u540D",style:{width:"200px","margin-right":"10px"}},null,8,["modelValue"]),n(y,{onClick:w,type:"primary"},{default:u(()=>[n(v,{style:{"margin-right":"6px"}},{default:u(()=>[n(F)]),_:1}),C("\u5BFC\u51FA Excel ")]),_:1})]),b("div",j,[n(k,{data:E.value,style:{width:"100%"},border:""},{default:u(()=>[(t(),o(i,null,x(_,(e,D)=>(t(),o(i,{key:D},[e.children?(t(),p(s,{key:0,prop:e.name,label:e.label,width:e.width},{default:u(()=>[(t(!0),o(i,null,x(e.children,(r,g)=>(t(),p(s,{key:g,prop:r.name,label:r.label,width:r.width},null,8,["prop","label","width"]))),128))]),_:2},1032,["prop","label","width"])):(t(),p(s,{key:1,prop:e.name,label:e.label,width:e.width},null,8,["prop","label","width"]))],64))),64))]),_:1},8,["data"])])])}}});const U=V(H,[["__scopeId","data-v-ed38f37e"]]);export{U as default};

1
dist/assets/index.53aa5766.js vendored Normal file
View File

@ -0,0 +1 @@
import{g as R,h as i,x as P,P as N,r,o as h,c as F,b as t,w as l,s as C,bL as S,a as v,F as V,N as U,q as M,D,W as I,e as j,p as T,f as q,_ as W}from"./index.0f539a17.js";const z=["src"],G=R({__name:"index",props:{modelValue:Array,multiple:{type:Boolean,default:!0},listType:{type:String,default:"picture-card"},showFileList:{type:Boolean,default:!0}},emits:["update"],setup(d,{emit:y}){const w=d;let f=i([]);const g=i(""),p=i(!1),$=(a,_)=>{console.log(a,_)},b=(a,_)=>new Promise((e,c)=>{var o=new FileReader;let u=/\.jpg$|\.jpeg$|\.gif$|\.png$/i;o.readAsDataURL(a);let s=a.name;u.test(s)?o.onload=n=>{f.value.push({name:s,url:n.target.result}),y("update",f.value),e(n.target.result)}:(U.error("\u8BF7\u4E0A\u4F20\u56FE\u7247"),c())}),B=a=>{g.value=a.url,p.value=!0};return P(()=>{N(()=>w.modelValue,a=>{f.value=a},{immediate:!0})}),(a,_)=>{const e=r("el-icon"),c=r("el-upload"),o=r("el-dialog");return h(),F(V,null,[t(c,{action:"","before-upload":b,"list-type":d.listType,multiple:d.multiple,"on-preview":B,"on-remove":$,"file-list":C(f)},{default:l(()=>[t(e,null,{default:l(()=>[t(C(S))]),_:1})]),_:1},8,["list-type","multiple","file-list"]),t(o,{modelValue:p.value,"onUpdate:modelValue":_[0]||(_[0]=u=>p.value=u),width:"50%",top:"80px"},{default:l(()=>[v("img",{"w-full":"",src:g.value,alt:"\u9884\u89C8\u56FE\u7247",style:{width:"100%"}},null,8,z)]),_:1},8,["modelValue"])],64)}}}),E=d=>(T("data-v-9665cd80"),d=d(),q(),d),H={class:"app-container"},J=E(()=>v("span",null,"\u6309\u94AE\u4E0A\u4F20",-1)),K={class:"demo-image__preview"},O={class:"upload-list"},Q=E(()=>v("span",null,"\u591A\u56FE\u7247\u4E0A\u4F20",-1)),X=E(()=>v("span",null,"\u62D6\u62FD\u4E0A\u4F20",-1)),Y={class:"upload-list"},Z=E(()=>v("div",{class:"el-upload__text"},[j(" \u62D6\u62FD\u4E0A\u4F20 "),v("em",null,"\u6216\u8005\u70B9\u51FB\u4E0A\u4F20")],-1)),ee=R({__name:"index",setup(d){const y=i([{url:M,name:"female.png",uid:"1651408956803",status:"success"}]);i([]);const w=i(0),f=i(0),g=i([]),p=i([]),$=e=>{console.log("valll======",e)},b=e=>{w.value=e},B=e=>{w.value=e},a=(e,c)=>new Promise((o,u)=>{var s=new FileReader;let n=/\.jpg$|\.jpeg$|\.gif$|\.png$/i;s.readAsDataURL(e);let x=e.name;n.test(x)?s.onload=m=>{g.value.push(m.target.result),o(m.target.result)}:(U.error("\u8BF7\u4E0A\u4F20\u56FE\u7247"),u())}),_=(e,c)=>new Promise((o,u)=>{var s=new FileReader;let n=/\.jpg$|\.jpeg$|\.gif$|\.png$/i;s.readAsDataURL(e);let x=e.name;n.test(x)?s.onload=m=>{p.value.push(m.target.result),o(m.target.result)}:(U.error("\u8BF7\u4E0A\u4F20\u56FE\u7247"),u())});return(e,c)=>{const o=r("el-image"),u=r("el-button"),s=r("el-upload"),n=r("el-card"),x=r("upload-filled"),m=r("el-icon");return h(),F("div",H,[t(n,{style:{"margin-bottom":"10px"}},{header:l(()=>[J]),default:l(()=>[v("div",K,[(h(!0),F(V,null,D(g.value,(A,L)=>(h(),F("div",O,[t(o,{onClick:I(k=>b(L),["stop"]),style:{width:"100%",height:"100%"},src:A,"preview-src-list":g.value,"initial-index":w.value,fit:"cover"},null,8,["onClick","src","preview-src-list","initial-index"])]))),256))]),t(s,{action:"/",multiple:"","before-upload":a},{default:l(()=>[t(u,{type:"primary"},{default:l(()=>[j("\u70B9\u51FB\u4E0A\u4F20")]),_:1})]),_:1})]),_:1}),t(n,{style:{"margin-bottom":"10px"}},{header:l(()=>[Q]),default:l(()=>[t(G,{onUpdate:$,modelValue:y.value,"onUpdate:modelValue":c[0]||(c[0]=A=>y.value=A)},null,8,["modelValue"])]),_:1}),t(n,null,{header:l(()=>[X]),default:l(()=>[(h(!0),F(V,null,D(p.value,(A,L)=>(h(),F("div",Y,[t(o,{onClick:I(k=>B(L),["stop"]),style:{width:"100%",height:"100%"},src:A,"preview-src-list":p.value,"initial-index":f.value,fit:"cover"},null,8,["onClick","src","preview-src-list","initial-index"])]))),256)),t(s,{class:"upload-demo",drag:"","before-upload":_,action:"/",multiple:""},{default:l(()=>[t(m,{class:"el-icon--upload"},{default:l(()=>[t(x)]),_:1}),Z]),_:1})]),_:1})])}}});const le=W(ee,[["__scopeId","data-v-9665cd80"]]);export{le as default};

1
dist/assets/index.55af4dec.css vendored Normal file

File diff suppressed because one or more lines are too long

BIN
dist/assets/index.55af4dec.css.gz vendored Normal file

Binary file not shown.

84
dist/assets/index.56f9de73.js vendored Normal file

File diff suppressed because one or more lines are too long

BIN
dist/assets/index.56f9de73.js.gz vendored Normal file

Binary file not shown.

1
dist/assets/index.59ec512d.js vendored Normal file

File diff suppressed because one or more lines are too long

BIN
dist/assets/index.59ec512d.js.gz vendored Normal file

Binary file not shown.

1
dist/assets/index.5e6f534e.js vendored Normal file
View File

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

1
dist/assets/index.60aaec4d.js vendored Normal file
View File

@ -0,0 +1 @@
import{_ as e,o as s,c,a as n}from"./index.0f539a17.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};

1
dist/assets/index.66abe934.js vendored Normal file
View File

@ -0,0 +1 @@
import{g as y,h as g,B as P,i as T,r as o,C as U,o as r,c as f,a as h,b as t,w as a,e as u,G as j,j as v,F as J,t as b,s as O,O as G,N as I,_ as M}from"./index.0f539a17.js";const R={class:"app-container"},q={class:"header"},H={class:"footer"},K={key:0,style:{display:"flex","align-items":"center"}},L={style:{width:"100%",display:"flex","justify-content":"center","padding-top":"20px"}},Q=y({name:"inline-table"}),W=y({...Q,setup(X){const C=[];for(let e=0;e<100;e++)C.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,img:"https://img1.baidu.com/it/u=300787145,1214060415&fm=253&fmt=auto&app=138&f=JPEG?w=800&h=500",age:0,city:"\u666E\u9640\u533A",address:`\u4E0A\u6D77\u5E02\u666E\u9640\u533A\u91D1\u6C99\u6C5F\u8DEF 222${e} \u5F04`,zip:200333});const d=g(1),E=e=>{console.log(`${e} items per page`)},x=e=>{console.log(`current page: ${e}`),d.value=e},p=g(C),m=g(!1),F=P(()=>JSON.parse(JSON.stringify(p.value)).splice((d.value-1)*10,10)),k=e=>{e.edit=!1},B=e=>{e.edit=!1},_=T({username:""}),z=()=>{console.log("submit!"),m.value=!0,setTimeout(()=>{m.value=!1},500)},V=e=>{G.confirm("\u4F60\u786E\u5B9A\u8981\u5220\u9664\u5F53\u524D\u9879\u5417?","\u6E29\u99A8\u63D0\u793A",{confirmButtonText:"\u786E\u5B9A",cancelButtonText:"\u53D6\u6D88",type:"warning",draggable:!0}).then(()=>{p.value=p.value.filter(i=>i.id!==e.id),I.success("\u5220\u9664\u6210\u529F")}).catch(()=>{})};return(e,i)=>{const w=o("el-input"),D=o("el-form-item"),s=o("el-button"),A=o("el-form"),l=o("el-table-column"),$=o("el-table"),N=o("el-pagination"),S=U("loading");return r(),f("div",R,[h("div",q,[t(A,{inline:!0,model:_},{default:a(()=>[t(D,{label:"\u59D3\u540D"},{default:a(()=>[t(w,{modelValue:_.username,"onUpdate:modelValue":i[0]||(i[0]=n=>_.username=n),placeholder:"\u8BF7\u8F93\u5165\u59D3\u540D"},null,8,["modelValue"])]),_:1}),t(D,null,{default:a(()=>[t(s,{type:"primary",onClick:z},{default:a(()=>[u("\u641C\u7D22")]),_:1})]),_:1})]),_:1},8,["model"])]),h("div",H,[j((r(),v($,{data:O(F),style:{width:"100%"},border:!0},{default:a(()=>[t(l,{prop:"id",width:"60",label:"id",align:"center"}),t(l,{prop:"name",label:"\u59D3\u540D","min-width":"200px",align:"center"},{default:a(n=>[n.row.edit?(r(),f("div",K,[t(w,{modelValue:n.row.name,"onUpdate:modelValue":c=>n.row.name=c,size:"small"},null,8,["modelValue","onUpdate:modelValue"]),t(s,{size:"small",icon:"Refresh",type:"warning",onClick:c=>B(n.row)},{default:a(()=>[u(" \u53D6\u6D88 ")]),_:2},1032,["onClick"])])):(r(),f(J,{key:1},[u(b(n.row.name),1)],64))]),_:1}),t(l,{prop:"age",label:"\u5E74\u9F84",align:"center"}),t(l,{prop:"sex",label:"\u6027\u522B",align:"center"},{default:a(n=>[u(b(n.row.sex?"\u7537":"\u5973"),1)]),_:1}),t(l,{prop:"price",label:"\u4EF7\u683C",align:"center"}),t(l,{prop:"admin",label:"\u8D26\u53F7",align:"center"}),t(l,{prop:"address","show-overflow-tooltip":!0,label:"\u5730\u5740",width:"180",align:"center"}),t(l,{prop:"date",label:"\u65E5\u671F",width:"180",align:"center"}),t(l,{prop:"province",label:"\u7701\u4EFD",width:"120",align:"center"}),t(l,{prop:"city",label:"\u57CE\u5E02",align:"center"}),t(l,{prop:"operator",label:"\u64CD\u4F5C",width:"180px",fixed:"right",align:"center"},{default:a(n=>[n.row.edit?(r(),v(s,{key:0,type:"success",size:"small",icon:"CircleCheckFilled",onClick:c=>k(n.row)},{default:a(()=>[u(" \u4FDD\u5B58 ")]),_:2},1032,["onClick"])):(r(),v(s,{key:1,type:"primary",size:"small",icon:"Edit",onClick:c=>n.row.edit=!n.row.edit},{default:a(()=>[u(" \u7F16\u8F91 ")]),_:2},1032,["onClick"])),t(s,{type:"danger",size:"small",icon:"Delete",onClick:c=>V(n.row)},{default:a(()=>[u(" \u5220\u9664 ")]),_:2},1032,["onClick"])]),_:1})]),_:1},8,["data"])),[[S,m.value]]),h("div",L,[t(N,{currentPage:d.value,"onUpdate:currentPage":i[1]||(i[1]=n=>d.value=n),"page-size":10,background:"",layout:"total, sizes, prev, pager, next, jumper",total:p.value.length,onSizeChange:E,onCurrentChange:x},null,8,["currentPage","total"])])])])}}});const Z=M(W,[["__scopeId","data-v-d18394e4"]]);export{Z as default};

1
dist/assets/index.679ab22e.css vendored Normal file
View File

@ -0,0 +1 @@
.upload-list[data-v-9665cd80]{overflow:hidden;background-color:#fff;border:1px solid #c0ccda;border-radius:6px;box-sizing:border-box;margin:0 8px 8px 0;padding:0;width:146px;height:146px;display:inline-flex}

1
dist/assets/index.6c844fcf.js vendored Normal file
View File

@ -0,0 +1 @@
import{L as a,i as d}from"./index.df40fc31.js";import{g as p,h as b,x as f,o as y,c as h,a as g,_ as x}from"./index.0f539a17.js";const m={class:"app-container"},_=p({__name:"index",setup(v){const l=b();let s=["2022-01","2022-02","2022-03","2022-04","2022-05","2022-06","2022-07","2022-08","2022-09","2022-10","2022-11","2022-12"],t={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]},i={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 r=e[0].value;e[1].seriesName;let c=e[1].value;e[2].seriesName;let u=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">'+r+'</span></div><div><span style="color:rgba(36, 36, 36, 1);display: inline-block;width: 86px;">\u8BBE\u5907\u6570</span><span style="color:#5DB6FB">'+c+'</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">'+u+"%</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:s,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 a(0,0,0,1,[{offset:0,color:"rgba(141, 113, 226, 1)"},{offset:1,color:"rgba(141, 113, 226, 0.2)"}])}},data:t.jfsbs},{name:"\u672C\u6708\u68C0\u6D4B\u6570",type:"bar",barWidth:"12px",itemStyle:{normal:{color:new a(0,0,0,1,[{offset:0,color:"rgba(116, 178, 252, 1)"},{offset:1,color:"rgba(116, 178, 252, 0.2)"}])}},data:t.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 a(0,0,0,1,[{offset:0,color:"rgba(65, 197, 95, 0.4)"},{offset:1,color:"rgba(255,255,255, 0)"}],!1)},data:t.znhbl}]},o;const n=()=>{const e=d(l.value);return e.setOption(i),e};return f(()=>{o=n(),window.addEventListener("resize",function(){o&&o.resize()})}),(e,r)=>(y(),h("div",m,[g("div",{ref_key:"chartsRef",ref:l,class:"app-echarts"},null,512)]))}});const S=x(_,[["__scopeId","data-v-62744798"]]);export{S as default};

1
dist/assets/index.6f6e8f35.js vendored Normal file
View File

@ -0,0 +1 @@
import{g as t,r as e,o as u,j as _,w as f,a as n,b as s,bM as o,p,f as d,_ as m}from"./index.0f539a17.js";const i=c=>(p("data-v-709f7efc"),c=c(),d(),c),r={class:"content-box"},x=i(()=>n("br",null,null,-1)),y=i(()=>n("div",{class:"icon-list"},[n("span",{class:"iconfont icon-dabaoyu"}),n("span",{class:"iconfont icon-yin"}),n("span",{class:"iconfont icon-dabaoyu"}),n("span",{class:"iconfont icon-shuaxin1"}),n("span",{class:"iconfont icon-shuaxin"}),n("span",{class:"iconfont icon-duoyun-2-copy"}),n("span",{class:"iconfont icon-duoyun-1"}),n("span",{class:"iconfont icon-daxue"}),n("span",{class:"iconfont icon-dayu"}),n("span",{class:"iconfont icon-feng"})],-1)),h={class:"icon-list"},g=t({name:"svgIcon"}),v=t({...g,setup(c){return(b,F)=>{const a=e("el-alert"),l=e("u-container-layout");return u(),_(l,{class:"components-container"},{default:f(()=>[n("div",r,[s(a,{title:"\u666E\u901A\u5F15\u5165\u65B9\u5F0F Font Class",type:"warning",closable:!1}),x,y,s(a,{title:"Symbol \u7684\u65B9\u5F0F\u6E32\u67D3\u56FE\u6807 \u652F\u6301\u591A\u8272",type:"warning",closable:!1}),n("div",h,[s(o,{"icon-class":"feng","class-name":"iconfont"}),s(o,{"icon-class":"zhongxue","class-name":"iconfont"}),s(o,{"icon-class":"yangchen","class-name":"iconfont"}),s(o,{"icon-class":"yujiaxue","class-name":"iconfont"}),s(o,{"icon-class":"qing","class-name":"iconfont"}),s(o,{"icon-class":"mai","class-name":"iconfont"}),s(o,{"icon-class":"wu","class-name":"iconfont"}),s(o,{"icon-class":"xiaoyu","class-name":"iconfont"}),s(o,{"icon-class":"xiaoxue","class-name":"iconfont"}),s(o,{"icon-class":"shandian","class-name":"iconfont"}),s(o,{"icon-class":"xue","class-name":"iconfont"})])])]),_:1})}}});const I=m(v,[["__scopeId","data-v-709f7efc"]]);export{I as default};

1
dist/assets/index.71e0b453.css vendored Normal file

File diff suppressed because one or more lines are too long

BIN
dist/assets/index.71e0b453.css.gz vendored Normal file

Binary file not shown.

1
dist/assets/index.732903c5.js vendored Normal file
View File

@ -0,0 +1 @@
import{_ as o}from"./index.vue_vue_type_script_setup_true_lang.0a004fe7.js";import{g as s,r as _,o as a,c,b as e,w as n,e as r,_ as u}from"./index.0f539a17.js";import"./index.df40fc31.js";const d={class:"echarts-map"},i=s({__name:"index",setup(p){return(m,l)=>{const t=_("el-card");return a(),c("div",d,[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(i,[["__scopeId","data-v-e6411fd3"]]);export{h as default};

1
dist/assets/index.74adb023.css vendored Normal file

File diff suppressed because one or more lines are too long

1
dist/assets/index.77c6d3e3.js vendored Normal file
View File

@ -0,0 +1 @@
import{g as v,h as _,i as E,bN as n,r as B,o as V,c as C,a,b as e,w as t,e as g,s as A,bO as y,p as w,f as x,bP as D,bQ as k,bR as U,bS as q,bT as I,bU as T,_ as N}from"./index.0f539a17.js";const i=s=>(w("data-v-9e34b3bc"),s=s(),x(),s),S={class:"app-container"},H={class:"app-container-inner"},M=["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",S,[a("div",H,[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,M)]),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=N(Q,[["__scopeId","data-v-9e34b3bc"]]);export{j as default};

1
dist/assets/index.79e3b155.css vendored Normal file

File diff suppressed because one or more lines are too long

1
dist/assets/index.7b31eb6b.css vendored Normal file

File diff suppressed because one or more lines are too long

1
dist/assets/index.7b881898.css vendored Normal file

File diff suppressed because one or more lines are too long

1
dist/assets/index.7de544a0.js vendored Normal file
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 U,F as Y,D as M,G as j,j as B,H as O,I as z,a as h,e as f,t as G,_ as E,s as x,N as J,p as L,f as T}from"./index.0f539a17.js";const q={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"),N=o("el-col"),S=o("el-row"),D=o("el-form"),b=o("el-button"),R=o("arrow-down"),$=o("arrow-up"),I=o("el-icon");return r(),k("div",q,[l(D,{ref_key:"ruleFormRef",ref:m,inline:!0,"label-position":"right",model:n,class:"form-inline"},{default:e(()=>[l(S,{class:U({"not-show":a.byHeight&&!u.value}),gutter:a.gutterWidth},{default:e(()=>[(r(!0),k(Y,null,M(a.columns,(t,H)=>j((r(),B(N,{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"])):O("",!0)]),_:2},1032,["span"])),[[z,a.byHeight?!0:H<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(G(u.value?"\u5408\u5E76":"\u5C55\u5F00"),1),l(I,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=>(L("data-v-2f2ee3c6"),a=a(),T(),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,J.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-2f2ee3c6"]]);export{ae as default};

1
dist/assets/index.842da7c7.css vendored Normal file

File diff suppressed because one or more lines are too long

1
dist/assets/index.85209cf2.js vendored Normal file

File diff suppressed because one or more lines are too long

1
dist/assets/index.86130888.js vendored Normal file

File diff suppressed because one or more lines are too long

1
dist/assets/index.875f1062.css vendored Normal file

File diff suppressed because one or more lines are too long

BIN
dist/assets/index.875f1062.css.gz vendored Normal file

Binary file not shown.

1
dist/assets/index.8780870d.css vendored Normal file

File diff suppressed because one or more lines are too long

1
dist/assets/index.8a967aaf.css vendored Normal file

File diff suppressed because one or more lines are too long

BIN
dist/assets/index.8a967aaf.css.gz vendored Normal file

Binary file not shown.

9
dist/assets/index.8c209d55.js vendored Normal file

File diff suppressed because one or more lines are too long

BIN
dist/assets/index.8c209d55.js.gz vendored Normal file

Binary file not shown.

1
dist/assets/index.8e3655ba.js vendored Normal file
View File

@ -0,0 +1 @@
import{_ as t,r as o,o as s,c,b as n}from"./index.0f539a17.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};

1
dist/assets/index.92739bf9.js vendored Normal file

File diff suppressed because one or more lines are too long

1
dist/assets/index.9ddd9b10.css vendored Normal file

File diff suppressed because one or more lines are too long

1
dist/assets/index.a5d5b1a1.js vendored Normal file

File diff suppressed because one or more lines are too long

6
dist/assets/index.ab4cf174.js vendored Normal file

File diff suppressed because one or more lines are too long

BIN
dist/assets/index.ab4cf174.js.gz vendored Normal file

Binary file not shown.

7
dist/assets/index.b19de323.js vendored Normal file

File diff suppressed because one or more lines are too long

BIN
dist/assets/index.b19de323.js.gz vendored Normal file

Binary file not shown.

1
dist/assets/index.b1c11692.css vendored Normal file

File diff suppressed because one or more lines are too long

31
dist/assets/index.b51dba08.js vendored Normal file

File diff suppressed because one or more lines are too long

BIN
dist/assets/index.b51dba08.js.gz vendored Normal file

Binary file not shown.

1
dist/assets/index.b806ac7a.js vendored Normal file
View File

@ -0,0 +1 @@
import{_ as n,r as e,o as s,c as r,b as t}from"./index.0f539a17.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-2",type:"success",closable:!1}),t(c)])}const m=n(_,[["render",l]]);export{m as default};

180
dist/assets/index.b8469064.js vendored Normal file

File diff suppressed because one or more lines are too long

BIN
dist/assets/index.b8469064.js.gz vendored Normal file

Binary file not shown.

1
dist/assets/index.b8e8a7c4.css vendored Normal file

File diff suppressed because one or more lines are too long

1
dist/assets/index.bdc70b59.css vendored Normal file

File diff suppressed because one or more lines are too long

1
dist/assets/index.be0eb2e9.css vendored Normal file

File diff suppressed because one or more lines are too long

1
dist/assets/index.c584c735.css vendored Normal file

File diff suppressed because one or more lines are too long

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