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

V20240308 保存

上级 f673c557
流水线 #24467 已通过 ,包含阶段
in 33 second
...@@ -8,7 +8,7 @@ stages: ...@@ -8,7 +8,7 @@ stages:
build: build:
stage: publish stage: publish
script: script:
- remove-item -Force -Recurse D:\ASC_web\A00051\placeManagement\wx* - remove-item -Force -Recurse D:\ASC_web\A00051\teacherGo2Corporation\wx*
- xcopy "dist" "D:\ASC_web\A00051\placeManagement\wx\" /s/e/y/ - xcopy "dist" "D:\ASC_web\A00051\teacherGo2Corporation\wx\" /s/e/y/
only: only:
- wx - wx
import{u as p,f as u,o as l,c as m,a as k,h as _,G as a,i as s,L as f,j as w,C as y,S as d,k as g}from"./index-b2798950.js";const x={style:{display:"flex","justify-content":"center","margin-top":"50%"}},h={__name:"SSO",setup(v){const t=p(),c=async o=>{const e=await d(o);if(e.code!==1)await t.replace({name:"403"});else if(e.response.access_token.token_content!==""){s.set("site-management-token",e.response.access_token.token_content),s.set("time",e.response.access_token.expires);const n=await a();s.set("site-user-info",n.response.role),await t.replace({name:"welcome"})}},r=async o=>{const e=await g(o);if(e.code!==1)await t.replace({name:"403"});else if(e.response.access_token.token_content!==""){s.set("site-management-token",e.response.access_token.token_content),s.set("time",e.response.access_token.expires);const n=await a();s.set("site-user-info",n.response.role),await t.replace({name:"welcome"})}},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 y();if(e.code!==1)await t.replace({name:"403"});else if(e.response.access_token.token_content!==""){s.set("site-management-token",e.response.access_token.token_content),s.set("time",e.response.access_token.expires);const n=await a();s.set("site-user-info",n.response.role),await t.replace({name:"welcome"})}}})[String(t.currentRoute.value.query.type)](),a(s.get("site-management-token")).then(e=>{s.set("userInfo",JSON.stringify(e.response))})};return u(()=>{i()}),(o,e)=>{const n=f;return l(),m("div",x,[k(n,{size:"38px",color:"#1989fa",vertical:""},{default:_(()=>[w(" 登录中")]),_:1})])}}};export{h as default};
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-edb19352.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,i as s,L as m,j as y}from"./index-b2798950.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}; 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-edb19352.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};
import{u as n,o as c,c as s,a as e,F as m}from"./index-b2798950.js";import{E as p}from"./index-c5ab874d.js";import{N as _}from"./index-649f59f8.js";import"./use-height-2e0adf37.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-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}: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)}
import{g as V,b as k,p as z,d as P,a,m as O,q as p,t as T,s as w,v as B,I as S,w as L,T as A,H as q,F as R,x as E,B as F,u as G,l as M,f as j,o as H,c as K,n as f,h as i,y as s,z as m,i as J}from"./index-edb19352.js";import{N as Q}from"./index-5b9c85d1.js";const U={to:[String,Object],url:String,replace:Boolean};function W({to:e,url:t,replace:l,$router:o}){e&&o?o[l?"replace":"push"](e):t&&(l?location.replace(t):location.href=t)}function X(){const e=V().proxy;return()=>W(e)}const[Y,v]=k("cell"),Z={tag:O("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}},ee=z({},Z,U);var te=P({name:Y,props:ee,setup(e,{slots:t}){const l=X(),o=()=>{if(t.label||B(e.label))return a("div",{class:[v("label"),e.labelClass]},[t.label?t.label():e.label])},d=()=>{var n;if(t.title||B(e.title)){const r=(n=t.title)==null?void 0:n.call(t);return Array.isArray(r)&&r.length===0?void 0:a("div",{class:[v("title"),e.titleClass],style:e.titleStyle},[r||a("span",null,[e.title]),o()])}},u=()=>{const n=t.value||t.default;if(n||B(e.value))return a("div",{class:[v("value"),e.valueClass]},[n?n():a("span",null,[e.value])])},c=()=>{if(t.icon)return t.icon();if(e.icon)return a(S,{name:e.icon,class:v("left-icon"),classPrefix:e.iconPrefix},null)},g=()=>{if(t["right-icon"])return t["right-icon"]();if(e.isLink){const n=e.arrowDirection&&e.arrowDirection!=="right"?`arrow-${e.arrowDirection}`:"arrow";return a(S,{name:n,class:v("right-icon")},null)}};return()=>{var n;const{tag:r,size:_,center:b,border:x,isLink:y,required:C}=e,h=(n=e.clickable)!=null?n:y,$={center:b,required:C,clickable:h,borderless:!x};return _&&($[_]=!!_),a(r,{class:v($),role:h?"button":void 0,tabindex:h?0:void 0,onClick:l},{default:()=>{var D;return[c(),d(),u(),g(),(D=t.extra)==null?void 0:D.call(t)]}})}}});const ae=L(te),[ne,I]=k("tag"),le={size:String,mark:Boolean,show:T,type:O("default"),color:String,plain:Boolean,round:Boolean,textColor:String,closeable:Boolean};var re=P({name:ne,props:le,emits:["close"],setup(e,{slots:t,emit:l}){const o=c=>{c.stopPropagation(),l("close",c)},d=()=>e.plain?{color:e.textColor||e.color,borderColor:e.color}:{color:e.textColor,background:e.color},u=()=>{var c;const{type:g,mark:n,plain:r,round:_,size:b,closeable:x}=e,y={mark:n,plain:r,round:_};b&&(y[b]=b);const C=x&&a(S,{name:"cross",class:[I("close"),q],onClick:o},null);return a("span",{style:d(),class:I([y,g])},[(c=t.default)==null?void 0:c.call(t),C])};return()=>a(A,{name:e.closeable?"van-fade":void 0},{default:()=>[e.show?u():null]})}});const ie=L(re),[oe,N]=k("cell-group"),ce={title:String,inset:Boolean,border:T};var se=P({name:oe,inheritAttrs:!1,props:ce,setup(e,{slots:t,attrs:l}){const o=()=>{var u;return a("div",E({class:[N({inset:e.inset}),{[F]:e.border&&!e.inset}]},l),[(u=t.default)==null?void 0:u.call(t)])},d=()=>a("div",{class:N("title",{inset:e.inset})},[t.title?t.title():e.title]);return()=>e.title||t.title?a(R,null,[d(),o()]):o()}});const ue=L(se);const de={class:"container"},me={__name:"index",setup(e){const t=G();let l=M({data:{}});const o=async()=>{const c=await(void 0)({id:t.currentRoute.value.query.id});l.data=c.response};j(()=>{o()});const d=()=>t.push({name:"signList"});return(u,c)=>{const g=Q,n=ie,r=ae,_=ue;return H(),K(R,null,[a(g,{title:"值班信息","left-text":"返回","left-arrow":"",onClickLeft:d}),f("div",de,[a(_,{class:"cardContainer",inset:""},{default:i(()=>[a(r,{class:"cardContent",title:s(l).data.username},{extra:i(()=>[a(n,{type:"primary",plain:""},{default:i(()=>[f("span",null,m(s(l).data.card_name),1)]),_:1}),a(n,{color:"#7232dd",type:"primary",plain:"",style:{"margin-left":"10px"}},{default:i(()=>[J(m(["值班教师","值班领导"][s(l).data.is_lead]),1)]),_:1})]),_:1},8,["title"]),a(r,{class:"cardContent",title:"手机号"},{extra:i(()=>[a(n,{type:"primary",plain:""},{default:i(()=>[f("span",null,m(s(l).data.mobile),1)]),_:1})]),_:1}),a(r,{class:"cardContent",title:"日期"},{extra:i(()=>[a(n,{type:"primary",plain:""},{default:i(()=>[f("span",null,m(s(l).data.watch_date),1)]),_:1})]),_:1}),a(r,{class:"cardContent",title:"时段"},{extra:i(()=>[a(n,{type:"primary",plain:"",style:{"margin-left":"10px"}},{default:i(()=>[f("span",null,m(s(l).data.watch_hour_time),1)]),_:1})]),_:1}),a(r,{class:"cardContent",title:"类型"},{extra:i(()=>[a(n,{type:"primary",plain:""},{default:i(()=>[f("span",null,m(s(l).data.watchtypename+"-"+s(l).data.dept_name+"-"+s(l).data.campusname),1)]),_:1})]),_:1})]),_:1})])],64)}}};export{me as default};
import{g as L,b as k,l as A,d as w,a as l,m as D,n as h,t as B,ac as S,ad as P,I as x,w as y,ae as O,a9 as z,F as R,T as V,af as E}from"./index-b2798950.js";const F={to:[String,Object],url:String,replace:Boolean};function G({to:e,url:n,replace:r,$router:a}){e&&a?a[r?"replace":"push"](e):n&&(r?location.replace(n):location.href=n)}function q(){const e=L().proxy;return()=>G(e)}const[N,s]=k("cell"),j={tag:D("div"),icon:String,size:String,title:h,value:h,label:h,center:Boolean,isLink:Boolean,border:B,required:Boolean,iconPrefix:String,valueClass:S,labelClass:S,titleClass:S,titleStyle:null,arrowDirection:String,clickable:{type:Boolean,default:null}},H=A({},j,F);var K=w({name:N,props:H,setup(e,{slots:n}){const r=q(),a=()=>{if(n.label||P(e.label))return l("div",{class:[s("label"),e.labelClass]},[n.label?n.label():e.label])},u=()=>{var t;if(n.title||P(e.title)){const i=(t=n.title)==null?void 0:t.call(n);return Array.isArray(i)&&i.length===0?void 0:l("div",{class:[s("title"),e.titleClass],style:e.titleStyle},[i||l("span",null,[e.title]),a()])}},c=()=>{const t=n.value||n.default;if(t||P(e.value))return l("div",{class:[s("value"),e.valueClass]},[t?t():l("span",null,[e.value])])},o=()=>{if(n.icon)return n.icon();if(e.icon)return l(x,{name:e.icon,class:s("left-icon"),classPrefix:e.iconPrefix},null)},g=()=>{if(n["right-icon"])return n["right-icon"]();if(e.isLink){const t=e.arrowDirection&&e.arrowDirection!=="right"?`arrow-${e.arrowDirection}`:"arrow";return l(x,{name:t,class:s("right-icon")},null)}};return()=>{var t;const{tag:i,size:d,center:f,border:v,isLink:b,required:m}=e,C=(t=e.clickable)!=null?t:b,T={center:f,required:m,clickable:C,borderless:!v};return d&&(T[d]=!!d),l(i,{class:s(T),role:C?"button":void 0,tabindex:C?0:void 0,onClick:r},{default:()=>{var _;return[o(),u(),c(),g(),(_=n.extra)==null?void 0:_.call(n)]}})}}});const Z=y(K),[M,$]=k("tag"),J={size:String,mark:Boolean,show:B,type:D("default"),color:String,plain:Boolean,round:Boolean,textColor:String,closeable:Boolean};var Q=w({name:M,props:J,emits:["close"],setup(e,{slots:n,emit:r}){const a=o=>{o.stopPropagation(),r("close",o)},u=()=>e.plain?{color:e.textColor||e.color,borderColor:e.color}:{color:e.textColor,background:e.color},c=()=>{var o;const{type:g,mark:t,plain:i,round:d,size:f,closeable:v}=e,b={mark:t,plain:i,round:d};f&&(b[f]=f);const m=v&&l(x,{name:"cross",class:[$("close"),z],onClick:a},null);return l("span",{style:u(),class:$([b,g])},[(o=n.default)==null?void 0:o.call(n),m])};return()=>l(O,{name:e.closeable?"van-fade":void 0},{default:()=>[e.show?c():null]})}});const p=y(Q),[U,I]=k("cell-group"),W={title:String,inset:Boolean,border:B};var X=w({name:U,inheritAttrs:!1,props:W,setup(e,{slots:n,attrs:r}){const a=()=>{var c;return l("div",V({class:[I({inset:e.inset}),{[E]:e.border&&!e.inset}]},r),[(c=n.default)==null?void 0:c.call(n)])},u=()=>l("div",{class:I("title",{inset:e.inset})},[n.title?n.title():e.title]);return()=>e.title||n.title?l(R,null,[u(),a()]):a()}});const ee=y(X);export{Z as C,p as T,ee as a,F as r,q as u};
import{u as y,W as f,f as x,o as C,c as g,a,a2 as l,h as t,F as v,a1 as n,a6 as r,j as h}from"./index-b2798950.js";import{a as w,T as N,C as k}from"./index-374f280f.js";import{N as B}from"./index-649f59f8.js";import"./use-height-2e0adf37.js";const b={class:"container"},F={__name:"index",setup(L){const c=y();let e=f({data:{}});const _=async()=>{const i=await(void 0)({id:c.currentRoute.value.query.id});e.data=i.response};x(()=>{_()});const d=()=>c.push({name:"signList"});return(p,i)=>{const u=B,s=N,o=k,m=w;return C(),g(v,null,[a(u,{title:"值班信息","left-text":"返回","left-arrow":"",onClickLeft:d}),l("div",b,[a(m,{class:"cardContainer",inset:""},{default:t(()=>[a(o,{class:"cardContent",title:n(e).data.username},{extra:t(()=>[a(s,{type:"primary",plain:""},{default:t(()=>[l("span",null,r(n(e).data.card_name),1)]),_:1}),a(s,{color:"#7232dd",type:"primary",plain:"",style:{"margin-left":"10px"}},{default:t(()=>[h(r(["值班教师","值班领导"][n(e).data.is_lead]),1)]),_:1})]),_:1},8,["title"]),a(o,{class:"cardContent",title:"手机号"},{extra:t(()=>[a(s,{type:"primary",plain:""},{default:t(()=>[l("span",null,r(n(e).data.mobile),1)]),_:1})]),_:1}),a(o,{class:"cardContent",title:"日期"},{extra:t(()=>[a(s,{type:"primary",plain:""},{default:t(()=>[l("span",null,r(n(e).data.watch_date),1)]),_:1})]),_:1}),a(o,{class:"cardContent",title:"时段"},{extra:t(()=>[a(s,{type:"primary",plain:"",style:{"margin-left":"10px"}},{default:t(()=>[l("span",null,r(n(e).data.watch_hour_time),1)]),_:1})]),_:1}),a(o,{class:"cardContent",title:"类型"},{extra:t(()=>[a(s,{type:"primary",plain:""},{default:t(()=>[l("span",null,r(n(e).data.watchtypename+"-"+n(e).data.dept_name+"-"+n(e).data.campusname),1)]),_:1})]),_:1})]),_:1})])],64)}}};export{F as default};
import{u as n,o as c,c as s,a as e,F as m}from"./index-b2798950.js";import{E as p}from"./index-c5ab874d.js";import{N as _}from"./index-649f59f8.js";import"./use-height-2e0adf37.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-edb19352.js";import{E as _}from"./index-9c2f4c43.js";import{N as p}from"./index-5b9c85d1.js";const k={__name:"index",setup(l){const t=n(),o=()=>t.replace({name:"welcome"});return(i,f)=>{const r=p,a=_;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{k as default};
import{r as h,f as I,A as o,D as b,E as A,J as C,K as P,M as N,a as r,b as H,d as L,q as S,t as f,H as d,N as y,I as E,O,w as D}from"./index-edb19352.js";const M=(e,i)=>{const t=h(),a=()=>{t.value=N(e).height};return I(()=>{if(o(a),i)for(let l=1;l<=3;l++)setTimeout(a,100*l)}),b(()=>o(a)),A([C,P],a),t};function _(e,i){const t=M(e,!0);return a=>r("div",{class:i("placeholder"),style:{height:t.value?`${t.value}px`:void 0}},[a()])}const[z,n]=H("nav-bar"),K={title:String,fixed:Boolean,zIndex:S,border:f,leftText:String,rightText:String,leftArrow:Boolean,placeholder:Boolean,safeAreaInsetTop:Boolean,clickable:f};var q=L({name:z,props:K,emits:["clickLeft","clickRight"],setup(e,{emit:i,slots:t}){const a=h(),l=_(a,n),u=c=>i("clickLeft",c),g=c=>i("clickRight",c),x=()=>t.left?t.left():[e.leftArrow&&r(E,{class:n("arrow"),name:"arrow-left"},null),e.leftText&&r("span",{class:n("text")},[e.leftText])],v=()=>t.right?t.right():r("span",{class:n("text")},[e.rightText]),s=()=>{const{title:c,fixed:T,border:k,zIndex:w}=e,B=O(w),R=e.leftArrow||e.leftText||t.left,m=e.rightText||t.right;return r("div",{ref:a,style:B,class:[n({fixed:T}),{[y]:k,"van-safe-area-top":e.safeAreaInsetTop}]},[r("div",{class:n("content")},[R&&r("div",{class:[n("left"),e.clickable?d:""],onClick:u},[x()]),r("div",{class:[n("title"),"van-ellipsis"]},[t.title?t.title():c]),m&&r("div",{class:[n("right"),e.clickable?d:""],onClick:g},[v()])])])};return()=>e.fixed&&e.placeholder?l(s):s()}});const J=D(q);export{J as N};
import{b as Z,l as ue,m as J,n as se,d as te,B as He,a as l,I as Be,p as Re,L as Ce,w as be,r as G,q as Fe,s as Q,t as L,v as me,x as le,y as We,z as W,A as Ne,D as Le,E as Oe,H as he,J as Ee,K as re,M as ge,N as ie,O as ze,P as Ve,Q as Pe,R as de,T as Ue,U as ye,V as Ge,W as De,X as je,Y as qe,Z as Xe,_ as Je,$ as I,f as Ke,i as Qe,o as ne,a0 as xe,h as U,a1 as j,a2 as F,c as fe,a3 as Se,F as Me,a4 as pe,a5 as Ze,a6 as K,a7 as et,a8 as tt}from"./index-b2798950.js";import{r as at,u as nt,C as ot,a as st,T as lt}from"./index-374f280f.js";import{u as rt}from"./use-height-2e0adf37.js";const[it,ee]=Z("button"),ct=ue({},at,{tag:J("button"),text:String,icon:String,type:J("default"),size:J("normal"),color:String,block:Boolean,plain:Boolean,round:Boolean,square:Boolean,loading:Boolean,hairline:Boolean,disabled:Boolean,iconPrefix:String,nativeType:J("button"),loadingSize:se,loadingText:String,loadingType:String,iconPosition:J("left")});var ut=te({name:it,props:ct,emits:["click"],setup(e,{emit:t,slots:r}){const i=nt(),d=()=>r.loading?r.loading():l(Ce,{size:e.loadingSize,type:e.loadingType,class:ee("loading")},null),x=()=>{if(e.loading)return d();if(r.icon)return l("div",{class:ee("icon")},[r.icon()]);if(e.icon)return l(Be,{name:e.icon,class:ee("icon"),classPrefix:e.iconPrefix},null)},B=()=>{let u;if(e.loading?u=e.loadingText:u=r.default?r.default():e.text,u)return l("span",{class:ee("text")},[u])},c=()=>{const{color:u,plain:k}=e;if(u){const T={color:k?u:"white"};return k||(T.background=u),u.includes("gradient")?T.border=0:T.borderColor=u,T}},o=u=>{e.loading?Re(u):e.disabled||(t("click",u),i())};return()=>{const{tag:u,type:k,size:T,block:b,round:$,plain:S,square:E,loading:m,disabled:w,hairline:_,nativeType:y,iconPosition:n}=e,h=[ee([k,T,{plain:S,block:b,round:$,square:E,loading:m,disabled:w,hairline:_}]),{[He]:_}];return l(u,{type:y,class:h,style:c(),disabled:w,onClick:o},{default:()=>[l("div",{class:ee("content")},[n==="left"&&x(),B(),n==="right"&&x()])]})}}});const dt=be(ut);Z("picker-toolbar");const ft={title:String,cancelButtonText:String,confirmButtonText:String};function mt(){const e=G([]),t=[];return Fe(()=>{e.value=[]}),[e,i=>(t[i]||(t[i]=d=>{e.value[i]=d}),t[i])]}const Ae=ue({loading:Boolean,readonly:Boolean,allowHtml:Boolean,optionHeight:Q(44),showToolbar:L,swipeDuration:Q(1e3),visibleOptionNum:Q(6)},ft);ue({},Ae,{columns:me(),modelValue:me(),toolbarPosition:J("top"),columnsFieldNames:Object});const[ht,Y,q]=Z("calendar"),gt=e=>q("monthTitle",e.getFullYear(),e.getMonth()+1);function ve(e,t){const r=e.getFullYear(),i=t.getFullYear();if(r===i){const d=e.getMonth(),x=t.getMonth();return d===x?0:d>x?1:-1}return r>i?1:-1}function N(e,t){const r=ve(e,t);if(r===0){const i=e.getDate(),d=t.getDate();return i===d?0:i>d?1:-1}return r}const ce=e=>new Date(e),Ye=e=>Array.isArray(e)?e.map(ce):ce(e);function ke(e,t){const r=ce(e);return r.setDate(r.getDate()+t),r}const we=e=>ke(e,-1),Ie=e=>ke(e,1),_e=()=>{const e=new Date;return e.setHours(0,0,0,0),e};function yt(e){const t=e[0].getTime();return(e[1].getTime()-t)/(1e3*60*60*24)+1}ue({},Ae,{modelValue:me(),filter:Function,formatter:{type:Function,default:(e,t)=>t}});const Dt=(e,t)=>32-new Date(e,t-1,32).getDate(),[vt]=Z("calendar-day");var wt=te({name:vt,props:{item:le(Object),color:String,index:Number,offset:We(0),rowHeight:String},emits:["click"],setup(e,{emit:t,slots:r}){const i=W(()=>{var o;const{item:u,index:k,color:T,offset:b,rowHeight:$}=e,S={height:$};if(u.type==="placeholder")return S.width="100%",S;if(k===0&&(S.marginLeft=`${100*b/7}%`),T)switch(u.type){case"end":case"start":case"start-end":case"multiple-middle":case"multiple-selected":S.background=T;break;case"middle":S.color=T;break}return b+(((o=u.date)==null?void 0:o.getDate())||1)>28&&(S.marginBottom=0),S}),d=()=>{e.item.type!=="disabled"&&t("click",e.item)},x=()=>{const{topInfo:o}=e.item;if(o||r["top-info"])return l("div",{class:Y("top-info")},[r["top-info"]?r["top-info"](e.item):o])},B=()=>{const{bottomInfo:o}=e.item;if(o||r["bottom-info"])return l("div",{class:Y("bottom-info")},[r["bottom-info"]?r["bottom-info"](e.item):o])},c=()=>{const{item:o,color:u,rowHeight:k}=e,{type:T,text:b}=o,$=[x(),b,B()];return T==="selected"?l("div",{class:Y("selected-day"),style:{width:k,height:k,background:u}},[$]):$};return()=>{const{type:o,className:u}=e.item;return o==="placeholder"?l("div",{class:Y("day"),style:i.value},null):l("div",{role:"gridcell",style:i.value,class:[Y("day",o),u],tabindex:o==="disabled"?void 0:-1,onClick:d},[c()])}}});const[_t]=Z("calendar-month"),bt={date:le(Date),type:String,color:String,minDate:le(Date),maxDate:le(Date),showMark:Boolean,rowHeight:se,formatter:Function,lazyRender:Boolean,currentDate:[Date,Array],allowSameDay:Boolean,showSubtitle:Boolean,showMonthTitle:Boolean,firstDayOfWeek:Number};var kt=te({name:_t,props:bt,emits:["click"],setup(e,{emit:t,slots:r}){const[i,d]=Ne(),x=G(),B=G(),c=rt(B),o=W(()=>gt(e.date)),u=W(()=>Le(e.rowHeight)),k=W(()=>{const f=e.date.getDay();return e.firstDayOfWeek?(f+7-e.firstDayOfWeek)%7:f}),T=W(()=>Dt(e.date.getFullYear(),e.date.getMonth()+1)),b=W(()=>i.value||!e.lazyRender),$=()=>o.value,S=f=>{const R=O=>e.currentDate.some(p=>N(p,O)===0);if(R(f)){const O=we(f),p=Ie(f),P=R(O),a=R(p);return P&&a?"multiple-middle":P?"end":a?"start":"multiple-selected"}return""},E=f=>{const[R,O]=e.currentDate;if(!R)return"";const p=N(f,R);if(!O)return p===0?"start":"";const P=N(f,O);return e.allowSameDay&&p===0&&P===0?"start-end":p===0?"start":P===0?"end":p>0&&P<0?"middle":""},m=f=>{const{type:R,minDate:O,maxDate:p,currentDate:P}=e;if(N(f,O)<0||N(f,p)>0)return"disabled";if(P===null)return"";if(Array.isArray(P)){if(R==="multiple")return S(f);if(R==="range")return E(f)}else if(R==="single")return N(f,P)===0?"selected":"";return""},w=f=>{if(e.type==="range"){if(f==="start"||f==="end")return q(f);if(f==="start-end")return`${q("start")}/${q("end")}`}},_=()=>{if(e.showMonthTitle)return l("div",{class:Y("month-title")},[r["month-title"]?r["month-title"]({date:e.date,text:o.value}):o.value])},y=()=>{if(e.showMark&&b.value)return l("div",{class:Y("month-mark")},[e.date.getMonth()+1])},n=W(()=>{const f=Math.ceil((T.value+k.value)/7);return Array(f).fill({type:"placeholder"})}),h=W(()=>{const f=[],R=e.date.getFullYear(),O=e.date.getMonth();for(let p=1;p<=T.value;p++){const P=new Date(R,O,p),a=m(P);let s={date:P,type:a,text:p,bottomInfo:w(a)};e.formatter&&(s=e.formatter(s)),f.push(s)}return f}),v=W(()=>h.value.filter(f=>f.type==="disabled")),ae=(f,R)=>{if(x.value){const O=he(x.value),p=n.value.length,a=(Math.ceil((R.getDate()+k.value)/7)-1)*O.height/p;Ee(f,O.top+a+f.scrollTop-he(f).top)}},M=(f,R)=>l(wt,{item:f,index:R,color:e.color,offset:k.value,rowHeight:u.value,onClick:O=>t("click",O)},re(r,["top-info","bottom-info"])),X=()=>l("div",{ref:x,role:"grid",class:Y("days")},[y(),(b.value?h:n).value.map(M)]);return Oe({getTitle:$,getHeight:()=>c.value,setVisible:d,scrollToDate:ae,disabledDays:v}),()=>l("div",{class:Y("month"),ref:B},[_(),X()])}});const[Tt]=Z("calendar-header");var xt=te({name:Tt,props:{date:Date,title:String,subtitle:String,showTitle:Boolean,showSubtitle:Boolean,firstDayOfWeek:Number},emits:["clickSubtitle"],setup(e,{slots:t,emit:r}){const i=()=>{if(e.showTitle){const c=e.title||q("title"),o=t.title?t.title():c;return l("div",{class:Y("header-title")},[o])}},d=c=>r("clickSubtitle",c),x=()=>{if(e.showSubtitle){const c=t.subtitle?t.subtitle({date:e.date,text:e.subtitle}):e.subtitle;return l("div",{class:Y("header-subtitle"),onClick:d},[c])}},B=()=>{const{firstDayOfWeek:c}=e,o=q("weekdays"),u=[...o.slice(c,7),...o.slice(0,c)];return l("div",{class:Y("weekdays")},[u.map(k=>l("span",{class:Y("weekday")},[k]))])};return()=>l("div",{class:Y("header")},[i(),x(),B()])}});const St={show:Boolean,type:J("single"),title:String,color:String,round:L,readonly:Boolean,poppable:L,maxRange:Q(null),position:J("bottom"),teleport:[String,Object],showMark:L,showTitle:L,formatter:Function,rowHeight:se,confirmText:String,rangePrompt:String,lazyRender:L,showConfirm:L,defaultDate:[Date,Array],allowSameDay:Boolean,showSubtitle:L,closeOnPopstate:L,showRangePrompt:L,confirmDisabledText:String,closeOnClickOverlay:L,safeAreaInsetTop:Boolean,safeAreaInsetBottom:L,minDate:{type:Date,validator:ge,default:_e},maxDate:{type:Date,validator:ge,default:()=>{const e=_e();return new Date(e.getFullYear(),e.getMonth()+6,e.getDate())}},firstDayOfWeek:{type:se,default:0,validator:e=>e>=0&&e<=6}};var Mt=te({name:ht,props:St,emits:["select","confirm","unselect","monthShow","overRange","update:show","clickSubtitle"],setup(e,{emit:t,slots:r}){const i=(a,s=e.minDate,g=e.maxDate)=>N(a,s)===-1?s:N(a,g)===1?g:a,d=(a=e.defaultDate)=>{const{type:s,minDate:g,maxDate:D,allowSameDay:H}=e;if(a===null)return a;const A=_e();if(s==="range"){Array.isArray(a)||(a=[]);const z=i(a[0]||A,g,H?D:we(D)),C=i(a[1]||A,H?g:Ie(g));return[z,C]}return s==="multiple"?Array.isArray(a)?a.map(z=>i(z)):[i(A)]:((!a||Array.isArray(a))&&(a=A),i(a))};let x;const B=G(),c=G({text:"",date:void 0}),o=G(d()),[u,k]=mt(),T=W(()=>e.firstDayOfWeek?+e.firstDayOfWeek%7:0),b=W(()=>{const a=[],s=new Date(e.minDate);s.setDate(1);do a.push(new Date(s)),s.setMonth(s.getMonth()+1);while(ve(s,e.maxDate)!==1);return a}),$=W(()=>{if(o.value){if(e.type==="range")return!o.value[0]||!o.value[1];if(e.type==="multiple")return!o.value.length}return!o.value}),S=()=>o.value,E=()=>{const a=Pe(B.value),s=a+x,g=b.value.map((C,V)=>u.value[V].getHeight()),D=g.reduce((C,V)=>C+V,0);if(s>D&&a>0)return;let H=0,A;const z=[-1,-1];for(let C=0;C<b.value.length;C++){const V=u.value[C];H<=s&&H+g[C]>=a&&(z[1]=C,A||(A=V,z[0]=C),u.value[C].showed||(u.value[C].showed=!0,t("monthShow",{date:V.date,title:V.getTitle()}))),H+=g[C]}b.value.forEach((C,V)=>{const Te=V>=z[0]-1&&V<=z[1]+1;u.value[V].setVisible(Te)}),A&&(c.value={text:A.getTitle(),date:A.date})},m=a=>{de(()=>{b.value.some((s,g)=>ve(s,a)===0?(B.value&&u.value[g].scrollToDate(B.value,a),!0):!1),E()})},w=()=>{if(!(e.poppable&&!e.show))if(o.value){const a=e.type==="single"?o.value:o.value[0];ge(a)&&m(a)}else de(E)},_=()=>{e.poppable&&!e.show||(de(()=>{x=Math.floor(he(B).height)}),w())},y=(a=d())=>{o.value=a,w()},n=a=>{const{maxRange:s,rangePrompt:g,showRangePrompt:D}=e;return s&&yt(a)>+s?(D&&ye(g||q("rangePrompt",s)),t("overRange"),!1):!0},h=()=>{var a;return t("confirm",(a=o.value)!=null?a:Ye(o.value))},v=(a,s)=>{const g=D=>{o.value=D,t("select",Ye(D))};if(s&&e.type==="range"&&!n(a)){g([a[0],ke(a[0],+e.maxRange-1)]);return}g(a),s&&!e.showConfirm&&h()},ae=(a,s,g)=>{var D;return(D=a.find(H=>N(s,H.date)===-1&&N(H.date,g)===-1))==null?void 0:D.date},M=W(()=>u.value.reduce((a,s)=>{var g,D;return a.push(...(D=(g=s.disabledDays)==null?void 0:g.value)!=null?D:[]),a},[])),X=a=>{if(e.readonly||!a.date)return;const{date:s}=a,{type:g}=e;if(g==="range"){if(!o.value){v([s]);return}const[D,H]=o.value;if(D&&!H){const A=N(s,D);if(A===1){const z=ae(M.value,D,s);if(z){const C=we(z);N(D,C)===-1?v([D,C]):v([s])}else v([D,s],!0)}else A===-1?v([s]):e.allowSameDay&&v([s,s],!0)}else v([s])}else if(g==="multiple"){if(!o.value){v([s]);return}const D=o.value,H=D.findIndex(A=>N(A,s)===0);if(H!==-1){const[A]=D.splice(H,1);t("unselect",ce(A))}else e.maxRange&&D.length>=+e.maxRange?ye(e.rangePrompt||q("rangePrompt",e.maxRange)):v([...D,s])}else v(s,!0)},f=a=>t("update:show",a),R=(a,s)=>{const g=s!==0||!e.showSubtitle;return l(kt,Ue({ref:k(s),date:a,currentDate:o.value,showMonthTitle:g,firstDayOfWeek:T.value},re(e,["type","color","minDate","maxDate","showMark","formatter","rowHeight","lazyRender","showSubtitle","allowSameDay"]),{onClick:X}),re(r,["top-info","bottom-info","month-title"]))},O=()=>{if(r.footer)return r.footer();if(e.showConfirm){const a=r["confirm-text"],s=$.value,g=s?e.confirmDisabledText:e.confirmText;return l(dt,{round:!0,block:!0,type:"primary",color:e.color,class:Y("confirm"),disabled:s,nativeType:"button",onClick:h},{default:()=>[a?a({disabled:s}):g||q("confirm")]})}},p=()=>l("div",{class:[Y("footer"),{"van-safe-area-bottom":e.safeAreaInsetBottom}]},[O()]),P=()=>l("div",{class:Y()},[l(xt,{date:c.value.date,title:e.title,subtitle:c.value.text,showTitle:e.showTitle,showSubtitle:e.showSubtitle,firstDayOfWeek:T.value,onClickSubtitle:a=>t("clickSubtitle",a)},re(r,["title","subtitle"])),l("div",{ref:B,class:Y("body"),onScroll:E},[b.value.map(R)]),p()]);return ie(()=>e.show,_),ie(()=>[e.type,e.minDate,e.maxDate],()=>y(d(o.value))),ie(()=>e.defaultDate,(a=null)=>{o.value=a,w()}),Oe({reset:y,scrollToDate:m,getSelectedDate:S}),ze(_),()=>e.poppable?l(Ve,{show:e.show,class:Y("popup"),round:e.round,position:e.position,closeable:e.showTitle||e.showSubtitle,teleport:e.teleport,closeOnPopstate:e.closeOnPopstate,safeAreaInsetTop:e.safeAreaInsetTop,closeOnClickOverlay:e.closeOnClickOverlay,"onUpdate:show":f},{default:P}):P()}});const pt=be(Mt),[Yt,oe,Bt]=Z("pull-refresh"),$e=50,Rt=["pulling","loosing","success"],Ct={disabled:Boolean,modelValue:Boolean,headHeight:Q($e),successText:String,pullingText:String,loosingText:String,loadingText:String,pullDistance:se,successDuration:Q(500),animationDuration:Q(300)};var Ot=te({name:Yt,props:Ct,emits:["change","refresh","update:modelValue"],setup(e,{emit:t,slots:r}){let i;const d=G(),x=G(),B=Ge(d),c=De({status:"normal",distance:0,duration:0}),o=je(),u=()=>{if(e.headHeight!==$e)return{height:`${e.headHeight}px`}},k=()=>c.status!=="loading"&&c.status!=="success"&&!e.disabled,T=n=>{const h=+(e.pullDistance||e.headHeight);return n>h&&(n<h*2?n=h+(n-h)/2:n=h*1.5+(n-h*2)/4),Math.round(n)},b=(n,h)=>{const v=+(e.pullDistance||e.headHeight);c.distance=n,h?c.status="loading":n===0?c.status="normal":n<v?c.status="pulling":c.status="loosing",t("change",{status:c.status,distance:n})},$=()=>{const{status:n}=c;return n==="normal"?"":e[`${n}Text`]||Bt(n)},S=()=>{const{status:n,distance:h}=c;if(r[n])return r[n]({distance:h});const v=[];return Rt.includes(n)&&v.push(l("div",{class:oe("text")},[$()])),n==="loading"&&v.push(l(Ce,{class:oe("loading")},{default:$})),v},E=()=>{c.status="success",setTimeout(()=>{b(0)},+e.successDuration)},m=n=>{i=Pe(B.value)===0,i&&(c.duration=0,o.start(n))},w=n=>{k()&&m(n)},_=n=>{if(k()){i||m(n);const{deltaY:h}=o;o.move(n),i&&h.value>=0&&o.isVertical()&&(Re(n),b(T(h.value)))}},y=()=>{i&&o.deltaY.value&&k()&&(c.duration=+e.animationDuration,c.status==="loosing"?(b(+e.headHeight,!0),t("update:modelValue",!0),Xe(()=>t("refresh"))):b(0))};return ie(()=>e.modelValue,n=>{c.duration=+e.animationDuration,n?b(+e.headHeight,!0):r.success||e.successText?E():b(0,!1)}),qe("touchmove",_,{target:x}),()=>{var n;const h={transitionDuration:`${c.duration}ms`,transform:c.distance?`translate3d(0,${c.distance}px, 0)`:""};return l("div",{ref:d,class:oe()},[l("div",{ref:x,class:oe("track"),style:h,onTouchstartPassive:w,onTouchend:y,onTouchcancel:y},[l("div",{class:oe("head"),style:u()},[S()]),(n=r.default)==null?void 0:n.call(r)])])}}});const Pt=be(Ot);const At=e=>(et("data-v-dd77f65d"),e=e(),tt(),e),It={class:"container"},$t={class:"dateContainer"},Ht={class:"SlideButton"},Ft=["onClick"],Wt={style:{"font-size":"14px",display:"flex","justify-content":"center","align-items":"flex-end"}},Nt={class:"SlideButton"},Lt=At(()=>F("div",{style:{width:"100%",height:"50px"}},null,-1)),Et={__name:"index",setup(e){let t=De({minDate:new Date(I().year(),I().month()-1,1),maxDate:new Date(I().year(),I().month()+1,15),array:[],dateFlag:!1,addDateFlag:!0,week:["周日","周一","周二","周三","周四","周五","周六"],center:!0,right:!1,left:!1,isShow:!0,toDay:"",dateBackgroundText:[],loading:!1}),r=G(""),i=G(1),d=De({page_index:1,page_size:30,startTime:"",endTime:"",GetWatchListInitArray:[]});const x=async()=>{t.loading=!0,d.startTime=I().format("YYYY-MM-DD"),d.endTime=I().add(30,"day").format("YYYY-MM-DD"),await S(),t.loading=!1,ye("刷新成功!")},B=m=>{const w=Number(I(m.date).format("M")),_=Number(I(m.date).format("D"));return t.dateBackgroundText.forEach((y,n)=>{const h=Number(I(y).format("M")),v=Number(I(y).format("D"));w===h&&_===v&&(m.bottomInfo="值班")}),m},c=m=>{o(I(m).format("YYYY-MM-DD"))},o=m=>{d.endTime=m,d.startTime=m,S()},u=()=>{const m=I().startOf("week"),w=[];t.array=[],t.dateFlag===!1&&t.addDateFlag===!0?i.value=i.value-2:i.value--;const _=i.value;for(let y=0+7*_;y<7+7*_;y++){const n=m.add(y,"day");w.push({date:n.format("YYYY-MM-DD"),dateDay:n.format("D"),week:t.week})}t.dateFlag=!0,t.array=w,t.center=!1,t.right=!1,setTimeout(()=>{t.left=!0},10),t.left=!1},k=()=>{t.dateFlag===!0&&t.addDateFlag,i.value++,t.dateFlag===!1&&t.addDateFlag===!0&&(i.value=1);let m=i.value;const _=I().startOf("week"),y=[];console.log("🚀🚀🚀,","dateArrayLenght_i.value",i.value,"value",m);for(let n=0+7*m;n<7+7*m;n++){const h=_.add(n,"day");y.push({date:h.format("YYYY-MM-DD"),dateDay:h.format("D"),week:t.week})}t.addDateFlag=!1,t.array=y,t.center=!1,t.left=!1,setTimeout(()=>{t.right=!0},10),t.right=!1},T=()=>{const w=I().startOf("week"),_=[];for(let y=0;y<7;y++){const n=w.add(y,"day");_.push(n.format("YYYY-MM-DD")),t.array.push({date:n.format("YYYY-MM-DD"),dateDay:n.format("D"),week:t.week})}console.log("🚀🚀🚀,",I().format("YYYY-MM-DD"),t.array),r.value=t.array.length},b=()=>{pe.push({name:"myDuty"})},$=()=>{pe.push({name:"signList"})},S=async()=>{let w=await(void 0)({is_lead:3,page_index:d.page_index,page_size:d.page_size,start_time:d.startTime,end_time:d.endTime});d.GetWatchListInitArray=w.response.data;let _=1;_===1&&(d.GetWatchListInitArray.forEach((y,n)=>{t.dateBackgroundText.push(y.watch_date)}),_++)},E=()=>{const m=I(),w=m.startOf("day").format("YYYY-MM-DD"),_=m.endOf("month").format("YYYY-MM-DD");d.startTime=w,d.endTime=_};return Ke(()=>{E(),S(),T(),console.log("获取cookie",Qe.get())}),(m,w)=>{const _=pt,y=Be,n=ot,h=st,v=lt,ae=Pt;return ne(),xe(ae,{modelValue:j(t).loading,"onUpdate:modelValue":w[0]||(w[0]=M=>j(t).loading=M),onRefresh:x},{default:U(()=>[F("div",It,[l(_,{type:"single","show-subtitle":!1,poppable:!1,"show-confirm":!1,style:{height:"350px"},"show-title":!1,onConfirm:c,formatter:B,minDate:j(t).minDate,maxDate:j(t).maxDate},null,8,["minDate","maxDate"]),l(h,{style:{width:"100%","margin-top":"10px"}},{default:U(()=>[F("div",$t,[F("div",{class:"left",onClick:u},[F("span",Ht,[l(y,{name:"arrow-left"})])]),(ne(!0),fe(Me,null,Se(j(t).array,(M,X)=>(ne(),fe("div",{class:Ze(j(t).center?"content animate__animated animate__heartBeat":j(t).right?"content animate__animated animate__backInLeft":j(t).left?"content animate__animated animate__backInRight":"content animate__animated animate__heartBeat"),key:X},[F("span",{onClick:f=>o(M.date),style:{display:"flex","justify-content":"center"}},K(M.dateDay)+"号",9,Ft),F("span",Wt,K(M.week[X]),1)],2))),128)),F("div",{class:"right",onClick:k},[F("span",Nt,[l(y,{name:"arrow"})])])]),l(n,{icon:"manager-o",onClick:b,"is-link":"",class:"cardTitle",title:"我的值班",value:"个人值班记录"}),l(n,{icon:"label-o",onClick:$,"is-link":"",class:"cardTitle",title:"签到列表",value:"教师签到"})]),_:1}),(ne(!0),fe(Me,null,Se(j(d).GetWatchListInitArray,(M,X)=>(ne(),xe(h,{key:X,inset:"",style:{width:"100%"},class:"cardContainer"},{default:U(()=>[l(n,{class:"cardContent",title:M.username},{extra:U(()=>[l(v,{type:"primary",plain:""},{default:U(()=>[F("span",null,K(M.card_name),1)]),_:2},1024),l(v,{color:["","#7232dd"][M.is_lead],type:"primary",plain:"",style:{"margin-left":"10px"}},{default:U(()=>[F("span",null,K(["值班教师","值班领导"][M.is_lead]),1)]),_:2},1032,["color"])]),_:2},1032,["title"]),l(n,{class:"cardContent",title:"日期"},{extra:U(()=>[l(v,{type:"primary",plain:""},{default:U(()=>[F("span",null,K(M.watch_date),1)]),_:2},1024),l(v,{type:"primary",plain:"",style:{"margin-left":"10px"}},{default:U(()=>[F("span",null,K(M.watch_hour_time),1)]),_:2},1024)]),_:2},1024),l(n,{class:"cardContent",title:"类型"},{extra:U(()=>[l(v,{type:"primary",plain:""},{default:U(()=>[F("span",null,K(M.watchtypename+"-"+M.dept_name+"-"+M.campusname),1)]),_:2},1024)]),_:2},1024)]),_:2},1024))),128)),Lt])]),_:1},8,["modelValue"])}}},Gt=Je(Et,[["__scopeId","data-v-dd77f65d"]]);export{Gt as default};
import{u as b}from"./use-height-2e0adf37.js";import{a as r,b as I,d as R,r as w,n as A,t as s,a9 as o,aa as C,I as P,ab as L,w as N}from"./index-b2798950.js";function S(e,l){const t=b(e,!0);return i=>r("div",{class:l("placeholder"),style:{height:t.value?`${t.value}px`:void 0}},[i()])}const[y,a]=I("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{u as n,o as c,c as s,a as e,F as m}from"./index-edb19352.js";import{E as _}from"./index-9c2f4c43.js";import{N as p}from"./index-5b9c85d1.js";const k={__name:"index",setup(l){const t=n(),o=()=>t.replace({name:"welcome"});return(i,f)=>{const r=p,a=_;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{k as default};
import{g as v,b as w,d as G,a as e,e as k,m as M,w as B}from"./index-b2798950.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}; import{g as v,b as w,d as G,a as e,e as k,m as M,w as B}from"./index-edb19352.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};
.container .cardContainer{margin-top:10px;width:95%;background-color:#fff;height:20%}.container .cardContainer .cardContent{//height: 150px}
:root{--van-pull-refresh-head-height: 50px;--van-pull-refresh-head-font-size: var(--van-font-size-md);--van-pull-refresh-head-text-color: var(--van-text-color-2);--van-pull-refresh-loading-icon-size: 16px}.van-pull-refresh{overflow:hidden}.van-pull-refresh__track{position:relative;height:100%;transition-property:transform}.van-pull-refresh__head{position:absolute;left:0;width:100%;height:var(--van-pull-refresh-head-height);overflow:hidden;color:var(--van-pull-refresh-head-text-color);font-size:var(--van-pull-refresh-head-font-size);line-height:var(--van-pull-refresh-head-height);text-align:center;transform:translateY(-100%)}.van-pull-refresh__loading .van-loading__spinner{width:var(--van-pull-refresh-loading-icon-size);height:var(--van-pull-refresh-loading-icon-size)}:root{--van-button-mini-height: 24px;--van-button-mini-padding: 0 var(--van-padding-base);--van-button-mini-font-size: var(--van-font-size-xs);--van-button-small-height: 32px;--van-button-small-padding: 0 var(--van-padding-xs);--van-button-small-font-size: var(--van-font-size-sm);--van-button-normal-padding: 0 15px;--van-button-normal-font-size: var(--van-font-size-md);--van-button-large-height: 50px;--van-button-default-height: 44px;--van-button-default-line-height: 1.2;--van-button-default-font-size: var(--van-font-size-lg);--van-button-default-color: var(--van-text-color);--van-button-default-background: var(--van-background-2);--van-button-default-border-color: var(--van-gray-4);--van-button-primary-color: var(--van-white);--van-button-primary-background: var(--van-primary-color);--van-button-primary-border-color: var(--van-primary-color);--van-button-success-color: var(--van-white);--van-button-success-background: var(--van-success-color);--van-button-success-border-color: var(--van-success-color);--van-button-danger-color: var(--van-white);--van-button-danger-background: var(--van-danger-color);--van-button-danger-border-color: var(--van-danger-color);--van-button-warning-color: var(--van-white);--van-button-warning-background: var(--van-warning-color);--van-button-warning-border-color: var(--van-warning-color);--van-button-border-width: var(--van-border-width);--van-button-radius: var(--van-radius-md);--van-button-round-radius: var(--van-radius-max);--van-button-plain-background: var(--van-white);--van-button-disabled-opacity: var(--van-disabled-opacity);--van-button-icon-size: 1.2em;--van-button-loading-icon-size: 20px}.van-theme-dark{--van-button-plain-background: transparent}.van-button{position:relative;display:inline-block;box-sizing:border-box;height:var(--van-button-default-height);margin:0;padding:0;font-size:var(--van-button-default-font-size);line-height:var(--van-button-default-line-height);text-align:center;border-radius:var(--van-button-radius);cursor:pointer;transition:opacity var(--van-duration-fast);-webkit-appearance:none;-webkit-font-smoothing:auto}.van-button:before{position:absolute;top:50%;left:50%;width:100%;height:100%;background:var(--van-black);border:inherit;border-color:var(--van-black);border-radius:inherit;transform:translate(-50%,-50%);opacity:0;content:" "}.van-button:active:before{opacity:.1}.van-button--loading:before,.van-button--disabled:before{display:none}.van-button--default{color:var(--van-button-default-color);background:var(--van-button-default-background);border:var(--van-button-border-width) solid var(--van-button-default-border-color)}.van-button--primary{color:var(--van-button-primary-color);background:var(--van-button-primary-background);border:var(--van-button-border-width) solid var(--van-button-primary-border-color)}.van-button--success{color:var(--van-button-success-color);background:var(--van-button-success-background);border:var(--van-button-border-width) solid var(--van-button-success-border-color)}.van-button--danger{color:var(--van-button-danger-color);background:var(--van-button-danger-background);border:var(--van-button-border-width) solid var(--van-button-danger-border-color)}.van-button--warning{color:var(--van-button-warning-color);background:var(--van-button-warning-background);border:var(--van-button-border-width) solid var(--van-button-warning-border-color)}.van-button--plain{background:var(--van-button-plain-background)}.van-button--plain.van-button--primary{color:var(--van-button-primary-background)}.van-button--plain.van-button--success{color:var(--van-button-success-background)}.van-button--plain.van-button--danger{color:var(--van-button-danger-background)}.van-button--plain.van-button--warning{color:var(--van-button-warning-background)}.van-button--large{width:100%;height:var(--van-button-large-height)}.van-button--normal{padding:var(--van-button-normal-padding);font-size:var(--van-button-normal-font-size)}.van-button--small{height:var(--van-button-small-height);padding:var(--van-button-small-padding);font-size:var(--van-button-small-font-size)}.van-button__loading{color:inherit;font-size:inherit}.van-button__loading .van-loading__spinner{color:currentColor;width:var(--van-button-loading-icon-size);height:var(--van-button-loading-icon-size)}.van-button--mini{height:var(--van-button-mini-height);padding:var(--van-button-mini-padding);font-size:var(--van-button-mini-font-size)}.van-button--mini+.van-button--mini{margin-left:var(--van-padding-base)}.van-button--block{display:block;width:100%}.van-button--disabled{cursor:not-allowed;opacity:var(--van-button-disabled-opacity)}.van-button--loading{cursor:default}.van-button--round{border-radius:var(--van-button-round-radius)}.van-button--square{border-radius:0}.van-button__content{display:flex;align-items:center;justify-content:center;height:100%}.van-button__content:before{content:" "}.van-button__icon{font-size:var(--van-button-icon-size);line-height:inherit}.van-button__icon+.van-button__text,.van-button__loading+.van-button__text,.van-button__text+.van-button__icon,.van-button__text+.van-button__loading{margin-left:var(--van-padding-base)}.van-button--hairline{border-width:0}.van-button--hairline:after{border-color:inherit;border-radius:calc(var(--van-button-radius) * 2)}.van-button--hairline.van-button--round:after{border-radius:var(--van-button-round-radius)}.van-button--hairline.van-button--square:after{border-radius:0}:root{--van-sticky-z-index: 99}.van-sticky--fixed{position:fixed;z-index:var(--van-sticky-z-index)}:root{--van-swipe-indicator-size: 6px;--van-swipe-indicator-margin: var(--van-padding-sm);--van-swipe-indicator-active-opacity: 1;--van-swipe-indicator-inactive-opacity: .3;--van-swipe-indicator-active-background: var(--van-primary-color);--van-swipe-indicator-inactive-background: var(--van-border-color)}.van-swipe{position:relative;overflow:hidden;transform:translateZ(0);cursor:grab;-webkit-user-select:none;-moz-user-select:none;user-select:none}.van-swipe__track{display:flex;height:100%}.van-swipe__track--vertical{flex-direction:column}.van-swipe__indicators{position:absolute;bottom:var(--van-swipe-indicator-margin);left:50%;display:flex;transform:translate(-50%)}.van-swipe__indicators--vertical{top:50%;bottom:auto;left:var(--van-swipe-indicator-margin);flex-direction:column;transform:translateY(-50%)}.van-swipe__indicators--vertical .van-swipe__indicator:not(:last-child){margin-bottom:var(--van-swipe-indicator-size)}.van-swipe__indicator{width:var(--van-swipe-indicator-size);height:var(--van-swipe-indicator-size);background-color:var(--van-swipe-indicator-inactive-background);border-radius:100%;opacity:var(--van-swipe-indicator-inactive-opacity);transition:opacity var(--van-duration-fast),background-color var(--van-duration-fast)}.van-swipe__indicator:not(:last-child){margin-right:var(--van-swipe-indicator-size)}.van-swipe__indicator--active{background-color:var(--van-swipe-indicator-active-background);opacity:var(--van-swipe-indicator-active-opacity)}.van-swipe-item{position:relative;flex-shrink:0;width:100%;height:100%}:root{--van-tab-text-color: var(--van-gray-7);--van-tab-active-text-color: var(--van-text-color);--van-tab-disabled-text-color: var(--van-text-color-3);--van-tab-font-size: var(--van-font-size-md);--van-tab-line-height: var(--van-line-height-md);--van-tabs-default-color: var(--van-primary-color);--van-tabs-line-height: 44px;--van-tabs-card-height: 30px;--van-tabs-nav-background: var(--van-background-2);--van-tabs-bottom-bar-width: 40px;--van-tabs-bottom-bar-height: 3px;--van-tabs-bottom-bar-color: var(--van-primary-color)}.van-tab{position:relative;display:flex;flex:1;align-items:center;justify-content:center;box-sizing:border-box;padding:0 var(--van-padding-base);color:var(--van-tab-text-color);font-size:var(--van-tab-font-size);line-height:var(--van-tab-line-height);cursor:pointer}.van-tab--active{color:var(--van-tab-active-text-color);font-weight:var(--van-font-bold)}.van-tab--disabled{color:var(--van-tab-disabled-text-color);cursor:not-allowed}.van-tab--grow{flex:1 0 auto;padding:0 var(--van-padding-sm)}.van-tab--shrink{flex:none;padding:0 var(--van-padding-xs)}.van-tab--card{color:var(--van-tabs-default-color);border-right:var(--van-border-width) solid var(--van-tabs-default-color)}.van-tab--card:last-child{border-right:none}.van-tab--card.van-tab--active{color:var(--van-white);background-color:var(--van-tabs-default-color)}.van-tab--card--disabled{color:var(--van-tab-disabled-text-color)}.van-tab__text--ellipsis{display:-webkit-box;overflow:hidden;-webkit-line-clamp:1;-webkit-box-orient:vertical}.van-tabs{position:relative}.van-tabs__wrap{overflow:hidden}.van-tabs__wrap--page-top{position:fixed}.van-tabs__wrap--content-bottom{top:auto;bottom:0}.van-tabs__nav{position:relative;display:flex;background:var(--van-tabs-nav-background);-webkit-user-select:none;-moz-user-select:none;user-select:none}.van-tabs__nav--complete{overflow-x:auto;overflow-y:hidden;-webkit-overflow-scrolling:touch}.van-tabs__nav--complete::-webkit-scrollbar{display:none}.van-tabs__nav--line{box-sizing:content-box;height:100%;padding-bottom:15px}.van-tabs__nav--line.van-tabs__nav--shrink,.van-tabs__nav--line.van-tabs__nav--complete{padding-right:var(--van-padding-xs);padding-left:var(--van-padding-xs)}.van-tabs__nav--card{box-sizing:border-box;height:var(--van-tabs-card-height);margin:0 var(--van-padding-md);border:var(--van-border-width) solid var(--van-tabs-default-color);border-radius:var(--van-border-radius-sm)}.van-tabs__nav--card.van-tabs__nav--shrink{display:inline-flex}.van-tabs__line{position:absolute;bottom:15px;left:0;z-index:1;width:var(--van-tabs-bottom-bar-width);height:var(--van-tabs-bottom-bar-height);background:var(--van-tabs-bottom-bar-color);border-radius:var(--van-tabs-bottom-bar-height)}.van-tabs__track{position:relative;display:flex;width:100%;height:100%;will-change:left}.van-tabs__content--animated{overflow:hidden}.van-tabs--line .van-tabs__wrap{height:var(--van-tabs-line-height)}.van-tabs--card>.van-tabs__wrap{height:var(--van-tabs-card-height)}.van-tab__panel,.van-tab__panel-wrapper{flex-shrink:0;box-sizing:border-box;width:100%}.van-tab__panel-wrapper--inactive{height:0;overflow:visible}:root{--van-picker-background: var(--van-background-2);--van-picker-toolbar-height: 44px;--van-picker-title-font-size: var(--van-font-size-lg);--van-picker-title-line-height: var(--van-line-height-md);--van-picker-action-padding: 0 var(--van-padding-md);--van-picker-action-font-size: var(--van-font-size-md);--van-picker-confirm-action-color: var(--van-primary-color);--van-picker-cancel-action-color: var(--van-text-color-2);--van-picker-option-font-size: var(--van-font-size-lg);--van-picker-option-padding: 0 var(--van-padding-base);--van-picker-option-text-color: var(--van-text-color);--van-picker-option-disabled-opacity: .3;--van-picker-loading-icon-color: var(--van-primary-color);--van-picker-loading-mask-color: rgba(255, 255, 255, .9);--van-picker-mask-color: linear-gradient(180deg, rgba(255, 255, 255, .9), rgba(255, 255, 255, .4)), linear-gradient(0deg, rgba(255, 255, 255, .9), rgba(255, 255, 255, .4))}.van-theme-dark{--van-picker-loading-mask-color: rgba(0, 0, 0, .6);--van-picker-mask-color: linear-gradient(180deg, rgba(0, 0, 0, .6), rgba(0, 0, 0, .1)), linear-gradient(0deg, rgba(0, 0, 0, .6), rgba(0, 0, 0, .1))}.van-picker{position:relative;background:var(--van-picker-background);-webkit-user-select:none;-moz-user-select:none;user-select:none}.van-picker__toolbar{position:relative;display:flex;align-items:center;justify-content:space-between;height:var(--van-picker-toolbar-height)}.van-picker__cancel,.van-picker__confirm{height:100%;padding:var(--van-picker-action-padding);font-size:var(--van-picker-action-font-size);background-color:transparent;border:none}.van-picker__confirm{color:var(--van-picker-confirm-action-color)}.van-picker__cancel{color:var(--van-picker-cancel-action-color)}.van-picker__title{position:absolute;left:50%;color:var(--van-text-color);max-width:50%;font-weight:var(--van-font-bold);font-size:var(--van-picker-title-font-size);line-height:var(--van-picker-title-line-height);text-align:center;transform:translate(-50%)}.van-picker__columns{position:relative;display:flex;cursor:grab}.van-picker__loading{position:absolute;top:0;right:0;bottom:0;left:0;z-index:3;display:flex;align-items:center;justify-content:center;color:var(--van-picker-loading-icon-color);background:var(--van-picker-loading-mask-color)}.van-picker__frame{position:absolute;top:50%;right:var(--van-padding-md);left:var(--van-padding-md);z-index:2;transform:translateY(-50%);pointer-events:none}.van-picker__mask{position:absolute;top:0;left:0;z-index:1;width:100%;height:100%;background-image:var(--van-picker-mask-color);background-repeat:no-repeat;background-position:top,bottom;transform:translateZ(0);pointer-events:none}.van-picker-column{flex:1;overflow:hidden;font-size:var(--van-picker-option-font-size)}.van-picker-column__wrapper{transition-timing-function:cubic-bezier(.23,1,.68,1)}.van-picker-column__item{display:flex;align-items:center;justify-content:center;padding:var(--van-picker-option-padding);color:var(--van-picker-option-text-color)}.van-picker-column__item--disabled{cursor:not-allowed;opacity:var(--van-picker-option-disabled-opacity)}:root{--van-picker-group-background: var(--van-background-2)}.van-picker-group{background:var(--van-picker-group-background)}.van-picker-group__tabs{margin-top:var(--van-padding-base)}.van-picker-group__tab-title{margin-right:16px}:root{--van-calendar-background: var(--van-background-2);--van-calendar-popup-height: 80%;--van-calendar-header-shadow: 0 2px 10px rgba(125, 126, 128, .16);--van-calendar-header-title-height: 44px;--van-calendar-header-title-font-size: var(--van-font-size-lg);--van-calendar-header-subtitle-font-size: var(--van-font-size-md);--van-calendar-weekdays-height: 30px;--van-calendar-weekdays-font-size: var(--van-font-size-sm);--van-calendar-month-title-font-size: var(--van-font-size-md);--van-calendar-month-mark-color: rgba(242, 243, 245, .8);--van-calendar-month-mark-font-size: 160px;--van-calendar-day-height: 64px;--van-calendar-day-font-size: var(--van-font-size-lg);--van-calendar-day-margin-bottom: 4px;--van-calendar-range-edge-color: var(--van-white);--van-calendar-range-edge-background: var(--van-primary-color);--van-calendar-range-middle-color: var(--van-primary-color);--van-calendar-range-middle-background-opacity: .1;--van-calendar-selected-day-size: 54px;--van-calendar-selected-day-color: var(--van-white);--van-calendar-info-font-size: var(--van-font-size-xs);--van-calendar-info-line-height: var(--van-line-height-xs);--van-calendar-selected-day-background: var(--van-primary-color);--van-calendar-day-disabled-color: var(--van-text-color-3);--van-calendar-confirm-button-height: 36px;--van-calendar-confirm-button-margin: 7px 0}.van-theme-dark{--van-calendar-month-mark-color: rgba(100, 101, 102, .2);--van-calendar-day-disabled-color: var(--van-gray-7)}.van-calendar{display:flex;flex-direction:column;height:100%;background:var(--van-calendar-background)}.van-calendar__popup.van-popup--top,.van-calendar__popup.van-popup--bottom{height:var(--van-calendar-popup-height)}.van-calendar__popup.van-popup--left,.van-calendar__popup.van-popup--right{height:100%}.van-calendar__popup .van-popup__close-icon{top:11px}.van-calendar__header{flex-shrink:0;box-shadow:var(--van-calendar-header-shadow)}.van-calendar__month-title,.van-calendar__header-title,.van-calendar__header-subtitle{color:var(--van-text-color);height:var(--van-calendar-header-title-height);font-weight:var(--van-font-bold);line-height:var(--van-calendar-header-title-height);text-align:center}.van-calendar__header-title{font-size:var(--van-calendar-header-title-font-size)}.van-calendar__header-subtitle{font-size:var(--van-calendar-header-subtitle-font-size)}.van-calendar__month-title{font-size:var(--van-calendar-month-title-font-size)}.van-calendar__weekdays{display:flex}.van-calendar__weekday{flex:1;font-size:var(--van-calendar-weekdays-font-size);line-height:var(--van-calendar-weekdays-height);text-align:center}.van-calendar__body{flex:1;overflow:auto;-webkit-overflow-scrolling:touch}.van-calendar__days{position:relative;display:flex;flex-wrap:wrap;-webkit-user-select:none;-moz-user-select:none;user-select:none}.van-calendar__month-mark{position:absolute;top:50%;left:50%;z-index:0;color:var(--van-calendar-month-mark-color);font-size:var(--van-calendar-month-mark-font-size);transform:translate(-50%,-50%);pointer-events:none}.van-calendar__day,.van-calendar__selected-day{display:flex;align-items:center;justify-content:center;text-align:center}.van-calendar__day{position:relative;width:14.285%;height:var(--van-calendar-day-height);font-size:var(--van-calendar-day-font-size);margin-bottom:var(--van-calendar-day-margin-bottom);cursor:pointer}.van-calendar__day--end,.van-calendar__day--start,.van-calendar__day--start-end,.van-calendar__day--multiple-middle,.van-calendar__day--multiple-selected{color:var(--van-calendar-range-edge-color);background:var(--van-calendar-range-edge-background)}.van-calendar__day--start{border-radius:var(--van-radius-md) 0 0 var(--van-radius-md)}.van-calendar__day--end{border-radius:0 var(--van-radius-md) var(--van-radius-md) 0}.van-calendar__day--start-end,.van-calendar__day--multiple-selected{border-radius:var(--van-radius-md)}.van-calendar__day--middle{color:var(--van-calendar-range-middle-color)}.van-calendar__day--middle:after{position:absolute;top:0;right:0;bottom:0;left:0;background-color:currentColor;opacity:var(--van-calendar-range-middle-background-opacity);content:""}.van-calendar__day--disabled{color:var(--van-calendar-day-disabled-color);cursor:default}.van-calendar__top-info,.van-calendar__bottom-info{position:absolute;right:0;left:0;font-size:var(--van-calendar-info-font-size);line-height:var(--van-calendar-info-line-height)}@media (max-width: 350px){.van-calendar__top-info,.van-calendar__bottom-info{font-size:9px}}.van-calendar__top-info{top:6px}.van-calendar__bottom-info{bottom:6px}.van-calendar__selected-day{width:var(--van-calendar-selected-day-size);height:var(--van-calendar-selected-day-size);color:var(--van-calendar-selected-day-color);background:var(--van-calendar-selected-day-background);border-radius:var(--van-radius-md)}.van-calendar__footer{flex-shrink:0;padding-left:var(--van-padding-md);padding-right:var(--van-padding-md)}.van-calendar__confirm{height:var(--van-calendar-confirm-button-height);margin:var(--van-calendar-confirm-button-margin)}.my-swipe .van-swipe-item[data-v-dd77f65d]{width:100px;color:#fff;font-size:20px;line-height:150px;text-align:center;background-color:#39ed81}.container .dateContainer[data-v-dd77f65d]{width:100%;height:auto;background-color:#fff;display:flex;align-content:center;margin-top:10px}.container .dateContainer .left[data-v-dd77f65d],.container .dateContainer .right[data-v-dd77f65d]{display:flex;justify-content:center;align-items:center;width:10%;height:50px;font-size:25px}.container .dateContainer .left[data-v-dd77f65d]:hover,.container .dateContainer .right[data-v-dd77f65d]:hover{color:#1989fa}.container .dateContainer .content[data-v-dd77f65d]{width:11.42%;height:50px}.container .dateContainer .content[data-v-dd77f65d]:hover{background-color:#1989fa;border-radius:10%;color:#fff}.container .cardContainer[data-v-dd77f65d]{margin-top:10px;width:95%;background-color:#fff;height:20%}
: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 s,l as t,f as a,o,c,n as e}from"./index-edb19352.js";const n={class:"w-screen h-screen"},r=e("div",{class:"w-full h-full"},[e("div",{class:"w-10 h-10 hover:scale-150 transition-opacity transform bg-red-600"})],-1),i=[r],h={__name:"index",setup(_){return s(!0),t({data:{begin_time:"",end_time:""}}),a(()=>{}),(d,l)=>(o(),c("div",n,i))}};export{h as default};
import{r as n,f as h,Z as o,ag as r,N as u,ah as c,ai as g,H as f}from"./index-b2798950.js";const w=(a,i)=>{const s=n(),e=()=>{s.value=f(a).height};return h(()=>{if(o(e),i)for(let t=1;t<=3;t++)setTimeout(e,100*t)}),r(()=>o(e)),u([c,g],e),s};export{w as u};
...@@ -4,9 +4,9 @@ ...@@ -4,9 +4,9 @@
<meta charset="UTF-8"/> <meta charset="UTF-8"/>
<link rel="icon" type="image/svg+xml" href="./vite.svg"/> <link rel="icon" type="image/svg+xml" href="./vite.svg"/>
<meta name="viewport" content="width=device-width, initial-scale=1.0"/> <meta name="viewport" content="width=device-width, initial-scale=1.0"/>
<title>场地管理</title> <title>教师下企业</title>
<script type="module" crossorigin src="./assets/index-b2798950.js"></script> <script type="module" crossorigin src="./assets/index-edb19352.js"></script>
<link rel="stylesheet" href="./assets/index-7b86f44a.css"> <link rel="stylesheet" href="./assets/index-df16faa4.css">
</head> </head>
<body> <body>
<div id="app"></div> <div id="app"></div>
......
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
<meta charset="UTF-8"/> <meta charset="UTF-8"/>
<link rel="icon" type="image/svg+xml" href="/vite.svg"/> <link rel="icon" type="image/svg+xml" href="/vite.svg"/>
<meta name="viewport" content="width=device-width, initial-scale=1.0"/> <meta name="viewport" content="width=device-width, initial-scale=1.0"/>
<title>场地管理</title> <title>教师下企业</title>
</head> </head>
<body> <body>
<div id="app"></div> <div id="app"></div>
......
export * from "./postApiEnterpriseclockGetEnterpriseclockList";
export * from "./postApiEnterpriseclockGetEnterpriseclockExport";
export * from "./postApiEnterpriseclockGetEnterpriseclockFileExport";
export * from "./postApiEnterpriseclockGetEnterpriseclockList";
export * from "./postApiEnterpriseclockGetEnterpriseclockExport";
export * from "./postApiEnterpriseclockGetEnterpriseclockFileExport";
import { type AxiosRequestConfig } from "axios";
import { type DataRequests } from "../../interface";
/**
* 列表导出
* /api/Enterpriseclock/GetEnterpriseclockExport
*/
export declare function postApiEnterpriseclockGetEnterpriseclockExport(input?: DataRequests, 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/Enterpriseclock/GetEnterpriseclockExport
*/
export function postApiEnterpriseclockGetEnterpriseclockExport(input, config) {
return request.post(`/api/Enterpriseclock/GetEnterpriseclockExport`, input, config);
}
import { type AxiosRequestConfig } from "axios";
import { type DataRequests } from "../../interface";
/**
* /api/Enterpriseclock/GetEnterpriseclockFileExport
*/
export declare function postApiEnterpriseclockGetEnterpriseclockFileExport(input?: DataRequests, 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/Enterpriseclock/GetEnterpriseclockFileExport
*/
export function postApiEnterpriseclockGetEnterpriseclockFileExport(input, config) {
return request.post(`/api/Enterpriseclock/GetEnterpriseclockFileExport`, input, config);
}
import { type AxiosRequestConfig } from "axios";
import { type DataRequests } from "../../interface";
/**
* 获取教师下企业统计列表
* /api/Enterpriseclock/GetEnterpriseclockList
*/
export declare function postApiEnterpriseclockGetEnterpriseclockList(input?: DataRequests, config?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<{
pageIndex: number;
pageSize: number;
pageCount: number;
dataCount: number;
title: {
field_id: string;
show_name: string;
show_type: number;
width: number;
order_by_flag: number;
default_hide_flag: number;
fixed_flag: number;
code: string;
option: {
label: string;
value: string;
}[];
children: any[];
}[];
data: {
code: number;
status: string;
msg: string;
msg_detail: string;
response: {
id: string;
card: string;
name: string;
phone: string;
type: string;
date: string;
week: string;
location: string;
remark: string;
createtime: string;
img_upload: string;
file: string[];
day: number;
dept_name: string;
ssbm: string;
scope: string;
};
}[];
query: {
[x: string]: any;
};
}, any>>;
import request from "../util/axios.js";
/**
* 获取教师下企业统计列表
* /api/Enterpriseclock/GetEnterpriseclockList
*/
export function postApiEnterpriseclockGetEnterpriseclockList(input, config) {
return request.post(`/api/Enterpriseclock/GetEnterpriseclockList`, input, config);
}
import { type AxiosRequestConfig } from "axios";
/**
* 校验教师申请时间是否冲突
* /api/Flow/TeacherDateVerify
*/
export declare function getApiFlowTeacherDateVerify(params: GetApiFlowTeacherDateVerifyParams, config?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<{
code: number;
status: string;
msg: string;
msg_detail: string;
response: string;
}, any>>;
export interface GetApiFlowTeacherDateVerifyParams {
card?: string;
begin_time?: string;
end_time?: string;
}
import request from "../util/axios.js";
/**
* 校验教师申请时间是否冲突
* /api/Flow/TeacherDateVerify
*/
export function getApiFlowTeacherDateVerify(params, config) {
const paramsInput = {
card: params.card,
begin_time: params.begin_time,
end_time: params.end_time,
};
return request.get(`/api/Flow/TeacherDateVerify`, {
params: paramsInput,
...config,
});
}
export * from "./getApiFlowTeacherDateVerify";
export * from "./getApiFlowTeacherDateVerify";
import { type AxiosRequestConfig } from "axios";
/**
* Token解析
* /api/GetTokenInfo
*/
export declare function getApiGetTokenInfo(config?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<{
code: number;
status: string;
msg: string;
msg_detail: string;
response: {
cardNumber: string;
name: string;
openId: string;
phone: string;
};
}, any>>;
import request from "../util/axios.js";
/**
* Token解析
* /api/GetTokenInfo
*/
export function getApiGetTokenInfo(config) {
return request.get(`/api/GetTokenInfo`, config);
}
import { type AxiosRequestConfig } from "axios";
/**
* 刷新Token
* /api/RefreshToken
*/
export declare function getApiRefreshToken(config?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<{
code: number;
status: string;
msg: string;
msg_detail: string;
response: {
tokenContent: string;
expires: string;
};
}, any>>;
import request from "../util/axios.js";
/**
* 刷新Token
* /api/RefreshToken
*/
export function getApiRefreshToken(config) {
return request.get(`/api/RefreshToken`, config);
}
import { type AxiosRequestConfig } from "axios";
/**
* PC单点登陆
* /api/sso/pc
*/
export declare function getApiSsoPc(params: GetApiSsoPcParams, config?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<{
code: number;
status: string;
msg: string;
msg_detail: string;
response: {
accessToken: {
tokenContent: string;
expires: string;
};
refreshToken: {
tokenContent: string;
expires: string;
};
};
}, any>>;
export interface GetApiSsoPcParams {
token: string;
}
import request from "../util/axios.js";
/**
* PC单点登陆
* /api/sso/pc
*/
export function getApiSsoPc(params, config) {
const paramsInput = {
token: params.token,
};
return request.get(`/api/sso/pc`, {
params: paramsInput,
...config,
});
}
import { type AxiosRequestConfig } from "axios";
/**
* 测试用
* /api/sso/test
*/
export declare function getApiSsoTest(params: GetApiSsoTestParams, config?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<{
code: number;
status: string;
msg: string;
msg_detail: string;
response: {
accessToken: {
tokenContent: string;
expires: string;
};
refreshToken: {
tokenContent: string;
expires: string;
};
};
}, any>>;
export interface GetApiSsoTestParams {
card: string;
}
import request from "../util/axios.js";
/**
* 测试用
* /api/sso/test
*/
export function getApiSsoTest(params, config) {
const paramsInput = {
card: params.card,
};
return request.get(`/api/sso/test`, {
params: paramsInput,
...config,
});
}
export * from "./getApiSsoTest";
export * from "./getApiSsoPc";
export * from "./getApiGetTokenInfo";
export * from "./getApiRefreshToken";
export * from "./getApiSsoTest";
export * from "./getApiSsoPc";
export * from "./getApiGetTokenInfo";
export * from "./getApiRefreshToken";
因为 它太大了无法显示 源差异 。您可以改为 查看blob。
import request from "../util/axios.js";
/**
* /api/Test/EnumTest
*/
export function getApiTestEnumTest(config) {
return request.get(`/api/Test/EnumTest`, config);
}
import { type AxiosRequestConfig } from "axios";
/**
* /api/Test/WorkFlowTest
*/
export declare function getApiTestWorkFlowTest(config?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<{
code: number;
status: string;
msg: string;
msg_detail: string;
response: {
workID: number;
fid: number;
fK_FlowSort: string;
sysType: string;
fK_Flow: string;
flowName: string;
title: string;
wfSta: number;
wfState: number;
starter: string;
starterName: string;
sender: string;
rdt: string;
fK_Node: number;
nodeName: string;
fK_Dept: string;
deptName: string;
pri: number;
sdtOfNode: string;
sdtOfFlow: string;
pFlowNo: string;
pWorkID: number;
pNodeID: number;
pfid: number;
pEmp: string;
guestNo: string;
guestName: string;
billNo: string;
flowNote: string;
todoEmps: string;
todoEmpsNum: number;
taskSta: number;
atPara: string;
emps: string;
guid: string;
fK_NY: string;
weekNum: number;
tSpan: number;
todoSta: number;
myNum: number;
}[];
}, any>>;
import request from "../util/axios.js";
/**
* /api/Test/WorkFlowTest
*/
export function getApiTestWorkFlowTest(config) {
return request.get(`/api/Test/WorkFlowTest`, config);
}
export * from "./getApiTestWorkFlowTest";
export * from "./getApiTestEnumTest";
export * from "./getApiTestWorkFlowTest";
export * from "./getApiTestEnumTest";
export * from "./Enterpriseclock";
export * from "./Flow";
export * from "./Login";
export * from "./Test";
export * from "./Enterpriseclock";
export * from "./Flow";
export * from "./Login";
export * from "./Test";
...@@ -6,13 +6,12 @@ export function ImageUpLoad(data) { ...@@ -6,13 +6,12 @@ export function ImageUpLoad(data) {
return requestPost(`/api/Attendance/ImageUpLoad`, data) return requestPost(`/api/Attendance/ImageUpLoad`, data)
} }
/** /**
* 单点 * 单点
* **/ * **/
export function wx(data) { export function wx(data) {
//单点 //单点
return requestGet(`/api/sso/wx?&code=${data.code}&sign=${data.sign}&timestamp=${data.timestamp}&userType=${data.userType}`, data) return requestGet(`/api/sso/wx?&code=${data.code}&sign=${data.sign}&timestamp=${data.timestamp}`, data)
} }
export function SSOPC(data) { export function SSOPC(data) {
...@@ -32,7 +31,7 @@ export function RefreshToken(data) { ...@@ -32,7 +31,7 @@ export function RefreshToken(data) {
export function CheckLoginTest(data) { export function CheckLoginTest(data) {
//test token //test token
return requestGet(`/api/Login/CheckLoginTest?card="asc666"`, data) return requestGet(`/api/sso/test?card=asc666`, data)
} }
import { type TypeInfo, type Type, type MethodInfo, type CustomAttributeData, type Module, type SecurityRuleSet } from "../../interface";
export interface Assembly {
definedTypes?: TypeInfo[];
exportedTypes?: Type[];
codeBase?: string;
entryPoint?: MethodInfo;
fullName?: string;
imageRuntimeVersion?: string;
isDynamic?: boolean;
location?: string;
reflectionOnly?: boolean;
isCollectible?: boolean;
isFullyTrusted?: boolean;
customAttributes?: CustomAttributeData[];
escapedCodeBase?: string;
manifestModule?: Module;
modules?: Module[];
globalAssemblyCache?: boolean;
hostContext?: number;
securityRuleSet?: SecurityRuleSet;
}
import { type CalendarAlgorithmType } from "../../interface";
export interface Calendar {
minSupportedDateTime?: string;
maxSupportedDateTime?: string;
algorithmType?: CalendarAlgorithmType;
isReadOnly?: boolean;
eras?: number[];
twoDigitYearMax?: number;
}
import { type SortVersion } from "../../interface";
export interface CompareInfo {
name?: string;
version?: SortVersion;
lcid?: number;
}
import { type TokenViewModel } from "../../interface";
export interface ComplexTokenViewModel {
accessToken?: TokenViewModel;
refreshToken?: TokenViewModel;
}
import { type ComplexTokenViewModel } from "../../interface";
export interface ComplexTokenViewModelMessageModel {
code?: number;
status?: string;
msg?: string;
msg_detail?: string;
response?: ComplexTokenViewModel;
}
import { type Type, type Module, type CustomAttributeData, type MethodAttributes, type MethodImplAttributes, type CallingConventions, type RuntimeMethodHandle, type MemberTypes } from "../../interface";
export interface ConstructorInfo {
name?: string;
declaringType?: Type;
reflectedType?: Type;
module?: Module;
customAttributes?: CustomAttributeData[];
isCollectible?: boolean;
metadataToken?: number;
attributes?: MethodAttributes;
methodImplementationFlags?: MethodImplAttributes;
callingConvention?: CallingConventions;
isAbstract?: boolean;
isConstructor?: boolean;
isFinal?: boolean;
isHideBySig?: boolean;
isSpecialName?: boolean;
isStatic?: boolean;
isVirtual?: boolean;
isAssembly?: boolean;
isFamily?: boolean;
isFamilyAndAssembly?: boolean;
isFamilyOrAssembly?: boolean;
isPrivate?: boolean;
isPublic?: boolean;
isConstructedGenericMethod?: boolean;
isGenericMethod?: boolean;
isGenericMethodDefinition?: boolean;
containsGenericParameters?: boolean;
methodHandle?: RuntimeMethodHandle;
isSecurityCritical?: boolean;
isSecuritySafeCritical?: boolean;
isSecurityTransparent?: boolean;
memberType?: MemberTypes;
}
import { type CompareInfo, type TextInfo, type CultureTypes, type NumberFormatInfo, type DateTimeFormatInfo, type Calendar } from "../../interface";
export interface CultureInfo {
parent?: CultureInfo;
lcid?: number;
keyboardLayoutId?: number;
name?: string;
ietfLanguageTag?: string;
displayName?: string;
nativeName?: string;
englishName?: string;
twoLetterISOLanguageName?: string;
threeLetterISOLanguageName?: string;
threeLetterWindowsLanguageName?: string;
compareInfo?: CompareInfo;
textInfo?: TextInfo;
isNeutralCulture?: boolean;
cultureTypes?: CultureTypes;
numberFormat?: NumberFormatInfo;
dateTimeFormat?: DateTimeFormatInfo;
calendar?: Calendar;
optionalCalendars?: Calendar[];
useUserOverride?: boolean;
isReadOnly?: boolean;
}
import { type Type, type ConstructorInfo, type CustomAttributeTypedArgument, type CustomAttributeNamedArgument } from "../../interface";
export interface CustomAttributeData {
attributeType?: Type;
constructor?: ConstructorInfo;
constructorArguments?: CustomAttributeTypedArgument[];
namedArguments?: CustomAttributeNamedArgument[];
}
import { type MemberInfo, type CustomAttributeTypedArgument } from "../../interface";
export interface CustomAttributeNamedArgument {
memberInfo?: MemberInfo;
typedValue?: CustomAttributeTypedArgument;
memberName?: string;
isField?: boolean;
}
import { type Type } from "../../interface";
export interface CustomAttributeTypedArgument {
argumentType?: Type;
value?: unknown;
}
import { type ISite, type IContainer, type Type, type DataSetDateTime, type DataTable, type MappingType } from "../../interface";
export interface DataColumn {
site?: ISite;
container?: IContainer;
designMode?: boolean;
allowDBNull?: boolean;
autoIncrement?: boolean;
autoIncrementSeed?: number;
autoIncrementStep?: number;
caption?: string;
columnName?: string;
prefix?: string;
dataType?: Type;
dateTimeMode?: DataSetDateTime;
defaultValue?: unknown;
expression?: string;
extendedProperties?: DataColumnExtendedProperties;
maxLength?: number;
namespace?: string;
ordinal?: number;
readOnly?: boolean;
table?: DataTable;
unique?: boolean;
columnMapping?: MappingType;
}
export interface DataColumnExtendedProperties {
[key: string]: any;
}
export interface DataRequests {
/** 卡号或姓名 */
card_name?: string;
/** 开始时间 */
begin_time?: string;
/** 结束时间 */
end_time?: string;
/** 附件名称 */
file_name?: string[];
page_index?: number;
page_size?: number;
}
import { type IContainer, type SerializationFormat, type SchemaSerializationMode, type CultureInfo, type ISite } from "../../interface";
export interface DataSet {
container?: IContainer;
designMode?: boolean;
remotingFormat?: SerializationFormat;
schemaSerializationMode?: SchemaSerializationMode;
caseSensitive?: boolean;
defaultViewManager?: unknown[];
enforceConstraints?: boolean;
dataSetName?: string;
namespace?: string;
prefix?: string;
extendedProperties?: DataSetExtendedProperties;
hasErrors?: boolean;
isInitialized?: boolean;
locale?: CultureInfo;
site?: ISite;
relations?: unknown[];
tables?: unknown[];
}
export interface DataSetExtendedProperties {
[key: string]: any;
}
import { type IContainer, type SerializationFormat, type DataSet, type CultureInfo, type DataColumn, type ISite } from "../../interface";
export interface DataTable {
container?: IContainer;
designMode?: boolean;
caseSensitive?: boolean;
isInitialized?: boolean;
remotingFormat?: SerializationFormat;
childRelations?: unknown[];
columns?: unknown[];
constraints?: unknown[];
dataSet?: DataSet;
defaultView?: unknown[];
displayExpression?: string;
extendedProperties?: DataTableExtendedProperties;
hasErrors?: boolean;
locale?: CultureInfo;
minimumCapacity?: number;
parentRelations?: unknown[];
primaryKey?: DataColumn[];
rows?: unknown[];
tableName?: string;
namespace?: string;
prefix?: string;
site?: ISite;
}
export interface DataTableExtendedProperties {
[key: string]: any;
}
import { type DataTable } from "../../interface";
export interface DataTableMessageModel {
code?: number;
status?: string;
msg?: string;
msg_detail?: string;
response?: DataTable;
}
import { type Calendar, type DayOfWeek, type CalendarWeekRule } from "../../interface";
export interface DateTimeFormatInfo {
amDesignator?: string;
calendar?: Calendar;
dateSeparator?: string;
firstDayOfWeek?: DayOfWeek;
calendarWeekRule?: CalendarWeekRule;
fullDateTimePattern?: string;
longDatePattern?: string;
longTimePattern?: string;
monthDayPattern?: string;
pmDesignator?: string;
rfC1123Pattern?: string;
shortDatePattern?: string;
shortTimePattern?: string;
sortableDateTimePattern?: string;
timeSeparator?: string;
universalSortableDateTimePattern?: string;
yearMonthPattern?: string;
abbreviatedDayNames?: string[];
shortestDayNames?: string[];
dayNames?: string[];
abbreviatedMonthNames?: string[];
monthNames?: string[];
isReadOnly?: boolean;
nativeCalendarName?: string;
abbreviatedMonthGenitiveNames?: string[];
monthGenitiveNames?: string[];
}
export interface EnterpriseclockViewModel {
id?: string;
card?: string;
name?: string;
phone?: string;
type?: string;
date?: string;
week?: string;
location?: string;
remark?: string;
createtime?: string;
img_upload?: string;
file?: string[];
day?: number;
dept_name?: string;
ssbm?: string;
scope?: string;
}
import { type EnterpriseclockViewModel } from "../../interface";
export interface EnterpriseclockViewModelMessageModel {
code?: number;
status?: string;
msg?: string;
msg_detail?: string;
response?: EnterpriseclockViewModel;
}
import { type TableTitle, type EnterpriseclockViewModelMessageModel } from "../../interface";
export interface EnterpriseclockViewModelMessageModelPageModel {
pageIndex?: number;
pageSize?: number;
pageCount?: number;
dataCount?: number;
title?: TableTitle[];
data?: EnterpriseclockViewModelMessageModel[];
query?: EnterpriseclockViewModelMessageModelPageModelQuery;
}
export interface EnterpriseclockViewModelMessageModelPageModelQuery {
[key: string]: any;
}
import { type Type, type Module, type CustomAttributeData, type MemberTypes, type EventAttributes, type MethodInfo } from "../../interface";
export interface EventInfo {
name?: string;
declaringType?: Type;
reflectedType?: Type;
module?: Module;
customAttributes?: CustomAttributeData[];
isCollectible?: boolean;
metadataToken?: number;
memberType?: MemberTypes;
attributes?: EventAttributes;
isSpecialName?: boolean;
addMethod?: MethodInfo;
removeMethod?: MethodInfo;
raiseMethod?: MethodInfo;
isMulticast?: boolean;
eventHandlerType?: Type;
}
import { type Type, type Module, type CustomAttributeData, type MemberTypes, type FieldAttributes, type RuntimeFieldHandle } from "../../interface";
export interface FieldInfo {
name?: string;
declaringType?: Type;
reflectedType?: Type;
module?: Module;
customAttributes?: CustomAttributeData[];
isCollectible?: boolean;
metadataToken?: number;
memberType?: MemberTypes;
attributes?: FieldAttributes;
fieldType?: Type;
isInitOnly?: boolean;
isLiteral?: boolean;
isNotSerialized?: boolean;
isPinvokeImpl?: boolean;
isSpecialName?: boolean;
isStatic?: boolean;
isAssembly?: boolean;
isFamily?: boolean;
isFamilyAndAssembly?: boolean;
isFamilyOrAssembly?: boolean;
isPrivate?: boolean;
isPublic?: boolean;
isSecurityCritical?: boolean;
isSecuritySafeCritical?: boolean;
isSecurityTransparent?: boolean;
fieldHandle?: RuntimeFieldHandle;
}
import { type ISite } from "../../interface";
export interface IComponent {
site?: ISite;
}
export interface IContainer {
components?: unknown[];
}
export interface ICustomAttributeProvider {
[key: string]: any;
}
import { type IComponent, type IContainer } from "../../interface";
export interface ISite {
component?: IComponent;
container?: IContainer;
designMode?: boolean;
name?: string;
}
export interface IntPtr {
[key: string]: any;
}
import { type MemberTypes, type Type, type Module, type CustomAttributeData } from "../../interface";
export interface MemberInfo {
memberType?: MemberTypes;
declaringType?: Type;
reflectedType?: Type;
name?: string;
module?: Module;
customAttributes?: CustomAttributeData[];
isCollectible?: boolean;
metadataToken?: number;
}
import { type MemberTypes, type Type, type Module, type CustomAttributeData, type MethodAttributes, type MethodImplAttributes, type CallingConventions, type RuntimeMethodHandle } from "../../interface";
export interface MethodBase {
memberType?: MemberTypes;
name?: string;
declaringType?: Type;
reflectedType?: Type;
module?: Module;
customAttributes?: CustomAttributeData[];
isCollectible?: boolean;
metadataToken?: number;
attributes?: MethodAttributes;
methodImplementationFlags?: MethodImplAttributes;
callingConvention?: CallingConventions;
isAbstract?: boolean;
isConstructor?: boolean;
isFinal?: boolean;
isHideBySig?: boolean;
isSpecialName?: boolean;
isStatic?: boolean;
isVirtual?: boolean;
isAssembly?: boolean;
isFamily?: boolean;
isFamilyAndAssembly?: boolean;
isFamilyOrAssembly?: boolean;
isPrivate?: boolean;
isPublic?: boolean;
isConstructedGenericMethod?: boolean;
isGenericMethod?: boolean;
isGenericMethodDefinition?: boolean;
containsGenericParameters?: boolean;
methodHandle?: RuntimeMethodHandle;
isSecurityCritical?: boolean;
isSecuritySafeCritical?: boolean;
isSecurityTransparent?: boolean;
}
import { type Type, type Module, type CustomAttributeData, type MethodAttributes, type MethodImplAttributes, type CallingConventions, type RuntimeMethodHandle, type MemberTypes, type ParameterInfo, type ICustomAttributeProvider } from "../../interface";
export interface MethodInfo {
name?: string;
declaringType?: Type;
reflectedType?: Type;
module?: Module;
customAttributes?: CustomAttributeData[];
isCollectible?: boolean;
metadataToken?: number;
attributes?: MethodAttributes;
methodImplementationFlags?: MethodImplAttributes;
callingConvention?: CallingConventions;
isAbstract?: boolean;
isConstructor?: boolean;
isFinal?: boolean;
isHideBySig?: boolean;
isSpecialName?: boolean;
isStatic?: boolean;
isVirtual?: boolean;
isAssembly?: boolean;
isFamily?: boolean;
isFamilyAndAssembly?: boolean;
isFamilyOrAssembly?: boolean;
isPrivate?: boolean;
isPublic?: boolean;
isConstructedGenericMethod?: boolean;
isGenericMethod?: boolean;
isGenericMethodDefinition?: boolean;
containsGenericParameters?: boolean;
methodHandle?: RuntimeMethodHandle;
isSecurityCritical?: boolean;
isSecuritySafeCritical?: boolean;
isSecurityTransparent?: boolean;
memberType?: MemberTypes;
returnParameter?: ParameterInfo;
returnType?: Type;
returnTypeCustomAttributes?: ICustomAttributeProvider;
}
import { type Assembly, type ModuleHandle, type CustomAttributeData } from "../../interface";
export interface Module {
assembly?: Assembly;
fullyQualifiedName?: string;
name?: string;
mdStreamVersion?: number;
moduleVersionId?: string;
scopeName?: string;
moduleHandle?: ModuleHandle;
customAttributes?: CustomAttributeData[];
metadataToken?: number;
}
export interface ModuleHandle {
mdStreamVersion?: number;
}
import { type DigitShapes } from "../../interface";
export interface NumberFormatInfo {
currencyDecimalDigits?: number;
currencyDecimalSeparator?: string;
isReadOnly?: boolean;
currencyGroupSizes?: number[];
numberGroupSizes?: number[];
percentGroupSizes?: number[];
currencyGroupSeparator?: string;
currencySymbol?: string;
naNSymbol?: string;
currencyNegativePattern?: number;
numberNegativePattern?: number;
percentPositivePattern?: number;
percentNegativePattern?: number;
negativeInfinitySymbol?: string;
negativeSign?: string;
numberDecimalDigits?: number;
numberDecimalSeparator?: string;
numberGroupSeparator?: string;
currencyPositivePattern?: number;
positiveInfinitySymbol?: string;
positiveSign?: string;
percentDecimalDigits?: number;
percentDecimalSeparator?: string;
percentGroupSeparator?: string;
percentSymbol?: string;
perMilleSymbol?: string;
nativeDigits?: string[];
digitSubstitution?: DigitShapes;
}
export interface Option {
label?: string;
value?: string;
}
import { type ParameterAttributes, type MemberInfo, type Type, type CustomAttributeData } from "../../interface";
export interface ParameterInfo {
attributes?: ParameterAttributes;
member?: MemberInfo;
name?: string;
parameterType?: Type;
position?: number;
isIn?: boolean;
isLcid?: boolean;
isOptional?: boolean;
isOut?: boolean;
isRetval?: boolean;
defaultValue?: unknown;
rawDefaultValue?: unknown;
hasDefaultValue?: boolean;
customAttributes?: CustomAttributeData[];
metadataToken?: number;
}
import { type Type, type Module, type CustomAttributeData, type MemberTypes, type PropertyAttributes, type MethodInfo } from "../../interface";
export interface PropertyInfo {
name?: string;
declaringType?: Type;
reflectedType?: Type;
module?: Module;
customAttributes?: CustomAttributeData[];
isCollectible?: boolean;
metadataToken?: number;
memberType?: MemberTypes;
propertyType?: Type;
attributes?: PropertyAttributes;
isSpecialName?: boolean;
canRead?: boolean;
canWrite?: boolean;
getMethod?: MethodInfo;
setMethod?: MethodInfo;
}
import { type IntPtr } from "../../interface";
export interface RuntimeFieldHandle {
value?: IntPtr;
}
import { type IntPtr } from "../../interface";
export interface RuntimeMethodHandle {
value?: IntPtr;
}
import { type IntPtr } from "../../interface";
export interface RuntimeTypeHandle {
value?: IntPtr;
}
export interface SortVersion {
fullVersion?: number;
sortId?: string;
}
export interface StringMessageModel {
code?: number;
status?: string;
msg?: string;
msg_detail?: string;
response?: string;
}
import { type LayoutKind } from "../../interface";
export interface StructLayoutAttribute {
typeId?: unknown;
value?: LayoutKind;
}
import { type Option } from "../../interface";
export interface TableTitle {
field_id?: string;
show_name?: string;
show_type?: number;
width?: number;
order_by_flag?: number;
default_hide_flag?: number;
fixed_flag?: number;
code?: string;
option?: Option[];
children?: TableTitle[];
}
export interface TextInfo {
ansiCodePage?: number;
oemCodePage?: number;
macCodePage?: number;
ebcdicCodePage?: number;
lcid?: number;
cultureName?: string;
isReadOnly?: boolean;
listSeparator?: string;
isRightToLeft?: boolean;
}
export interface TokenViewModel {
tokenContent?: string;
expires?: string;
}
import { type TokenViewModel } from "../../interface";
export interface TokenViewModelMessageModel {
code?: number;
status?: string;
msg?: string;
msg_detail?: string;
response?: TokenViewModel;
}
import { type CustomAttributeData, type MemberTypes, type Assembly, type Module, type MethodBase, type GenericParameterAttributes, type TypeAttributes, type StructLayoutAttribute, type ConstructorInfo, type RuntimeTypeHandle } from "../../interface";
export interface Type {
name?: string;
customAttributes?: CustomAttributeData[];
isCollectible?: boolean;
metadataToken?: number;
isInterface?: boolean;
memberType?: MemberTypes;
namespace?: string;
assemblyQualifiedName?: string;
fullName?: string;
assembly?: Assembly;
module?: Module;
isNested?: boolean;
declaringType?: Type;
declaringMethod?: MethodBase;
reflectedType?: Type;
underlyingSystemType?: Type;
isTypeDefinition?: boolean;
isArray?: boolean;
isByRef?: boolean;
isPointer?: boolean;
isConstructedGenericType?: boolean;
isGenericParameter?: boolean;
isGenericTypeParameter?: boolean;
isGenericMethodParameter?: boolean;
isGenericType?: boolean;
isGenericTypeDefinition?: boolean;
isSZArray?: boolean;
isVariableBoundArray?: boolean;
isByRefLike?: boolean;
hasElementType?: boolean;
genericTypeArguments?: Type[];
genericParameterPosition?: number;
genericParameterAttributes?: GenericParameterAttributes;
attributes?: TypeAttributes;
isAbstract?: boolean;
isImport?: boolean;
isSealed?: boolean;
isSpecialName?: boolean;
isClass?: boolean;
isNestedAssembly?: boolean;
isNestedFamANDAssem?: boolean;
isNestedFamily?: boolean;
isNestedFamORAssem?: boolean;
isNestedPrivate?: boolean;
isNestedPublic?: boolean;
isNotPublic?: boolean;
isPublic?: boolean;
isAutoLayout?: boolean;
isExplicitLayout?: boolean;
isLayoutSequential?: boolean;
isAnsiClass?: boolean;
isAutoClass?: boolean;
isUnicodeClass?: boolean;
isCOMObject?: boolean;
isContextful?: boolean;
isEnum?: boolean;
isMarshalByRef?: boolean;
isPrimitive?: boolean;
isValueType?: boolean;
isSignatureType?: boolean;
isSecurityCritical?: boolean;
isSecuritySafeCritical?: boolean;
isSecurityTransparent?: boolean;
structLayoutAttribute?: StructLayoutAttribute;
typeInitializer?: ConstructorInfo;
typeHandle?: RuntimeTypeHandle;
guid?: string;
baseType?: Type;
isSerializable?: boolean;
containsGenericParameters?: boolean;
isVisible?: boolean;
}
import { type CustomAttributeData, type MemberTypes, type Assembly, type Module, type Type, type MethodBase, type GenericParameterAttributes, type TypeAttributes, type StructLayoutAttribute, type ConstructorInfo, type RuntimeTypeHandle, type EventInfo, type FieldInfo, type MemberInfo, type MethodInfo, type PropertyInfo } from "../../interface";
export interface TypeInfo {
name?: string;
customAttributes?: CustomAttributeData[];
isCollectible?: boolean;
metadataToken?: number;
isInterface?: boolean;
memberType?: MemberTypes;
namespace?: string;
assemblyQualifiedName?: string;
fullName?: string;
assembly?: Assembly;
module?: Module;
isNested?: boolean;
declaringType?: Type;
declaringMethod?: MethodBase;
reflectedType?: Type;
underlyingSystemType?: Type;
isTypeDefinition?: boolean;
isArray?: boolean;
isByRef?: boolean;
isPointer?: boolean;
isConstructedGenericType?: boolean;
isGenericParameter?: boolean;
isGenericTypeParameter?: boolean;
isGenericMethodParameter?: boolean;
isGenericType?: boolean;
isGenericTypeDefinition?: boolean;
isSZArray?: boolean;
isVariableBoundArray?: boolean;
isByRefLike?: boolean;
hasElementType?: boolean;
genericTypeArguments?: Type[];
genericParameterPosition?: number;
genericParameterAttributes?: GenericParameterAttributes;
attributes?: TypeAttributes;
isAbstract?: boolean;
isImport?: boolean;
isSealed?: boolean;
isSpecialName?: boolean;
isClass?: boolean;
isNestedAssembly?: boolean;
isNestedFamANDAssem?: boolean;
isNestedFamily?: boolean;
isNestedFamORAssem?: boolean;
isNestedPrivate?: boolean;
isNestedPublic?: boolean;
isNotPublic?: boolean;
isPublic?: boolean;
isAutoLayout?: boolean;
isExplicitLayout?: boolean;
isLayoutSequential?: boolean;
isAnsiClass?: boolean;
isAutoClass?: boolean;
isUnicodeClass?: boolean;
isCOMObject?: boolean;
isContextful?: boolean;
isEnum?: boolean;
isMarshalByRef?: boolean;
isPrimitive?: boolean;
isValueType?: boolean;
isSignatureType?: boolean;
isSecurityCritical?: boolean;
isSecuritySafeCritical?: boolean;
isSecurityTransparent?: boolean;
structLayoutAttribute?: StructLayoutAttribute;
typeInitializer?: ConstructorInfo;
typeHandle?: RuntimeTypeHandle;
guid?: string;
baseType?: Type;
isSerializable?: boolean;
containsGenericParameters?: boolean;
isVisible?: boolean;
genericTypeParameters?: Type[];
declaredConstructors?: ConstructorInfo[];
declaredEvents?: EventInfo[];
declaredFields?: FieldInfo[];
declaredMembers?: MemberInfo[];
declaredMethods?: MethodInfo[];
declaredNestedTypes?: TypeInfo[];
declaredProperties?: PropertyInfo[];
implementedInterfaces?: Type[];
}
export interface UserJwtViewModel {
cardNumber?: string;
name?: string;
openId?: string;
phone?: string;
}
import { type UserJwtViewModel } from "../../interface";
export interface UserJwtViewModelMessageModel {
code?: number;
status?: string;
msg?: string;
msg_detail?: string;
response?: UserJwtViewModel;
}
export interface WfGenerWorkFlow {
workID?: number;
fid?: number;
fK_FlowSort?: string;
sysType?: string;
fK_Flow?: string;
flowName?: string;
title?: string;
wfSta?: number;
wfState?: number;
starter?: string;
starterName?: string;
sender?: string;
rdt?: string;
fK_Node?: number;
nodeName?: string;
fK_Dept?: string;
deptName?: string;
pri?: number;
sdtOfNode?: string;
sdtOfFlow?: string;
pFlowNo?: string;
pWorkID?: number;
pNodeID?: number;
pfid?: number;
pEmp?: string;
guestNo?: string;
guestName?: string;
billNo?: string;
flowNote?: string;
todoEmps?: string;
todoEmpsNum?: number;
taskSta?: number;
atPara?: string;
emps?: string;
guid?: string;
fK_NY?: string;
weekNum?: number;
tSpan?: number;
todoSta?: number;
myNum?: number;
}
import { type WfGenerWorkFlow } from "../../interface";
export interface WfGenerWorkFlowListMessageModel {
code?: number;
status?: string;
msg?: string;
msg_detail?: string;
response?: WfGenerWorkFlow[];
}
export * from "./apiTypes/DataRequests";
export * from "./apiTypes/Option";
export * from "./apiTypes/TableTitle";
export * from "./apiTypes/EnterpriseclockViewModel";
export * from "./apiTypes/EnterpriseclockViewModelMessageModel";
export * from "./apiTypes/EnterpriseclockViewModelMessageModelPageModel";
export * from "./apiTypes/StringMessageModel";
export * from "./apiTypes/TokenViewModel";
export * from "./apiTypes/ComplexTokenViewModel";
export * from "./apiTypes/ComplexTokenViewModelMessageModel";
export * from "./apiTypes/UserJwtViewModel";
export * from "./apiTypes/UserJwtViewModelMessageModel";
export * from "./apiTypes/TokenViewModelMessageModel";
export * from "./apiTypes/WfGenerWorkFlow";
export * from "./apiTypes/WfGenerWorkFlowListMessageModel";
export * from "./apiTypes/IContainer";
export * from "./apiTypes/SerializationFormat";
export * from "./apiTypes/SchemaSerializationMode";
export * from "./apiTypes/SortVersion";
export * from "./apiTypes/CompareInfo";
export * from "./apiTypes/TextInfo";
export * from "./apiTypes/CultureTypes";
export * from "./apiTypes/DigitShapes";
export * from "./apiTypes/NumberFormatInfo";
export * from "./apiTypes/CalendarAlgorithmType";
export * from "./apiTypes/Calendar";
export * from "./apiTypes/DayOfWeek";
export * from "./apiTypes/CalendarWeekRule";
export * from "./apiTypes/DateTimeFormatInfo";
export * from "./apiTypes/CultureInfo";
export * from "./apiTypes/IComponent";
export * from "./apiTypes/ISite";
export * from "./apiTypes/DataSet";
export * from "./apiTypes/MemberTypes";
export * from "./apiTypes/MethodAttributes";
export * from "./apiTypes/MethodImplAttributes";
export * from "./apiTypes/CallingConventions";
export * from "./apiTypes/IntPtr";
export * from "./apiTypes/RuntimeMethodHandle";
export * from "./apiTypes/MethodBase";
export * from "./apiTypes/GenericParameterAttributes";
export * from "./apiTypes/TypeAttributes";
export * from "./apiTypes/LayoutKind";
export * from "./apiTypes/StructLayoutAttribute";
export * from "./apiTypes/RuntimeTypeHandle";
export * from "./apiTypes/EventAttributes";
export * from "./apiTypes/ParameterAttributes";
export * from "./apiTypes/MemberInfo";
export * from "./apiTypes/ParameterInfo";
export * from "./apiTypes/ICustomAttributeProvider";
export * from "./apiTypes/MethodInfo";
export * from "./apiTypes/EventInfo";
export * from "./apiTypes/FieldAttributes";
export * from "./apiTypes/RuntimeFieldHandle";
export * from "./apiTypes/FieldInfo";
export * from "./apiTypes/PropertyAttributes";
export * from "./apiTypes/PropertyInfo";
export * from "./apiTypes/TypeInfo";
export * from "./apiTypes/SecurityRuleSet";
export * from "./apiTypes/Assembly";
export * from "./apiTypes/ModuleHandle";
export * from "./apiTypes/Module";
export * from "./apiTypes/ConstructorInfo";
export * from "./apiTypes/CustomAttributeTypedArgument";
export * from "./apiTypes/CustomAttributeNamedArgument";
export * from "./apiTypes/CustomAttributeData";
export * from "./apiTypes/Type";
export * from "./apiTypes/DataSetDateTime";
export * from "./apiTypes/MappingType";
export * from "./apiTypes/DataColumn";
export * from "./apiTypes/DataTable";
export * from "./apiTypes/DataTableMessageModel";
export type Primitive = undefined | null | boolean | string | number | symbol;
export type DeepRequired<T> = T extends Primitive ? T : keyof T extends never ? T : {
[K in keyof T]-?: DeepRequired<T[K]>;
};
export * from "./apiTypes/DataRequests";
export * from "./apiTypes/Option";
export * from "./apiTypes/TableTitle";
export * from "./apiTypes/EnterpriseclockViewModel";
export * from "./apiTypes/EnterpriseclockViewModelMessageModel";
export * from "./apiTypes/EnterpriseclockViewModelMessageModelPageModel";
export * from "./apiTypes/StringMessageModel";
export * from "./apiTypes/TokenViewModel";
export * from "./apiTypes/ComplexTokenViewModel";
export * from "./apiTypes/ComplexTokenViewModelMessageModel";
export * from "./apiTypes/UserJwtViewModel";
export * from "./apiTypes/UserJwtViewModelMessageModel";
export * from "./apiTypes/TokenViewModelMessageModel";
export * from "./apiTypes/WfGenerWorkFlow";
export * from "./apiTypes/WfGenerWorkFlowListMessageModel";
export * from "./apiTypes/IContainer";
export * from "./apiTypes/SerializationFormat";
export * from "./apiTypes/SchemaSerializationMode";
export * from "./apiTypes/SortVersion";
export * from "./apiTypes/CompareInfo";
export * from "./apiTypes/TextInfo";
export * from "./apiTypes/CultureTypes";
export * from "./apiTypes/DigitShapes";
export * from "./apiTypes/NumberFormatInfo";
export * from "./apiTypes/CalendarAlgorithmType";
export * from "./apiTypes/Calendar";
export * from "./apiTypes/DayOfWeek";
export * from "./apiTypes/CalendarWeekRule";
export * from "./apiTypes/DateTimeFormatInfo";
export * from "./apiTypes/CultureInfo";
export * from "./apiTypes/IComponent";
export * from "./apiTypes/ISite";
export * from "./apiTypes/DataSet";
export * from "./apiTypes/MemberTypes";
export * from "./apiTypes/MethodAttributes";
export * from "./apiTypes/MethodImplAttributes";
export * from "./apiTypes/CallingConventions";
export * from "./apiTypes/IntPtr";
export * from "./apiTypes/RuntimeMethodHandle";
export * from "./apiTypes/MethodBase";
export * from "./apiTypes/GenericParameterAttributes";
export * from "./apiTypes/TypeAttributes";
export * from "./apiTypes/LayoutKind";
export * from "./apiTypes/StructLayoutAttribute";
export * from "./apiTypes/RuntimeTypeHandle";
export * from "./apiTypes/EventAttributes";
export * from "./apiTypes/ParameterAttributes";
export * from "./apiTypes/MemberInfo";
export * from "./apiTypes/ParameterInfo";
export * from "./apiTypes/ICustomAttributeProvider";
export * from "./apiTypes/MethodInfo";
export * from "./apiTypes/EventInfo";
export * from "./apiTypes/FieldAttributes";
export * from "./apiTypes/RuntimeFieldHandle";
export * from "./apiTypes/FieldInfo";
export * from "./apiTypes/PropertyAttributes";
export * from "./apiTypes/PropertyInfo";
export * from "./apiTypes/TypeInfo";
export * from "./apiTypes/SecurityRuleSet";
export * from "./apiTypes/Assembly";
export * from "./apiTypes/ModuleHandle";
export * from "./apiTypes/Module";
export * from "./apiTypes/ConstructorInfo";
export * from "./apiTypes/CustomAttributeTypedArgument";
export * from "./apiTypes/CustomAttributeNamedArgument";
export * from "./apiTypes/CustomAttributeData";
export * from "./apiTypes/Type";
export * from "./apiTypes/DataSetDateTime";
export * from "./apiTypes/MappingType";
export * from "./apiTypes/DataColumn";
export * from "./apiTypes/DataTable";
export * from "./apiTypes/DataTableMessageModel";
{
"docsUrl": "https://asc.hnasct.cn/enterpriseclock/swagger/Dormitoryscore/swagger.json",
"axiosInstanceUrl": "../util/axios.js"
}
...@@ -10,30 +10,32 @@ import Cookies from 'js-cookie' ...@@ -10,30 +10,32 @@ import Cookies from 'js-cookie'
import {useRouter} from 'vue-router' import {useRouter} from 'vue-router'
import {onMounted} from 'vue' import {onMounted} from 'vue'
import * as api from '../api/index.js' import * as api from '../api/index.js'
import {CheckLoginTest} from "../api/index.js";
const router = useRouter() const router = useRouter()
const getTokenAction = async (date) => { const getTokenAction = async (date) => {
const res = await api.SSOPC(date) const res = await api.SSOPC(date)
if (res.code !== 1) { if (res === void 0) {
await router.replace({ await router.replace({
name: '403' name: '403'
}) })
} else if (res.response.access_token.token_content !== '') { } else if (res.response.access_token.token_content !== '') {
// access_token.token_content Cookies.set('teacher-go2-corporation-wx-token', res.response.access_token.token_content); // 这个util的cookie会自带admin前缀
Cookies.set('site-management-token', res.response.access_token.token_content) Cookies.set('teacher-go2-corporation-wx-time', res.response.access_token.expires);
Cookies.set('time', res.response.access_token.expires) Cookies.set('teacher-go2-corporation-wx-refreshToken', res.response.refresh_token.token_content); // 这个util的cookie会自带admin前缀
Cookies.set('teacher-go2-corporation-wx-refreshTime', res.response.refresh_token.expires);
const user = await api.GetTokenInfo() const user = await api.GetTokenInfo()
Cookies.set('site-user-info', user.response.role) Cookies.set('teacher-go2-corporation-wx-user-info', user.response.role)
await router.replace({ await router.replace({
name: 'welcome' name: 'welcome'
}) })
} }
} }
const getTokenActionWx = async (date) => { const getTokenActionWx = async (date) => {
const res = await api.wx(date) const res = await api.wx(date)
if (res.code !== 1) { if (res === void 0) {
await router.replace({ await router.replace({
name: '403' name: '403'
}) })
...@@ -68,25 +70,25 @@ const getToken = async () => { ...@@ -68,25 +70,25 @@ const getToken = async () => {
"test": async () => { "test": async () => {
//测试token //测试token
const res = await api.CheckLoginTest() const res = await api.CheckLoginTest()
if (res.code !== 1) { if (res === void 0) {
await router.replace({ await router.replace({
name: '403' name: '403'
}) })
} else if (res.response.access_token.token_content !== '') { } else if (res.response.access_token.token_content !== '') {
Cookies.set('site-management-token', res.response.access_token.token_content) Cookies.set('teacher-go2-corporation-wx-token', res.response.access_token.token_content); // 这个util的cookie会自带admin前缀
Cookies.set('time', res.response.access_token.expires) Cookies.set('teacher-go2-corporation-wx-time', res.response.access_token.expires);
Cookies.set('teacher-go2-corporation-wx-refreshToken', res.response.refresh_token.token_content); // 这个util的cookie会自带admin前缀
Cookies.set('teacher-go2-corporation-wx-refreshTime', res.response.refresh_token.expires);
const user = await api.GetTokenInfo() const user = await api.GetTokenInfo()
Cookies.set('site-user-info', user.response.role) Cookies.set('teacher-go2-corporation-wx-user-info', user.response.role)
await router.replace({ await router.replace({
name: 'welcome' name: 'welcome'
}) })
} }
} }
} }
policyObject[String(router.currentRoute.value.query.type)]() policyObject[router.currentRoute.value.query.type]()
api.GetTokenInfo(Cookies.get('site-management-token')).then(res => {
Cookies.set('userInfo', JSON.stringify(res.response))
})
} }
onMounted(() => { onMounted(() => {
getToken() getToken()
......
<template> <template>
<div class="w-screen h-screen">
<van-pull-refresh v-model="dateArray.loading" @refresh="onRefresh"> <div class="w-full h-full">
<div class="container"> <!-- <van-calendar v-model:show="show" type="range" @confirm="onConfirm"/>-->
<van-calendar <div class="w-10 h-10 hover:scale-150 transition-opacity transform bg-red-600"></div>
type="single"
:show-subtitle="false"
:poppable="false"
:show-confirm="false"
:style="{ height: '350px' }"
:show-title="false"
@confirm="dutyCalendar"
:formatter="dutyDateFormatter"
:minDate="dateArray.minDate"
:maxDate="dateArray.maxDate"
/>
<!-- <router-link to="/messageDetails">-->
<!-- <van-button>123123</van-button>-->
<!-- </router-link>-->
<van-cell-group style="width: 100%;margin-top: 10px">
<!-- <van-swipe @change="swiperNext" class="my-swipe" indicator-color="white">-->
<!-- <van-swipe-item>1</van-swipe-item>-->
<!-- <van-swipe-item>2</van-swipe-item>-->
<!-- <van-swipe-item>3</van-swipe-item>-->
<!-- <van-swipe-item style="color: red;">-->
<!-- </van-swipe-item>-->
<!-- </van-swipe>-->
<div class="dateContainer">
<div class="left" @click="reductionDate">
<span class="SlideButton"><van-icon name="arrow-left"/></span>
</div> </div>
<div
:class="dateArray.center ? 'content animate__animated animate__heartBeat':dateArray.right ? 'content animate__animated animate__backInLeft' :dateArray.left? 'content animate__animated animate__backInRight':'content animate__animated animate__heartBeat'"
v-for="(item,index) in dateArray.array" :key="index">
<span @click="centerDateValue(item.date)" style="display: flex;justify-content: center;">{{
item.dateDay
}}号</span>
<span
style="font-size: 14px;display: flex;justify-content: center;align-items: flex-end;">{{
item.week[index]
}}</span>
</div> </div>
<div class="right" @click="addDate">
<span class="SlideButton"><van-icon name="arrow"/></span>
</div>
</div>
<van-cell icon="manager-o" @click="myDuty" is-link class="cardTitle" title="我的值班" value="个人值班记录"/>
<van-cell icon="label-o" @click="signList" is-link class="cardTitle" title="签到列表" value="教师签到"/>
</van-cell-group>
<van-cell-group v-for="(item,index) in GetWatchListObject.GetWatchListInitArray" :key="index" inset
style="width: 100%" class="cardContainer">
<van-cell class="cardContent" :title="item.username">
<template #extra>
<van-tag type="primary" plain><span>{{ item.card_name }}</span></van-tag>
<van-tag :color="['','#7232dd'][item.is_lead]" type="primary" plain style="margin-left: 10px">
<span>{{ ['值班教师', '值班领导'][item.is_lead] }}</span></van-tag>
</template>
</van-cell>
<van-cell class="cardContent" title="日期">
<template #extra>
<van-tag type="primary" plain><span>{{ item.watch_date }}</span></van-tag>
<van-tag type="primary" plain style="margin-left: 10px"><span>{{ item.watch_hour_time }}</span></van-tag>
</template>
</van-cell>
<van-cell class="cardContent" title="类型">
<template #extra>
<van-tag type="primary" plain>
<span>{{ item.watchtypename + '-' + item.dept_name + '-' + item.campusname }}</span></van-tag>
</template>
</van-cell>
</van-cell-group>
<!-- {{ 'timestamp' + ':' + Cookies.get('timestamp') }}-->
<!-- {{ 'code' + ':' + Cookies.get('code') }}-->
<!-- {{ 'sign' + ':' + Cookies.get('sign') }}-->
<div style="width: 100%;height: 50px;"></div>
</div>
</van-pull-refresh>
</template> </template>
<script setup> <script setup>
import dayjs from 'dayjs'; import {onMounted, reactive, ref} from 'vue';
import router from "../../router/index.js"; import dayjs from "dayjs";
import * as api from '../../api/index.js';
import {ref, reactive, onMounted, watch} from 'vue';
import {showToast} from "vant";
import Cookies from "js-cookie";
let dateArray = reactive({
minDate: new Date(dayjs().year(), dayjs().month() - 1, 1),
maxDate: new Date(dayjs().year(), dayjs().month() + 1, 15),
array: [],
dateFlag: false,
addDateFlag: true,
week: ['周日', '周一', '周二', '周三', '周四', '周五', '周六'],
center: true,
right: false,
left: false,
isShow: true,
toDay: '',
dateBackgroundText: [],
loading: false
})
let dateArrayLenght = ref('')
let dateArrayLenght_i = ref(1)
let GetWatchListObject = reactive({
page_index: 1,
page_size: 30,
startTime: '',
endTime: '',
GetWatchListInitArray: [],
}) const show = ref(true);
const swiperPrev = () => { const init = reactive({
console.log("🚀swiperPrev🚀🚀,",) data: {
} begin_time: '',
const swiperNext = (e) => { end_time: '',
console.log("🚀🚀swiperNext🚀,", e)
}
const onRefresh = async () => {
dateArray.loading = true
GetWatchListObject.startTime = dayjs().format('YYYY-MM-DD')
GetWatchListObject.endTime = dayjs().add(30, 'day').format('YYYY-MM-DD')
await GetWatchList()
dateArray.loading = false
showToast('刷新成功!')
}
const dutyDateFormatter = (day) => {
const month1 = Number(dayjs(day.date).format('M'))
const date = Number(dayjs(day.date).format('D'))
dateArray.dateBackgroundText.forEach((currantValue, index) => {
const month = Number(dayjs(currantValue).format('M'))
const today = Number(dayjs(currantValue).format('D'))
if (month1 === month) {
if (date === today) {
day.bottomInfo = '值班';
} }
} })
})
return day; const onConfirm = (values) => {
[init.data.begin_time, init.data.end_time] = [dayjs(values[0]).format('YYYY-MM-DD'), dayjs(values[1]).format('YYYY-MM-DD')]
console.log("🚀🚀🚀,", init.data)
//解构
}; };
const dutyCalendar = (e) => {
centerDateValue(dayjs(e).format('YYYY-MM-DD'))
}
const centerDateValue = (currentValue) => {
GetWatchListObject.endTime = currentValue
GetWatchListObject.startTime = currentValue
GetWatchList()
}
const reductionDate = () => {
// 减少一周的计数器值
const startOfWeek = dayjs().startOf('week');
const weekDates = [];
dateArray.array = [];
dateArray.dateFlag === false && dateArray.addDateFlag === true ? dateArrayLenght_i.value = dateArrayLenght_i.value - 2 : dateArrayLenght_i.value--;
// console.log("🚀🚀🚀,",dateArrayLenght_i.value)
const value = dateArrayLenght_i.value;
for (let i = 0 + (7 * value); i < 7 + (7 * value); i++) {
const dateToAdd = startOfWeek.add(i, 'day');
weekDates.push({date: dateToAdd.format('YYYY-MM-DD'), dateDay: dateToAdd.format('D'), week: dateArray.week});
}
dateArray.dateFlag = true
dateArray.array = weekDates;
// console.log("🚀🚀🚀,", dayjs().format('YYYY-MM-DD'), weekDates, dateArray.array);
dateArray.center = false
dateArray.right = false
setTimeout(() => {
dateArray.left = true
}, 10)
dateArray.left = false
}
const addDate = () => {
dateArray.dateFlag === true && dateArray.addDateFlag === true ? dateArrayLenght_i.value++ : dateArrayLenght_i.value++
dateArray.dateFlag === false && dateArray.addDateFlag === true ? dateArrayLenght_i.value = 1 : ''
let value = dateArrayLenght_i.value
const currentDate = dayjs();
const startOfWeek = currentDate.startOf('week');
const weekDates = [];
// dateArray.array = []
console.log("🚀🚀🚀,", 'dateArrayLenght_i.value', dateArrayLenght_i.value, 'value', value)
for (let i = 0 + (7 * value); i < 7 + (7 * value); i++) {
// console.log("🚀🚀🚀,",i,value)
const dateToAdd = startOfWeek.add(i, 'day');
weekDates.push({date: dateToAdd.format('YYYY-MM-DD'), dateDay: dateToAdd.format('D'), week: dateArray.week});
// dateArray.array.push(dateToAdd.format('YYYY-MM-DD'),dateToAdd.format('DD'));
}
dateArray.addDateFlag = false
dateArray.array = weekDates
// console.log("🚀🚀🚀,",dayjs().format('YYYY-MM-DD'),weekDates,dateArray.array)
// 移除
dateArray.center = false;
dateArray.left = false;
setTimeout(() => {
dateArray.right = true;
}, 10)
dateArray.right = false;
}
const getInitDate = () => {
// let year = new Date().getFullYear()
// let month = new Date().getMonth()+1
// let day =new Date().getDay()
const currentDate = dayjs();
// 获取本周的起始日期(星期一)
const startOfWeek = currentDate.startOf('week');
// 创建一个数组来存储一周内的日期
const weekDates = [];
// 使用循环来添加一周内的日期到数组中
for (let i = 0; i < 7; i++) {
const dateToAdd = startOfWeek.add(i, 'day');
weekDates.push(dateToAdd.format('YYYY-MM-DD'));
dateArray.array.push({date: dateToAdd.format('YYYY-MM-DD'), dateDay: dateToAdd.format('D'), week: dateArray.week});
}
console.log("🚀🚀🚀,", dayjs().format('YYYY-MM-DD'), dateArray.array)
dateArrayLenght.value = dateArray.array.length
}
const myDuty = () => {
router.push({
name: 'myDuty'
})
}
const signList = () => {
router.push({
name: 'signList'
})
}
const GetWatchList = async () => {
let data = {
is_lead: 3,
page_index: GetWatchListObject.page_index,
page_size: GetWatchListObject.page_size,
start_time: GetWatchListObject.startTime,//
end_time: GetWatchListObject.endTime,
}
let res = await api.GetWatchList(data)
GetWatchListObject.GetWatchListInitArray = res.response.data
let flag = 1
if (flag === 1) {
GetWatchListObject.GetWatchListInitArray.forEach((currentValue, idnex) => {
dateArray.dateBackgroundText.push(currentValue.watch_date)
})
flag++
}
}
const getMonthStartEnd = () => {
// 获取当前日期
const currentDate = dayjs();
// 计算一周的开始日期和结束日期
const a = currentDate.startOf('day').format('YYYY-MM-DD'); // 获取本周的开始日期
const b = currentDate.endOf('month').format('YYYY-MM-DD') // 获取本周的结束日期
GetWatchListObject.startTime = a
GetWatchListObject.endTime = b
}
// watch(dutyCalendar,(newValue,oldValue)=>{
// console.log("🚀🚀🚀,",newValue)
// },{deep:false})
onMounted(() => { onMounted(() => {
getMonthStartEnd()
GetWatchList()
getInitDate()
console.log('获取cookie', Cookies.get())
}) })
</script> </script>
<style scoped lang="less"> <style scoped>
.my-swipe .van-swipe-item {
width: 100px;
color: #fff;
font-size: 20px;
line-height: 150px;
text-align: center;
background-color: #39ed81;
}
.container {
.dateContainer {
width: 100%;
height: auto;
background-color: #fff;
display: flex;
align-content: center;
margin-top: 10px;
.left, .right {
display: flex;
justify-content: center;
align-items: center;
width: 10%;
height: 50px;
font-size: 25px;
.SlideButton {
}
}
.left:hover, .right:hover {
color: #1989fa;
}
.content {
width: 11.42%;
height: 50px;
//border-radius:150%; //background-color: red;
}
.content:hover {
background-color: #1989fa;
border-radius: 10%;
color: #fff;
}
.right {
}
}
.cardContainer {
margin-top: 10px;
width: 95%;
background-color: #ffffff;
height: 20%;
.cardContent {
//height: 150px;
}
}
}
</style> </style>
import axios from 'axios'; import axios from 'axios';
import Cookies from 'js-cookie' import Cookies from 'js-cookie'
import {showToast} from 'vant'; import {showToast, showNotify} from 'vant';
import 'vant/es/notify/style'
import 'vant/es/toast/style'; import 'vant/es/toast/style';
import dayjs from 'dayjs'; import dayjs from 'dayjs';
import * as api from '../api/index.js' import * as api from '../api/index.js'
...@@ -9,7 +10,7 @@ import * as api from '../api/index.js' ...@@ -9,7 +10,7 @@ import * as api from '../api/index.js'
const axiosInstance = axios.create({ const axiosInstance = axios.create({
// baseURL: 'https://asc.hnasct.cn/DutyManagement', // baseURL: 'https://asc.hnasct.cn/DutyManagement',
baseURL: '/placemanage', // 默认地址代理转换为··域名·· 请求地址为 域名 + baseURL + 动态传入URL baseURL: '/enterpriseclock', // 默认地址代理转换为··域名·· 请求地址为 域名 + baseURL + 动态传入URL
timeout: 10000, // 设置请求超时时间,单位为毫秒 timeout: 10000, // 设置请求超时时间,单位为毫秒
headers: { headers: {
'Content-Type': 'application/json', 'Content-Type': 'application/json',
...@@ -22,12 +23,12 @@ const refreshTokenAction = async () => { ...@@ -22,12 +23,12 @@ const refreshTokenAction = async () => {
if (flag === 1) { if (flag === 1) {
flag = 2; flag = 2;
let currentTime = dayjs(dayjs().valueOf()); let currentTime = dayjs(dayjs().valueOf());
let refreshTime = dayjs(dayjs(Cookies.get('time')).valueOf()); let refreshTime = dayjs(dayjs(Cookies.get('teacher-go2-corporation-wx-time')).valueOf());
if (refreshTime.diff(currentTime) <= 2 * 60 * 60 * 1000) { if (refreshTime.diff(currentTime) <= 2 * 60 * 60 * 1000) {
try { try {
const res = await api.RefreshToken(); const res = await api.RefreshToken();
Cookies.set('site-management-token', res.response.token_content); Cookies.set('teacher-go2-corporation-wx-token', res.response.token_content);
Cookies.set('time', res.response.expires); Cookies.set('teacher-go2-corporation-wx-time', res.response.expires);
} catch (error) { } catch (error) {
console.error('刷新 Token 失败', error); console.error('刷新 Token 失败', error);
} finally { } finally {
...@@ -39,11 +40,11 @@ const refreshTokenAction = async () => { ...@@ -39,11 +40,11 @@ const refreshTokenAction = async () => {
axiosInstance.interceptors.request.use( axiosInstance.interceptors.request.use(
(config) => { (config) => {
// 在发送请求之前可以进行一些处理,例如添加认证信息、日志等 // 在发送请求之前可以进行一些处理,例如添加认证信息、日志等
let token = Cookies.get('site-management-token') let token = Cookies.get('teacher-go2-corporation-wx-token')
config.headers['Authorization'] = 'Bearer ' + token config.headers['Authorization'] = 'Bearer ' + token
if (config.url.indexOf('ImageUpLoad') !== -1) if (config.url.indexOf('ImageUpLoad') !== -1)
config.headers['Content-Type'] = 'multipart/form-data' config.headers['Content-Type'] = 'multipart/form-data'
refreshTokenAction() // refreshTokenAction()
return config; return config;
}, },
(error) => { (error) => {
...@@ -56,7 +57,15 @@ axiosInstance.interceptors.request.use( ...@@ -56,7 +57,15 @@ axiosInstance.interceptors.request.use(
axiosInstance.interceptors.response.use( axiosInstance.interceptors.response.use(
(response) => { (response) => {
// 在这里可以对响应数据进行处理,例如解析JSON、错误处理等 // 在这里可以对响应数据进行处理,例如解析JSON、错误处理等
return response.data; switch (response.data.code) {
case 1 :
return response.data
default :
// 危险通知
showNotify({type: 'danger', message: response.data.msg_detail});
break
}
}, },
(error) => { (error) => {
// 处理响应错误 // 处理响应错误
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
export default { export default {
content: [ content: [
"./index.html", "./index.html",
"./src/**/*.{js,ts,jsx,tsx}", "./src/**/*.{js,ts,jsx,tsx,vue}",
], ],
theme: { theme: {
extend: {}, extend: {},
......
...@@ -23,7 +23,7 @@ export default defineConfig({ ...@@ -23,7 +23,7 @@ export default defineConfig({
proxy: { proxy: {
// 这里的ccc可乱写, 是拼接在url后面的地址 如果接口中没有统一的后缀可自定义 // 这里的ccc可乱写, 是拼接在url后面的地址 如果接口中没有统一的后缀可自定义
// 如果有统一后缀, 如api, 直接写api即可, 也不用rewrite了 // 如果有统一后缀, 如api, 直接写api即可, 也不用rewrite了
"/placemanage": { "/enterpriseclock": {
target: "https://asc.hnasct.cn/", // 真实接口地址, 后端给的基地址 target: "https://asc.hnasct.cn/", // 真实接口地址, 后端给的基地址
changeOrigin: true, // 允许跨域 changeOrigin: true, // 允许跨域
// rewrite: (path) => path.replace(/^\/DutyManagement/, ""), // 将ccc替换为空 // rewrite: (path) => path.replace(/^\/DutyManagement/, ""), // 将ccc替换为空
......
Markdown 格式
0% or
您添加了 0 人 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册 或