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

V20240322 基本完成 待查漏补缺

上级 2cf5ffe4
流水线 #24796 已通过 ,包含阶段
in 38 second
import{b as p,c as u,a as l,d as k,u as m,L as _,o as g,e as f,C as w,f as n,G as a,S as y,g as d}from"./index-Bo_55mFX.js";const R={style:{display:"flex","justify-content":"center","margin-top":"50%"}},A={__name:"SSO",setup(v){const t=m(),c=async o=>{const e=await y(o);if(e===void 0)console.log("🚀🚀🚀,",e),await t.replace({name:"403"});else if(e.response.access_token.token_content!==""){n.set("oneWeekARange-management-token",e.response.access_token.token_content),n.set("time",e.response.access_token.expires);const s=await a();n.set("oneWeekARange-user-info",JSON.stringify(s.response)),await t.replace({name:"welcome"})}},r=async o=>{const e=await d(o);if(e===void 0)await t.replace({name:"403"});else if(e.response.access_token.token_content!==""){n.set("oneWeekARange-management-token",e.response.access_token.token_content),n.set("time",e.response.access_token.expires);const s=await a();n.set("oneWeekARange-user-info",s.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 w();if(e===void 0)await t.replace({name:"403"});else if(e.response.access_token.token_content!==""){n.set("oneWeekARange-management-token",e.response.access_token.token_content),n.set("time",e.response.access_token.expires);const s=await a();n.set("oneWeekARange-user-info",JSON.stringify(s.response)),await t.replace({name:"welcome"})}}})[t.currentRoute.value.query.type]()};return p(()=>{i()}),(o,e)=>{const s=_;return g(),u("div",R,[l(s,{size:"38px",color:"#1989fa",vertical:""},{default:k(()=>[f(" 登录中")]),_:1})])}}};export{A as default};
import{b as p,c as u,a as l,d as k,u as m,L as _,o as g,e as f,C as w,f as n,G as a,S as y,g as d}from"./index-Bgpzs7F8.js";const R={style:{display:"flex","justify-content":"center","margin-top":"50%"}},A={__name:"SSO",setup(v){const t=m(),c=async o=>{const e=await y(o);if(e===void 0)console.log("🚀🚀🚀,",e),await t.replace({name:"403"});else if(e.response.access_token.token_content!==""){n.set("oneWeekARange-management-token",e.response.access_token.token_content),n.set("time",e.response.access_token.expires);const s=await a();n.set("oneWeekARange-user-info",JSON.stringify(s.response)),await t.replace({name:"welcome"})}},r=async o=>{const e=await d(o);if(e===void 0)await t.replace({name:"403"});else if(e.response.access_token.token_content!==""){n.set("oneWeekARange-management-token",e.response.access_token.token_content),n.set("time",e.response.access_token.expires);const s=await a();n.set("oneWeekARange-user-info",s.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 w();if(e===void 0)await t.replace({name:"403"});else if(e.response.access_token.token_content!==""){n.set("oneWeekARange-management-token",e.response.access_token.token_content),n.set("time",e.response.access_token.expires);const s=await a();n.set("oneWeekARange-user-info",JSON.stringify(s.response)),await t.replace({name:"welcome"})}}})[t.currentRoute.value.query.type]()};return p(()=>{i()}),(o,e)=>{const s=_;return g(),u("div",R,[l(s,{size:"38px",color:"#1989fa",vertical:""},{default:k(()=>[f(" 登录中")]),_:1})])}}};export{A as default};
import{b as l,c as k,a as _,d as m,u as y,L as f,o as d,e as g,g as w,f as n,G as o,C as v,S as x}from"./index-Bo_55mFX.js";const R={style:{display:"flex","justify-content":"center","margin-top":"50%"}},O={__name:"SSOInfo",setup(S){const t=y(),c=async a=>{const e=await x(a);if(e===void 0)await t.replace({name:"403"});else if(e.response.access_token.token_content!==""){n.set("oneWeekARange-management-token",e.response.access_token.token_content),n.set("time",e.response.access_token.expires);const s=await o();n.set("oneWeekARange-user-info",JSON.stringify(s.response)),await t.replace({name:"workArrangementFilling"})}},i=async a=>{const e=await(void 0)(a);if(e===void 0)await t.replace({name:"403"});else if(e.response.access_token.token_content!==""){n.set("site-management-token",e.response.access_token.token_content),n.set("time",e.response.access_token.expires);const s=await o();n.set("site-user-info",JSON.stringify(s.response)),await t.replace({name:"myActivity"})}},r=async()=>{({wx:async()=>{let e={token:t.currentRoute.value.query.token};const s=await w(e);if(s===void 0)await t.replace({name:"403"});else if(s.response.access_token.token_content!==""){n.set("site-management-token",s.response.access_token.token_content),n.set("time",s.response.access_token.expires);const u=await o();n.set("site-user-info",JSON.stringify(u.response));let p=t.currentRoute.value.query.id;await t.push({path:"/indexDetail",query:{id:p,pushMessage:1}})}},asc:async()=>{let e={token:t.currentRoute.value.query.token};await c(e)},first:async()=>{let e={sign:t.currentRoute.value.query.sign,code:t.currentRoute.value.query.code,timestamp:t.currentRoute.value.query.timestamp};await i(e)},test:async()=>{const e=await v();if(e===void 0)await t.replace({name:"403"});else if(e.response.access_token.token_content!==""){n.set("site-management-token",e.response.access_token.token_content),n.set("time",e.response.access_token.expires);const s=await o();n.set("site-user-info",JSON.stringify(s.response)),await t.replace({name:"myActivity"})}}})[t.currentRoute.value.query.type]()};return l(()=>{r()}),(a,e)=>{const s=f;return d(),k("div",R,[_(s,{size:"38px",color:"#1989fa",vertical:""},{default:m(()=>[g(" 登录中")]),_:1})])}}};export{O as default};
import{b as l,c as k,a as _,d as m,u as y,L as f,o as d,e as g,g as w,f as n,G as o,C as v,S as x}from"./index-Bgpzs7F8.js";const R={style:{display:"flex","justify-content":"center","margin-top":"50%"}},O={__name:"SSOInfo",setup(S){const t=y(),c=async a=>{const e=await x(a);if(e===void 0)await t.replace({name:"403"});else if(e.response.access_token.token_content!==""){n.set("oneWeekARange-management-token",e.response.access_token.token_content),n.set("time",e.response.access_token.expires);const s=await o();n.set("oneWeekARange-user-info",JSON.stringify(s.response)),await t.replace({name:"workArrangementFilling"})}},i=async a=>{const e=await(void 0)(a);if(e===void 0)await t.replace({name:"403"});else if(e.response.access_token.token_content!==""){n.set("site-management-token",e.response.access_token.token_content),n.set("time",e.response.access_token.expires);const s=await o();n.set("site-user-info",JSON.stringify(s.response)),await t.replace({name:"myActivity"})}},r=async()=>{({wx:async()=>{let e={token:t.currentRoute.value.query.token};const s=await w(e);if(s===void 0)await t.replace({name:"403"});else if(s.response.access_token.token_content!==""){n.set("site-management-token",s.response.access_token.token_content),n.set("time",s.response.access_token.expires);const u=await o();n.set("site-user-info",JSON.stringify(u.response));let p=t.currentRoute.value.query.id;await t.push({path:"/indexDetail",query:{id:p,pushMessage:1}})}},asc:async()=>{let e={token:t.currentRoute.value.query.token};await c(e)},first:async()=>{let e={sign:t.currentRoute.value.query.sign,code:t.currentRoute.value.query.code,timestamp:t.currentRoute.value.query.timestamp};await i(e)},test:async()=>{const e=await v();if(e===void 0)await t.replace({name:"403"});else if(e.response.access_token.token_content!==""){n.set("site-management-token",e.response.access_token.token_content),n.set("time",e.response.access_token.expires);const s=await o();n.set("site-user-info",JSON.stringify(s.response)),await t.replace({name:"myActivity"})}}})[t.currentRoute.value.query.type]()};return l(()=>{r()}),(a,e)=>{const s=f;return d(),k("div",R,[_(s,{size:"38px",color:"#1989fa",vertical:""},{default:m(()=>[g(" 登录中")]),_:1})])}}};export{O as default};
此差异已折叠。
.aaa{writing-mode:vertical-lr}.xxx{z-index:99999;transform:translateZ(1001000px)}
因为 它太大了无法显示 源差异 。您可以改为 查看blob。
import{B as a,b as t,c as s,a as c,D as e,o as n,a5 as l}from"./index-Bo_55mFX.js";const i={class:"publicContainerNoPadding"},_=e("div",{class:"w-full h-[10px]"},null,-1),d=e("div",{class:"w-full h-[calc(100%-56px)] p-2 overflow-y-auto"},null,-1),h={__name:"index",setup(r){return a({fillInWork:{show:!1}}),t(()=>{document.title="系统配置"}),(p,u)=>{const o=l;return n(),s("div",i,[c(o,{path:"/welcome",title:"分管填报记录查看"}),_,d])}}};export{h as default};
import{B as a,b as t,c as s,a as c,E as e,o as n,a5 as l}from"./index-Bgpzs7F8.js";const i={class:"publicContainerNoPadding"},_=e("div",{class:"w-full h-[10px]"},null,-1),d=e("div",{class:"w-full h-[calc(100%-56px)] p-2 overflow-y-auto"},null,-1),h={__name:"index",setup(r){return a({fillInWork:{show:!1}}),t(()=>{document.title="系统配置"}),(p,u)=>{const o=l;return n(),s("div",i,[c(o,{path:"/welcome",title:"分管填报记录查看"}),_,d])}}};export{h as default};
import{i as d,l as f,n as y,a as s,F as c,al as h,am as v,h as z}from"./index-Bo_55mFX.js";const[u,A]=d("space"),w={align:String,direction:{type:String,default:"horizontal"},size:{type:[Number,String,Array],default:8},wrap:Boolean,fill:Boolean};function m(e=[]){const n=[];return e.forEach(t=>{Array.isArray(t)?n.push(...t):t.type===c?n.push(...m(t.children)):n.push(t)}),n.filter(t=>{var i;return!(t&&(t.type===h||t.type===c&&((i=t.children)==null?void 0:i.length)===0||t.type===v&&t.children.trim()===""))})}var S=f({name:u,props:w,setup(e,{slots:n}){const t=y(()=>{var a;return(a=e.align)!=null?a:e.direction==="horizontal"?"center":""}),i=a=>typeof a=="number"?a+"px":a,g=a=>{const r={},o=`${i(Array.isArray(e.size)?e.size[0]:e.size)}`,l=`${i(Array.isArray(e.size)?e.size[1]:e.size)}`;return a?e.wrap?{marginBottom:l}:{}:(e.direction==="horizontal"&&(r.marginRight=o),(e.direction==="vertical"||e.wrap)&&(r.marginBottom=l),r)};return()=>{var a;const r=m((a=n.default)==null?void 0:a.call(n));return s("div",{class:[A({[e.direction]:e.direction,[`align-${t.value}`]:t.value,wrap:e.wrap,fill:e.fill})]},[r.map((o,l)=>s("div",{key:`item-${l}`,class:`${u}-item`,style:g(l===r.length-1)},[o]))])}}});const B=z(S);export{B as S};
import{i as d,l as f,n as y,a as s,F as c,b3 as h,b4 as v,h as z}from"./index-Bgpzs7F8.js";const[u,A]=d("space"),w={align:String,direction:{type:String,default:"horizontal"},size:{type:[Number,String,Array],default:8},wrap:Boolean,fill:Boolean};function m(e=[]){const a=[];return e.forEach(t=>{Array.isArray(t)?a.push(...t):t.type===c?a.push(...m(t.children)):a.push(t)}),a.filter(t=>{var i;return!(t&&(t.type===h||t.type===c&&((i=t.children)==null?void 0:i.length)===0||t.type===v&&t.children.trim()===""))})}var S=f({name:u,props:w,setup(e,{slots:a}){const t=y(()=>{var n;return(n=e.align)!=null?n:e.direction==="horizontal"?"center":""}),i=n=>typeof n=="number"?n+"px":n,g=n=>{const r={},o=`${i(Array.isArray(e.size)?e.size[0]:e.size)}`,l=`${i(Array.isArray(e.size)?e.size[1]:e.size)}`;return n?e.wrap?{marginBottom:l}:{}:(e.direction==="horizontal"&&(r.marginRight=o),(e.direction==="vertical"||e.wrap)&&(r.marginBottom=l),r)};return()=>{var n;const r=m((n=a.default)==null?void 0:n.call(a));return s("div",{class:[A({[e.direction]:e.direction,[`align-${t.value}`]:t.value,wrap:e.wrap,fill:e.fill})]},[r.map((o,l)=>s("div",{key:`item-${l}`,class:`${u}-item`,style:g(l===r.length-1)},[o]))])}}});const $=z(S);export{$ as S};
import{A as w,r as y,B as k,b as v,c as x,a as o,D as l,d as n,a4 as C,a3 as g,o as i,e as r,E as I,H as W,a5 as b,a2 as B}from"./index-Bo_55mFX.js";function A(a){return w.get("/api/Common/GetAheadWriteSwitch",a)}const N={class:"publicContainerNoPadding"},D={class:"w-full h-[calc(100%-120px)] p-3 py-2 overflow-y-auto"},V={class:"w-full h-full flex items-center justify-between p-3"},E={__name:"index",setup(a){const s=y(),e=k({role:"0",data:{myFillingIn:[]},fillInWork:{show:!1}});function _(){e.fillInWork.show=!0}function d(){s.value.save()}function u(t){e.fillInWork.show=t}function f(){A().then(t=>{e.role=t.response})}return v(()=>{f()}),(t,G)=>{const p=b,m=C,c=B,h=g;return i(),x("div",N,[o(p,{path:"/welcome",title:"工作安排填报"}),l("div",D,[o(m,{ref_key:"saveRef",ref:s,show:e.fillInWork.show,onCloseDateComponent:u},null,8,["show"])]),o(h,null,{default:n(()=>[l("div",V,[o(c,{style:{"border-radius":"8px"},type:"primary",class:"w-[28%]",plain:"",onClick:d},{default:n(()=>[r("保存")]),_:1}),e.role==1?(i(),I(c,{key:0,style:{"border-radius":"8px"},type:"primary",class:"w-[70%]",onClick:_},{default:n(()=>[r(" 添加日期 ")]),_:1})):W("",!0)])]),_:1})])}}};export{E as default};
import{A as w,r as y,B as k,b as v,c as x,a as o,E as l,d as n,a4 as C,a3 as I,o as i,e as r,H as g,I as W,a5 as b,a2 as B}from"./index-Bgpzs7F8.js";function A(a){return w.get("/api/Common/GetAheadWriteSwitch",a)}const N={class:"publicContainerNoPadding"},V={class:"w-full h-[calc(100%-120px)] p-3 py-2 overflow-y-auto"},D={class:"w-full h-full flex items-center justify-between p-3"},E={__name:"index",setup(a){const s=y(),e=k({role:"0",data:{myFillingIn:[]},fillInWork:{show:!1}});function _(){e.fillInWork.show=!0}function d(){s.value.save()}function u(t){e.fillInWork.show=t}function f(){A().then(t=>{e.role=t.response})}return v(()=>{f()}),(t,G)=>{const p=b,m=C,c=B,h=I;return i(),x("div",N,[o(p,{path:"/welcome",title:"工作安排填报"}),l("div",V,[o(m,{ref_key:"saveRef",ref:s,show:e.fillInWork.show,onCloseDateComponent:u},null,8,["show"])]),o(h,null,{default:n(()=>[l("div",D,[o(c,{style:{"border-radius":"8px"},type:"primary",class:"w-[28%]",plain:"",onClick:d},{default:n(()=>[r("保存")]),_:1}),e.role==1?(i(),g(c,{key:0,style:{"border-radius":"8px"},type:"primary",class:"w-[70%]",onClick:_},{default:n(()=>[r(" 添加日期 ")]),_:1})):W("",!0)])]),_:1})])}}};export{E as default};
此差异已折叠。
此差异已折叠。
此差异已折叠。
import{_ as e}from"./index-Bo_55mFX.js";const n={};function r(c,t){return null}const o=e(n,[["render",r]]);export{o as default};
import{_ as e}from"./index-Bgpzs7F8.js";const n={};function r(c,t){return null}const o=e(n,[["render",r]]);export{o as default};
import{c as r,a as e,F as c,u as s,o as _,w as m,N as i}from"./index-Bo_55mFX.js";import{E as l}from"./index-x7aMcd5C.js";const k={__name:"index",setup(p){const t=s(),a=()=>t.back();return(u,f)=>{const n=i,o=l;return _(),r(c,null,[e(n,{"left-text":"返回","left-arrow":"",onClickLeft:a}),e(o,{image:m,style:{width:"100%",height:"100%"},description:"用户无权限,请重新登录!"},null,8,["image"])],64)}}};export{k as default};
import{c as r,a as e,F as c,u as s,o as _,w as m,N as i}from"./index-Bgpzs7F8.js";import{E as l}from"./index-DnpnKpnq.js";const k={__name:"index",setup(p){const t=s(),a=()=>t.back();return(u,f)=>{const n=i,o=l;return _(),r(c,null,[e(n,{"left-text":"返回","left-arrow":"",onClickLeft:a}),e(o,{image:m,style:{width:"100%",height:"100%"},description:"用户无权限,请重新登录!"},null,8,["image"])],64)}}};export{k as default};
import{i as v,l as w,aj as G,a as e,ak as k,ad as M,h as B}from"./index-Bo_55mFX.js";const[S,s]=v("empty"),C={image:M("default"),imageSize:[Number,String,Array],description:String};var z=w({name:S,props:C,setup(o,{slots:a}){const F=()=>{const r=a.description?a.description():o.description;if(r)return e("p",{class:s("description")},[r])},u=()=>{if(a.default)return e("div",{class:s("bottom")},[a.default()])},f=G(),t=r=>`${f}-${r}`,l=r=>`url(#${t(r)})`,i=(r,d,D)=>e("stop",{"stop-color":r,offset:`${d}%`,"stop-opacity":D},null),n=(r,d)=>[i(r,0),i(d,100)],x=r=>[e("defs",null,[e("radialGradient",{id:t(r),cx:"50%",cy:"54%",fx:"50%",fy:"54%",r:"297%",gradientTransform:"matrix(-.16 0 0 -.33 .58 .72)"},[i("#EBEDF0",0),i("#F2F3F5",100,.3)])]),e("ellipse",{fill:l(r),opacity:".8",cx:"80",cy:"140",rx:"46",ry:"8"},null)],c=()=>[e("defs",null,[e("linearGradient",{id:t("a"),x1:"64%",y1:"100%",x2:"64%"},[i("#FFF",0,.5),i("#F2F3F5",100)])]),e("g",{opacity:".8"},[e("path",{d:"M36 131V53H16v20H2v58h34z",fill:l("a")},null),e("path",{d:"M123 15h22v14h9v77h-31V15z",fill:l("a")},null)])],h=()=>[e("defs",null,[e("linearGradient",{id:t("b"),x1:"64%",y1:"97%",x2:"64%",y2:"0%"},[i("#F2F3F5",0,.3),i("#F2F3F5",100)])]),e("g",{opacity:".8"},[e("path",{d:"M87 6c3 0 7 3 8 6a8 8 0 1 1-1 16H80a7 7 0 0 1-8-6c0-4 3-7 6-7 0-5 4-9 9-9Z",fill:l("b")},null),e("path",{d:"M19 23c2 0 3 1 4 3 2 0 4 2 4 4a4 4 0 0 1-4 3v1h-7v-1l-1 1c-2 0-3-2-3-4 0-1 1-3 3-3 0-2 2-4 4-4Z",fill:l("b")},null)])],y=()=>e("svg",{viewBox:"0 0 160 160"},[e("defs",null,[e("linearGradient",{id:t(1),x1:"64%",y1:"100%",x2:"64%"},[i("#FFF",0,.5),i("#F2F3F5",100)]),e("linearGradient",{id:t(2),x1:"50%",x2:"50%",y2:"84%"},[i("#EBEDF0",0),i("#DCDEE0",100,0)]),e("linearGradient",{id:t(3),x1:"100%",x2:"100%",y2:"100%"},[n("#EAEDF0","#DCDEE0")]),e("radialGradient",{id:t(4),cx:"50%",cy:"0%",fx:"50%",fy:"0%",r:"100%",gradientTransform:"matrix(0 1 -.54 0 .5 -.5)"},[i("#EBEDF0",0),i("#FFF",100,0)])]),e("g",{fill:"none"},[c(),e("path",{fill:l(4),d:"M0 139h160v21H0z"},null),e("path",{d:"M80 54a7 7 0 0 1 3 13v27l-2 2h-2a2 2 0 0 1-2-2V67a7 7 0 0 1 3-13z",fill:l(2)},null),e("g",{opacity:".6","stroke-linecap":"round","stroke-width":"7"},[e("path",{d:"M64 47a19 19 0 0 0-5 13c0 5 2 10 5 13",stroke:l(3)},null),e("path",{d:"M53 36a34 34 0 0 0 0 48",stroke:l(3)},null),e("path",{d:"M95 73a19 19 0 0 0 6-13c0-5-2-9-6-13",stroke:l(3)},null),e("path",{d:"M106 84a34 34 0 0 0 0-48",stroke:l(3)},null)]),e("g",{transform:"translate(31 105)"},[e("rect",{fill:"#EBEDF0",width:"98",height:"34",rx:"2"},null),e("rect",{fill:"#FFF",x:"9",y:"8",width:"80",height:"18",rx:"1.1"},null),e("rect",{fill:"#EBEDF0",x:"15",y:"12",width:"18",height:"6",rx:"1.1"},null)])])]),E=()=>e("svg",{viewBox:"0 0 160 160"},[e("defs",null,[e("linearGradient",{x1:"50%",x2:"50%",y2:"100%",id:t(5)},[n("#F2F3F5","#DCDEE0")]),e("linearGradient",{x1:"95%",y1:"48%",x2:"5.5%",y2:"51%",id:t(6)},[n("#EAEDF1","#DCDEE0")]),e("linearGradient",{y1:"45%",x2:"100%",y2:"54%",id:t(7)},[n("#EAEDF1","#DCDEE0")])]),c(),h(),e("g",{transform:"translate(36 50)",fill:"none"},[e("g",{transform:"translate(8)"},[e("rect",{fill:"#EBEDF0",opacity:".6",x:"38",y:"13",width:"36",height:"53",rx:"2"},null),e("rect",{fill:l(5),width:"64",height:"66",rx:"2"},null),e("rect",{fill:"#FFF",x:"6",y:"6",width:"52",height:"55",rx:"1"},null),e("g",{transform:"translate(15 17)",fill:l(6)},[e("rect",{width:"34",height:"6",rx:"1"},null),e("path",{d:"M0 14h34v6H0z"},null),e("rect",{y:"28",width:"34",height:"6",rx:"1"},null)])]),e("rect",{fill:l(7),y:"61",width:"88",height:"28",rx:"1"},null),e("rect",{fill:"#F7F8FA",x:"29",y:"72",width:"30",height:"6",rx:"1"},null)])]),g=()=>e("svg",{viewBox:"0 0 160 160"},[e("defs",null,[e("linearGradient",{x1:"50%",x2:"50%",y2:"100%",id:t(8)},[n("#EAEDF1","#DCDEE0")])]),c(),h(),x("c"),e("path",{d:"m59 60 21 21 21-21h3l9 9v3L92 93l21 21v3l-9 9h-3l-21-21-21 21h-3l-9-9v-3l21-21-21-21v-3l9-9h3Z",fill:l(8)},null)]),p=()=>e("svg",{viewBox:"0 0 160 160"},[e("defs",null,[e("linearGradient",{x1:"50%",y1:"100%",x2:"50%",id:t(9)},[n("#EEE","#D8D8D8")]),e("linearGradient",{x1:"100%",y1:"50%",y2:"50%",id:t(10)},[n("#F2F3F5","#DCDEE0")]),e("linearGradient",{x1:"50%",x2:"50%",y2:"100%",id:t(11)},[n("#F2F3F5","#DCDEE0")]),e("linearGradient",{x1:"50%",x2:"50%",y2:"100%",id:t(12)},[n("#FFF","#F7F8FA")])]),c(),h(),x("d"),e("g",{transform:"rotate(-45 113 -4)",fill:"none"},[e("rect",{fill:l(9),x:"24",y:"52.8",width:"5.8",height:"19",rx:"1"},null),e("rect",{fill:l(10),x:"22.1",y:"67.3",width:"9.9",height:"28",rx:"1"},null),e("circle",{stroke:l(11),"stroke-width":"8",cx:"27",cy:"27",r:"27"},null),e("circle",{fill:l(12),cx:"27",cy:"27",r:"16"},null),e("path",{d:"M37 7c-8 0-15 5-16 12",stroke:l(11),"stroke-width":"3",opacity:".5","stroke-linecap":"round",transform:"rotate(45 29 13)"},null)])]),m=()=>{var r;if(a.image)return a.image();const d={error:g,search:p,network:y,default:E};return((r=d[o.image])==null?void 0:r.call(d))||e("img",{src:o.image},null)};return()=>e("div",{class:s()},[e("div",{class:s("image"),style:k(o.imageSize)},[m()]),F(),u()])}});const b=B(z);export{b as E};
import{i as v,l as w,as as G,a as e,b2 as k,ao as M,h as B}from"./index-Bgpzs7F8.js";const[S,s]=v("empty"),C={image:M("default"),imageSize:[Number,String,Array],description:String};var b=w({name:S,props:C,setup(o,{slots:a}){const F=()=>{const r=a.description?a.description():o.description;if(r)return e("p",{class:s("description")},[r])},u=()=>{if(a.default)return e("div",{class:s("bottom")},[a.default()])},f=G(),t=r=>`${f}-${r}`,l=r=>`url(#${t(r)})`,i=(r,d,D)=>e("stop",{"stop-color":r,offset:`${d}%`,"stop-opacity":D},null),n=(r,d)=>[i(r,0),i(d,100)],x=r=>[e("defs",null,[e("radialGradient",{id:t(r),cx:"50%",cy:"54%",fx:"50%",fy:"54%",r:"297%",gradientTransform:"matrix(-.16 0 0 -.33 .58 .72)"},[i("#EBEDF0",0),i("#F2F3F5",100,.3)])]),e("ellipse",{fill:l(r),opacity:".8",cx:"80",cy:"140",rx:"46",ry:"8"},null)],c=()=>[e("defs",null,[e("linearGradient",{id:t("a"),x1:"64%",y1:"100%",x2:"64%"},[i("#FFF",0,.5),i("#F2F3F5",100)])]),e("g",{opacity:".8"},[e("path",{d:"M36 131V53H16v20H2v58h34z",fill:l("a")},null),e("path",{d:"M123 15h22v14h9v77h-31V15z",fill:l("a")},null)])],h=()=>[e("defs",null,[e("linearGradient",{id:t("b"),x1:"64%",y1:"97%",x2:"64%",y2:"0%"},[i("#F2F3F5",0,.3),i("#F2F3F5",100)])]),e("g",{opacity:".8"},[e("path",{d:"M87 6c3 0 7 3 8 6a8 8 0 1 1-1 16H80a7 7 0 0 1-8-6c0-4 3-7 6-7 0-5 4-9 9-9Z",fill:l("b")},null),e("path",{d:"M19 23c2 0 3 1 4 3 2 0 4 2 4 4a4 4 0 0 1-4 3v1h-7v-1l-1 1c-2 0-3-2-3-4 0-1 1-3 3-3 0-2 2-4 4-4Z",fill:l("b")},null)])],y=()=>e("svg",{viewBox:"0 0 160 160"},[e("defs",null,[e("linearGradient",{id:t(1),x1:"64%",y1:"100%",x2:"64%"},[i("#FFF",0,.5),i("#F2F3F5",100)]),e("linearGradient",{id:t(2),x1:"50%",x2:"50%",y2:"84%"},[i("#EBEDF0",0),i("#DCDEE0",100,0)]),e("linearGradient",{id:t(3),x1:"100%",x2:"100%",y2:"100%"},[n("#EAEDF0","#DCDEE0")]),e("radialGradient",{id:t(4),cx:"50%",cy:"0%",fx:"50%",fy:"0%",r:"100%",gradientTransform:"matrix(0 1 -.54 0 .5 -.5)"},[i("#EBEDF0",0),i("#FFF",100,0)])]),e("g",{fill:"none"},[c(),e("path",{fill:l(4),d:"M0 139h160v21H0z"},null),e("path",{d:"M80 54a7 7 0 0 1 3 13v27l-2 2h-2a2 2 0 0 1-2-2V67a7 7 0 0 1 3-13z",fill:l(2)},null),e("g",{opacity:".6","stroke-linecap":"round","stroke-width":"7"},[e("path",{d:"M64 47a19 19 0 0 0-5 13c0 5 2 10 5 13",stroke:l(3)},null),e("path",{d:"M53 36a34 34 0 0 0 0 48",stroke:l(3)},null),e("path",{d:"M95 73a19 19 0 0 0 6-13c0-5-2-9-6-13",stroke:l(3)},null),e("path",{d:"M106 84a34 34 0 0 0 0-48",stroke:l(3)},null)]),e("g",{transform:"translate(31 105)"},[e("rect",{fill:"#EBEDF0",width:"98",height:"34",rx:"2"},null),e("rect",{fill:"#FFF",x:"9",y:"8",width:"80",height:"18",rx:"1.1"},null),e("rect",{fill:"#EBEDF0",x:"15",y:"12",width:"18",height:"6",rx:"1.1"},null)])])]),E=()=>e("svg",{viewBox:"0 0 160 160"},[e("defs",null,[e("linearGradient",{x1:"50%",x2:"50%",y2:"100%",id:t(5)},[n("#F2F3F5","#DCDEE0")]),e("linearGradient",{x1:"95%",y1:"48%",x2:"5.5%",y2:"51%",id:t(6)},[n("#EAEDF1","#DCDEE0")]),e("linearGradient",{y1:"45%",x2:"100%",y2:"54%",id:t(7)},[n("#EAEDF1","#DCDEE0")])]),c(),h(),e("g",{transform:"translate(36 50)",fill:"none"},[e("g",{transform:"translate(8)"},[e("rect",{fill:"#EBEDF0",opacity:".6",x:"38",y:"13",width:"36",height:"53",rx:"2"},null),e("rect",{fill:l(5),width:"64",height:"66",rx:"2"},null),e("rect",{fill:"#FFF",x:"6",y:"6",width:"52",height:"55",rx:"1"},null),e("g",{transform:"translate(15 17)",fill:l(6)},[e("rect",{width:"34",height:"6",rx:"1"},null),e("path",{d:"M0 14h34v6H0z"},null),e("rect",{y:"28",width:"34",height:"6",rx:"1"},null)])]),e("rect",{fill:l(7),y:"61",width:"88",height:"28",rx:"1"},null),e("rect",{fill:"#F7F8FA",x:"29",y:"72",width:"30",height:"6",rx:"1"},null)])]),g=()=>e("svg",{viewBox:"0 0 160 160"},[e("defs",null,[e("linearGradient",{x1:"50%",x2:"50%",y2:"100%",id:t(8)},[n("#EAEDF1","#DCDEE0")])]),c(),h(),x("c"),e("path",{d:"m59 60 21 21 21-21h3l9 9v3L92 93l21 21v3l-9 9h-3l-21-21-21 21h-3l-9-9v-3l21-21-21-21v-3l9-9h3Z",fill:l(8)},null)]),p=()=>e("svg",{viewBox:"0 0 160 160"},[e("defs",null,[e("linearGradient",{x1:"50%",y1:"100%",x2:"50%",id:t(9)},[n("#EEE","#D8D8D8")]),e("linearGradient",{x1:"100%",y1:"50%",y2:"50%",id:t(10)},[n("#F2F3F5","#DCDEE0")]),e("linearGradient",{x1:"50%",x2:"50%",y2:"100%",id:t(11)},[n("#F2F3F5","#DCDEE0")]),e("linearGradient",{x1:"50%",x2:"50%",y2:"100%",id:t(12)},[n("#FFF","#F7F8FA")])]),c(),h(),x("d"),e("g",{transform:"rotate(-45 113 -4)",fill:"none"},[e("rect",{fill:l(9),x:"24",y:"52.8",width:"5.8",height:"19",rx:"1"},null),e("rect",{fill:l(10),x:"22.1",y:"67.3",width:"9.9",height:"28",rx:"1"},null),e("circle",{stroke:l(11),"stroke-width":"8",cx:"27",cy:"27",r:"27"},null),e("circle",{fill:l(12),cx:"27",cy:"27",r:"16"},null),e("path",{d:"M37 7c-8 0-15 5-16 12",stroke:l(11),"stroke-width":"3",opacity:".5","stroke-linecap":"round",transform:"rotate(45 29 13)"},null)])]),m=()=>{var r;if(a.image)return a.image();const d={error:g,search:p,network:y,default:E};return((r=d[o.image])==null?void 0:r.call(d))||e("img",{src:o.image},null)};return()=>e("div",{class:s()},[e("div",{class:s("image"),style:k(o.imageSize)},[m()]),F(),u()])}});const A=B(b);export{A as E};
此差异已折叠。
此差异已折叠。
因为 它太大了无法显示 源差异 。您可以改为 查看blob。
.aaa[data-v-6df53991]{writing-mode:vertical-lr}.xxx[data-v-6df53991]{z-index:99999;transform:translateZ(1001000px)}[data-v-6df53991] .el-radio-button__original-radio:checked+.el-radio-button__inner{background-color:#fff;border-color:var(--el-radio-button-checked-border-color,var(--el-color-primary));box-shadow:-1px 0 0 0 var(--el-radio-button-checked-border-color,var(--el-color-primary));color:var(--el-radio-button-checked-bg-color,var(--el-color-primary))}
......@@ -6,8 +6,8 @@
<meta name="viewport"
content="width=device-width, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0, viewport-fit=cover, user-scalable=0">
<title></title>
<script type="module" crossorigin src="./assets/index-Bo_55mFX.js"></script>
<link rel="stylesheet" crossorigin href="./assets/index-HDhhK1_s.css">
<script type="module" crossorigin src="./assets/index-Bgpzs7F8.js"></script>
<link rel="stylesheet" crossorigin href="./assets/index-D74Ijz5k.css">
</head>
<body>
<div id="app"></div>
......
此差异已折叠。
<template>
<van-cell-group style="width: 100%;margin-top: 10px">
<van-cell-group style="width: 100%;margin-top: 5px">
<van-swipe
ref="swipe"
@touchstart="touchStart"
......@@ -11,10 +11,13 @@
>
<van-swipe-item style="width: 100%;height: 55px"
>
<div class="w-full h-[55px] flex ">
<div class="w-[20%] h-full flex justify-center items-center mb-3">{{ dateArray.month }}月</div>
<div class="w-full h-[55px] flex text-[#646566]">
<div @click="reductionDate" class="w-[50px] h-full ccFlex text-[#D4D4D4]">
<van-icon name="arrow-left"/>
</div>
<div class="w-[18%] h-full flex justify-center items-center mb-3">{{ dateArray.month }}月</div>
<div
:style="{background:item.bg,color:item.acColor,width:'16%',height:'100%'} "
:style="{background:item.bg,color:item.acColor,width:'20%',height:'100%'} "
:class="['animate__animated animate__fadeIn','animate__animated animate__fadeIn'][Number(dateArray.animationFlag)] "
v-for="(item,index) in dateArray.array" :key="index">
<div @click="centerDateValue(item.date,$parent)" :style="{color: item.color}"
......@@ -28,15 +31,23 @@
</div>
</div>
</div>
<div @click="addDate" class="w-[50px] h-full ccFlex text-[#D4D4D4]">
<van-icon name="arrow"/>
</div>
</div>
</van-swipe-item>
<van-swipe-item style="width: 100%;height: 55px"
>
<div class="w-full h-[55px] flex ">
<div class="w-[20%] h-full flex justify-center items-center mb-3">{{ dateArray.month }}月</div>
<div class="w-full h-[55px] flex text-[#646566]">
<div @click="reductionDate" class="w-[50px] h-full ccFlex text-[#D4D4D4]">
<van-icon name="arrow-left"/>
</div>
<div class="w-[18%] h-full flex justify-center items-center mb-3">{{ dateArray.month }}月</div>
<div
:style="{background:item.bg,width:'16%',height:'100%'}"
:class="['animate__animated animate__fadeIn','animate__animated animate__fadeIn'][Number(dateArray.animationFlag)]"
:style="{background:item.bg,color:item.acColor,width:'20%',height:'100%'} "
:class="['animate__animated animate__fadeIn','animate__animated animate__fadeIn'][Number(dateArray.animationFlag)] "
v-for="(item,index) in dateArray.array" :key="index">
<div @click="centerDateValue(item.date,$parent)" :style="{color: item.color}"
class="w-full h-full flex flex-wrap justify-center items-center ">
......@@ -49,6 +60,11 @@
</div>
</div>
</div>
<div @click="addDate" class="w-[50px] h-full ccFlex text-[#D4D4D4]">
<van-icon name="arrow"/>
</div>
</div>
</van-swipe-item>
</van-swipe>
......
......@@ -56,9 +56,18 @@
v-if="validateCp(item.date) === false &&item.is_allday == 1 ||validateCp(item.date) === false &&item.is_allday == 0"
class="w-[40%] h-[45px] flex items-center justify-end p-1 ">
<div>
<van-switch :active-value="1" :inactive-value="0"
v-model="item.is_allday ">
</van-switch>
<!-- <van-switch :active-value="1" :inactive-value="0"-->
<!-- v-model="item.is_allday ">-->
<!-- </van-switch>-->
<el-switch
:active-value="1"
:inactive-value="0"
v-model="item.is_allday"
size="large"
inline-prompt
active-text="全天"
inactive-text="半天"
></el-switch>
</div>
</div>
</div>
......@@ -100,9 +109,18 @@
v-if="validateCp(item.date) === false &&item.is_allday == 1 ||validateCp(item.date) === false &&item.is_allday == 0"
class="w-[40%] h-[45px] flex items-center justify-end p-1 ">
<div>
<van-switch :active-value="1" :inactive-value="0"
v-model="item.is_allday ">
</van-switch>
<!-- <van-switch :active-value="1" :inactive-value="0"-->
<!-- v-model="item.is_allday ">-->
<!-- </van-switch>-->
<el-switch
:active-value="1"
:inactive-value="0"
v-model="item.is_allday"
size="large"
inline-prompt
active-text="全天"
inactive-text="半天"
></el-switch>
</div>
</div>
</div>
......@@ -229,7 +247,7 @@ function traverseTheFillDateData(dateArray) {
"week": cu.weekday,
"fore_plan": "",
"after_plan": "",
"is_allday": 1,
"is_allday": 0,
"is_del": 0,
"modify_time": '',
"modifyby": '',
......
......@@ -16,7 +16,7 @@
<!-- {{ props.data.attention !== void 0 ? ['关注', '取消关注'][props.data.attention] : '取消关注' }}-->
<!-- </van-button>-->
<!-- </div>-->
<van-button @click="cancel($parent,props.data)" color="#fd9700" plain
<van-button @click="cancel($parent,props.data)" :type="['default','warning'][props.data.attention]" plain
size="small">
{{ props.data.attention !== void 0 ? ['关注', '已关注'][props.data.attention] : '已关注' }}
</van-button>
......
......@@ -5,7 +5,7 @@
position="bottom"
:style="{ height: props.height+'%' }"
:close-on-click-overlay="false"
:closeable="true"
:closeable="props.close"
@click-close-icon="closePopUp"
>
<!-- @click-close-icon="closePopUp"-->
......@@ -27,6 +27,10 @@ const props = defineProps({
height: {
type: Number,
default: 90
},
close: {
type: Boolean,
default: true,
}
})
const emit = defineEmits(['actionPopUp'])
......
<template>
<van-cell-group style="width: 100%;margin-top: 10px">
<van-cell-group style="width: 100%;margin-top: 5px">
<van-swipe
ref="swipe"
@touchstart="touchStart"
......@@ -11,10 +11,13 @@
>
<van-swipe-item style="width: 100%;height: 55px"
>
<div class="w-full h-[55px] flex ">
<div class="w-[105px] h-full flex justify-center items-center mb-3">{{ dateArray.month }}月</div>
<div class="w-full h-[55px] flex text-[#646566]">
<div @click="reductionDate1($parent)" class="w-[40px] h-full ccFlex text-[#D4D4D4]">
<van-icon name="arrow-left"/>
</div>
<div class="w-[40px] h-full flex justify-center items-center mb-3">{{ dateArray.month }}月</div>
<div
:style="{background:item.bg,color:item.acColor,width:'13%',height:'100%'} "
:style="{background:item.bg,color:item.acColor,width:'20%',height:'100%'} "
:class="['animate__animated animate__fadeIn','animate__animated animate__fadeIn'][Number(dateArray.animationFlag)] "
v-for="(item,index) in dateArray.array" :key="index">
<div @click="centerDateValue(item.date,$parent)" :style="{color: item.color}"
......@@ -28,16 +31,22 @@
</div>
</div>
</div>
<div class="w-[35px] h-full"></div>
<!-- <div class="w-[35px] h-full"></div>-->
<div @click="addDate1($parent)" class="w-[40px] h-full ccFlex text-[#D4D4D4]">
<van-icon name="arrow"/>
</div>
</div>
</van-swipe-item>
<van-swipe-item style="width: 100%;height: 55px"
>
<div class="w-full h-[55px] flex ">
<div class="w-[105px] h-full flex justify-center items-center mb-3">{{ dateArray.month }}月</div>
<div class="w-full h-[55px] flex text-[#646566]">
<div @click="reductionDate1($parent)" class="w-[40px] h-full ccFlex text-[#D4D4D4]">
<van-icon name="arrow-left"/>
</div>
<div class="w-[40px] h-full flex justify-center items-center mb-3">{{ dateArray.month }}月</div>
<div
:style="{background:item.bg,width:'13%',height:'100%'}"
:class="['animate__animated animate__fadeIn','animate__animated animate__fadeIn'][Number(dateArray.animationFlag)]"
:style="{background:item.bg,color:item.acColor,width:'20%',height:'100%'} "
:class="['animate__animated animate__fadeIn','animate__animated animate__fadeIn'][Number(dateArray.animationFlag)] "
v-for="(item,index) in dateArray.array" :key="index">
<div @click="centerDateValue(item.date,$parent)" :style="{color: item.color}"
class="w-full h-full flex flex-wrap justify-center items-center ">
......@@ -50,7 +59,10 @@
</div>
</div>
</div>
<div class="w-[35px] h-full"></div>
<!-- <div class="w-[35px] h-full"></div>-->
<div @click="addDate1($parent)" class="w-[40px] h-full ccFlex text-[#D4D4D4]">
<van-icon name="arrow"/>
</div>
</div>
</van-swipe-item>
</van-swipe>
......@@ -309,6 +321,33 @@ const getInitDate = () => {
dateArray.month = dateArray.array[0].month
}
function reductionDate1(parent) {
reductionDate()
if (!parent.init.switchView.show) {
parent.init.paramsWeek = {
...parent.init.paramsWeek,
begin_time: dateArray.array[0].date,
end_time: dateArray.array[dateArray.array.length - 1].date
}
parent.GetPlanProjectByWeekList()
}
dateArray.animationFlag = !dateArray.animationFlag
}
function addDate1(parent) {
addDate()
if (!parent.init.switchView.show) {
parent.init.paramsWeek = {
...parent.init.paramsWeek,
begin_time: dateArray.array[0].date,
end_time: dateArray.array[dateArray.array.length - 1].date
}
parent.GetPlanProjectByWeekList()
}
dateArray.animationFlag = !dateArray.animationFlag
}
function getWeekdays(dateStr) {
//基于一个日期 获取这个日期的周一到周五 且去除双休日
let inputDate = new Date(dateStr);
......
......@@ -29,7 +29,12 @@ import weekDate from '@/components/weekDate.vue'
import loading from '@/components/loading.vue'
import headerInput from '@/components/headerInput.vue'
import ElementPlus from 'element-plus'
import 'element-plus/dist/index.css'
const app = createApp(App)
app.use(ElementPlus)
//使用测试按钮Vxonsole
// const vConsole = new VConsole();
app.config.globalProperties.$cookies = VueCookies
......
......@@ -15,7 +15,9 @@
<!-- content-position="left">-->
<!-- 我的关注-->
<!-- </van-divider>-->
<div class="w-full h-[25px] text-[14px] text-[#646566] flex items-center mb-1">我的关注</div>
<div v-if="!!init.data.myFocus.length" class="w-full h-[25px] text-[14px] text-[#646566] flex items-center mb-1">
我的关注
</div>
<my-focus-card v-for="(item,index) in init.data.myFocus" :key="index"
:alldayOrMidafternoonStatus="Boolean(Number(item.is_allday))"
:data="item"
......@@ -64,6 +66,7 @@
<template #content>
<div class="w-full h-[calc(100%-64px)] bg-gray-200 relative overflow-y-auto" :key="init.calendarKey">
<loading :show="init.loading"></loading>
<div class="w-full h-[45px] bg-white flex justify-center items-center">
<span class="text-5 text-[#8D8D8D]">填报配置</span>
......@@ -92,13 +95,20 @@
</van-cell>
<div class="w-full h-[10px] bg-gray-200"></div>
<van-cell inset title="未填写提醒">
<van-cell inset title="未填写提醒" class="w-full h-[45px] bg-white flex items-center ">
<template #value>
<div class="w-full h-full flex justify-end flex-wrap">
<!-- <van-checkbox shape="square" class="w-full flex justify-end m-1"-->
<!-- v-model="init.paramsTransfers.nowrite_remind_isCheck">开启-->
<!-- </van-checkbox>-->
<van-switch v-model="init.paramsTransfers.nowrite_remind_isCheck"/>
<!-- <van-switch v-model="init.paramsTransfers.nowrite_remind_isCheck"/>-->
<el-switch
v-model="init.paramsTransfers.nowrite_remind_isCheck"
size="large"
inline-prompt
active-text="开启"
inactive-text="关闭"
></el-switch>
<!-- <div @click="addTime('nowrite_remind_time')" shape="square" class="w-full flex justify-end m-1">-->
<!-- <div class="w-[20px] h-[20px] border-solid border-[1px] border-blue-500 ccFlex text-blue-500">-->
<!-- <van-icon name="plus"/>-->
......@@ -143,10 +153,16 @@
<div class="w-full h-[10px] bg-gray-200"></div>
<van-cell inset title="提前填写">
<van-cell inset title="提前填写" class="w-full h-[45px] bg-white flex items-center ">
<div class="w-full h-full flex justify-end ">
<van-switch v-model="init.paramsTransfers.ahead_write"/>
<!-- <van-switch v-model="init.paramsTransfers.ahead_write"/>-->
<el-switch
v-model="init.paramsTransfers.ahead_write"
size="large"
inline-prompt
active-text="允许"
inactive-text="关闭"
></el-switch>
<!-- <van-checkbox shape="square" class="ml-auto" v-model="init.paramsTransfers.ahead_write">允许</van-checkbox>-->
</div>
</van-cell>
......@@ -170,14 +186,14 @@
</template>
</popup>
<popup :show="init.select.timeShow" :height="60">
<popup :show="init.select.timeShow" :height="60" :close="false">
<!-- 时间选择-->
<template #content>
<van-time-picker @confirm="timeConfirm" @cancel="init.select.timeShow =false"
title="选择时间"/>
</template>
</popup>
<popup :show="init.select.weekShow" :height="60">
<popup :show="init.select.weekShow" :height="60" :close="false">
<!-- 星期选择-->
<template #content>
<van-picker
......
Markdown 格式
0% or
您添加了 0 人 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册 或