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

V20240308 保存

上级 1bde9b8c
流水线 #24472 已通过 ,包含阶段
in 31 second
import{u as p,f as u,o as k,c as l,a as _,h as w,L as f,i as m,C as h,j as t,G as r,S as x,k as g}from"./index-b343d2d3.js";const d={style:{display:"flex","justify-content":"center","margin-top":"50%"}},T={__name:"SSO",setup(y){const o=p(),a=async n=>{const e=await x(n);if(e===void 0)await o.replace({name:"403"});else if(e.response.access_token.token_content!==""){t.set("teacher-go2-corporation-wx-token",e.response.access_token.token_content),t.set("teacher-go2-corporation-wx-time",e.response.access_token.expires),t.set("teacher-go2-corporation-wx-refreshToken",e.response.refresh_token.token_content),t.set("teacher-go2-corporation-wx-refreshTime",e.response.refresh_token.expires);const s=await r();t.set("teacher-go2-corporation-wx-user-info",s.response.role),await o.replace({name:"welcome"})}},c=async n=>{const e=await g(n);if(e===void 0)await o.replace({name:"403"});else if(e.response.access_token.token_content!==""){t.set("site-management-token",e.response.access_token.token_content),t.set("time",e.response.access_token.expires);const s=await r();t.set("site-user-info",s.response.role),await o.replace({name:"welcome"})}},i=async()=>{({asc:async()=>{let e={token:o.currentRoute.value.query.token};await a(e)},first:async()=>{let e={sign:o.currentRoute.value.query.sign,code:o.currentRoute.value.query.code,timestamp:o.currentRoute.value.query.timestamp};await c(e)},test:async()=>{const e=await h();if(e===void 0)await o.replace({name:"403"});else if(e.response.access_token.token_content!==""){t.set("teacher-go2-corporation-wx-token",e.response.access_token.token_content),t.set("teacher-go2-corporation-wx-time",e.response.access_token.expires),t.set("teacher-go2-corporation-wx-refreshToken",e.response.refresh_token.token_content),t.set("teacher-go2-corporation-wx-refreshTime",e.response.refresh_token.expires);const s=await r();t.set("teacher-go2-corporation-wx-user-info",s.response.role),await o.replace({name:"welcome"})}}})[o.currentRoute.value.query.type]()};return u(()=>{i()}),(n,e)=>{const s=f;return k(),l("div",d,[_(s,{size:"38px",color:"#1989fa",vertical:""},{default:w(()=>[m(" 登录中")]),_:1})])}}};export{T as default};
import{u as i,f as l,o as p,c as k,a as _,h as d,j as s,L as m,i as y}from"./index-b343d2d3.js";const f={style:{display:"flex","justify-content":"center","margin-top":"50%"}},q={__name:"SSOInfo",setup(v){const e=i(),a=async n=>{const t=await(void 0)(n);if(t.code!==1)await e.replace({name:"403"});else if(t.response.access_token.token_content!==""){s.set("site-management-token",t.response.access_token.token_content),s.set("time",t.response.access_token.expires);let o=e.currentRoute.value.query.links,u=e.currentRoute.value.query.id;await e.push({path:`/${o}`,query:{id:u}})}},c=async n=>{const t=await(void 0)(n);if(t.code!==1)await e.replace({name:"403"});else if(t.response.access_token.token_content!==""){s.set("site-management-token",t.response.access_token.token_content),s.set("time",t.response.access_token.expires);let o=e.currentRoute.value.query.links;await e.push({path:`/${o}`})}},r=async()=>{if(Number(e.currentRoute.value.query.type)===2){s.set("token",e.currentRoute.value.query.token);let n={token:s.get("token")};await a(n)}else if(Number(e.currentRoute.value.query.type)===1){let n={sign:e.currentRoute.value.query.sign,code:e.currentRoute.value.query.code,timestamp:e.currentRoute.value.query.timestamp};await c(n)}};return l(()=>{r()}),(n,t)=>{const o=m;return p(),k("div",f,[_(o,{size:"38px",color:"#1989fa",vertical:""},{default:d(()=>[y(" 登录中")]),_:1})])}}};export{q as default};
:root{--van-empty-padding: var(--van-padding-xl) 0;--van-empty-image-size: 160px;--van-empty-description-margin-top: var(--van-padding-md);--van-empty-description-padding: 0 60px;--van-empty-description-color: var(--van-text-color-2);--van-empty-description-font-size: var(--van-font-size-md);--van-empty-description-line-height: var(--van-line-height-md);--van-empty-bottom-margin-top: 24px}.van-empty{display:flex;flex-direction:column;align-items:center;justify-content:center;box-sizing:border-box;padding:var(--van-empty-padding)}.van-empty__image{width:var(--van-empty-image-size);height:var(--van-empty-image-size)}.van-empty__image img{width:100%;height:100%}.van-empty__description{margin-top:var(--van-empty-description-margin-top);padding:var(--van-empty-description-padding);color:var(--van-empty-description-color);font-size:var(--van-empty-description-font-size);line-height:var(--van-empty-description-line-height)}.van-empty__bottom{margin-top:var(--van-empty-bottom-margin-top)}.van-theme-dark .van-empty{opacity:.5}
:root{--van-empty-padding: var(--van-padding-xl) 0;--van-empty-image-size: 160px;--van-empty-description-margin-top: var(--van-padding-md);--van-empty-description-padding: 0 60px;--van-empty-description-color: var(--van-text-color-2);--van-empty-description-font-size: var(--van-font-size-md);--van-empty-description-line-height: var(--van-line-height-md);--van-empty-bottom-margin-top: 24px}.van-empty{display:flex;flex-direction:column;align-items:center;justify-content:center;box-sizing:border-box;padding:var(--van-empty-padding)}.van-empty__image{width:var(--van-empty-image-size);height:var(--van-empty-image-size)}.van-empty__image img{width:100%;height:100%}.van-empty__description{margin-top:var(--van-empty-description-margin-top);padding:var(--van-empty-description-padding);color:var(--van-empty-description-color);font-size:var(--van-empty-description-font-size);line-height:var(--van-empty-description-line-height)}.van-empty__bottom{margin-top:var(--van-empty-bottom-margin-top)}.van-theme-dark .van-empty{opacity:.5}:root{--van-nav-bar-height: 46px;--van-nav-bar-background: var(--van-background-2);--van-nav-bar-arrow-size: 16px;--van-nav-bar-icon-color: var(--van-primary-color);--van-nav-bar-text-color: var(--van-primary-color);--van-nav-bar-title-font-size: var(--van-font-size-lg);--van-nav-bar-title-text-color: var(--van-text-color);--van-nav-bar-z-index: 1}.van-nav-bar{position:relative;z-index:var(--van-nav-bar-z-index);line-height:var(--van-line-height-lg);text-align:center;background:var(--van-nav-bar-background);-webkit-user-select:none;-moz-user-select:none;user-select:none}.van-nav-bar--fixed{position:fixed;top:0;left:0;width:100%}.van-nav-bar--safe-area-inset-top{padding-top:constant(safe-area-inset-top);padding-top:env(safe-area-inset-top)}.van-nav-bar .van-icon{color:var(--van-nav-bar-icon-color)}.van-nav-bar__content{position:relative;display:flex;align-items:center;height:var(--van-nav-bar-height)}.van-nav-bar__arrow{margin-right:var(--van-padding-base);font-size:var(--van-nav-bar-arrow-size)}.van-nav-bar__title{max-width:60%;margin:0 auto;color:var(--van-nav-bar-title-text-color);font-weight:var(--van-font-bold);font-size:var(--van-nav-bar-title-font-size)}.van-nav-bar__left,.van-nav-bar__right{position:absolute;top:0;bottom:0;display:flex;align-items:center;padding:0 var(--van-padding-md);font-size:var(--van-font-size-md)}.van-nav-bar__left{left:0}.van-nav-bar__right{right:0}.van-nav-bar__text{color:var(--van-nav-bar-text-color)}
import{c as e,g as S,a as k,d as B,b,m as G,w as _,r as I,n as A,t as w,H as D,B as M,I as T,e as $,u as z,o as R,f as P,F as H}from"./index-135ee00a.js";import{u as L}from"./use-height-61ef1bfa.js";function N(t,a){const c=L(t,!0);return h=>e("div",{class:a("placeholder"),style:{height:c.value?`${c.value}px`:void 0}},[h()])}let V=0;function Z(){const t=S(),{name:a="unknown"}=(t==null?void 0:t.type)||{};return`${a}-${++V}`}const[O,F]=k("empty"),K={image:G("default"),imageSize:[Number,String,Array],description:String};var U=B({name:O,props:K,setup(t,{slots:a}){const c=()=>{const i=a.description?a.description():t.description;if(i)return e("p",{class:F("description")},[i])},h=()=>{if(a.default)return e("div",{class:F("bottom")},[a.default()])},g=Z(),n=i=>`${g}-${i}`,r=i=>`url(#${n(i)})`,l=(i,f,C)=>e("stop",{"stop-color":i,offset:`${f}%`,"stop-opacity":C},null),o=(i,f)=>[l(i,0),l(f,100)],u=i=>[e("defs",null,[e("radialGradient",{id:n(i),cx:"50%",cy:"54%",fx:"50%",fy:"54%",r:"297%",gradientTransform:"matrix(-.16 0 0 -.33 .58 .72)"},[l("#EBEDF0",0),l("#F2F3F5",100,.3)])]),e("ellipse",{fill:r(i),opacity:".8",cx:"80",cy:"140",rx:"46",ry:"8"},null)],d=()=>[e("defs",null,[e("linearGradient",{id:n("a"),x1:"64%",y1:"100%",x2:"64%"},[l("#FFF",0,.5),l("#F2F3F5",100)])]),e("g",{opacity:".8"},[e("path",{d:"M36 131V53H16v20H2v58h34z",fill:r("a")},null),e("path",{d:"M123 15h22v14h9v77h-31V15z",fill:r("a")},null)])],x=()=>[e("defs",null,[e("linearGradient",{id:n("b"),x1:"64%",y1:"97%",x2:"64%",y2:"0%"},[l("#F2F3F5",0,.3),l("#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:r("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:r("b")},null)])],y=()=>e("svg",{viewBox:"0 0 160 160"},[e("defs",null,[e("linearGradient",{id:n(1),x1:"64%",y1:"100%",x2:"64%"},[l("#FFF",0,.5),l("#F2F3F5",100)]),e("linearGradient",{id:n(2),x1:"50%",x2:"50%",y2:"84%"},[l("#EBEDF0",0),l("#DCDEE0",100,0)]),e("linearGradient",{id:n(3),x1:"100%",x2:"100%",y2:"100%"},[o("#EAEDF0","#DCDEE0")]),e("radialGradient",{id:n(4),cx:"50%",cy:"0%",fx:"50%",fy:"0%",r:"100%",gradientTransform:"matrix(0 1 -.54 0 .5 -.5)"},[l("#EBEDF0",0),l("#FFF",100,0)])]),e("g",{fill:"none"},[d(),e("path",{fill:r(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:r(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:r(3)},null),e("path",{d:"M53 36a34 34 0 0 0 0 48",stroke:r(3)},null),e("path",{d:"M95 73a19 19 0 0 0 6-13c0-5-2-9-6-13",stroke:r(3)},null),e("path",{d:"M106 84a34 34 0 0 0 0-48",stroke:r(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)])])]),m=()=>e("svg",{viewBox:"0 0 160 160"},[e("defs",null,[e("linearGradient",{x1:"50%",x2:"50%",y2:"100%",id:n(5)},[o("#F2F3F5","#DCDEE0")]),e("linearGradient",{x1:"95%",y1:"48%",x2:"5.5%",y2:"51%",id:n(6)},[o("#EAEDF1","#DCDEE0")]),e("linearGradient",{y1:"45%",x2:"100%",y2:"54%",id:n(7)},[o("#EAEDF1","#DCDEE0")])]),d(),x(),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:r(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:r(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:r(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)])]),v=()=>e("svg",{viewBox:"0 0 160 160"},[e("defs",null,[e("linearGradient",{x1:"50%",x2:"50%",y2:"100%",id:n(8)},[o("#EAEDF1","#DCDEE0")])]),d(),x(),u("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:r(8)},null)]),E=()=>e("svg",{viewBox:"0 0 160 160"},[e("defs",null,[e("linearGradient",{x1:"50%",y1:"100%",x2:"50%",id:n(9)},[o("#EEE","#D8D8D8")]),e("linearGradient",{x1:"100%",y1:"50%",y2:"50%",id:n(10)},[o("#F2F3F5","#DCDEE0")]),e("linearGradient",{x1:"50%",x2:"50%",y2:"100%",id:n(11)},[o("#F2F3F5","#DCDEE0")]),e("linearGradient",{x1:"50%",x2:"50%",y2:"100%",id:n(12)},[o("#FFF","#F7F8FA")])]),d(),x(),u("d"),e("g",{transform:"rotate(-45 113 -4)",fill:"none"},[e("rect",{fill:r(9),x:"24",y:"52.8",width:"5.8",height:"19",rx:"1"},null),e("rect",{fill:r(10),x:"22.1",y:"67.3",width:"9.9",height:"28",rx:"1"},null),e("circle",{stroke:r(11),"stroke-width":"8",cx:"27",cy:"27",r:"27"},null),e("circle",{fill:r(12),cx:"27",cy:"27",r:"16"},null),e("path",{d:"M37 7c-8 0-15 5-16 12",stroke:r(11),"stroke-width":"3",opacity:".5","stroke-linecap":"round",transform:"rotate(45 29 13)"},null)])]),p=()=>{var i;if(a.image)return a.image();const f={error:v,search:E,network:y,default:m};return((i=f[t.image])==null?void 0:i.call(f))||e("img",{src:t.image},null)};return()=>e("div",{class:F()},[e("div",{class:F("image"),style:b(t.imageSize)},[p()]),c(),h()])}});const j=_(U),[q,s]=k("nav-bar"),J={title:String,fixed:Boolean,zIndex:A,border:w,leftText:String,rightText:String,leftArrow:Boolean,placeholder:Boolean,safeAreaInsetTop:Boolean,clickable:w};var Q=B({name:q,props:J,emits:["clickLeft","clickRight"],setup(t,{emit:a,slots:c}){const h=I(),g=N(h,s),n=d=>a("clickLeft",d),r=d=>a("clickRight",d),l=()=>c.left?c.left():[t.leftArrow&&e(T,{class:s("arrow"),name:"arrow-left"},null),t.leftText&&e("span",{class:s("text")},[t.leftText])],o=()=>c.right?c.right():e("span",{class:s("text")},[t.rightText]),u=()=>{const{title:d,fixed:x,border:y,zIndex:m}=t,v=$(m),E=t.leftArrow||t.leftText||c.left,p=t.rightText||c.right;return e("div",{ref:h,style:v,class:[s({fixed:x}),{[M]:y,"van-safe-area-top":t.safeAreaInsetTop}]},[e("div",{class:s("content")},[E&&e("div",{class:[s("left"),t.clickable?D:""],onClick:n},[l()]),e("div",{class:[s("title"),"van-ellipsis"]},[c.title?c.title():d]),p&&e("div",{class:[s("right"),t.clickable?D:""],onClick:r},[o()])])])};return()=>t.fixed&&t.placeholder?g(u):u()}});const W=_(Q);const ee={__name:"index",setup(t){const a=z(),c=()=>a.replace({name:"welcome"});return(h,g)=>{const n=W,r=j;return R(),P(H,null,[e(n,{"left-text":"返回","left-arrow":"",onClickLeft:c}),e(r,{style:{width:"100%",height:"100%"},image:"error",description:"异常"})],64)}}};export{ee as default};
因为 它太大了无法显示 源差异 。您可以改为 查看blob。
此差异已折叠。
import{b as P,l as A,d as S,a as t,m as N,n as p,t as T,Y as w,Z as k,I as B,w as L,_ as O,$ as z,F as R,T as E,a0 as q,u as F,V as G,f as M,o as j,c as H,W as m,h as i,a1 as c,a2 as f,i as K}from"./index-b343d2d3.js";import{N as W}from"./index-8469ce55.js";import{r as Y,u as Z}from"./use-route-7f296949.js";import"./use-height-7cedd05b.js";const[J,v]=P("cell"),Q={tag:N("div"),icon:String,size:String,title:p,value:p,label:p,center:Boolean,isLink:Boolean,border:T,required:Boolean,iconPrefix:String,valueClass:w,labelClass:w,titleClass:w,titleStyle:null,arrowDirection:String,clickable:{type:Boolean,default:null}},U=A({},Q,Y);var X=S({name:J,props:U,setup(e,{slots:a}){const l=Z(),s=()=>{if(a.label||k(e.label))return t("div",{class:[v("label"),e.labelClass]},[a.label?a.label():e.label])},d=()=>{var n;if(a.title||k(e.title)){const r=(n=a.title)==null?void 0:n.call(a);return Array.isArray(r)&&r.length===0?void 0:t("div",{class:[v("title"),e.titleClass],style:e.titleStyle},[r||t("span",null,[e.title]),s()])}},u=()=>{const n=a.value||a.default;if(n||k(e.value))return t("div",{class:[v("value"),e.valueClass]},[n?n():t("span",null,[e.value])])},o=()=>{if(a.icon)return a.icon();if(e.icon)return t(B,{name:e.icon,class:v("left-icon"),classPrefix:e.iconPrefix},null)},g=()=>{if(a["right-icon"])return a["right-icon"]();if(e.isLink){const n=e.arrowDirection&&e.arrowDirection!=="right"?`arrow-${e.arrowDirection}`:"arrow";return t(B,{name:n,class:v("right-icon")},null)}};return()=>{var n;const{tag:r,size:_,center:b,border:C,isLink:y,required:x}=e,h=(n=e.clickable)!=null?n:y,$={center:b,required:x,clickable:h,borderless:!C};return _&&($[_]=!!_),t(r,{class:v($),role:h?"button":void 0,tabindex:h?0:void 0,onClick:l},{default:()=>{var D;return[o(),d(),u(),g(),(D=a.extra)==null?void 0:D.call(a)]}})}}});const ee=L(X),[te,I]=P("tag"),ae={size:String,mark:Boolean,show:T,type:N("default"),color:String,plain:Boolean,round:Boolean,textColor:String,closeable:Boolean};var ne=S({name:te,props:ae,emits:["close"],setup(e,{slots:a,emit:l}){const s=o=>{o.stopPropagation(),l("close",o)},d=()=>e.plain?{color:e.textColor||e.color,borderColor:e.color}:{color:e.textColor,background:e.color},u=()=>{var o;const{type:g,mark:n,plain:r,round:_,size:b,closeable:C}=e,y={mark:n,plain:r,round:_};b&&(y[b]=b);const x=C&&t(B,{name:"cross",class:[I("close"),z],onClick:s},null);return t("span",{style:d(),class:I([y,g])},[(o=a.default)==null?void 0:o.call(a),x])};return()=>t(O,{name:e.closeable?"van-fade":void 0},{default:()=>[e.show?u():null]})}});const le=L(ne),[re,V]=P("cell-group"),ie={title:String,inset:Boolean,border:T};var oe=S({name:re,inheritAttrs:!1,props:ie,setup(e,{slots:a,attrs:l}){const s=()=>{var u;return t("div",E({class:[V({inset:e.inset}),{[q]:e.border&&!e.inset}]},l),[(u=a.default)==null?void 0:u.call(a)])},d=()=>t("div",{class:V("title",{inset:e.inset})},[a.title?a.title():e.title]);return()=>e.title||a.title?t(R,null,[d(),s()]):s()}});const ce=L(oe);const se={class:"container"},fe={__name:"index",setup(e){const a=F();let l=G({data:{}});const s=async()=>{const o=await(void 0)({id:a.currentRoute.value.query.id});l.data=o.response};M(()=>{s()});const d=()=>a.push({name:"signList"});return(u,o)=>{const g=W,n=le,r=ee,_=ce;return j(),H(R,null,[t(g,{title:"值班信息","left-text":"返回","left-arrow":"",onClickLeft:d}),m("div",se,[t(_,{class:"cardContainer",inset:""},{default:i(()=>[t(r,{class:"cardContent",title:c(l).data.username},{extra:i(()=>[t(n,{type:"primary",plain:""},{default:i(()=>[m("span",null,f(c(l).data.card_name),1)]),_:1}),t(n,{color:"#7232dd",type:"primary",plain:"",style:{"margin-left":"10px"}},{default:i(()=>[K(f(["值班教师","值班领导"][c(l).data.is_lead]),1)]),_:1})]),_:1},8,["title"]),t(r,{class:"cardContent",title:"手机号"},{extra:i(()=>[t(n,{type:"primary",plain:""},{default:i(()=>[m("span",null,f(c(l).data.mobile),1)]),_:1})]),_:1}),t(r,{class:"cardContent",title:"日期"},{extra:i(()=>[t(n,{type:"primary",plain:""},{default:i(()=>[m("span",null,f(c(l).data.watch_date),1)]),_:1})]),_:1}),t(r,{class:"cardContent",title:"时段"},{extra:i(()=>[t(n,{type:"primary",plain:"",style:{"margin-left":"10px"}},{default:i(()=>[m("span",null,f(c(l).data.watch_hour_time),1)]),_:1})]),_:1}),t(r,{class:"cardContent",title:"类型"},{extra:i(()=>[t(n,{type:"primary",plain:""},{default:i(()=>[m("span",null,f(c(l).data.watchtypename+"-"+c(l).data.dept_name+"-"+c(l).data.campusname),1)]),_:1})]),_:1})]),_:1})])],64)}}};export{fe as default};
因为 它太大了无法显示 源差异 。您可以改为 查看blob。
此差异已折叠。
此差异已折叠。
:root{--van-nav-bar-height: 46px;--van-nav-bar-background: var(--van-background-2);--van-nav-bar-arrow-size: 16px;--van-nav-bar-icon-color: var(--van-primary-color);--van-nav-bar-text-color: var(--van-primary-color);--van-nav-bar-title-font-size: var(--van-font-size-lg);--van-nav-bar-title-text-color: var(--van-text-color);--van-nav-bar-z-index: 1}.van-nav-bar{position:relative;z-index:var(--van-nav-bar-z-index);line-height:var(--van-line-height-lg);text-align:center;background:var(--van-nav-bar-background);-webkit-user-select:none;-moz-user-select:none;user-select:none}.van-nav-bar--fixed{position:fixed;top:0;left:0;width:100%}.van-nav-bar--safe-area-inset-top{padding-top:constant(safe-area-inset-top);padding-top:env(safe-area-inset-top)}.van-nav-bar .van-icon{color:var(--van-nav-bar-icon-color)}.van-nav-bar__content{position:relative;display:flex;align-items:center;height:var(--van-nav-bar-height)}.van-nav-bar__arrow{margin-right:var(--van-padding-base);font-size:var(--van-nav-bar-arrow-size)}.van-nav-bar__title{max-width:60%;margin:0 auto;color:var(--van-nav-bar-title-text-color);font-weight:var(--van-font-bold);font-size:var(--van-nav-bar-title-font-size)}.van-nav-bar__left,.van-nav-bar__right{position:absolute;top:0;bottom:0;display:flex;align-items:center;padding:0 var(--van-padding-md);font-size:var(--van-font-size-md)}.van-nav-bar__left{left:0}.van-nav-bar__right{right:0}.van-nav-bar__text{color:var(--van-nav-bar-text-color)}
import{u as I}from"./use-height-7cedd05b.js";import{a as r,b,d as R,r as w,n as A,t as s,$ as o,a3 as C,I as P,a4 as L,w as N}from"./index-b343d2d3.js";function S(e,l){const t=I(e,!0);return i=>r("div",{class:l("placeholder"),style:{height:t.value?`${t.value}px`:void 0}},[i()])}const[y,a]=b("nav-bar"),E={title:String,fixed:Boolean,zIndex:A,border:s,leftText:String,rightText:String,leftArrow:Boolean,placeholder:Boolean,safeAreaInsetTop:Boolean,clickable:s};var O=R({name:y,props:E,emits:["clickLeft","clickRight"],setup(e,{emit:l,slots:t}){const i=w(),f=S(i,a),d=n=>l("clickLeft",n),h=n=>l("clickRight",n),u=()=>t.left?t.left():[e.leftArrow&&r(P,{class:a("arrow"),name:"arrow-left"},null),e.leftText&&r("span",{class:a("text")},[e.leftText])],g=()=>t.right?t.right():r("span",{class:a("text")},[e.rightText]),c=()=>{const{title:n,fixed:x,border:v,zIndex:T}=e,k=L(T),B=e.leftArrow||e.leftText||t.left,m=e.rightText||t.right;return r("div",{ref:i,style:k,class:[a({fixed:x}),{[C]:v,"van-safe-area-top":e.safeAreaInsetTop}]},[r("div",{class:a("content")},[B&&r("div",{class:[a("left"),e.clickable?o:""],onClick:d},[u()]),r("div",{class:[a("title"),"van-ellipsis"]},[t.title?t.title():n]),m&&r("div",{class:[a("right"),e.clickable?o:""],onClick:h},[g()])])])};return()=>e.fixed&&e.placeholder?f(c):c()}});const D=N(O);export{D as N};
import{g as v,b as w,d as G,a as e,e as k,m as M,w as B}from"./index-b343d2d3.js";let S=0;function C(){const d=v(),{name:a="unknown"}=(d==null?void 0:d.type)||{};return`${a}-${++S}`}const[b,s]=w("empty"),z={image:M("default"),imageSize:[Number,String,Array],description:String};var A=G({name:b,props:z,setup(d,{slots:a}){const x=()=>{const l=a.description?a.description():d.description;if(l)return e("p",{class:s("description")},[l])},F=()=>{if(a.default)return e("div",{class:s("bottom")},[a.default()])},f=C(),r=l=>`${f}-${l}`,t=l=>`url(#${r(l)})`,n=(l,o,D)=>e("stop",{"stop-color":l,offset:`${o}%`,"stop-opacity":D},null),i=(l,o)=>[n(l,0),n(o,100)],u=l=>[e("defs",null,[e("radialGradient",{id:r(l),cx:"50%",cy:"54%",fx:"50%",fy:"54%",r:"297%",gradientTransform:"matrix(-.16 0 0 -.33 .58 .72)"},[n("#EBEDF0",0),n("#F2F3F5",100,.3)])]),e("ellipse",{fill:t(l),opacity:".8",cx:"80",cy:"140",rx:"46",ry:"8"},null)],c=()=>[e("defs",null,[e("linearGradient",{id:r("a"),x1:"64%",y1:"100%",x2:"64%"},[n("#FFF",0,.5),n("#F2F3F5",100)])]),e("g",{opacity:".8"},[e("path",{d:"M36 131V53H16v20H2v58h34z",fill:t("a")},null),e("path",{d:"M123 15h22v14h9v77h-31V15z",fill:t("a")},null)])],h=()=>[e("defs",null,[e("linearGradient",{id:r("b"),x1:"64%",y1:"97%",x2:"64%",y2:"0%"},[n("#F2F3F5",0,.3),n("#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:t("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:t("b")},null)])],y=()=>e("svg",{viewBox:"0 0 160 160"},[e("defs",null,[e("linearGradient",{id:r(1),x1:"64%",y1:"100%",x2:"64%"},[n("#FFF",0,.5),n("#F2F3F5",100)]),e("linearGradient",{id:r(2),x1:"50%",x2:"50%",y2:"84%"},[n("#EBEDF0",0),n("#DCDEE0",100,0)]),e("linearGradient",{id:r(3),x1:"100%",x2:"100%",y2:"100%"},[i("#EAEDF0","#DCDEE0")]),e("radialGradient",{id:r(4),cx:"50%",cy:"0%",fx:"50%",fy:"0%",r:"100%",gradientTransform:"matrix(0 1 -.54 0 .5 -.5)"},[n("#EBEDF0",0),n("#FFF",100,0)])]),e("g",{fill:"none"},[c(),e("path",{fill:t(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:t(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:t(3)},null),e("path",{d:"M53 36a34 34 0 0 0 0 48",stroke:t(3)},null),e("path",{d:"M95 73a19 19 0 0 0 6-13c0-5-2-9-6-13",stroke:t(3)},null),e("path",{d:"M106 84a34 34 0 0 0 0-48",stroke:t(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)])])]),g=()=>e("svg",{viewBox:"0 0 160 160"},[e("defs",null,[e("linearGradient",{x1:"50%",x2:"50%",y2:"100%",id:r(5)},[i("#F2F3F5","#DCDEE0")]),e("linearGradient",{x1:"95%",y1:"48%",x2:"5.5%",y2:"51%",id:r(6)},[i("#EAEDF1","#DCDEE0")]),e("linearGradient",{y1:"45%",x2:"100%",y2:"54%",id:r(7)},[i("#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:t(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:t(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:t(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)])]),E=()=>e("svg",{viewBox:"0 0 160 160"},[e("defs",null,[e("linearGradient",{x1:"50%",x2:"50%",y2:"100%",id:r(8)},[i("#EAEDF1","#DCDEE0")])]),c(),h(),u("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:t(8)},null)]),p=()=>e("svg",{viewBox:"0 0 160 160"},[e("defs",null,[e("linearGradient",{x1:"50%",y1:"100%",x2:"50%",id:r(9)},[i("#EEE","#D8D8D8")]),e("linearGradient",{x1:"100%",y1:"50%",y2:"50%",id:r(10)},[i("#F2F3F5","#DCDEE0")]),e("linearGradient",{x1:"50%",x2:"50%",y2:"100%",id:r(11)},[i("#F2F3F5","#DCDEE0")]),e("linearGradient",{x1:"50%",x2:"50%",y2:"100%",id:r(12)},[i("#FFF","#F7F8FA")])]),c(),h(),u("d"),e("g",{transform:"rotate(-45 113 -4)",fill:"none"},[e("rect",{fill:t(9),x:"24",y:"52.8",width:"5.8",height:"19",rx:"1"},null),e("rect",{fill:t(10),x:"22.1",y:"67.3",width:"9.9",height:"28",rx:"1"},null),e("circle",{stroke:t(11),"stroke-width":"8",cx:"27",cy:"27",r:"27"},null),e("circle",{fill:t(12),cx:"27",cy:"27",r:"16"},null),e("path",{d:"M37 7c-8 0-15 5-16 12",stroke:t(11),"stroke-width":"3",opacity:".5","stroke-linecap":"round",transform:"rotate(45 29 13)"},null)])]),m=()=>{var l;if(a.image)return a.image();const o={error:E,search:p,network:y,default:g};return((l=o[d.image])==null?void 0:l.call(o))||e("img",{src:d.image},null)};return()=>e("div",{class:s()},[e("div",{class:s("image"),style:k(d.imageSize)},[m()]),x(),F()])}});const $=B(A);export{$ as E};
因为 它太大了无法显示 源差异 。您可以改为 查看blob。
import{u as n,o as c,c as s,a as e,F as m}from"./index-b343d2d3.js";import{E as p}from"./index-97ed6dfd.js";import{N as _}from"./index-8469ce55.js";import"./use-height-7cedd05b.js";const v={__name:"index",setup(i){const t=n(),o=()=>t.replace({name:"welcome"});return(l,f)=>{const r=_,a=p;return c(),s(m,null,[e(r,{"left-text":"返回","left-arrow":"",onClickLeft:o}),e(a,{style:{width:"100%",height:"100%"},image:"error",description:"暂无权限!"})],64)}}};export{v as default};
import{u as n,o as c,c as s,a as e,F as m}from"./index-b343d2d3.js";import{E as p}from"./index-97ed6dfd.js";import{N as _}from"./index-8469ce55.js";import"./use-height-7cedd05b.js";const v={__name:"index",setup(i){const t=n(),o=()=>t.replace({name:"welcome"});return(l,f)=>{const r=_,a=p;return c(),s(m,null,[e(r,{"left-text":"返回","left-arrow":"",onClickLeft:o}),e(a,{style:{width:"100%",height:"100%"},image:"error",description:"异常"})],64)}}};export{v as default};
:root{--van-cell-group-background: var(--van-background-2);--van-cell-group-title-color: var(--van-text-color-2);--van-cell-group-title-padding: var(--van-padding-md) var(--van-padding-md);--van-cell-group-title-font-size: var(--van-font-size-md);--van-cell-group-title-line-height: 16px;--van-cell-group-inset-padding: 0 var(--van-padding-md);--van-cell-group-inset-radius: var(--van-radius-lg);--van-cell-group-inset-title-padding: var(--van-padding-md) var(--van-padding-md)}.van-cell-group{background:var(--van-cell-group-background)}.van-cell-group--inset{margin:var(--van-cell-group-inset-padding);border-radius:var(--van-cell-group-inset-radius);overflow:hidden}.van-cell-group__title{padding:var(--van-cell-group-title-padding);color:var(--van-cell-group-title-color);font-size:var(--van-cell-group-title-font-size);line-height:var(--van-cell-group-title-line-height)}.van-cell-group__title--inset{padding:var(--van-cell-group-inset-title-padding)}:root{--van-cell-font-size: var(--van-font-size-md);--van-cell-line-height: 24px;--van-cell-vertical-padding: 10px;--van-cell-horizontal-padding: var(--van-padding-md);--van-cell-text-color: var(--van-text-color);--van-cell-background: var(--van-background-2);--van-cell-border-color: var(--van-border-color);--van-cell-active-color: var(--van-active-color);--van-cell-required-color: var(--van-danger-color);--van-cell-label-color: var(--van-text-color-2);--van-cell-label-font-size: var(--van-font-size-sm);--van-cell-label-line-height: var(--van-line-height-sm);--van-cell-label-margin-top: var(--van-padding-base);--van-cell-value-color: var(--van-text-color-2);--van-cell-icon-size: 16px;--van-cell-right-icon-color: var(--van-gray-6);--van-cell-large-vertical-padding: var(--van-padding-sm);--van-cell-large-title-font-size: var(--van-font-size-lg);--van-cell-large-label-font-size: var(--van-font-size-md)}.van-cell{position:relative;display:flex;box-sizing:border-box;width:100%;padding:var(--van-cell-vertical-padding) var(--van-cell-horizontal-padding);overflow:hidden;color:var(--van-cell-text-color);font-size:var(--van-cell-font-size);line-height:var(--van-cell-line-height);background:var(--van-cell-background)}.van-cell:after{position:absolute;box-sizing:border-box;content:" ";pointer-events:none;right:var(--van-padding-md);bottom:0;left:var(--van-padding-md);border-bottom:1px solid var(--van-cell-border-color);transform:scaleY(.5)}.van-cell:last-child:after,.van-cell--borderless:after{display:none}.van-cell__label{margin-top:var(--van-cell-label-margin-top);color:var(--van-cell-label-color);font-size:var(--van-cell-label-font-size);line-height:var(--van-cell-label-line-height)}.van-cell__title,.van-cell__value{flex:1}.van-cell__value{position:relative;overflow:hidden;color:var(--van-cell-value-color);text-align:right;vertical-align:middle;word-wrap:break-word}.van-cell__left-icon,.van-cell__right-icon{height:var(--van-cell-line-height);font-size:var(--van-cell-icon-size);line-height:var(--van-cell-line-height)}.van-cell__left-icon{margin-right:var(--van-padding-base)}.van-cell__right-icon{margin-left:var(--van-padding-base);color:var(--van-cell-right-icon-color)}.van-cell--clickable{cursor:pointer}.van-cell--clickable:active{background-color:var(--van-cell-active-color)}.van-cell--required{overflow:visible}.van-cell--required:before{position:absolute;left:var(--van-padding-xs);color:var(--van-cell-required-color);font-size:var(--van-cell-font-size);content:"*"}.van-cell--center{align-items:center}.van-cell--large{padding-top:var(--van-cell-large-vertical-padding);padding-bottom:var(--van-cell-large-vertical-padding)}.van-cell--large .van-cell__title{font-size:var(--van-cell-large-title-font-size)}.van-cell--large .van-cell__label{font-size:var(--van-cell-large-label-font-size)}:root{--van-tag-padding: 0 var(--van-padding-base);--van-tag-text-color: var(--van-white);--van-tag-font-size: var(--van-font-size-sm);--van-tag-radius: 2px;--van-tag-line-height: 16px;--van-tag-medium-padding: 2px 6px;--van-tag-large-padding: var(--van-padding-base) var(--van-padding-xs);--van-tag-large-radius: var(--van-radius-md);--van-tag-large-font-size: var(--van-font-size-md);--van-tag-round-radius: var(--van-radius-max);--van-tag-danger-color: var(--van-danger-color);--van-tag-primary-color: var(--van-primary-color);--van-tag-success-color: var(--van-success-color);--van-tag-warning-color: var(--van-warning-color);--van-tag-default-color: var(--van-gray-6);--van-tag-plain-background: var(--van-background-2)}.van-tag{position:relative;display:inline-flex;align-items:center;padding:var(--van-tag-padding);color:var(--van-tag-text-color);font-size:var(--van-tag-font-size);line-height:var(--van-tag-line-height);border-radius:var(--van-tag-radius)}.van-tag--default{background:var(--van-tag-default-color)}.van-tag--default.van-tag--plain{color:var(--van-tag-default-color)}.van-tag--danger{background:var(--van-tag-danger-color)}.van-tag--danger.van-tag--plain{color:var(--van-tag-danger-color)}.van-tag--primary{background:var(--van-tag-primary-color)}.van-tag--primary.van-tag--plain{color:var(--van-tag-primary-color)}.van-tag--success{background:var(--van-tag-success-color)}.van-tag--success.van-tag--plain{color:var(--van-tag-success-color)}.van-tag--warning{background:var(--van-tag-warning-color)}.van-tag--warning.van-tag--plain{color:var(--van-tag-warning-color)}.van-tag--plain{background:var(--van-tag-plain-background);border-color:currentColor}.van-tag--plain:before{position:absolute;top:0;right:0;bottom:0;left:0;border:1px solid;border-color:inherit;border-radius:inherit;content:"";pointer-events:none}.van-tag--medium{padding:var(--van-tag-medium-padding)}.van-tag--large{padding:var(--van-tag-large-padding);font-size:var(--van-tag-large-font-size);border-radius:var(--van-tag-large-radius)}.van-tag--mark{border-radius:0 var(--van-tag-round-radius) var(--van-tag-round-radius) 0}.van-tag--mark:after{display:block;width:2px;content:""}.van-tag--round{border-radius:var(--van-tag-round-radius)}.van-tag__close{margin-left:2px}.container .cardContainer{margin-top:10px;width:95%;background-color:#fff;height:20%}.container .cardContainer .cardContent{//height: 150px}
import{r as n,T as h,W as o,X as r,E as u,Y as c,Z as g,A as p}from"./index-135ee00a.js";const d=(i,a)=>{const s=n(),e=()=>{s.value=p(i).height};return h(()=>{if(o(e),a)for(let t=1;t<=3;t++)setTimeout(e,100*t)}),r(()=>o(e)),u([c,g],e),s};export{d as u};
import{r as n,f as h,a5 as a,a6 as r,M as u,a7 as c,a8 as f,H as g}from"./index-b343d2d3.js";const w=(o,i)=>{const s=n(),e=()=>{s.value=g(o).height};return h(()=>{if(a(e),i)for(let t=1;t<=3;t++)setTimeout(e,100*t)}),r(()=>a(e)),u([c,f],e),s};export{w as u};
import{g as n}from"./index-b343d2d3.js";const a={to:[String,Object],url:String,replace:Boolean};function c({to:e,url:o,replace:t,$router:r}){e&&r?r[t?"replace":"push"](e):o&&(t?location.replace(o):location.href=o)}function i(){const e=n().proxy;return()=>c(e)}export{a as r,i as u};
......@@ -5,7 +5,7 @@
<link rel="icon" type="image/svg+xml" href="./vite.svg"/>
<meta name="viewport" content="width=device-width, initial-scale=1.0"/>
<title>教师下企业</title>
<script type="module" crossorigin src="./assets/index-b343d2d3.js"></script>
<script type="module" crossorigin src="./assets/index-135ee00a.js"></script>
<link rel="stylesheet" href="./assets/index-df16faa4.css">
</head>
<body>
......
import { type AxiosRequestConfig } from "axios";
/**
* 获取列名和名称
* /api/Common/GetFormSelect
*/
export declare function getApiCommonGetFormSelect(config?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<{
code: number;
status: string;
msg: string;
msg_detail: string;
response: {
[x: string]: any;
};
}, any>>;
import request from "../../../../util/axios.js";
/**
* 获取列名和名称
* /api/Common/GetFormSelect
*/
export function getApiCommonGetFormSelect(config) {
return request.get(`/api/Common/GetFormSelect`, config);
}
import { type AxiosRequestConfig } from "axios";
/**
* 获取表单编号
* /api/Common/GetFromId
*/
export declare function getApiCommonGetFromId(config?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<{
code: number;
status: string;
msg: string;
msg_detail: string;
response: string;
}, any>>;
import request from "../../../../util/axios.js";
/**
* 获取表单编号
* /api/Common/GetFromId
*/
export function getApiCommonGetFromId(config) {
return request.get(`/api/Common/GetFromId`, config);
}
export * from "./getApiCommonGetFromId";
export * from "./getApiCommonGetFormSelect";
export * from "./getApiCommonGetFromId";
export * from "./getApiCommonGetFormSelect";
import request from "../util/axios.js";
import request from "../../../../util/axios.js";
/**
* 列表导出
* /api/Enterpriseclock/GetEnterpriseclockExport
......
import request from "../util/axios.js";
import request from "../../../../util/axios.js";
/**
* /api/Enterpriseclock/GetEnterpriseclockFileExport
*/
......
import request from "../util/axios.js";
import request from "../../../../util/axios.js";
/**
* 获取教师下企业统计列表
* /api/Enterpriseclock/GetEnterpriseclockList
......
import request from "../util/axios.js";
import request from "../../../../util/axios.js";
/**
* 校验教师申请时间是否冲突
* /api/Flow/TeacherDateVerify
......
......@@ -9,9 +9,8 @@ export declare function getApiGetTokenInfo(config?: AxiosRequestConfig): Promise
msg: string;
msg_detail: string;
response: {
userId: string;
cardNumber: string;
name: string;
openId: string;
phone: string;
};
}, any>>;
import request from "../util/axios.js";
import request from "../../../../util/axios.js";
/**
* Token解析
* /api/GetTokenInfo
......
import request from "../util/axios.js";
import request from "../../../../util/axios.js";
/**
* 刷新Token
* /api/RefreshToken
......
import request from "../util/axios.js";
import request from "../../../../util/axios.js";
/**
* PC单点登陆
* /api/sso/pc
......
import request from "../util/axios.js";
import request from "../../../../util/axios.js";
/**
* 测试用
* /api/sso/test
......
import request from "../util/axios.js";
import request from "../../../../util/axios.js";
/**
* /api/Test/EnumTest
*/
......
import request from "../util/axios.js";
import request from "../../../../util/axios.js";
/**
* /api/Test/WorkFlowTest
*/
......
export * from "./Common";
export * from "./Enterpriseclock";
export * from "./Flow";
export * from "./Login";
......
export * from "./Common";
export * from "./Enterpriseclock";
export * from "./Flow";
export * from "./Login";
......
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
Markdown 格式
0% or
您添加了 0 人 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册 或