refactor: 去掉多余得东西

This commit is contained in:
zouzhibing 2022-12-15 21:41:01 +08:00
parent 3ec07dec00
commit 10e71ea340
121 changed files with 99 additions and 97 deletions

View File

@ -1 +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.2a72fe30.js";const u="/vue-admin-perfect/assets/403.359d32ca.png",t="/vue-admin-perfect/assets/404_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=p('<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(()=>[r("\u56DE\u5230\u9996\u9875")]),_:1})])])])])])}const y=_(m,[["render",S],["__scopeId","data-v-c78ca612"]]);export{y as default};
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.97fb5946.js";const u="/vue-admin-perfect/assets/403.359d32ca.png",t="/vue-admin-perfect/assets/404_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=p('<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(()=>[r("\u56DE\u5230\u9996\u9875")]),_:1})])])])])])}const y=_(m,[["render",S],["__scopeId","data-v-c78ca612"]]);export{y as default};

Binary file not shown.

Binary file not shown.

View File

@ -1 +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.2a72fe30.js";const m="/vue-admin-perfect/assets/404_bg.79e0e553.png",e="/vue-admin-perfect/assets/404_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=h('<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(()=>[p("\u56DE\u5230\u9996\u9875")]),_:1})])])])])])}const D=_(f,[["render",y],["__scopeId","data-v-648266d8"]]);export{D as default};
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.97fb5946.js";const m="/vue-admin-perfect/assets/404_bg.79e0e553.png",e="/vue-admin-perfect/assets/404_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=h('<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(()=>[p("\u56DE\u5230\u9996\u9875")]),_:1})])])])])])}const D=_(f,[["render",y],["__scopeId","data-v-648266d8"]]);export{D as default};

View File

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

File diff suppressed because one or more lines are too long

Binary file not shown.

View File

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

File diff suppressed because one or more lines are too long

Binary file not shown.

Binary file not shown.

File diff suppressed because one or more lines are too long

View File

@ -1 +1 @@
import{g as v,h as C,bW as i,r as F,o as h,c as x,a as e,b as _,w as l,d,t as r,s,p as y,f as g,_ as B}from"./index.2a72fe30.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 E=B(D,[["__scopeId","data-v-286516fe"]]);export{E as default};
import{g as v,i as C,bT as i,r as F,o as x,c as h,a as e,b as _,w as l,d,t as r,s,p as y,f as g,_ as B}from"./index.97fb5946.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 x(),h("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 E=B(D,[["__scopeId","data-v-286516fe"]]);export{E as default};

Binary file not shown.

File diff suppressed because one or more lines are too long

View File

@ -1 +1 @@
import{_ as o}from"./index.vue_vue_type_script_setup_true_lang.ac9c313e.js";import{g as s,r as _,o as a,c,b as e,w as n,d as r,_ as u}from"./index.2a72fe30.js";import"./index.201c3aba.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-51004948"]]);export{h as default};
import{_ as o}from"./index.vue_vue_type_script_setup_true_lang.b02d7886.js";import{g as s,r as _,o as a,c,b as e,w as n,d as r,_ as u}from"./index.97fb5946.js";import"./index.201c3aba.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-51004948"]]);export{h as default};

Binary file not shown.

File diff suppressed because one or more lines are too long

Binary file not shown.

View File

@ -1,4 +1,4 @@
import{g as Zg,h as ls,a0 as D9,x as YP,P as XP,a1 as JP,a2 as ZP,o as Qg,c as e0,B as QP,R as eN,b as on,s as Rd,a3 as tN,_ as nN,i as rN,r as Ho,a as Gi,w as Rn,d as jd,t as iN,N as oN}from"./index.2a72fe30.js";var Vv;if(typeof global>"u"){if("ActiveXObject"in window){var wE="\u62B1\u6B49\uFF0CwangEditor V5+ \u7248\u672C\u5F00\u59CB\uFF0C\u4E0D\u5728\u652F\u6301 IE \u6D4F\u89C8\u5668";wE+=`
import{g as Zg,i as ls,Z as D9,x as YP,O as XP,$ as JP,a0 as ZP,o as Qg,c as e0,B as QP,P as eN,b as on,s as Rd,a1 as tN,_ as nN,j as rN,r as Ho,a as Gi,w as Rn,d as jd,t as iN,M as oN}from"./index.97fb5946.js";var Vv;if(typeof global>"u"){if("ActiveXObject"in window){var wE="\u62B1\u6B49\uFF0CwangEditor V5+ \u7248\u672C\u5F00\u59CB\uFF0C\u4E0D\u5728\u652F\u6301 IE \u6D4F\u89C8\u5668";wE+=`
Sorry, wangEditor V5+ versions do not support IE browser.`,console.error(wE)}EE(),CE()}else global&&((Vv=global.navigator)===null||Vv===void 0?void 0:Vv.userAgent.match("QQBrowser"))&&(EE(),CE());function EE(){typeof globalThis>"u"&&(window.globalThis=window)}function CE(){typeof AggregateError>"u"&&(window.AggregateError=function(e,t){var n=new Error(t);return n.errors=e,n})}if(typeof global=="object"){var aN=Object.getOwnPropertyDescriptor(global,"window");(!global.window||aN.set)&&(global.window=global,global.requestAnimationFrame=function(){},global.navigator={userAgent:""},global.location={hostname:"0.0.0.0",port:0,protocol:"http:"},global.btoa=function(){},global.crypto={getRandomValues:function(e){return nodeCrypto.randomFillSync(e)}}),global.document!=null&&global.document.getElementsByTagName==null&&(global.document.getElementsByTagName=function(){return[]})}/*!
* is-plain-object <https://github.com/jonschlinkert/is-plain-object>
*

Binary file not shown.

Binary file not shown.

View File

@ -0,0 +1 @@
import{v as A}from"./vue-qr.e7964cb8.js";import{g as v,i as d,r as n,o as g,n as y,w as e,a as m,b as u,d as t,l as k}from"./index.97fb5946.js";import{a as h}from"./index.5be08a55.js";const x={style:{display:"flex"}},w=m("a",{href:"https://github.com/Binaryify/vue-qr",target:"_blank"},"https://github.com/Binaryify/vue-qr",-1),S=v({__name:"index",setup(z){const E=d(null),F=d(null),p=d("black"),C=d("https://github.com/zouzhibin/vue-admin-perfect"),i=c=>{switch(c){case 1:p.value="black",E.value=null;return;case 2:E.value=k;return;case 3:p.value=h();return;case 4:let l=new Date().getTime(),a=document.createElement("a");a.style.display="none",a.download=l,a.href=F.value,document.body.appendChild(a),a.click(),a.remove();return}},_=c=>{F.value=c};return(c,l)=>{const a=n("el-input"),B=n("collection"),f=n("el-icon"),s=n("el-button"),o=n("el-descriptions-item"),b=n("el-descriptions"),D=n("PageWrapLayout");return g(),y(D,null,{default:e(()=>[m("div",x,[u(a,{modelValue:C.value,"onUpdate:modelValue":l[0]||(l[0]=r=>C.value=r),placeholder:"\u8BF7\u8F93\u5165",style:{width:"400px","max-width":"100%"}},null,8,["modelValue"]),u(s,{type:"primary",onClick:l[1]||(l[1]=r=>i(1))},{default:e(()=>[u(f,{style:{"margin-right":"6px"}},{default:e(()=>[u(B)]),_:1}),t(" \u751F\u6210\u666E\u901A\u4E8C\u7EF4\u7801 ")]),_:1}),u(s,{type:"primary",onClick:l[2]||(l[2]=r=>i(2))},{default:e(()=>[t("\u751F\u6210\u5E26logo")]),_:1}),u(s,{type:"primary",onClick:l[3]||(l[3]=r=>i(3))},{default:e(()=>[t("\u751F\u6210\u968F\u673A\u989C\u8272\u4E8C\u7EF4\u7801")]),_:1}),u(s,{type:"primary",onClick:l[4]||(l[4]=r=>i(4))},{default:e(()=>[t("\u4E0B\u8F7D")]),_:1})]),m("div",null,[u(A,{logoSrc:E.value,text:C.value,size:200,callback:_,"color-dark":p.value},null,8,["logoSrc","text","color-dark"])]),u(b,{title:"\u914D\u7F6E\u9879 ",column:1,border:"",class:"descriptions"},{default:e(()=>[u(o,{label:"\u5B98\u65B9\u6587\u6863"},{default:e(()=>[w]),_:1}),u(o,{label:"text"},{default:e(()=>[t(" \u4E8C\u7EF4\u7801\u5185\u5BB9\uFF0C\u9ED8\u8BA4\u4E3A 'https://github.com/zouzhibin/vue-admin-perfect' ")]),_:1}),u(o,{label:"logoSrc"},{default:e(()=>[t(" \u5D4C\u5165\u81F3\u4E8C\u7EF4\u7801\u4E2D\u5FC3\u7684 LOGO \u5730\u5740 ")]),_:1}),u(o,{label:"size"},{default:e(()=>[t(" \u5C3A\u5BF8, \u957F\u5BBD\u4E00\u81F4, \u5305\u542B\u5916\u8FB9\u8DDD\uFF0C\u9ED8\u8BA4\u4E3A 200 ")]),_:1}),u(o,{label:"margin"},{default:e(()=>[t(" \u4E8C\u7EF4\u7801\u56FE\u50CF\u7684\u5916\u8FB9\u8DDD, \u9ED8\u8BA4 20px ")]),_:1}),u(o,{label:"logoMargin"},{default:e(()=>[t(" \u6807\u8BC6\u5468\u56F4\u7684\u7A7A\u767D\u8FB9\u6846, \u9ED8\u8BA4\u4E3A0 ")]),_:1}),u(o,{label:"correctLevel"},{default:e(()=>[t(" \u5BB9\u9519\u7EA7\u522B 0-3 ")]),_:1}),u(o,{label:"autoColor"},{default:e(()=>[t(" \u82E5\u4E3A true, \u80CC\u666F\u56FE\u7684\u4E3B\u8981\u989C\u8272\u5C06\u4F5C\u4E3A\u5B9E\u70B9\u7684\u989C\u8272, \u5373 colorDark,\u9ED8\u8BA4 true ")]),_:1}),u(o,{label:"colorDark"},{default:e(()=>[t(" \u5B9E\u70B9\u7684\u989C\u8272,\u9ED8\u8BA4\u989C\u8272\u503C =>\u9ED1\u8272 ")]),_:1}),u(o,{label:"colorLight"},{default:e(()=>[t(" \u7A7A\u767D\u533A\u7684\u989C\u8272 ")]),_:1}),u(o,{label:"callback"},{default:e(()=>[t(" \u751F\u6210\u7684\u4E8C\u7EF4\u7801 Data URI \u53EF\u4EE5\u5728\u56DE\u8C03\u4E2D\u53D6\u5F97,\u7B2C\u4E00\u4E2A\u53C2\u6570\u4E3A\u4E8C\u7EF4\u7801 data URL, \u7B2C\u4E8C\u4E2A\u53C2\u6570\u4E3A props \u4F20\u8FC7\u6765\u7684 qid(\u56E0\u4E3A\u4E8C\u7EF4\u7801\u751F\u6210\u662F\u5F02\u6B65\u7684,\u6240\u4EE5\u52A0\u4E2A id \u7528\u4E8E\u6392\u5E8F) ")]),_:1})]),_:1})]),_:1})}}});export{S as default};

View File

@ -0,0 +1 @@
import{i as n}from"./index.201c3aba.js";import{g as l,i,x as u,o as s,c as m,a as c,_ as d}from"./index.97fb5946.js";const p={class:"app-container"},x=l({__name:"index",setup(f){const t=i();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 u(()=>{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};

File diff suppressed because one or more lines are too long

Binary file not shown.

View File

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

Binary file not shown.

View File

@ -1 +1 @@
import{b as g}from"./exprotExcel.3453b3bc.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,d as y,F as A,D as C,_ as B}from"./index.2a72fe30.js";import"./exceljs.min.b9d707b5.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};
import{b as g}from"./exprotExcel.52659f72.js";import{g as w,i as u,r as a,o as r,c as _,a as s,b as t,w as c,d as y,F as A,D as C,_ as B}from"./index.97fb5946.js";import"./exceljs.min.1d72433d.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{a as A}from"./exprotExcel.52659f72.js";import{g as B,i as h,r as a,o as t,c as o,a as b,b as n,w as u,d as C,F as i,D as x,n as p,_ as V}from"./index.97fb5946.js";import"./exceljs.min.1d72433d.js";const N={class:"app-container"},z={class:"header"},H={class:"footer"},I=B({__name:"index",setup(L){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",H,[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 W=V(I,[["__scopeId","data-v-ed38f37e"]]);export{W as default};

File diff suppressed because one or more lines are too long

View File

@ -1 +0,0 @@
import{a as A}from"./exprotExcel.3453b3bc.js";import{g as B,h,r as a,o as t,c as o,a as b,b as n,w as u,d as C,F as i,D as x,j as p,_ as V}from"./index.2a72fe30.js";import"./exceljs.min.b9d707b5.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};

View File

@ -0,0 +1 @@
import{g as y,i as B,j 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 q,n as p,W as k,d as g,M as E,_ as O}from"./index.97fb5946.js";const P={class:"app-container"},S={class:"app-container-inner"},h=y({name:"appendForm"}),j=y({...h,setup(A){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)E.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",P,[U("div",S,[e($,{ref_key:"formRef",ref:m,model:s,"label-width":"120px",class:"demo-dynamic"},{default:n(()=>[(d(!0),b(R,null,q(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 J=O(j,[["__scopeId","data-v-60208d80"]]);export{J as default};

View File

@ -1 +1 @@
import{g as l,r as a,o as p,j as r,w as c,a as t,b as s,bN as e,d as u,p as m,f as F,_ as f}from"./index.2a72fe30.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"),d=a("PageWrapLayout");return p(),r(d,{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};
import{g as l,r as a,o as p,n as r,w as c,a as t,b as s,bK as e,d as u,p as m,f as F,_ as f}from"./index.97fb5946.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"),d=a("PageWrapLayout");return p(),r(d,{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

Binary file not shown.

File diff suppressed because one or more lines are too long

View File

@ -1 +1 @@
import{_ as c,o as t,c as o,p as a,f as d,a as s}from"./index.2a72fe30.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};
import{_ as c,o as t,c as o,p as a,f as d,a as s}from"./index.97fb5946.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};

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

@ -1 +1 @@
import{e as h}from"./exprotExcel.3453b3bc.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,d as y,F as w,D as B,p as z,f as V,_ as k}from"./index.2a72fe30.js";import"./exceljs.min.b9d707b5.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),d=s(""),o=s("xlsx"),F=()=>{h({column:c,data:p.value,filename:d.value||"\u5BFC\u51FA excel",format:o.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:d.value,"onUpdate:modelValue":i[0]||(i[0]=a=>d.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:o.value,"onUpdate:modelValue":i[1]||(i[1]=a=>o.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};
import{e as h}from"./exprotExcel.52659f72.js";import{g as f,i as s,r as e,o as E,c as m,a as n,b as u,w as l,d as y,F as w,D as B,p as z,f as V,_ as k}from"./index.97fb5946.js";import"./exceljs.min.1d72433d.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),d=s(""),o=s("xlsx"),F=()=>{h({column:c,data:p.value,filename:d.value||"\u5BFC\u51FA excel",format:o.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:d.value,"onUpdate:modelValue":i[0]||(i[0]=a=>d.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:o.value,"onUpdate:modelValue":i[1]||(i[1]=a=>o.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};

Binary file not shown.

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

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

View File

@ -1 +1 @@
import{g as F,h as y,i as W,r as o,o as d,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,d as f,t as G,_ as E,s as x,N as J,p as L,f as T}from"./index.2a72fe30.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 r=()=>{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 d(),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(()=>[(d(!0),k(Y,null,M(a.columns,(t,H)=>j((d(),B(N,{span:t.span,key:t.name},{default:e(()=>[t.type==="input"?(d(),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"?(d(),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:r},{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?(d(),B($,{key:1})):(d(),B(R,{key:0}))]),_:1})]),_:1})])])}}});const C=E(P,[["__scopeId","data-v-b96f41c8"]]),V=a=>(L("data-v-ef4c0f99"),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=r=>{v.value=r,J.success(JSON.stringify(r))},n=r=>{m.value=r};return(r,p)=>{const s=o("el-button"),c=o("el-card");return d(),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};
import{g as F,i as y,j as W,r as o,o as d,c as k,b as l,w as e,y as M,F as U,D as Y,G as j,n as B,q as O,H as q,a as h,d as f,t as z,_ as E,s as x,M as G,p as J,f as L}from"./index.97fb5946.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 r=()=>{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 d(),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(()=>[(d(!0),k(U,null,Y(a.columns,(t,I)=>j((d(),B(S,{span:t.span,key:t.name},{default:e(()=>[t.type==="input"?(d(),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"?(d(),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"])),[[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:r},{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?(d(),B($,{key:1})):(d(),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=r=>{v.value=r,G.success(JSON.stringify(r))},n=r=>{m.value=r};return(r,p)=>{const s=o("el-button"),c=o("el-card");return d(),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

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

View File

@ -1 +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.2a72fe30.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};
import{_ as c,r as e,o,c as r,a as l,b as t,w as _,n as i,T as p}from"./index.97fb5946.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};

View File

@ -1 +1 @@
import{L as a,i as d}from"./index.201c3aba.js";import{g as p,h as b,x as f,o as y,c as h,a as g,_ as x}from"./index.2a72fe30.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};
import{L as a,i as d}from"./index.201c3aba.js";import{g as p,i as b,x as f,o as y,c as h,a as g,_ as x}from"./index.97fb5946.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};

View File

@ -1 +1 @@
import{i as r}from"./index.201c3aba.js";import{g as i,h as l,x as c,o as u,c as d,a as p,_ as f}from"./index.2a72fe30.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};
import{i as r}from"./index.201c3aba.js";import{g as i,i as l,x as c,o as u,c as d,a as p,_ as f}from"./index.97fb5946.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};

View File

@ -1 +1 @@
import{_ as s,r as a,o as n,c as o,a as e,b as c}from"./index.2a72fe30.js";const r={},i={class:"app-container"},p={class:"app-container-inner"},_=e("div",{style:{"margin-bottom":"20px"}},"\u6B22\u8FCE\u5927\u5BB6\u52A0\u5FAE\u4FE1\u54C8\uFF0C\u5171\u540C\u8BA8\u8BBA\uFF0C\u5B66\u4E60",-1);function d(l,m){const t=a("el-image");return n(),o("div",i,[e("div",p,[_,c(t,{src:"http://182.61.5.190:8889/we.png","preview-src-list":["http://182.61.5.190:8889/we.png"],style:{"max-width":"200px"},"data-resid":Date.now()},null,8,["preview-src-list","data-resid"])])])}const x=s(r,[["render",d]]);export{x as default};
import{_ as s,r as a,o as n,c as o,a as e,b as c}from"./index.97fb5946.js";const r={},i={class:"app-container"},p={class:"app-container-inner"},_=e("div",{style:{"margin-bottom":"20px"}},"\u6B22\u8FCE\u5927\u5BB6\u52A0\u5FAE\u4FE1\u54C8\uFF0C\u5171\u540C\u8BA8\u8BBA\uFF0C\u5B66\u4E60",-1);function d(l,m){const t=a("el-image");return n(),o("div",i,[e("div",p,[_,c(t,{src:"http://182.61.5.190:8889/we.png","preview-src-list":["http://182.61.5.190:8889/we.png"],style:{"max-width":"200px"},"data-resid":Date.now()},null,8,["preview-src-list","data-resid"])])])}const x=s(r,[["render",d]]);export{x as default};

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

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

File diff suppressed because one or more lines are too long

Binary file not shown.

View File

@ -1,4 +1,4 @@
import{g as v,h as b,x as D,L as y,r as E,o as h,c as w,b as t,w as u,d as l,bL as k}from"./index.2a72fe30.js";function C(_){const{container:d=document.body,width:c="240",height:n="100",textAlign:f="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=f,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=`
import{a as v}from"./index.5be08a55.js";import{g as D,i as b,x as w,K as y,r as f,o as h,c as k,b as t,w as u,d as l}from"./index.97fb5946.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;
@ -7,4 +7,4 @@ import{g as v,h as b,x as D,L as y,r as E,o as h,c as w,b as t,w as u,d as l,bL
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"},M=v({__name:"index",setup(_){const d=b(.2);let c=b(-1);const n={rotate:-10,globalAlpha:d.value};function f(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(k());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[f(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 D(()=>{y(()=>{s(-1)})}),(o,e)=>{const r=E("el-button"),p=E("el-input"),a=E("el-descriptions-item"),B=E("el-descriptions");return h(),w("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{M as default};
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 w(()=>{y(()=>{s(-1)})}),(o,e)=>{const r=f("el-button"),p=f("el-input"),a=f("el-descriptions-item"),B=f("el-descriptions");return h(),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

@ -1 +1 @@
import{_ as u,o as h,c,t as d}from"./index.2a72fe30.js";let n=0;const o="webkit moz ms o".split(" ");let a,s;const p=typeof window>"u";if(p)a=function(){},s=function(){};else{a=window.requestAnimationFrame,s=window.cancelAnimationFrame;let i;for(let t=0;t<o.length&&!(a&&s);t++)i=o[t],a=a||window[i+"RequestAnimationFrame"],s=s||window[i+"CancelAnimationFrame"]||window[i+"CancelRequestAnimationFrame"];(!a||!s)&&(a=function(t){const e=new Date().getTime(),l=Math.max(0,16-(e-n)),r=window.setTimeout(()=>{t(e+l)},l);return n=e+l,r},s=function(t){window.clearTimeout(t)})}const f={props:{startVal:{type:Number,required:!1,default:0},endVal:{type:Number,required:!1,default:2017},duration:{type:Number,required:!1,default:3e3},autoplay:{type:Boolean,required:!1,default:!0},decimals:{type:Number,required:!1,default:0,validator(i){return i>=0}},decimal:{type:String,required:!1,default:"."},separator:{type:String,required:!1,default:","},prefix:{type:String,required:!1,default:""},suffix:{type:String,required:!1,default:""},useEasing:{type:Boolean,required:!1,default:!0},easingFn:{type:Function,default(i,t,e,l){return e*(-Math.pow(2,-10*i/l)+1)*1024/1023+t}}},data(){return{localStartVal:this.startVal,displayValue:this.formatNumber(this.startVal),printVal:null,paused:!1,localDuration:this.duration,startTime:null,timestamp:null,remaining:null,rAF:null}},computed:{countDown(){return this.startVal>this.endVal}},watch:{startVal(){this.autoplay&&this.start()},endVal(){this.autoplay&&this.start()}},mounted(){this.autoplay&&this.start(),this.$emit("mountedCallback")},methods:{start(){this.localStartVal=this.startVal,this.startTime=null,this.localDuration=this.duration,this.paused=!1,this.rAF=a(this.count)},pauseResume(){this.paused?(this.resume(),this.paused=!1):(this.pause(),this.paused=!0)},pause(){s(this.rAF)},resume(){this.startTime=null,this.localDuration=+this.remaining,this.localStartVal=+this.printVal,a(this.count)},reset(){this.startTime=null,s(this.rAF),this.displayValue=this.formatNumber(this.startVal)},count(i){this.startTime||(this.startTime=i),this.timestamp=i;const t=i-this.startTime;this.remaining=this.localDuration-t,this.useEasing?this.countDown?this.printVal=this.localStartVal-this.easingFn(t,0,this.localStartVal-this.endVal,this.localDuration):this.printVal=this.easingFn(t,this.localStartVal,this.endVal-this.localStartVal,this.localDuration):this.countDown?this.printVal=this.localStartVal-(this.localStartVal-this.endVal)*(t/this.localDuration):this.printVal=this.localStartVal+(this.endVal-this.localStartVal)*(t/this.localDuration),this.countDown?this.printVal=this.printVal<this.endVal?this.endVal:this.printVal:this.printVal=this.printVal>this.endVal?this.endVal:this.printVal,this.displayValue=this.formatNumber(this.printVal),t<this.localDuration?this.rAF=a(this.count):this.$emit("callback")},isNumber(i){return!isNaN(parseFloat(i))},formatNumber(i){i=i.toFixed(this.decimals),i+="";const t=i.split(".");let e=t[0];const l=t.length>1?this.decimal+t[1]:"",r=/(\d+)(\d{3})/;if(this.separator&&!this.isNumber(this.separator))for(;r.test(e);)e=e.replace(r,"$1"+this.separator+"$2");return this.prefix+e+l+this.suffix}},destroyed(){s(this.rAF)}};function m(i,t,e,l,r,V){return h(),c("span",null,d(r.displayValue),1)}const y=u(f,[["render",m]]);export{y as C};
import{_ as u,o as h,c,t as d}from"./index.97fb5946.js";let n=0;const o="webkit moz ms o".split(" ");let a,s;const p=typeof window>"u";if(p)a=function(){},s=function(){};else{a=window.requestAnimationFrame,s=window.cancelAnimationFrame;let i;for(let t=0;t<o.length&&!(a&&s);t++)i=o[t],a=a||window[i+"RequestAnimationFrame"],s=s||window[i+"CancelAnimationFrame"]||window[i+"CancelRequestAnimationFrame"];(!a||!s)&&(a=function(t){const e=new Date().getTime(),l=Math.max(0,16-(e-n)),r=window.setTimeout(()=>{t(e+l)},l);return n=e+l,r},s=function(t){window.clearTimeout(t)})}const f={props:{startVal:{type:Number,required:!1,default:0},endVal:{type:Number,required:!1,default:2017},duration:{type:Number,required:!1,default:3e3},autoplay:{type:Boolean,required:!1,default:!0},decimals:{type:Number,required:!1,default:0,validator(i){return i>=0}},decimal:{type:String,required:!1,default:"."},separator:{type:String,required:!1,default:","},prefix:{type:String,required:!1,default:""},suffix:{type:String,required:!1,default:""},useEasing:{type:Boolean,required:!1,default:!0},easingFn:{type:Function,default(i,t,e,l){return e*(-Math.pow(2,-10*i/l)+1)*1024/1023+t}}},data(){return{localStartVal:this.startVal,displayValue:this.formatNumber(this.startVal),printVal:null,paused:!1,localDuration:this.duration,startTime:null,timestamp:null,remaining:null,rAF:null}},computed:{countDown(){return this.startVal>this.endVal}},watch:{startVal(){this.autoplay&&this.start()},endVal(){this.autoplay&&this.start()}},mounted(){this.autoplay&&this.start(),this.$emit("mountedCallback")},methods:{start(){this.localStartVal=this.startVal,this.startTime=null,this.localDuration=this.duration,this.paused=!1,this.rAF=a(this.count)},pauseResume(){this.paused?(this.resume(),this.paused=!1):(this.pause(),this.paused=!0)},pause(){s(this.rAF)},resume(){this.startTime=null,this.localDuration=+this.remaining,this.localStartVal=+this.printVal,a(this.count)},reset(){this.startTime=null,s(this.rAF),this.displayValue=this.formatNumber(this.startVal)},count(i){this.startTime||(this.startTime=i),this.timestamp=i;const t=i-this.startTime;this.remaining=this.localDuration-t,this.useEasing?this.countDown?this.printVal=this.localStartVal-this.easingFn(t,0,this.localStartVal-this.endVal,this.localDuration):this.printVal=this.easingFn(t,this.localStartVal,this.endVal-this.localStartVal,this.localDuration):this.countDown?this.printVal=this.localStartVal-(this.localStartVal-this.endVal)*(t/this.localDuration):this.printVal=this.localStartVal+(this.endVal-this.localStartVal)*(t/this.localDuration),this.countDown?this.printVal=this.printVal<this.endVal?this.endVal:this.printVal:this.printVal=this.printVal>this.endVal?this.endVal:this.printVal,this.displayValue=this.formatNumber(this.printVal),t<this.localDuration?this.rAF=a(this.count):this.$emit("callback")},isNumber(i){return!isNaN(parseFloat(i))},formatNumber(i){i=i.toFixed(this.decimals),i+="";const t=i.split(".");let e=t[0];const l=t.length>1?this.decimal+t[1]:"",r=/(\d+)(\d{3})/;if(this.separator&&!this.isNumber(this.separator))for(;r.test(e);)e=e.replace(r,"$1"+this.separator+"$2");return this.prefix+e+l+this.suffix}},destroyed(){s(this.rAF)}};function m(i,t,e,l,r,V){return h(),c("span",null,d(r.displayValue),1)}const y=u(f,[["render",m]]);export{y as C};

View File

@ -1 +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,d as _,s as A,J as $,O as U,_ as I}from"./index.2a72fe30.js";import{m as k}from"./system.1079ce70.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}),v={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"),F=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(F,{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:v,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)},v=()=>{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"),F=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(F,{label:"\u83DC\u5355\u540D\u79F0",prop:"username"},{default:l(()=>[e(c,{modelValue:p.username,"onUpdate:modelValue":u[0]||(u[0]=o=>p.username=o),placeholder:"\u8BF7\u8F93\u5165\u83DC\u5355\u540D\u79F0"},null,8,["modelValue"])]),_:1}),e(F,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:v},{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-27d49517"]]);export{K as default};
import{g as x,i as d,j as w,r as t,o as N,c as h,b as e,w as l,a as D,d as _,s as A,I as $,N as U,_ as I}from"./index.97fb5946.js";import{m as k}from"./system.1079ce70.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}),v={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"),F=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(F,{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:v,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"])])}}}),j={class:"app-container"},q={class:"header"},M={class:"footer"},S={class:"util"},O={class:"table-wrap"},G=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)},v=()=>{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"),F=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",j,[D("div",q,[e(b,{inline:!0,model:p,ref_key:"ruleFormRef",ref:m},{default:l(()=>[e(F,{label:"\u83DC\u5355\u540D\u79F0",prop:"username"},{default:l(()=>[e(c,{modelValue:p.username,"onUpdate:modelValue":u[0]||(u[0]=o=>p.username=o),placeholder:"\u8BF7\u8F93\u5165\u83DC\u5355\u540D\u79F0"},null,8,["modelValue"])]),_:1}),e(F,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",M,[D("div",S,[e(a,{type:"primary",onClick:v},{default:l(()=>[e(V,null,{default:l(()=>[e(E)]),_:1}),_(" \u65B0\u589E\u83DC\u5355 ")]),_:1})]),D("div",O,[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(G,[["__scopeId","data-v-27d49517"]]);export{K 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

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

@ -1,4 +1,4 @@
import{S as mt,g as Pt,h as St,r as _t,o as It,c as Ot,a as Bt,b as gt,w as zt,d as jt,F as Wt,D as Zt,_ as Mt}from"./index.2a72fe30.js";import{c as xt,e as Ht}from"./exceljs.min.b9d707b5.js";var Rt={exports:{}};(function(Q,rt){(function(_,T){T()})(mt,function(){function _(c,v){return typeof v>"u"?v={autoBom:!1}:typeof v!="object"&&(console.warn("Deprecated: Expected third argument to be a object"),v={autoBom:!v}),v.autoBom&&/^\s*(?:text\/\S*|application\/xml|\S*\/\S*\+xml)\s*;.*charset\s*=\s*utf-8/i.test(c.type)?new Blob(["\uFEFF",c],{type:c.type}):c}function T(c,v,g){var m=new XMLHttpRequest;m.open("GET",c),m.responseType="blob",m.onload=function(){h(m.response,v,g)},m.onerror=function(){console.error("could not download file")},m.send()}function w(c){var v=new XMLHttpRequest;v.open("HEAD",c,!1);try{v.send()}catch{}return 200<=v.status&&299>=v.status}function u(c){try{c.dispatchEvent(new MouseEvent("click"))}catch{var v=document.createEvent("MouseEvents");v.initMouseEvent("click",!0,!0,window,0,0,0,80,20,!1,!1,!1,!1,0,null),c.dispatchEvent(v)}}var a=typeof window=="object"&&window.window===window?window:typeof self=="object"&&self.self===self?self:typeof mt=="object"&&mt.global===mt?mt:void 0,r=a.navigator&&/Macintosh/.test(navigator.userAgent)&&/AppleWebKit/.test(navigator.userAgent)&&!/Safari/.test(navigator.userAgent),h=a.saveAs||(typeof window!="object"||window!==a?function(){}:"download"in HTMLAnchorElement.prototype&&!r?function(c,v,g){var m=a.URL||a.webkitURL,i=document.createElement("a");v=v||c.name||"download",i.download=v,i.rel="noopener",typeof c=="string"?(i.href=c,i.origin===location.origin?u(i):w(i.href)?T(c,v,g):u(i,i.target="_blank")):(i.href=m.createObjectURL(c),setTimeout(function(){m.revokeObjectURL(i.href)},4e4),setTimeout(function(){u(i)},0))}:"msSaveOrOpenBlob"in navigator?function(c,v,g){if(v=v||c.name||"download",typeof c!="string")navigator.msSaveOrOpenBlob(_(c,g),v);else if(w(c))T(c,v,g);else{var m=document.createElement("a");m.href=c,m.target="_blank",setTimeout(function(){u(m)})}}:function(c,v,g,m){if(m=m||open("","_blank"),m&&(m.document.title=m.document.body.innerText="downloading..."),typeof c=="string")return T(c,v,g);var i=c.type==="application/octet-stream",d=/constructor/i.test(a.HTMLElement)||a.safari,n=/CriOS\/[\d]+/.test(navigator.userAgent);if((n||i&&d||r)&&typeof FileReader<"u"){var l=new FileReader;l.onloadend=function(){var y=l.result;y=n?y:y.replace(/^data:[^;]*;/,"data:attachment/file;"),m?m.location.href=y:location=y,m=null},l.readAsDataURL(c)}else{var s=a.URL||a.webkitURL,p=s.createObjectURL(c);m?m.location=p:location.href=p,m=null,setTimeout(function(){s.revokeObjectURL(p)},4e4)}});a.saveAs=h.saveAs=h,Q.exports=h})})(Rt);var Dt={exports:{}};/*!
import{Q as mt,g as Pt,i as St,r as _t,o as It,c as Ot,a as Bt,b as gt,w as zt,d as jt,F as Wt,D as Zt,_ as Mt}from"./index.97fb5946.js";import{c as xt,e as Ht}from"./exceljs.min.1d72433d.js";var Rt={exports:{}};(function(Q,rt){(function(_,T){T()})(mt,function(){function _(c,v){return typeof v>"u"?v={autoBom:!1}:typeof v!="object"&&(console.warn("Deprecated: Expected third argument to be a object"),v={autoBom:!v}),v.autoBom&&/^\s*(?:text\/\S*|application\/xml|\S*\/\S*\+xml)\s*;.*charset\s*=\s*utf-8/i.test(c.type)?new Blob(["\uFEFF",c],{type:c.type}):c}function T(c,v,g){var m=new XMLHttpRequest;m.open("GET",c),m.responseType="blob",m.onload=function(){h(m.response,v,g)},m.onerror=function(){console.error("could not download file")},m.send()}function w(c){var v=new XMLHttpRequest;v.open("HEAD",c,!1);try{v.send()}catch{}return 200<=v.status&&299>=v.status}function u(c){try{c.dispatchEvent(new MouseEvent("click"))}catch{var v=document.createEvent("MouseEvents");v.initMouseEvent("click",!0,!0,window,0,0,0,80,20,!1,!1,!1,!1,0,null),c.dispatchEvent(v)}}var a=typeof window=="object"&&window.window===window?window:typeof self=="object"&&self.self===self?self:typeof mt=="object"&&mt.global===mt?mt:void 0,r=a.navigator&&/Macintosh/.test(navigator.userAgent)&&/AppleWebKit/.test(navigator.userAgent)&&!/Safari/.test(navigator.userAgent),h=a.saveAs||(typeof window!="object"||window!==a?function(){}:"download"in HTMLAnchorElement.prototype&&!r?function(c,v,g){var m=a.URL||a.webkitURL,i=document.createElement("a");v=v||c.name||"download",i.download=v,i.rel="noopener",typeof c=="string"?(i.href=c,i.origin===location.origin?u(i):w(i.href)?T(c,v,g):u(i,i.target="_blank")):(i.href=m.createObjectURL(c),setTimeout(function(){m.revokeObjectURL(i.href)},4e4),setTimeout(function(){u(i)},0))}:"msSaveOrOpenBlob"in navigator?function(c,v,g){if(v=v||c.name||"download",typeof c!="string")navigator.msSaveOrOpenBlob(_(c,g),v);else if(w(c))T(c,v,g);else{var m=document.createElement("a");m.href=c,m.target="_blank",setTimeout(function(){u(m)})}}:function(c,v,g,m){if(m=m||open("","_blank"),m&&(m.document.title=m.document.body.innerText="downloading..."),typeof c=="string")return T(c,v,g);var i=c.type==="application/octet-stream",d=/constructor/i.test(a.HTMLElement)||a.safari,n=/CriOS\/[\d]+/.test(navigator.userAgent);if((n||i&&d||r)&&typeof FileReader<"u"){var l=new FileReader;l.onloadend=function(){var y=l.result;y=n?y:y.replace(/^data:[^;]*;/,"data:attachment/file;"),m?m.location.href=y:location=y,m=null},l.readAsDataURL(c)}else{var s=a.URL||a.webkitURL,p=s.createObjectURL(c);m?m.location=p:location.href=p,m=null,setTimeout(function(){s.revokeObjectURL(p)},4e4)}});a.saveAs=h.saveAs=h,Q.exports=h})})(Rt);var Dt={exports:{}};/*!
JSZip v3.10.1 - A JavaScript class for generating and reading zip files
<http://stuartk.com/jszip>

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.

Binary file not shown.

File diff suppressed because one or more lines are too long

View File

@ -1 +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,d 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.2a72fe30.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};
import{g as y,i as g,B as P,j as T,r as o,C as U,o as r,c as f,a as v,b as t,w as a,d as u,G as j,n as h,F as J,t as b,s as M,N as G,M as I,_ as O}from"./index.97fb5946.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,[v("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"])]),v("div",H,[j((r(),h($,{data:M(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(),h(s,{key:0,type:"success",size:"small",icon:"CircleCheckFilled",onClick:c=>k(n.row)},{default:a(()=>[u(" \u4FDD\u5B58 ")]),_:2},1032,["onClick"])):(r(),h(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]]),v("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=O(W,[["__scopeId","data-v-d18394e4"]]);export{Z as default};

View File

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

Binary file not shown.

View File

@ -1,2 +1,2 @@
import{g as k,h as g,x as R,P as L,r as a,o as U,c as M,b as e,w as t,s as x,bM as N,a as V,F as j,N as z,i as w,j as W,d as C}from"./index.2a72fe30.js";const I=["src"],O=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)}:(z.error("\u8BF7\u4E0A\u4F20\u56FE\u7247"),c())}),l=n=>{F.value=n.url,_.value=!0};return R(()=>{L(()=>i.modelValue,n=>{u.value=n})}),(n,r)=>{const m=a("el-icon"),c=a("el-upload"),p=a("el-dialog");return U(),M(j,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(N))]),_: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,I)]),_:1},8,["modelValue"])],64)}}}),S={style:{"max-width":"800px"}},T=V("span",{class:"text-gray-500"},"-",-1),H=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"),P=a("PageWrapLayout");return U(),W(P,null,{default:t(()=>[V("div",S,[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(()=>[T]),_: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(O,{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{H as default};
import{g as k,i 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,bJ as j,a as V,F as z,M as N,j as w,n as O,d as C}from"./index.97fb5946.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)}:(N.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(z,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(j))]),_: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)}}}),J={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",J,[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};

Binary file not shown.

Binary file not shown.

View File

@ -0,0 +1 @@
import{g as R,i,x as P,O as M,r,o as h,c as F,b as t,w as l,s as C,bJ as S,a as f,F as L,M as U,l as N,D,W as I,d as j,p as T,f as J,_ as O}from"./index.97fb5946.js";const W=["src"],q=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 v=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=>{v.value.push({name:s,url:n.target.result}),y("update",v.value),e(n.target.result)}:(U.error("\u8BF7\u4E0A\u4F20\u56FE\u7247"),c())}),B=a=>{g.value=a.url,p.value=!0};return P(()=>{M(()=>w.modelValue,a=>{v.value=a},{immediate:!0})}),(a,_)=>{const e=r("el-icon"),c=r("el-upload"),o=r("el-dialog");return h(),F(L,null,[t(c,{action:"","before-upload":b,"list-type":d.listType,multiple:d.multiple,"on-preview":B,"on-remove":$,"file-list":C(v)},{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(()=>[f("img",{"w-full":"",src:g.value,alt:"\u9884\u89C8\u56FE\u7247",style:{width:"100%"}},null,8,W)]),_:1},8,["modelValue"])],64)}}}),E=d=>(T("data-v-6a63fad3"),d=d(),J(),d),z={class:"app-container"},G=E(()=>f("span",null,"\u6309\u94AE\u4E0A\u4F20",-1)),H={class:"demo-image__preview"},K={class:"upload-list"},Q=E(()=>f("span",null,"\u591A\u56FE\u7247\u4E0A\u4F20",-1)),X=E(()=>f("span",null,"\u62D6\u62FD\u4E0A\u4F20",-1)),Y={class:"upload-list"},Z=E(()=>f("div",{class:"el-upload__text"},[j(" \u62D6\u62FD\u4E0A\u4F20 "),f("em",null,"\u6216\u8005\u70B9\u51FB\u4E0A\u4F20")],-1)),ee=R({__name:"index",setup(d){const y=i([{url:N,name:"female.png",uid:"1651408956803",status:"success"}]);i([]);const w=i(0),v=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",z,[t(n,{style:{"margin-bottom":"10px"}},{header:l(()=>[G]),default:l(()=>[f("div",H,[(h(!0),F(L,null,D(g.value,(A,V)=>(h(),F("div",K,[t(o,{onClick:I(k=>b(V),["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(q,{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(L,null,D(p.value,(A,V)=>(h(),F("div",Y,[t(o,{onClick:I(k=>B(V),["stop"]),style:{width:"100%",height:"100%"},src:A,"preview-src-list":p.value,"initial-index":v.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=O(ee,[["__scopeId","data-v-6a63fad3"]]);export{le as default};

View File

@ -1 +1 @@
import{C as c}from"./index.aee31608.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,d as n,w as o,p as D,f as y,_ as A}from"./index.2a72fe30.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};
import{C as c}from"./index.7fb0ca4d.js";import{g as v,i as E,j as I,r as i,o as B,c as g,a as s,b as a,s as u,d as n,w as o,p as D,f as y,_ as A}from"./index.97fb5946.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"},j=U(()=>s("br",null,null,-1)),q={class:"label"},z={class:"label"},G={class:"label"},H={class:"label"},J=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"])]),j,s("label",q,[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",z,[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",G,[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",H,[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 M=A(J,[["__scopeId","data-v-d0f116c6"]]);export{M as default};

File diff suppressed because one or more lines are too long

Binary file not shown.

View File

@ -1 +0,0 @@
import{g as R,h as i,x as P,P as M,r,o as h,c as F,b as t,w as l,s as C,bM as N,a as v,F as L,N as U,q as S,D,Y as I,d as j,p as T,f as q,_ as Y}from"./index.2a72fe30.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(()=>{M(()=>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(L,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(N))]),_: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)),W=E(()=>v("span",null,"\u62D6\u62FD\u4E0A\u4F20",-1)),X={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:S,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(L,null,D(g.value,(A,V)=>(h(),F("div",O,[t(o,{onClick:I(k=>b(V),["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(()=>[W]),default:l(()=>[(h(!0),F(L,null,D(p.value,(A,V)=>(h(),F("div",X,[t(o,{onClick:I(k=>B(V),["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=Y(ee,[["__scopeId","data-v-9665cd80"]]);export{le as default};

View File

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

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

@ -1 +0,0 @@
import{g as x,u as N,h as m,i as w,r as t,o as b,j as T,w as s,b as e,k as y,a as n,d as q,E,l as K,m as L,_ as B,c as P,n as R,p as A,f as D,q as G}from"./index.2a72fe30.js";const j="/vue-admin-perfect/assets/side-logo.74a8e9c4.png",z=x({__name:"LoginForm",setup(u){const f=L(),v=N(),r=m(),i=m("password"),c=m(!1),h=w({password:[{required:!0,message:"\u8BF7\u8F93\u5165\u7528\u6237\u540D",trigger:"blur"}],username:[{required:!0,message:"\u8BF7\u8F93\u5165\u5BC6\u7801",trigger:"blur"}]}),a=w({username:"admin",password:"123456"}),C=()=>{i.value=i.value==="password"?"":"password"},_=d=>{!d||d.validate(o=>{if(o)c.value=!0,setTimeout(async()=>{await v.login(a),await f.push({path:"/"}),E({title:K(),message:"\u6B22\u8FCE\u767B\u5F55 Vue Admin Perfect",type:"success",duration:3e3}),c.value=!0},1e3);else return console.log("error submit!"),!1})};return(d,o)=>{const k=t("UserFilled"),g=t("el-icon"),F=t("el-input"),p=t("el-form-item"),S=t("GoodsFilled"),U=t("svg-icon"),I=t("el-button"),$=t("el-form");return b(),T($,{ref_key:"ruleFormRef",ref:r,model:a,rules:h},{default:s(()=>[e(p,{label:"",prop:"username"},{default:s(()=>[e(F,{placeholder:"\u8BF7\u8F93\u5165\u7528\u6237\u540D",autoComplete:"on",style:{position:"relative"},modelValue:a.username,"onUpdate:modelValue":o[0]||(o[0]=l=>a.username=l),onKeyup:o[1]||(o[1]=y(l=>_(r.value),["enter","native"]))},{prefix:s(()=>[e(g,{class:"el-input__icon"},{default:s(()=>[e(k)]),_:1})]),_:1},8,["modelValue"])]),_:1}),e(p,{label:"",prop:"password"},{default:s(()=>[e(F,{placeholder:"\u8BF7\u8F93\u5165\u5BC6\u7801",autoComplete:"on",onKeyup:o[2]||(o[2]=y(l=>_(r.value),["enter","native"])),modelValue:a.password,"onUpdate:modelValue":o[3]||(o[3]=l=>a.password=l),type:i.value},{prefix:s(()=>[e(g,{class:"el-input__icon"},{default:s(()=>[e(S)]),_:1})]),suffix:s(()=>[n("div",{class:"show-pwd",onClick:C},[e(U,{"icon-class":i.value==="password"?"eye":"eye-open"},null,8,["icon-class"])])]),_:1},8,["modelValue","type"])]),_:1}),e(p,{style:{width:"100%"}},{default:s(()=>[e(I,{loading:c.value,class:"login-btn",type:"primary",onClick:o[4]||(o[4]=l=>_(r.value))},{default:s(()=>[q("\u767B\u5F55")]),_:1},8,["loading"])]),_:1})]),_:1},8,["model","rules"])}}});const H=B(z,[["__scopeId","data-v-8a16b046"]]),V=u=>(A("data-v-0ae0f47c"),u=u(),D(),u),J={class:"login-container"},M={class:"login-box"},O=V(()=>n("div",{class:"login-left"},[n("img",{src:j})],-1)),Q={class:"login-form"},W=V(()=>n("div",{class:"login-title"},[n("img",{class:"icon",src:G,alt:"logo"}),n("h2",{class:"title"},"Vue-Admin-Perfect")],-1)),X=x({__name:"index",setup(u){return(f,v)=>(b(),P("div",J,[n("div",M,[e(R,{class:"login-dark"}),O,n("div",Q,[W,e(H)])])]))}});const Z=B(X,[["__scopeId","data-v-0ae0f47c"]]);export{Z as default};

View File

@ -1 +1 @@
import{_ as y,o as u,c as r,F as w,D as v,Y as _,t as x,z as b,H as C,g as k,h as p,m as S,r as d,j as E,w as h,b as f,d as F}from"./index.2a72fe30.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)):C("",!0)}const D=y(N,[["render",A],["__scopeId","data-v-f9c1d2d8"]]),L=k({__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};
import{_ as y,o as u,c as r,F as w,D as v,W as _,t as x,z as b,q as C,g as k,i as p,u as S,r as d,n as E,w as h,b as f,d as F}from"./index.97fb5946.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)):C("",!0)}const D=y(N,[["render",A],["__scopeId","data-v-f9c1d2d8"]]),L=k({__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};

View File

@ -1 +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}
.upload-list[data-v-6a63fad3]{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}

File diff suppressed because one or more lines are too long

View File

@ -1 +1 @@
import{g as t,r as e,o as u,j as _,w as p,a as n,b as s,bN as o,p as d,f,_ as m}from"./index.2a72fe30.js";const i=a=>(d("data-v-da9b4b85"),a=a(),f(),a),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)),b={class:"icon-list"},g=t({name:"svgIcon"}),h=t({...g,setup(a){return(v,F)=>{const c=e("el-alert"),l=e("PageWrapLayout");return u(),_(l,{class:"components-container"},{default:p(()=>[n("div",r,[s(c,{title:"\u666E\u901A\u5F15\u5165\u65B9\u5F0F Font Class",type:"warning",closable:!1}),x,y,s(c,{title:"Symbol \u7684\u65B9\u5F0F\u6E32\u67D3\u56FE\u6807 \u652F\u6301\u591A\u8272",type:"warning",closable:!1}),n("div",b,[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(h,[["__scopeId","data-v-da9b4b85"]]);export{I as default};
import{g as t,r as e,o as u,n as _,w as p,a as n,b as s,bK as o,p as d,f,_ as m}from"./index.97fb5946.js";const i=a=>(d("data-v-da9b4b85"),a=a(),f(),a),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)),b={class:"icon-list"},g=t({name:"svgIcon"}),h=t({...g,setup(a){return(v,F)=>{const c=e("el-alert"),l=e("PageWrapLayout");return u(),_(l,{class:"components-container"},{default:p(()=>[n("div",r,[s(c,{title:"\u666E\u901A\u5F15\u5165\u65B9\u5F0F Font Class",type:"warning",closable:!1}),x,y,s(c,{title:"Symbol \u7684\u65B9\u5F0F\u6E32\u67D3\u56FE\u6807 \u652F\u6301\u591A\u8272",type:"warning",closable:!1}),n("div",b,[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(h,[["__scopeId","data-v-da9b4b85"]]);export{I as default};

File diff suppressed because one or more lines are too long

Binary file not shown.

View File

@ -1 +0,0 @@
import{g as y,h as B,i as M,r as t,o as d,c as b,a as U,b as e,w as o,F as R,D as h,j as p,Y as k,d as g,N as q,_ as E}from"./index.2a72fe30.js";const O={class:"app-container"},P={class:"app-container-inner"},S=y({name:"appendForm"}),j=y({...S,setup(A){const m=B(),s=M({domains:[{key:1,value:"",name:""}]}),V=l=>{const n=s.domains.indexOf(l);n!==-1&&s.domains.splice(n,1)},C=()=>{s.domains.push({key:Date.now(),value:"",name:""})},w=l=>{!l||l.validate(n=>{if(n)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,n)=>{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"),N=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:o(()=>[(d(!0),b(R,null,h(s.domains,(a,r)=>(d(),p(N,{gutter:20,key:a.key},{default:o(()=>[e(c,{span:10},{default:o(()=>[e(_,{label:"Domain"+r,prop:"domains."+r+".name",rules:{required:!0,message:"domain can not be null",trigger:"blur"}},{default:o(()=>[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:o(()=>[e(_,{label:"Domain"+r,prop:"domains."+r+".value",rules:{required:!0,message:"domain can not be null",trigger:"blur"}},{default:o(()=>[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:o(()=>[r===0?(d(),p(i,{key:0,onClick:n[0]||(n[0]=k(u=>C(),["prevent"]))},{default:o(()=>[e(v,null,{default:o(()=>[e(D)]),_:1})]),_:1})):(d(),p(i,{key:1,onClick:k(u=>V(a),["prevent"])},{default:o(()=>[e(v,null,{default:o(()=>[e(F)]),_:1})]),_:2},1032,["onClick"]))]),_:2},1024)]),_:2},1024))),128)),e(_,null,{default:o(()=>[e(i,{type:"primary",onClick:n[1]||(n[1]=a=>w(m.value))},{default:o(()=>[g("Submit")]),_:1}),e(i,{onClick:n[2]||(n[2]=a=>x(m.value))},{default:o(()=>[g("Reset")]),_:1})]),_:1})]),_:1},8,["model"])])])}}});const J=E(j,[["__scopeId","data-v-60208d80"]]);export{J as default};

View File

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

Binary file not shown.

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