提交 5a7d18d3 编写于 作者: 刘英杰's avatar 刘英杰

v20250212 保存

上级 b956bfc1
流水线 #32936 已通过 ,包含阶段
in 1 minute 和 23 second
import{b as u,d as l,c as k,a as m,w as _,L as f,o as g,e as d,u as y,C as R,f as s,G as w,g as x,S as v,h as C}from"./index-CVoGs-KC.js";function A(a){return u.get("/api/Common/GetCurrentUserRoleList",a)}const L={style:{display:"flex","justify-content":"center","margin-top":"50%"}},T={__name:"SSO",setup(a){const t=y(),o=()=>{w().then(n=>{s.set("oneWeekARange-user-info",JSON.stringify(n.response)),A().then(e=>{x().setUserInfo({...n.response,roleList:e.response,currentRole:e.response[0]}),t.replace({name:"welcome"})})})},c=async n=>{const e=await v(n);e===void 0?await t.replace({name:"403"}):e.response.access_token.token_content!==""&&(s.set("oneWeekARange-management-token",e.response.access_token.token_content),s.set("time",e.response.access_token.expires),o())},r=async n=>{const e=await C(n);e===void 0?await t.replace({name:"403"}):e.response.access_token.token_content!==""&&(s.set("oneWeekARange-management-token",e.response.access_token.token_content),s.set("time",e.response.access_token.expires),o())},i=async()=>{({asc:async()=>{let e={token:t.currentRoute.value.query.token};await c(e)},first:async()=>{let e={sign:t.currentRoute.value.query.sign,code:t.currentRoute.value.query.code,timestamp:t.currentRoute.value.query.timestamp};await r(e)},test:async()=>{const e=await R();e===void 0?await t.replace({name:"403"}):e.response.access_token.token_content!==""&&(s.set("oneWeekARange-management-token",e.response.access_token.token_content),s.set("time",e.response.access_token.expires),o())}})[t.currentRoute.value.query.type]()};return l(()=>{i()}),(n,e)=>{const p=f;return g(),k("div",L,[m(p,{size:"38px",color:"#1989fa",vertical:""},{default:_(()=>e[0]||(e[0]=[d(" 登录中")])),_:1})])}}};export{T as default}; import{b as u,d as l,c as k,a as m,w as _,L as f,o as g,e as d,u as y,C as R,f as s,G as w,g as x,S as v,h as C}from"./index-C2Jw6VUI.js";function A(a){return u.get("/api/Common/GetCurrentUserRoleList",a)}const L={style:{display:"flex","justify-content":"center","margin-top":"50%"}},T={__name:"SSO",setup(a){const t=y(),o=()=>{w().then(n=>{s.set("oneWeekARange-user-info",JSON.stringify(n.response)),A().then(e=>{x().setUserInfo({...n.response,roleList:e.response,currentRole:e.response[0]}),t.replace({name:"welcome"})})})},c=async n=>{const e=await v(n);e===void 0?await t.replace({name:"403"}):e.response.access_token.token_content!==""&&(s.set("oneWeekARange-management-token",e.response.access_token.token_content),s.set("time",e.response.access_token.expires),o())},r=async n=>{const e=await C(n);e===void 0?await t.replace({name:"403"}):e.response.access_token.token_content!==""&&(s.set("oneWeekARange-management-token",e.response.access_token.token_content),s.set("time",e.response.access_token.expires),o())},i=async()=>{({asc:async()=>{let e={token:t.currentRoute.value.query.token};await c(e)},first:async()=>{let e={sign:t.currentRoute.value.query.sign,code:t.currentRoute.value.query.code,timestamp:t.currentRoute.value.query.timestamp};await r(e)},test:async()=>{const e=await R();e===void 0?await t.replace({name:"403"}):e.response.access_token.token_content!==""&&(s.set("oneWeekARange-management-token",e.response.access_token.token_content),s.set("time",e.response.access_token.expires),o())}})[t.currentRoute.value.query.type]()};return l(()=>{i()}),(n,e)=>{const p=f;return g(),k("div",L,[m(p,{size:"38px",color:"#1989fa",vertical:""},{default:_(()=>e[0]||(e[0]=[d(" 登录中")])),_:1})])}}};export{T as default};
import{d as l,c as k,a as m,w as _,L as y,o as f,e as d,u as w,h as g,f as n,G as o,C as v,S as x}from"./index-CVoGs-KC.js";const R={style:{display:"flex","justify-content":"center","margin-top":"50%"}},O={__name:"SSOInfo",setup(S){const t=w(),c=async a=>{const e=await x(a);if(e===void 0)await t.replace({name:"403"});else if(e.response.access_token.token_content!==""){n.set("oneWeekARange-management-token",e.response.access_token.token_content),n.set("time",e.response.access_token.expires);const s=await o();n.set("oneWeekARange-user-info",JSON.stringify(s.response)),await t.replace({name:"workArrangementFilling"})}},i=async a=>{const e=await(void 0)(a);if(e===void 0)await t.replace({name:"403"});else if(e.response.access_token.token_content!==""){n.set("site-management-token",e.response.access_token.token_content),n.set("time",e.response.access_token.expires);const s=await o();n.set("site-user-info",JSON.stringify(s.response)),await t.replace({name:"myActivity"})}},r=async()=>{({wx:async()=>{let e={token:t.currentRoute.value.query.token};const s=await g(e);if(s===void 0)await t.replace({name:"403"});else if(s.response.access_token.token_content!==""){n.set("site-management-token",s.response.access_token.token_content),n.set("time",s.response.access_token.expires);const u=await o();n.set("site-user-info",JSON.stringify(u.response));let p=t.currentRoute.value.query.id;await t.push({path:"/indexDetail",query:{id:p,pushMessage:1}})}},asc:async()=>{let e={token:t.currentRoute.value.query.token};await c(e)},first:async()=>{let e={sign:t.currentRoute.value.query.sign,code:t.currentRoute.value.query.code,timestamp:t.currentRoute.value.query.timestamp};await i(e)},test:async()=>{const e=await v();if(e===void 0)await t.replace({name:"403"});else if(e.response.access_token.token_content!==""){n.set("site-management-token",e.response.access_token.token_content),n.set("time",e.response.access_token.expires);const s=await o();n.set("site-user-info",JSON.stringify(s.response)),await t.replace({name:"myActivity"})}}})[t.currentRoute.value.query.type]()};return l(()=>{r()}),(a,e)=>{const s=y;return f(),k("div",R,[m(s,{size:"38px",color:"#1989fa",vertical:""},{default:_(()=>e[0]||(e[0]=[d(" 登录中")])),_:1})])}}};export{O as default}; import{d as l,c as k,a as m,w as _,L as y,o as f,e as d,u as w,h as g,f as n,G as o,C as v,S as x}from"./index-C2Jw6VUI.js";const R={style:{display:"flex","justify-content":"center","margin-top":"50%"}},O={__name:"SSOInfo",setup(S){const t=w(),c=async a=>{const e=await x(a);if(e===void 0)await t.replace({name:"403"});else if(e.response.access_token.token_content!==""){n.set("oneWeekARange-management-token",e.response.access_token.token_content),n.set("time",e.response.access_token.expires);const s=await o();n.set("oneWeekARange-user-info",JSON.stringify(s.response)),await t.replace({name:"workArrangementFilling"})}},i=async a=>{const e=await(void 0)(a);if(e===void 0)await t.replace({name:"403"});else if(e.response.access_token.token_content!==""){n.set("site-management-token",e.response.access_token.token_content),n.set("time",e.response.access_token.expires);const s=await o();n.set("site-user-info",JSON.stringify(s.response)),await t.replace({name:"myActivity"})}},r=async()=>{({wx:async()=>{let e={token:t.currentRoute.value.query.token};const s=await g(e);if(s===void 0)await t.replace({name:"403"});else if(s.response.access_token.token_content!==""){n.set("site-management-token",s.response.access_token.token_content),n.set("time",s.response.access_token.expires);const u=await o();n.set("site-user-info",JSON.stringify(u.response));let p=t.currentRoute.value.query.id;await t.push({path:"/indexDetail",query:{id:p,pushMessage:1}})}},asc:async()=>{let e={token:t.currentRoute.value.query.token};await c(e)},first:async()=>{let e={sign:t.currentRoute.value.query.sign,code:t.currentRoute.value.query.code,timestamp:t.currentRoute.value.query.timestamp};await i(e)},test:async()=>{const e=await v();if(e===void 0)await t.replace({name:"403"});else if(e.response.access_token.token_content!==""){n.set("site-management-token",e.response.access_token.token_content),n.set("time",e.response.access_token.expires);const s=await o();n.set("site-user-info",JSON.stringify(s.response)),await t.replace({name:"myActivity"})}}})[t.currentRoute.value.query.type]()};return l(()=>{r()}),(a,e)=>{const s=y;return f(),k("div",R,[m(s,{size:"38px",color:"#1989fa",vertical:""},{default:_(()=>e[0]||(e[0]=[d(" 登录中")])),_:1})])}}};export{O as default};
import{A as a,d as l,c as s,a as n,D as o,o as c,Z as r}from"./index-CVoGs-KC.js";const d={class:"publicContainerNoPadding"},_={__name:"index",setup(i){return a({fillInWork:{show:!1}}),l(()=>{document.title="系统配置"}),(p,e)=>{const t=r;return c(),s("div",d,[n(t,{path:"/welcome",title:"分管填报记录查看"}),e[0]||(e[0]=o("div",{class:"w-full h-[10px]"},null,-1)),e[1]||(e[1]=o("div",{class:"w-full h-[calc(100%-56px)] p-2 overflow-y-auto"},null,-1))])}}};export{_ as default}; import{A as a,d as l,c as s,a as n,D as o,o as c,Z as r}from"./index-C2Jw6VUI.js";const d={class:"publicContainerNoPadding"},_={__name:"index",setup(i){return a({fillInWork:{show:!1}}),l(()=>{document.title="系统配置"}),(p,e)=>{const t=r;return c(),s("div",d,[n(t,{path:"/welcome",title:"分管填报记录查看"}),e[0]||(e[0]=o("div",{class:"w-full h-[10px]"},null,-1)),e[1]||(e[1]=o("div",{class:"w-full h-[calc(100%-56px)] p-2 overflow-y-auto"},null,-1))])}}};export{_ as default};
import{z as t,aM as a}from"./index-CVoGs-KC.js";const i=t(a);export{i as P};
import{z as t,aM as a}from"./index-C2Jw6VUI.js";const i=t(a);export{i as P};
此差异已折叠。
此差异已折叠。
import{b as y,r as k,A as v,d as x,c as C,a as n,D as r,w as s,Y as W,X as g,o as c,E as I,e as d,H as b,Z as A,W as B}from"./index-CVoGs-KC.js";function N(a){return y.get("/api/Common/GetAheadWriteSwitch",a)}const D={class:"publicContainerNoPadding"},V={class:"w-full h-[calc(100%-120px)] p-3 py-2 overflow-y-auto"},G={class:"w-full h-full flex items-center justify-between p-3"},E={__name:"index",setup(a){const l=k(),e=v({role:"0",data:{myFillingIn:[]},fillInWork:{show:!1}});function _(){e.fillInWork.show=!0}function u(){l.value.save()}function f(t){e.fillInWork.show=t}function p(){N().then(t=>{e.role=t.response})}return x(()=>{p()}),(t,o)=>{const m=A,h=W,i=B,w=g;return c(),C("div",D,[n(m,{path:"/welcome",title:"工作安排填报"}),r("div",V,[n(h,{ref_key:"saveRef",ref:l,show:e.fillInWork.show,onCloseDateComponent:f},null,8,["show"])]),n(w,null,{default:s(()=>[r("div",G,[e.role==1?(c(),I(i,{key:0,style:{"border-radius":"8px"},plain:"",type:"primary",class:"w-[28%]",onClick:_},{default:s(()=>o[0]||(o[0]=[d(" 添加日期 ")])),_:1})):b("",!0),n(i,{style:{"border-radius":"8px"},type:"primary",class:"w-[70%]",onClick:u},{default:s(()=>o[1]||(o[1]=[d("保存")])),_:1})])]),_:1})])}}};export{E as default}; import{b as y,r as k,A as v,d as x,c as C,a as n,D as r,w as s,Y as W,X as g,o as c,E as I,e as d,H as b,Z as A,W as B}from"./index-C2Jw6VUI.js";function N(a){return y.get("/api/Common/GetAheadWriteSwitch",a)}const D={class:"publicContainerNoPadding"},V={class:"w-full h-[calc(100%-120px)] p-3 py-2 overflow-y-auto"},G={class:"w-full h-full flex items-center justify-between p-3"},E={__name:"index",setup(a){const l=k(),e=v({role:"0",data:{myFillingIn:[]},fillInWork:{show:!1}});function _(){e.fillInWork.show=!0}function u(){l.value.save()}function f(t){e.fillInWork.show=t}function p(){N().then(t=>{e.role=t.response})}return x(()=>{p()}),(t,o)=>{const m=A,h=W,i=B,w=g;return c(),C("div",D,[n(m,{path:"/welcome",title:"工作安排填报"}),r("div",V,[n(h,{ref_key:"saveRef",ref:l,show:e.fillInWork.show,onCloseDateComponent:f},null,8,["show"])]),n(w,null,{default:s(()=>[r("div",G,[e.role==1?(c(),I(i,{key:0,style:{"border-radius":"8px"},plain:"",type:"primary",class:"w-[28%]",onClick:_},{default:s(()=>o[0]||(o[0]=[d(" 添加日期 ")])),_:1})):b("",!0),n(i,{style:{"border-radius":"8px"},type:"primary",class:"w-[70%]",onClick:u},{default:s(()=>o[1]||(o[1]=[d("保存")])),_:1})])]),_:1})])}}};export{E as default};
import{i as d,k as f,l as y,a as s,F as c,ai as h,aj as v,z}from"./index-CVoGs-KC.js";const[u,A]=d("space"),w={align:String,direction:{type:String,default:"horizontal"},size:{type:[Number,String,Array],default:8},wrap:Boolean,fill:Boolean};function m(e=[]){const n=[];return e.forEach(t=>{Array.isArray(t)?n.push(...t):t.type===c?n.push(...m(t.children)):n.push(t)}),n.filter(t=>{var i;return!(t&&(t.type===h||t.type===c&&((i=t.children)==null?void 0:i.length)===0||t.type===v&&t.children.trim()===""))})}var S=f({name:u,props:w,setup(e,{slots:n}){const t=y(()=>{var a;return(a=e.align)!=null?a:e.direction==="horizontal"?"center":""}),i=a=>typeof a=="number"?a+"px":a,g=a=>{const r={},o=`${i(Array.isArray(e.size)?e.size[0]:e.size)}`,l=`${i(Array.isArray(e.size)?e.size[1]:e.size)}`;return a?e.wrap?{marginBottom:l}:{}:(e.direction==="horizontal"&&(r.marginRight=o),(e.direction==="vertical"||e.wrap)&&(r.marginBottom=l),r)};return()=>{var a;const r=m((a=n.default)==null?void 0:a.call(n));return s("div",{class:[A({[e.direction]:e.direction,[`align-${t.value}`]:t.value,wrap:e.wrap,fill:e.fill})]},[r.map((o,l)=>s("div",{key:`item-${l}`,class:`${u}-item`,style:g(l===r.length-1)},[o]))])}}});const B=z(S);export{B as S}; import{i as d,k as f,l as y,a as s,F as c,ai as h,aj as v,z}from"./index-C2Jw6VUI.js";const[u,A]=d("space"),w={align:String,direction:{type:String,default:"horizontal"},size:{type:[Number,String,Array],default:8},wrap:Boolean,fill:Boolean};function m(e=[]){const n=[];return e.forEach(t=>{Array.isArray(t)?n.push(...t):t.type===c?n.push(...m(t.children)):n.push(t)}),n.filter(t=>{var i;return!(t&&(t.type===h||t.type===c&&((i=t.children)==null?void 0:i.length)===0||t.type===v&&t.children.trim()===""))})}var S=f({name:u,props:w,setup(e,{slots:n}){const t=y(()=>{var a;return(a=e.align)!=null?a:e.direction==="horizontal"?"center":""}),i=a=>typeof a=="number"?a+"px":a,g=a=>{const r={},o=`${i(Array.isArray(e.size)?e.size[0]:e.size)}`,l=`${i(Array.isArray(e.size)?e.size[1]:e.size)}`;return a?e.wrap?{marginBottom:l}:{}:(e.direction==="horizontal"&&(r.marginRight=o),(e.direction==="vertical"||e.wrap)&&(r.marginBottom=l),r)};return()=>{var a;const r=m((a=n.default)==null?void 0:a.call(n));return s("div",{class:[A({[e.direction]:e.direction,[`align-${t.value}`]:t.value,wrap:e.wrap,fill:e.fill})]},[r.map((o,l)=>s("div",{key:`item-${l}`,class:`${u}-item`,style:g(l===r.length-1)},[o]))])}}});const B=z(S);export{B as S};
import{_ as e}from"./index-CVoGs-KC.js";const n={};function r(c,t){return null}const o=e(n,[["render",r]]);export{o as default}; import{_ as e}from"./index-C2Jw6VUI.js";const n={};function r(c,t){return null}const o=e(n,[["render",r]]);export{o as default};
import{i as v,k as w,aY as G,a as e,be as k,ab as M,z as B}from"./index-CVoGs-KC.js";const[S,s]=v("empty"),C={image:M("default"),imageSize:[Number,String,Array],description:String};var b=w({name:S,props:C,setup(o,{slots:a}){const F=()=>{const r=a.description?a.description():o.description;if(r)return e("p",{class:s("description")},[r])},u=()=>{if(a.default)return e("div",{class:s("bottom")},[a.default()])},f=G(),t=r=>`${f}-${r}`,l=r=>`url(#${t(r)})`,i=(r,d,D)=>e("stop",{"stop-color":r,offset:`${d}%`,"stop-opacity":D},null),n=(r,d)=>[i(r,0),i(d,100)],x=r=>[e("defs",null,[e("radialGradient",{id:t(r),cx:"50%",cy:"54%",fx:"50%",fy:"54%",r:"297%",gradientTransform:"matrix(-.16 0 0 -.33 .58 .72)"},[i("#EBEDF0",0),i("#F2F3F5",100,.3)])]),e("ellipse",{fill:l(r),opacity:".8",cx:"80",cy:"140",rx:"46",ry:"8"},null)],c=()=>[e("defs",null,[e("linearGradient",{id:t("a"),x1:"64%",y1:"100%",x2:"64%"},[i("#FFF",0,.5),i("#F2F3F5",100)])]),e("g",{opacity:".8"},[e("path",{d:"M36 131V53H16v20H2v58h34z",fill:l("a")},null),e("path",{d:"M123 15h22v14h9v77h-31V15z",fill:l("a")},null)])],h=()=>[e("defs",null,[e("linearGradient",{id:t("b"),x1:"64%",y1:"97%",x2:"64%",y2:"0%"},[i("#F2F3F5",0,.3),i("#F2F3F5",100)])]),e("g",{opacity:".8"},[e("path",{d:"M87 6c3 0 7 3 8 6a8 8 0 1 1-1 16H80a7 7 0 0 1-8-6c0-4 3-7 6-7 0-5 4-9 9-9Z",fill:l("b")},null),e("path",{d:"M19 23c2 0 3 1 4 3 2 0 4 2 4 4a4 4 0 0 1-4 3v1h-7v-1l-1 1c-2 0-3-2-3-4 0-1 1-3 3-3 0-2 2-4 4-4Z",fill:l("b")},null)])],y=()=>e("svg",{viewBox:"0 0 160 160"},[e("defs",null,[e("linearGradient",{id:t(1),x1:"64%",y1:"100%",x2:"64%"},[i("#FFF",0,.5),i("#F2F3F5",100)]),e("linearGradient",{id:t(2),x1:"50%",x2:"50%",y2:"84%"},[i("#EBEDF0",0),i("#DCDEE0",100,0)]),e("linearGradient",{id:t(3),x1:"100%",x2:"100%",y2:"100%"},[n("#EAEDF0","#DCDEE0")]),e("radialGradient",{id:t(4),cx:"50%",cy:"0%",fx:"50%",fy:"0%",r:"100%",gradientTransform:"matrix(0 1 -.54 0 .5 -.5)"},[i("#EBEDF0",0),i("#FFF",100,0)])]),e("g",{fill:"none"},[c(),e("path",{fill:l(4),d:"M0 139h160v21H0z"},null),e("path",{d:"M80 54a7 7 0 0 1 3 13v27l-2 2h-2a2 2 0 0 1-2-2V67a7 7 0 0 1 3-13z",fill:l(2)},null),e("g",{opacity:".6","stroke-linecap":"round","stroke-width":"7"},[e("path",{d:"M64 47a19 19 0 0 0-5 13c0 5 2 10 5 13",stroke:l(3)},null),e("path",{d:"M53 36a34 34 0 0 0 0 48",stroke:l(3)},null),e("path",{d:"M95 73a19 19 0 0 0 6-13c0-5-2-9-6-13",stroke:l(3)},null),e("path",{d:"M106 84a34 34 0 0 0 0-48",stroke:l(3)},null)]),e("g",{transform:"translate(31 105)"},[e("rect",{fill:"#EBEDF0",width:"98",height:"34",rx:"2"},null),e("rect",{fill:"#FFF",x:"9",y:"8",width:"80",height:"18",rx:"1.1"},null),e("rect",{fill:"#EBEDF0",x:"15",y:"12",width:"18",height:"6",rx:"1.1"},null)])])]),E=()=>e("svg",{viewBox:"0 0 160 160"},[e("defs",null,[e("linearGradient",{x1:"50%",x2:"50%",y2:"100%",id:t(5)},[n("#F2F3F5","#DCDEE0")]),e("linearGradient",{x1:"95%",y1:"48%",x2:"5.5%",y2:"51%",id:t(6)},[n("#EAEDF1","#DCDEE0")]),e("linearGradient",{y1:"45%",x2:"100%",y2:"54%",id:t(7)},[n("#EAEDF1","#DCDEE0")])]),c(),h(),e("g",{transform:"translate(36 50)",fill:"none"},[e("g",{transform:"translate(8)"},[e("rect",{fill:"#EBEDF0",opacity:".6",x:"38",y:"13",width:"36",height:"53",rx:"2"},null),e("rect",{fill:l(5),width:"64",height:"66",rx:"2"},null),e("rect",{fill:"#FFF",x:"6",y:"6",width:"52",height:"55",rx:"1"},null),e("g",{transform:"translate(15 17)",fill:l(6)},[e("rect",{width:"34",height:"6",rx:"1"},null),e("path",{d:"M0 14h34v6H0z"},null),e("rect",{y:"28",width:"34",height:"6",rx:"1"},null)])]),e("rect",{fill:l(7),y:"61",width:"88",height:"28",rx:"1"},null),e("rect",{fill:"#F7F8FA",x:"29",y:"72",width:"30",height:"6",rx:"1"},null)])]),g=()=>e("svg",{viewBox:"0 0 160 160"},[e("defs",null,[e("linearGradient",{x1:"50%",x2:"50%",y2:"100%",id:t(8)},[n("#EAEDF1","#DCDEE0")])]),c(),h(),x("c"),e("path",{d:"m59 60 21 21 21-21h3l9 9v3L92 93l21 21v3l-9 9h-3l-21-21-21 21h-3l-9-9v-3l21-21-21-21v-3l9-9h3Z",fill:l(8)},null)]),p=()=>e("svg",{viewBox:"0 0 160 160"},[e("defs",null,[e("linearGradient",{x1:"50%",y1:"100%",x2:"50%",id:t(9)},[n("#EEE","#D8D8D8")]),e("linearGradient",{x1:"100%",y1:"50%",y2:"50%",id:t(10)},[n("#F2F3F5","#DCDEE0")]),e("linearGradient",{x1:"50%",x2:"50%",y2:"100%",id:t(11)},[n("#F2F3F5","#DCDEE0")]),e("linearGradient",{x1:"50%",x2:"50%",y2:"100%",id:t(12)},[n("#FFF","#F7F8FA")])]),c(),h(),x("d"),e("g",{transform:"rotate(-45 113 -4)",fill:"none"},[e("rect",{fill:l(9),x:"24",y:"52.8",width:"5.8",height:"19",rx:"1"},null),e("rect",{fill:l(10),x:"22.1",y:"67.3",width:"9.9",height:"28",rx:"1"},null),e("circle",{stroke:l(11),"stroke-width":"8",cx:"27",cy:"27",r:"27"},null),e("circle",{fill:l(12),cx:"27",cy:"27",r:"16"},null),e("path",{d:"M37 7c-8 0-15 5-16 12",stroke:l(11),"stroke-width":"3",opacity:".5","stroke-linecap":"round",transform:"rotate(45 29 13)"},null)])]),m=()=>{var r;if(a.image)return a.image();const d={error:g,search:p,network:y,default:E};return((r=d[o.image])==null?void 0:r.call(d))||e("img",{src:o.image},null)};return()=>e("div",{class:s()},[e("div",{class:s("image"),style:k(o.imageSize)},[m()]),F(),u()])}});const A=B(b);export{A as E}; import{i as v,k as w,aY as G,a as e,be as k,ab as M,z as B}from"./index-C2Jw6VUI.js";const[S,s]=v("empty"),C={image:M("default"),imageSize:[Number,String,Array],description:String};var b=w({name:S,props:C,setup(o,{slots:a}){const F=()=>{const r=a.description?a.description():o.description;if(r)return e("p",{class:s("description")},[r])},u=()=>{if(a.default)return e("div",{class:s("bottom")},[a.default()])},f=G(),t=r=>`${f}-${r}`,l=r=>`url(#${t(r)})`,i=(r,d,D)=>e("stop",{"stop-color":r,offset:`${d}%`,"stop-opacity":D},null),n=(r,d)=>[i(r,0),i(d,100)],x=r=>[e("defs",null,[e("radialGradient",{id:t(r),cx:"50%",cy:"54%",fx:"50%",fy:"54%",r:"297%",gradientTransform:"matrix(-.16 0 0 -.33 .58 .72)"},[i("#EBEDF0",0),i("#F2F3F5",100,.3)])]),e("ellipse",{fill:l(r),opacity:".8",cx:"80",cy:"140",rx:"46",ry:"8"},null)],c=()=>[e("defs",null,[e("linearGradient",{id:t("a"),x1:"64%",y1:"100%",x2:"64%"},[i("#FFF",0,.5),i("#F2F3F5",100)])]),e("g",{opacity:".8"},[e("path",{d:"M36 131V53H16v20H2v58h34z",fill:l("a")},null),e("path",{d:"M123 15h22v14h9v77h-31V15z",fill:l("a")},null)])],h=()=>[e("defs",null,[e("linearGradient",{id:t("b"),x1:"64%",y1:"97%",x2:"64%",y2:"0%"},[i("#F2F3F5",0,.3),i("#F2F3F5",100)])]),e("g",{opacity:".8"},[e("path",{d:"M87 6c3 0 7 3 8 6a8 8 0 1 1-1 16H80a7 7 0 0 1-8-6c0-4 3-7 6-7 0-5 4-9 9-9Z",fill:l("b")},null),e("path",{d:"M19 23c2 0 3 1 4 3 2 0 4 2 4 4a4 4 0 0 1-4 3v1h-7v-1l-1 1c-2 0-3-2-3-4 0-1 1-3 3-3 0-2 2-4 4-4Z",fill:l("b")},null)])],y=()=>e("svg",{viewBox:"0 0 160 160"},[e("defs",null,[e("linearGradient",{id:t(1),x1:"64%",y1:"100%",x2:"64%"},[i("#FFF",0,.5),i("#F2F3F5",100)]),e("linearGradient",{id:t(2),x1:"50%",x2:"50%",y2:"84%"},[i("#EBEDF0",0),i("#DCDEE0",100,0)]),e("linearGradient",{id:t(3),x1:"100%",x2:"100%",y2:"100%"},[n("#EAEDF0","#DCDEE0")]),e("radialGradient",{id:t(4),cx:"50%",cy:"0%",fx:"50%",fy:"0%",r:"100%",gradientTransform:"matrix(0 1 -.54 0 .5 -.5)"},[i("#EBEDF0",0),i("#FFF",100,0)])]),e("g",{fill:"none"},[c(),e("path",{fill:l(4),d:"M0 139h160v21H0z"},null),e("path",{d:"M80 54a7 7 0 0 1 3 13v27l-2 2h-2a2 2 0 0 1-2-2V67a7 7 0 0 1 3-13z",fill:l(2)},null),e("g",{opacity:".6","stroke-linecap":"round","stroke-width":"7"},[e("path",{d:"M64 47a19 19 0 0 0-5 13c0 5 2 10 5 13",stroke:l(3)},null),e("path",{d:"M53 36a34 34 0 0 0 0 48",stroke:l(3)},null),e("path",{d:"M95 73a19 19 0 0 0 6-13c0-5-2-9-6-13",stroke:l(3)},null),e("path",{d:"M106 84a34 34 0 0 0 0-48",stroke:l(3)},null)]),e("g",{transform:"translate(31 105)"},[e("rect",{fill:"#EBEDF0",width:"98",height:"34",rx:"2"},null),e("rect",{fill:"#FFF",x:"9",y:"8",width:"80",height:"18",rx:"1.1"},null),e("rect",{fill:"#EBEDF0",x:"15",y:"12",width:"18",height:"6",rx:"1.1"},null)])])]),E=()=>e("svg",{viewBox:"0 0 160 160"},[e("defs",null,[e("linearGradient",{x1:"50%",x2:"50%",y2:"100%",id:t(5)},[n("#F2F3F5","#DCDEE0")]),e("linearGradient",{x1:"95%",y1:"48%",x2:"5.5%",y2:"51%",id:t(6)},[n("#EAEDF1","#DCDEE0")]),e("linearGradient",{y1:"45%",x2:"100%",y2:"54%",id:t(7)},[n("#EAEDF1","#DCDEE0")])]),c(),h(),e("g",{transform:"translate(36 50)",fill:"none"},[e("g",{transform:"translate(8)"},[e("rect",{fill:"#EBEDF0",opacity:".6",x:"38",y:"13",width:"36",height:"53",rx:"2"},null),e("rect",{fill:l(5),width:"64",height:"66",rx:"2"},null),e("rect",{fill:"#FFF",x:"6",y:"6",width:"52",height:"55",rx:"1"},null),e("g",{transform:"translate(15 17)",fill:l(6)},[e("rect",{width:"34",height:"6",rx:"1"},null),e("path",{d:"M0 14h34v6H0z"},null),e("rect",{y:"28",width:"34",height:"6",rx:"1"},null)])]),e("rect",{fill:l(7),y:"61",width:"88",height:"28",rx:"1"},null),e("rect",{fill:"#F7F8FA",x:"29",y:"72",width:"30",height:"6",rx:"1"},null)])]),g=()=>e("svg",{viewBox:"0 0 160 160"},[e("defs",null,[e("linearGradient",{x1:"50%",x2:"50%",y2:"100%",id:t(8)},[n("#EAEDF1","#DCDEE0")])]),c(),h(),x("c"),e("path",{d:"m59 60 21 21 21-21h3l9 9v3L92 93l21 21v3l-9 9h-3l-21-21-21 21h-3l-9-9v-3l21-21-21-21v-3l9-9h3Z",fill:l(8)},null)]),p=()=>e("svg",{viewBox:"0 0 160 160"},[e("defs",null,[e("linearGradient",{x1:"50%",y1:"100%",x2:"50%",id:t(9)},[n("#EEE","#D8D8D8")]),e("linearGradient",{x1:"100%",y1:"50%",y2:"50%",id:t(10)},[n("#F2F3F5","#DCDEE0")]),e("linearGradient",{x1:"50%",x2:"50%",y2:"100%",id:t(11)},[n("#F2F3F5","#DCDEE0")]),e("linearGradient",{x1:"50%",x2:"50%",y2:"100%",id:t(12)},[n("#FFF","#F7F8FA")])]),c(),h(),x("d"),e("g",{transform:"rotate(-45 113 -4)",fill:"none"},[e("rect",{fill:l(9),x:"24",y:"52.8",width:"5.8",height:"19",rx:"1"},null),e("rect",{fill:l(10),x:"22.1",y:"67.3",width:"9.9",height:"28",rx:"1"},null),e("circle",{stroke:l(11),"stroke-width":"8",cx:"27",cy:"27",r:"27"},null),e("circle",{fill:l(12),cx:"27",cy:"27",r:"16"},null),e("path",{d:"M37 7c-8 0-15 5-16 12",stroke:l(11),"stroke-width":"3",opacity:".5","stroke-linecap":"round",transform:"rotate(45 29 13)"},null)])]),m=()=>{var r;if(a.image)return a.image();const d={error:g,search:p,network:y,default:E};return((r=d[o.image])==null?void 0:r.call(d))||e("img",{src:o.image},null)};return()=>e("div",{class:s()},[e("div",{class:s("image"),style:k(o.imageSize)},[m()]),F(),u()])}});const A=B(b);export{A as E};
import{c as r,a as t,F as c,o as s,u as m,N as i}from"./index-CVoGs-KC.js";import{E as _}from"./index-DWVNnUoA.js";const l=""+new URL("warning-zGbTxtDs.png",import.meta.url).href,h={__name:"index",setup(p){const e=m(),n=()=>e.back();return(u,f)=>{const a=i,o=_;return s(),r(c,null,[t(a,{"left-text":"返回","left-arrow":"",onClickLeft:n}),t(o,{image:l,style:{width:"100%",height:"100%"},description:"用户无权限,请重新登录!"},null,8,["image"])],64)}}};export{h as default}; import{c as r,a as t,F as c,o as s,u as m,N as i}from"./index-C2Jw6VUI.js";import{E as _}from"./index-SYhU7VJz.js";const l=""+new URL("warning-zGbTxtDs.png",import.meta.url).href,h={__name:"index",setup(p){const e=m(),n=()=>e.back();return(u,f)=>{const a=i,o=_;return s(),r(c,null,[t(a,{"left-text":"返回","left-arrow":"",onClickLeft:n}),t(o,{image:l,style:{width:"100%",height:"100%"},description:"用户无权限,请重新登录!"},null,8,["image"])],64)}}};export{h as default};
...@@ -6,7 +6,7 @@ ...@@ -6,7 +6,7 @@
<meta name="viewport" <meta name="viewport"
content="width=device-width, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0, viewport-fit=cover, user-scalable=0"> content="width=device-width, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0, viewport-fit=cover, user-scalable=0">
<title></title> <title></title>
<script type="module" crossorigin src="./assets/index-CVoGs-KC.js"></script> <script type="module" crossorigin src="./assets/index-C2Jw6VUI.js"></script>
<link rel="stylesheet" crossorigin href="./assets/index-Pp4ZApOj.css"> <link rel="stylesheet" crossorigin href="./assets/index-Pp4ZApOj.css">
</head> </head>
<body> <body>
......
...@@ -38,7 +38,7 @@ const app = createApp(App) ...@@ -38,7 +38,7 @@ const app = createApp(App)
app.use(ElementPlus) app.use(ElementPlus)
initStore(app) initStore(app)
//使用测试按钮Vxonsole //使用测试按钮Vxonsole
// const vConsole = new VConsole(); const vConsole = new VConsole();
app.config.globalProperties.$cookies = VueCookies; app.config.globalProperties.$cookies = VueCookies;
app.config.globalProperties.asc = api app.config.globalProperties.asc = api
app.use(router) app.use(router)
......
Markdown 格式
0% or
您添加了 0 人 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册 或