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

v20250218 保存

上级 840edbaa
流水线 #33084 已通过 ,包含阶段
in 1 minute 和 27 second
import{C as e,a as s,G as t,u as n,S as o,w as a}from"./index-DqqOnSlx.js";import{u as r}from"./vue-router-D0VHe6o9.js";import{g as c}from"./getApiCommonGetCurrentUserRoleList-BamBL8E6.js";import{F as i,o as p,z as u,H as m,j as k,aa as l,C as _}from"./vant-BpT_qT-s.js";import"./axios-X0xcXtXw.js";const y={style:{display:"flex","justify-content":"center","margin-top":"50%"}},g={__name:"SSO",setup(g){const f=r(),v=()=>{t().then((e=>{s.set("oneWeekARange-user-info",JSON.stringify(e.response)),c().then((s=>{n().setUserInfo({...e.response,roleList:s.response,currentRole:s.response[0]}),f.replace({name:"responsibleForFilingRecords"})}))}))},R=async()=>{({asc:async()=>{let e={token:f.currentRoute.value.query.token};await(async e=>{const t=await o(e);void 0===t?await f.replace({name:"403"}):""!==t.response.access_token.token_content&&(s.set("oneWeekARange-management-token",t.response.access_token.token_content),s.set("time",t.response.access_token.expires),v())})(e)},first:async()=>{let e={sign:f.currentRoute.value.query.sign,code:f.currentRoute.value.query.code,timestamp:f.currentRoute.value.query.timestamp};await(async e=>{const t=await a(e);void 0===t?await f.replace({name:"403"}):""!==t.response.access_token.token_content&&(s.set("oneWeekARange-management-token",t.response.access_token.token_content),s.set("time",t.response.access_token.expires),v())})(e)},test:async()=>{const t=await e();void 0===t?await f.replace({name:"403"}):""!==t.response.access_token.token_content&&(s.set("oneWeekARange-management-token",t.response.access_token.token_content),s.set("time",t.response.access_token.expires),v())}})[f.currentRoute.value.query.type]()};return i((()=>{R()})),(e,s)=>{const t=l;return p(),u("div",y,[m(t,{size:"38px",color:"#1989fa",vertical:""},{default:k((()=>s[0]||(s[0]=[_(" 登录中")]))),_:1})])}}};export{g as default}; import{C as e,a as s,G as t,u as n,S as o,w as a}from"./index-jd2enTB4.js";import{u as r}from"./vue-router-CsKE-nhB.js";import{g as c}from"./getApiCommonGetCurrentUserRoleList-C2-aQaKL.js";import{F as i,o as p,z as u,H as m,j as k,ab as l,C as _}from"./vant-DuoD2hHk.js";import"./axios-X0xcXtXw.js";const y={style:{display:"flex","justify-content":"center","margin-top":"50%"}},f={__name:"SSO",setup(f){const g=r(),v=()=>{t().then((e=>{s.set("oneWeekARange-user-info",JSON.stringify(e.response)),c().then((s=>{n().setUserInfo({...e.response,roleList:s.response,currentRole:s.response[0]}),g.replace({name:"responsibleForFilingRecords"})}))}))},R=async()=>{({asc:async()=>{let e={token:g.currentRoute.value.query.token};await(async e=>{const t=await o(e);void 0===t?await g.replace({name:"403"}):""!==t.response.access_token.token_content&&(s.set("oneWeekARange-management-token",t.response.access_token.token_content),s.set("time",t.response.access_token.expires),v())})(e)},first:async()=>{let e={sign:g.currentRoute.value.query.sign,code:g.currentRoute.value.query.code,timestamp:g.currentRoute.value.query.timestamp};await(async e=>{const t=await a(e);void 0===t?await g.replace({name:"403"}):""!==t.response.access_token.token_content&&(s.set("oneWeekARange-management-token",t.response.access_token.token_content),s.set("time",t.response.access_token.expires),v())})(e)},test:async()=>{const t=await e();void 0===t?await g.replace({name:"403"}):""!==t.response.access_token.token_content&&(s.set("oneWeekARange-management-token",t.response.access_token.token_content),s.set("time",t.response.access_token.expires),v())}})[g.currentRoute.value.query.type]()};return i((()=>{R()})),(e,s)=>{const t=l;return p(),u("div",y,[m(t,{size:"38px",color:"#1989fa",vertical:""},{default:k((()=>s[0]||(s[0]=[_(" 登录中")]))),_:1})])}}};export{f as default};
import{C as e,a as t,G as s,u as n,b as a,S as o,w as r}from"./index-DqqOnSlx.js";import{u as c}from"./vue-router-D0VHe6o9.js";import{g as i}from"./getApiCommonGetCurrentUserRoleList-BamBL8E6.js";import{F as u,o as p,z as m,H as k,j as l,aa as y,C as _}from"./vant-BpT_qT-s.js";import"./axios-X0xcXtXw.js";const d={style:{display:"flex","justify-content":"center","margin-top":"50%"}},f={__name:"SSOInfo",setup(f){const g=c(),v=()=>{s().then((e=>{t.set("oneWeekARange-user-info",JSON.stringify(e.response)),i().then((t=>{n().setUserInfo({...e.response,roleList:t.response,currentRole:t.response[0]}),a().setDayViewItemData({userid:n().getUserInfo().user_id,date:g.currentRoute.value.query.date}),g.push({path:"/dayDetails",query:{pushMessage:1}})}))}))},R=async()=>{({asc:async()=>{let e={token:g.currentRoute.value.query.token};await(async e=>{const s=await o(e);void 0===s?await g.replace({name:"403"}):""!==s.response.access_token.token_content&&(t.set("oneWeekARange-management-token",s.response.access_token.token_content),t.set("time",s.response.access_token.expires),v())})(e)},first:async()=>{let e={sign:g.currentRoute.value.query.sign,code:g.currentRoute.value.query.code,timestamp:g.currentRoute.value.query.timestamp};await(async e=>{const s=await r(e);void 0===s?await g.replace({name:"403"}):""!==s.response.access_token.token_content&&(t.set("oneWeekARange-management-token",s.response.access_token.token_content),t.set("time",s.response.access_token.expires),v())})(e)},test:async()=>{const s=await e();void 0===s?await g.replace({name:"403"}):""!==s.response.access_token.token_content&&(t.set("oneWeekARange-management-token",s.response.access_token.token_content),t.set("time",s.response.access_token.expires),v())}})[g.currentRoute.value.query.type]()};return u((()=>{R()})),(e,t)=>{const s=y;return p(),m("div",d,[k(s,{size:"38px",color:"#1989fa",vertical:""},{default:l((()=>t[0]||(t[0]=[_(" 登录中")]))),_:1})])}}};export{f as default}; import{C as e,a as t,G as s,u as n,b as a,S as o,w as r}from"./index-jd2enTB4.js";import{u as c}from"./vue-router-CsKE-nhB.js";import{g as i}from"./getApiCommonGetCurrentUserRoleList-C2-aQaKL.js";import{F as u,o as p,z as m,H as k,j as l,ab as y,C as _}from"./vant-DuoD2hHk.js";import"./axios-X0xcXtXw.js";const f={style:{display:"flex","justify-content":"center","margin-top":"50%"}},d={__name:"SSOInfo",setup(d){const g=c(),v=()=>{s().then((e=>{t.set("oneWeekARange-user-info",JSON.stringify(e.response)),i().then((t=>{n().setUserInfo({...e.response,roleList:t.response,currentRole:t.response[0]}),a().setDayViewItemData({userid:n().getUserInfo().user_id,date:g.currentRoute.value.query.date}),g.push({path:"/dayDetails",query:{pushMessage:1}})}))}))},R=async()=>{({asc:async()=>{let e={token:g.currentRoute.value.query.token};await(async e=>{const s=await o(e);void 0===s?await g.replace({name:"403"}):""!==s.response.access_token.token_content&&(t.set("oneWeekARange-management-token",s.response.access_token.token_content),t.set("time",s.response.access_token.expires),v())})(e)},first:async()=>{let e={sign:g.currentRoute.value.query.sign,code:g.currentRoute.value.query.code,timestamp:g.currentRoute.value.query.timestamp};await(async e=>{const s=await r(e);void 0===s?await g.replace({name:"403"}):""!==s.response.access_token.token_content&&(t.set("oneWeekARange-management-token",s.response.access_token.token_content),t.set("time",s.response.access_token.expires),v())})(e)},test:async()=>{const s=await e();void 0===s?await g.replace({name:"403"}):""!==s.response.access_token.token_content&&(t.set("oneWeekARange-management-token",s.response.access_token.token_content),t.set("time",s.response.access_token.expires),v())}})[g.currentRoute.value.query.type]()};return u((()=>{R()})),(e,t)=>{const s=y;return p(),m("div",f,[k(s,{size:"38px",color:"#1989fa",vertical:""},{default:l((()=>t[0]||(t[0]=[_(" 登录中")]))),_:1})])}}};export{d as default};
import{c as e}from"./index-DqqOnSlx.js";function r(r){return e.get("/api/Common/GetCurrentUserRoleList",r)}export{r as g}; import{c as e}from"./index-jd2enTB4.js";function r(r){return e.get("/api/Common/GetCurrentUserRoleList",r)}export{r as g};
此差异已折叠。
import{j as s}from"./index-DqqOnSlx.js";import{r as o,F as a,o as l,z as t,H as e,A as i}from"./vant-BpT_qT-s.js";import"./vue-router-D0VHe6o9.js";import"./axios-X0xcXtXw.js";const r={class:"publicContainerNoPadding"},n={__name:"index",setup:n=>(o({fillInWork:{show:!1}}),a((()=>{document.title="系统配置"})),(o,a)=>{const n=s;return l(),t("div",r,[e(n,{path:"/welcome",title:"分管填报记录查看"}),a[0]||(a[0]=i("div",{class:"w-full h-[10px]"},null,-1)),a[1]||(a[1]=i("div",{class:"w-full h-[calc(100%-56px)] p-2 overflow-y-auto"},null,-1))])})};export{n as default}; import{j as s}from"./index-jd2enTB4.js";import{r as o,F as a,o as l,z as t,H as e,A as i}from"./vant-DuoD2hHk.js";import"./vue-router-CsKE-nhB.js";import"./axios-X0xcXtXw.js";const r={class:"publicContainerNoPadding"},n={__name:"index",setup:n=>(o({fillInWork:{show:!1}}),a((()=>{document.title="系统配置"})),(o,a)=>{const n=s;return l(),t("div",r,[e(n,{path:"/welcome",title:"分管填报记录查看"}),a[0]||(a[0]=i("div",{class:"w-full h-[10px]"},null,-1)),a[1]||(a[1]=i("div",{class:"w-full h-[calc(100%-56px)] p-2 overflow-y-auto"},null,-1))])})};export{n as default};
import{r as e,l as t,m as l,j as a,b as s,f as o}from"./index-jd2enTB4.js";import{v as i,g as r,a as n}from"./viewFiles-C1cCXqh1.js";import{b as p,r as u,F as c,aS as d,o as v,z as f,H as m,j as w,A as h,D as x,E as b,f as g,K as y,I as F,a4 as A,P as D,a3 as C,C as k,B as j,u as V,a_ as B,a$ as H,aY as Q,a2 as T,Y as I,a7 as M}from"./vant-DuoD2hHk.js";import"./vue-router-CsKE-nhB.js";import"./axios-X0xcXtXw.js";const N={class:"w-full h-full bg-white overflow-y-auto relative"},P={class:"w-full h-[calc(100%-114px)] z-40 pt-3 bg-[#F3F4F6] relative overflow-y-auto"},q={key:1,class:"w-full min-h-[90px] px-5 font-[黑体] text-[14px] py-2 bg-white border-b-solid border-[#F6F6F6] border-[1px]"},E={class:"w-full h-[70px] px-3 flex justify-between items-center sticky bottom-0 border border-t-[1px] border-solid"},U={class:"w-full h-full bg-white overflow-y-auto relative"},O={class:"w-full h-[calc(100%-114px)] z-40 pt-3 bg-[#F3F4F6] relative overflow-y-auto"},Y={class:"w-full h-[70px] px-3 flex justify-between items-center sticky bottom-0 border border-t-[1px] border-solid"},_={class:"container1"},z={class:"w-screen h-screen overflow-y-auto relative bg-[#F4F6F7]"},G={class:"w-full h-[108px] bg-white z-50 sticky top-0"},J={class:"w-full h-[54px]"},X={class:"w-full overflow-y-auto relative h-[calc(100%-172px)]"},K={class:""},Z={class:"text-[#ACADAD] w-full h-[18px] flex items-center mb-2"},S={class:"mb-2 text-[#4E4E4E]"},R=["onClick"],L={class:"ml-2"},W={class:""},$={class:"text-[#ACADAD] w-full h-[18px] flex items-center mb-2"},ee={class:"mb-2 text-[#4E4E4E]"},te={class:""},le={class:"text-[#ACADAD] w-full h-[18px] flex items-center mb-2"},ae={class:"mb-2 text-[#4E4E4E]"},se={class:"w-full h-[64px] flex justify-center items-center sticky bottom-0 px-2 bg-white"},oe={__name:"index",setup(oe){const ie=p(0),re=p([{text:"日程安排",value:"0"},{text:"值班安排",value:"1"},{text:"会议安排",value:"2"}]),ne=u({show:!1,fileItem:{}}),pe=u({operatingTrajectory:{data:[],show:!1},detailsData:{plan_list:[],duty_list:[],meet_list:[]},formData:{},approval:{active:"0",showPopup:!1,show:!1,columns:[{value:1,text:"退回到上个节点"},{value:2,text:"退回到发起人"}],formData:{taskid:"",remark:"",action:""}}}),ue=()=>{void 0!==pe.formData.pushMessage?t("responsibleForFilingRecords"):e.back()},ce=e=>{ie.value=e};function de(e){const t=e.selectedOptions[0];pe.approval.formData.action=t.value,pe.approval.value=t.text,pe.approval.showPopup=!1}return p(""),c((()=>{l((()=>r({userid:s().getDayViewItemData().userid,date:o(s().getDayViewItemData().date).format("YYYY-MM-DD")}).then((e=>(pe.detailsData=e.response,e)))),!0,"加载中..."),l((()=>n({userid:s().getDayViewItemData().userid,date:o(s().getDayViewItemData().date).format("YYYY-MM-DD")}).then((e=>(pe.operatingTrajectory.data=e.response,e)))),!0,"加载中..."),pe.formData=e.currentRoute.value.query})),(e,t)=>{const l=M,s=B,o=H,r=A,n=D,p=Q,u=a,c=T,oe=C,ve=I,fe=d("font");return v(),f(y,null,[m(n,{show:pe.operatingTrajectory.show,"onUpdate:show":t[1]||(t[1]=e=>pe.operatingTrajectory.show=e),style:{height:"85%"},closeable:"",position:"bottom",round:""},{default:w((()=>[h("div",N,[t[11]||(t[11]=h("div",{class:"w-full h-[50px] z-100 sticky top-0"},[h("div",{class:"flex justify-between items-center w-full h-[50px]"},[h("div",{class:"w-full h-full ccFlex text-[18px]"}," 操作轨迹 ")])],-1)),h("div",P,[0==pe.operatingTrajectory.length?(v(),g(l,{key:0,image:"https://fastly.jsdelivr.net/npm/@vant/assets/custom-empty-image.png","image-size":"80",description:"暂无数据"})):(v(),f("div",q,[m(o,{active:0,class:"w-full",direction:"vertical","active-icon":"circle","finish-icon":"success","inactive-icon":"success"},{default:w((()=>[(v(!0),f(y,null,F(pe.operatingTrajectory.data,((e,l)=>(v(),g(s,{key:l,class:"ax"},{default:w((()=>[x((v(),f("h2",null,[k(j(e.createtime),1)])),[[fe,void 0,"{color:`#323233`,size:18}"]]),h("p",null,[t[8]||(t[8]=k("用户名:")),x((v(),f("span",null,[k(j(e.createname),1)])),[[fe,void 0,"{color:`#5295FF`}"]])]),h("p",null,[t[9]||(t[9]=k("操作:")),x((v(),f("span",null,[k(j(e.remark),1)])),[[fe,void 0,"{color:`#5295FF`}"]])])])),_:2},1024)))),128))])),_:1})]))]),h("div",E,[m(r,{class:"w-full","native-type":"submit",round:"",onClick:t[0]||(t[0]=e=>pe.operatingTrajectory.show=!1)},{default:w((()=>t[10]||(t[10]=[k("关闭 ")]))),_:1})])])])),_:1},8,["show"]),m(n,{show:pe.approval.showPopup,"onUpdate:show":t[3]||(t[3]=e=>pe.approval.showPopup=e),position:"bottom"},{default:w((()=>[m(p,{columns:pe.approval.columns,"show-toolbar":"",onCancel:t[2]||(t[2]=e=>pe.approval.showPopup=!1),onConfirm:de},null,8,["columns"])])),_:1},8,["show"]),m(n,{show:ne.show,"onUpdate:show":t[5]||(t[5]=e=>ne.show=e),style:{height:"85%"},closeable:"",position:"bottom",round:""},{default:w((()=>[h("div",U,[t[13]||(t[13]=h("div",{class:"w-full h-[50px] z-100 sticky top-0"},[h("div",{class:"flex justify-between items-center w-full h-[50px]"},[h("div",{class:"w-full h-full ccFlex text-[18px]"}," 附件预览 ")])],-1)),h("div",O,[m(i,{fileObj:ne.fileItem},null,8,["fileObj"])]),h("div",Y,[m(r,{class:"w-full","native-type":"submit",round:"",onClick:t[4]||(t[4]=e=>ne.show=!1)},{default:w((()=>t[12]||(t[12]=[k("关闭 ")]))),_:1})])])])),_:1},8,["show"]),h("div",_,[h("div",z,[h("div",G,[m(u,{path:"/responsibleForFilingRecords",title:"日程详情"},{importFile:w((()=>[h("span",{onClick:t[6]||(t[6]=e=>pe.operatingTrajectory.show=!0),class:"text-blue-500"},"操作轨迹")])),_:1}),h("div",J,[m(oe,{active:ie.value,"onUpdate:active":t[7]||(t[7]=e=>ie.value=e),swipeable:"",onChange:ce},{default:w((()=>[(v(!0),f(y,null,F(re.value,((e,t)=>(v(),g(c,{key:t,title:e.text},null,8,["title"])))),128))])),_:1},8,["active"])])]),h("div",X,[x(h("div",K,[0==pe.detailsData.plan_list.length?(v(),g(l,{key:0,image:"https://fastly.jsdelivr.net/npm/@vant/assets/custom-empty-image.png","image-size":"80",description:"暂无数据"})):(v(!0),f(y,{key:1},F(pe.detailsData.plan_list,((e,l)=>(v(),f("div",{key:l,class:"w-full min-h-[60px] px-5 font-[黑体] text-[14px] py-2 bg-white border-b-solid border-[#F6F6F6] border-[1px]"},[h("div",Z,[t[14]||(t[14]=h("div",{class:"w-[4px] h-full mr-2 rounded-t-2xl rounded-b-2xl bg-[#3793FF]"},null,-1)),h("p",null,j(e.date)+" "+j(e.begin+" - "+e.end),1)]),h("div",S,[h("p",null,j(e.content),1)]),(v(!0),f(y,null,F(e.file_list,((e,t)=>(v(),f("div",{key:t,onClick:t=>{return l=e,ne.show=!0,void(ne.fileItem=l);var l},class:"flex items-center text-[#3FA0F4]"},[m(ve,{width:"12px",height:"12px",src:V("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABUAAAAYCAYAAAAVibZIAAADoElEQVR4Xp2VSWgUQRSGJ0biLoIobqS7agaXIEpO4kFxx5O44gIeBBMQFBTxogePKqKRme6qHrNM4obkIC4gCooLIgiCgt5UvIgHo05PV/V0YqLle9XT43TroPigYfp11Vd//e9VTSr1H5HmYiF1/B7KxCuTec9NJg+aHcUpyXH/HNRy99F8uZjuVop2jija9V0/xCk/M2yxIDn+r0Hs0n7iBCMII7b3kDDvKDynKZcf0gWlCBMvZ1ve1OS8ulELNG3vVKpfNUbfUCHh/jva/QPA3pnaeXUDfGsneQDCNgF4AnNG3p9J8sOHiSPX4jvAjtDOYdyBjM/+Q5jMbadOMEy7wL8qcGCmycXTzBWFuQLmqFPeTM8PgbeBihMSgQph8LBWaHkndc6WMwgAtYfcHwCFy3TeKjFcGOa8jVNqwsxFCqGyVuhTLRAWGzBy7irME1tsheqXtVIud8dJlSC220bzwbeKh2cxZ3TAlu1fQOhVDQTwFlhcpHsU+tmVOq5GxWkpbfheGBQDAmA6ehgBmy13NeapLTZHQDgAvZmsGhOnQRDL/QVkogNzCCRMPoyANOuuwbxheZuqCpnsMwvvx8ZpEJTJPbDloVChOIe5ECg0kDj+Z8pCIBRjI4z1QqB3MZN987tC05HraX4wwOrBqqd1DovCxJOwyuXPZq64AvMk526r2XJPy/HXTan+/sb5fWpqVS36oNX06mN2FYweHVZZPo6A1QaHKkdAOJoFGNuUuaQmw7wbtKAkFKotVGmVloDKIfCrSC1v7jT700TY0oPKlr9AJ6zDcc22WwP0Cy0IzH6ZTJl/U9vgBGU4ritDKJeHNMAu3dPvttyZ7sZbJ/hKsiGQ5LwNsHDFQ9nb0q+a5nWrSfA7AvomL+3QQA1hgld67LoGcP9Yug/98p7Pyn8cr4FOUArHyD4syrxTA5PgENyIgNQu7awCNYSJA6gU4Pf1Ilzs0EqZ78O3F6BGVqqsgdqeCMjhFCWBGBlebMXKg39usyNa5pxV46Dpr1EAY/Fo1w9c8DJuOfQ7UghAVtqV5OlAw1FlWH15M6VbRDVSXt5C8oNHiCO2ppQateiCmhABoagBzdUBRoE3Daws9eUBE41ssTX2PVtcDAvexb8QgsB6CpNh2u52BFf6NQDfHgHoFvYwXrw670jvrwqTQSyxHLy9A/+UQ1i86MF36M3bhlNempzzb6FUQ4b7rYQHbQaXh03HazfgHb40JIfWi58kocJqXNrBoAAAAABJRU5ErkJggg==")},null,8,["src"]),h("a",L,j(e.file_name),1)],8,R)))),128))])))),128))],512),[[b,0==ie.value]]),x(h("div",W,[0==pe.detailsData.duty_list.length?(v(),g(l,{key:0,image:"https://fastly.jsdelivr.net/npm/@vant/assets/custom-empty-image.png","image-size":"80",description:"暂无数据"})):(v(!0),f(y,{key:1},F(pe.detailsData.duty_list,((e,l)=>(v(),f("div",{key:l,class:"w-full min-h-[60px] px-5 font-[黑体] text-[14px] py-2 bg-white border-b-solid border-[#F6F6F6] border-[1px]"},[h("div",$,[t[15]||(t[15]=h("div",{class:"w-[4px] h-full mr-2 rounded-t-2xl rounded-b-2xl bg-[#3793FF]"},null,-1)),h("p",null,j(e.date)+" "+j(e.begin)+"-"+j(e.end),1)]),h("div",ee,[h("p",null,j(e.content),1)])])))),128))],512),[[b,1==ie.value]]),x(h("div",te,[0==pe.detailsData.meet_list.length?(v(),g(l,{key:0,image:"https://fastly.jsdelivr.net/npm/@vant/assets/custom-empty-image.png","image-size":"80",description:"暂无数据"})):(v(!0),f(y,{key:1},F(pe.detailsData.meet_list,((e,l)=>(v(),f("div",{key:l,class:"w-full min-h-[60px] px-5 font-[黑体] text-[14px] py-2 bg-white border-b-solid border-[#F6F6F6] border-[1px]"},[h("div",le,[t[16]||(t[16]=h("div",{class:"w-[4px] h-full mr-2 rounded-t-2xl rounded-b-2xl bg-[#3793FF]"},null,-1)),h("p",null,j(e.date)+" "+j(e.begin)+"-"+j(e.end),1)]),h("div",ae,[h("p",null,j(e.content),1)])])))),128))],512),[[b,2==ie.value]])]),h("div",se,[m(r,{round:"",class:"w-[50%]",onClick:ue},{default:w((()=>t[17]||(t[17]=[k("返回")]))),_:1})])])])],64)}}};export{oe as default};
此差异已折叠。
import{c as s,i as e,h as a,j as o}from"./index-DqqOnSlx.js";import{b as l,r as t,F as n,o as r,z as i,H as f,A as u,j as p,f as c,C as d,a0 as m,a4 as w}from"./vant-BpT_qT-s.js";import"./vue-router-D0VHe6o9.js";import"./axios-X0xcXtXw.js";const h={class:"publicContainerNoPadding"},y={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"},k={__name:"index",setup(k){const x=l(),j=t({role:"0",data:{myFillingIn:[]},fillInWork:{show:!1}});function C(){j.fillInWork.show=!0}function _(){x.value.save()}function b(s){j.fillInWork.show=s}function I(){var e;s.get("/api/Common/GetAheadWriteSwitch",e).then((s=>{j.role=s.response}))}return n((()=>{I()})),(s,l)=>{const t=o,n=e,k=w,I=a;return r(),i("div",h,[f(t,{path:"/welcome",title:"工作安排填报"}),u("div",y,[f(n,{ref_key:"saveRef",ref:x,show:j.fillInWork.show,onCloseDateComponent:b},null,8,["show"])]),f(I,null,{default:p((()=>[u("div",v,[1==j.role?(r(),c(k,{key:0,style:{"border-radius":"8px"},plain:"",type:"primary",class:"w-[28%]",onClick:C},{default:p((()=>l[0]||(l[0]=[d(" 添加日期 ")]))),_:1})):m("",!0),f(k,{style:{"border-radius":"8px"},type:"primary",class:"w-[70%]",onClick:_},{default:p((()=>l[1]||(l[1]=[d("保存")]))),_:1})])])),_:1})])}}};export{k as default}; import{c as s,i as e,h as a,j as o}from"./index-jd2enTB4.js";import{b as l,r as t,F as n,o as r,z as i,H as f,A as u,j as p,f as c,C as d,a0 as m,a4 as w}from"./vant-DuoD2hHk.js";import"./vue-router-CsKE-nhB.js";import"./axios-X0xcXtXw.js";const h={class:"publicContainerNoPadding"},y={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"},k={__name:"index",setup(k){const x=l(),j=t({role:"0",data:{myFillingIn:[]},fillInWork:{show:!1}});function C(){j.fillInWork.show=!0}function _(){x.value.save()}function b(s){j.fillInWork.show=s}function I(){var e;s.get("/api/Common/GetAheadWriteSwitch",e).then((s=>{j.role=s.response}))}return n((()=>{I()})),(s,l)=>{const t=o,n=e,k=w,I=a;return r(),i("div",h,[f(t,{path:"/welcome",title:"工作安排填报"}),u("div",y,[f(n,{ref_key:"saveRef",ref:x,show:j.fillInWork.show,onCloseDateComponent:b},null,8,["show"])]),f(I,null,{default:p((()=>[u("div",v,[1==j.role?(r(),c(k,{key:0,style:{"border-radius":"8px"},plain:"",type:"primary",class:"w-[28%]",onClick:C},{default:p((()=>l[0]||(l[0]=[d(" 添加日期 ")]))),_:1})):m("",!0),f(k,{style:{"border-radius":"8px"},type:"primary",class:"w-[70%]",onClick:_},{default:p((()=>l[1]||(l[1]=[d("保存")]))),_:1})])])),_:1})])}}};export{k as default};
import"./index-DqqOnSlx.js";import{u as t}from"./vue-router-D0VHe6o9.js";import{o as e,z as a,H as r,K as s,a8 as n,a6 as o}from"./vant-BpT_qT-s.js";import"./axios-X0xcXtXw.js";const i=""+new URL("warning-zGbTxtDs.png",import.meta.url).href,m={__name:"index",setup(m){const l=t(),u=()=>l.back();return(t,m)=>{const l=n,p=o;return e(),a(s,null,[r(l,{"left-text":"返回","left-arrow":"",onClickLeft:u}),r(p,{image:i,style:{width:"100%",height:"100%"},description:"用户无权限,请重新登录!"},null,8,["image"])],64)}}};export{m as default}; import"./index-jd2enTB4.js";import{u as t}from"./vue-router-CsKE-nhB.js";import{o as e,z as a,H as r,K as s,a9 as n,a7 as o}from"./vant-DuoD2hHk.js";import"./axios-X0xcXtXw.js";const i=""+new URL("warning-zGbTxtDs.png",import.meta.url).href,m={__name:"index",setup(m){const l=t(),u=()=>l.back();return(t,m)=>{const l=n,p=o;return e(),a(s,null,[r(l,{"left-text":"返回","left-arrow":"",onClickLeft:u}),r(p,{image:i,style:{width:"100%",height:"100%"},description:"用户无权限,请重新登录!"},null,8,["image"])],64)}}};export{m as default};
:root{--van-image-preview-index-text-color: var(--van-white);--van-image-preview-index-font-size: var(--van-font-size-md);--van-image-preview-index-line-height: var(--van-line-height-md);--van-image-preview-index-text-shadow: 0 1px 1px var(--van-gray-8);--van-image-preview-overlay-background: rgba(0, 0, 0, .9);--van-image-preview-close-icon-size: 22px;--van-image-preview-close-icon-color: var(--van-gray-5);--van-image-preview-close-icon-margin: var(--van-padding-md);--van-image-preview-close-icon-z-index: 1}.van-image-preview{position:fixed;top:0;left:0;width:100%;height:100%;max-width:none;background-color:transparent;-webkit-transform:none;transform:none}.van-image-preview__swipe{height:100%}.van-image-preview__swipe-item{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;overflow:hidden}.van-image-preview__cover{position:absolute;top:0;left:0}.van-image-preview__image,.van-image-preview__image-wrap{width:100%;-webkit-transition-property:-webkit-transform;transition-property:-webkit-transform;transition-property:transform;transition-property:transform,-webkit-transform}.van-image-preview__image--vertical,.van-image-preview__image-wrap--vertical{width:auto;height:100%}.van-image-preview__image img,.van-image-preview__image-wrap img,.van-image-preview__image video,.van-image-preview__image-wrap video{-webkit-user-drag:none}.van-image-preview__image .van-image__error,.van-image-preview__image-wrap .van-image__error{top:30%;height:40%}.van-image-preview__image .van-image__error-icon,.van-image-preview__image-wrap .van-image__error-icon{font-size:36px}.van-image-preview__image .van-image__loading,.van-image-preview__image-wrap .van-image__loading{background-color:transparent}.van-image-preview__index{position:absolute;top:var(--van-padding-md);left:50%;color:var(--van-image-preview-index-text-color);font-size:var(--van-image-preview-index-font-size);line-height:var(--van-image-preview-index-line-height);text-shadow:var(--van-image-preview-index-text-shadow);-webkit-transform:translate(-50%);transform:translate(-50%)}.van-image-preview__overlay{background:var(--van-image-preview-overlay-background)}.van-image-preview__close-icon{position:absolute;z-index:var(--van-image-preview-close-icon-z-index);color:var(--van-image-preview-close-icon-color);font-size:var(--van-image-preview-close-icon-size)}.van-image-preview__close-icon--top-left{top:var(--van-image-preview-close-icon-margin);left:var(--van-image-preview-close-icon-margin)}.van-image-preview__close-icon--top-right{top:var(--van-image-preview-close-icon-margin);right:var(--van-image-preview-close-icon-margin)}.van-image-preview__close-icon--bottom-left{bottom:var(--van-image-preview-close-icon-margin);left:var(--van-image-preview-close-icon-margin)}.van-image-preview__close-icon--bottom-right{right:var(--van-image-preview-close-icon-margin);bottom:var(--van-image-preview-close-icon-margin)}:root{--van-uploader-size: 80px;--van-uploader-icon-size: 24px;--van-uploader-icon-color: var(--van-gray-4);--van-uploader-text-color: var(--van-text-color-2);--van-uploader-text-font-size: var(--van-font-size-sm);--van-uploader-upload-background: var(--van-gray-1);--van-uploader-upload-active-color: var(--van-active-color);--van-uploader-delete-color: var(--van-white);--van-uploader-delete-icon-size: 14px;--van-uploader-delete-background: rgba(0, 0, 0, .7);--van-uploader-file-background: var(--van-background);--van-uploader-file-icon-size: 20px;--van-uploader-file-icon-color: var(--van-gray-7);--van-uploader-file-name-padding: 0 var(--van-padding-base);--van-uploader-file-name-margin-top: var(--van-padding-xs);--van-uploader-file-name-font-size: var(--van-font-size-sm);--van-uploader-file-name-text-color: var(--van-gray-7);--van-uploader-mask-text-color: var(--van-white);--van-uploader-mask-background: rgba(50, 50, 51, .88);--van-uploader-mask-icon-size: 22px;--van-uploader-mask-message-font-size: var(--van-font-size-sm);--van-uploader-mask-message-line-height: var(--van-line-height-xs);--van-uploader-loading-icon-size: 22px;--van-uploader-loading-icon-color: var(--van-white);--van-uploader-disabled-opacity: var(--van-disabled-opacity)}.van-uploader{position:relative;display:inline-block}.van-uploader__wrapper{display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap}.van-uploader__wrapper--disabled{opacity:var(--van-uploader-disabled-opacity)}.van-uploader__input{position:absolute;top:0;left:0;width:100%;height:100%;overflow:hidden;cursor:pointer;opacity:0}.van-uploader__input-wrapper{position:relative}.van-uploader__input:disabled{cursor:not-allowed}.van-uploader__upload{position:relative;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-sizing:border-box;box-sizing:border-box;width:var(--van-uploader-size);height:var(--van-uploader-size);margin:0 var(--van-padding-xs) var(--van-padding-xs) 0;background:var(--van-uploader-upload-background)}.van-uploader__upload:active{background-color:var(--van-uploader-upload-active-color)}.van-uploader__upload--readonly:active{background-color:var(--van-uploader-upload-background)}.van-uploader__upload-icon{color:var(--van-uploader-icon-color);font-size:var(--van-uploader-icon-size)}.van-uploader__upload-text{margin-top:var(--van-padding-xs);color:var(--van-uploader-text-color);font-size:var(--van-uploader-text-font-size)}.van-uploader__preview{position:relative;margin:0 var(--van-padding-xs) var(--van-padding-xs) 0;cursor:pointer}.van-uploader__preview-image{display:block;width:var(--van-uploader-size);height:var(--van-uploader-size);overflow:hidden}.van-uploader__preview-delete{position:absolute;top:0;right:0}.van-uploader__preview-delete--shadow{width:var(--van-uploader-delete-icon-size);height:var(--van-uploader-delete-icon-size);background:var(--van-uploader-delete-background);border-radius:0 0 0 12px}.van-uploader__preview-delete-icon{position:absolute;top:0;right:0;color:var(--van-uploader-delete-color);font-size:var(--van-uploader-delete-icon-size);-webkit-transform:scale(.7) translate(10%,-10%);transform:scale(.7) translate(10%,-10%)}.van-uploader__preview-cover{position:absolute;top:0;right:0;bottom:0;left:0}.van-uploader__mask{position:absolute;top:0;right:0;bottom:0;left:0;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;color:var(--van-uploader-mask-text-color);background:var(--van-uploader-mask-background)}.van-uploader__mask-icon{font-size:var(--van-uploader-mask-icon-size)}.van-uploader__mask-message{margin-top:6px;padding:0 var(--van-padding-base);font-size:var(--van-uploader-mask-message-font-size);line-height:var(--van-uploader-mask-message-line-height)}.van-uploader__loading{width:var(--van-uploader-loading-icon-size);height:var(--van-uploader-loading-icon-size);color:var(--van-uploader-loading-icon-color)}.van-uploader__file{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;width:var(--van-uploader-size);height:var(--van-uploader-size);background:var(--van-uploader-file-background)}.van-uploader__file-icon{color:var(--van-uploader-file-icon-color);font-size:var(--van-uploader-file-icon-size)}.van-uploader__file-name{-webkit-box-sizing:border-box;box-sizing:border-box;width:100%;margin-top:var(--van-uploader-file-name-margin-top);padding:var(--van-uploader-file-name-padding);color:var(--van-uploader-file-name-text-color);font-size:var(--van-uploader-file-name-font-size);text-align:center}:root{--van-notice-bar-height: 40px;--van-notice-bar-padding: 0 var(--van-padding-md);--van-notice-bar-wrapable-padding: var(--van-padding-xs) var(--van-padding-md);--van-notice-bar-text-color: var(--van-orange-dark);--van-notice-bar-font-size: var(--van-font-size-md);--van-notice-bar-line-height: 24px;--van-notice-bar-background: var(--van-orange-light);--van-notice-bar-icon-size: 16px;--van-notice-bar-icon-min-width: 24px}.van-notice-bar{position:relative;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;height:var(--van-notice-bar-height);padding:var(--van-notice-bar-padding);color:var(--van-notice-bar-text-color);font-size:var(--van-notice-bar-font-size);line-height:var(--van-notice-bar-line-height);background:var(--van-notice-bar-background)}.van-notice-bar__left-icon,.van-notice-bar__right-icon{min-width:var(--van-notice-bar-icon-min-width);font-size:var(--van-notice-bar-icon-size)}.van-notice-bar__right-icon{text-align:right;cursor:pointer}.van-notice-bar__wrap{position:relative;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-flex:1;-ms-flex:1;flex:1;-webkit-box-align:center;-ms-flex-align:center;align-items:center;height:100%;overflow:hidden}.van-notice-bar__content{position:absolute;white-space:nowrap;-webkit-transition-timing-function:linear;transition-timing-function:linear}.van-notice-bar__content.van-ellipsis{max-width:100%}.van-notice-bar--wrapable{height:auto;padding:var(--van-notice-bar-wrapable-padding)}.van-notice-bar--wrapable .van-notice-bar__wrap{height:auto}.van-notice-bar--wrapable .van-notice-bar__content{position:relative;white-space:normal;word-wrap:break-word}
此差异已折叠。
import{_ as r}from"./index-DqqOnSlx.js";import"./vant-BpT_qT-s.js";import"./vue-router-D0VHe6o9.js";import"./axios-X0xcXtXw.js";const t=r({},[["render",function(r,t){return null}]]);export{t as default}; import{_ as r}from"./index-jd2enTB4.js";import"./vant-DuoD2hHk.js";import"./vue-router-CsKE-nhB.js";import"./axios-X0xcXtXw.js";const t=r({},[["render",function(r,t){return null}]]);export{t as default};
此差异已折叠。
因为 它太大了无法显示 源差异 。您可以改为 查看blob。
因为 它太大了无法显示 源差异 。您可以改为 查看blob。
import{c as e,_ as t}from"./index-jd2enTB4.js";import{b3 as i,o as a,z as r,A as s,f as c,j as n,a0 as l,B as d,a7 as o}from"./vant-DuoD2hHk.js";function p(t,i){const a={userid:t.userid,date:t.date};return e.get("/api/PlanSchedule/GetPlanScheduleInfo",{params:a,...i})}function f(t,i){const a={userid:t.userid,date:t.date};return e.get("/api/PlanSchedule/GetPlanScheduleTrackList",{params:a,...i})}const h={class:"file-preview"},u={style:{height:"100%"}},m={key:1},y=["src"],v={key:2},g=["src"],w={key:3},x=["src"],b={key:4,style:{display:"flex","flex-direction":"column","align-items":"center","justify-content":"center"}},j={style:{"margin-bottom":"10px","font-size":"20px",color:"#000"}},k=["src"],O={key:5,style:{display:"flex","flex-direction":"column","align-items":"center","justify-content":"center"}},P={style:{"margin-bottom":"10px","font-size":"20px",color:"#000"}},T=["src"],L=["src"],_={key:7,style:{height:"100%"}},S=["src"],G={key:8},D={style:{display:"flex","flex-direction":"column","align-items":"center","justify-content":"center"}};const I=t({name:"filePreview",components:{},props:{fileObj:{type:Object,default:()=>({})}},data:()=>({url:window.location.origin+"/fileReader/?file="+window.location.origin,src:"http://static.shanhuxueyuan.com/test6.docx",renderedLoading:!0,previewType:"",errorShow:!1}),mounted(){this.previewType=this.getPreviewType()},methods:{getPreviewType(){let e="";switch(this.fileObj.file_name.split(".").pop()){case"doc":case"docx":case"DOC":case"DOCX":e="docx";break;case"xls":case"xlsx":case"XLS":case"XLSX":e="excel";break;case"ppt":case"pptx":case"PPT":case"PPTX":e="ppt";break;case"pdf":case"PDF":e="pdf";break;case"jpg":case"jpeg":case"png":case"gif":case"JPG":case"JPEG":case"PNG":case"GIF":e="image";break;case"mp4":case"ogg":case"webm":e="video";break;case"mp3":case"wav":e="audio";break;case"txt":e="txt";break;default:e="custom",this.renderedLoading=!1}return e},rendered(){this.renderedLoading=!1},errorHandler(e){this.errorShow=!0},clickDownload(e,t){const i=document.createElement("a");i.href=e,i.download=t,i.target="_blank",i.dispatchEvent(new MouseEvent("click"))},viewImage(e){i([e])}}},[["render",function(e,t,i,p,f,I){const X=o;return a(),r("div",h,[s("div",u,[f.errorShow?(a(),c(X,{key:0},{description:n((()=>t[6]||(t[6]=[s("p",null,"加载失败,请尝试下载预览",-1)]))),_:1})):l("",!0),"docx"==f.previewType?(a(),r("div",m,[s("iframe",{style:{height:"calc(100vh - 80px)"},src:f.url+i.fileObj.path,height:"100%",width:"100%"},null,8,y)])):l("",!0),"excel"==f.previewType?(a(),r("div",v,[s("iframe",{style:{height:"calc(100vh - 80px)"},src:f.url+i.fileObj.path,height:"100%",width:"100%"},null,8,g)])):l("",!0),"pdf"==f.previewType?(a(),r("div",w,[s("iframe",{src:f.url+i.fileObj.path,style:{height:"calc(100vh - 80px)"},height:"100%",width:"100%"},null,8,x)])):l("",!0),"video"==f.previewType?(a(),r("div",b,[s("div",j,d(i.fileObj.file_name),1),s("video",{src:i.fileObj.path,controls:"",onLoadeddata:t[0]||(t[0]=(...e)=>I.rendered&&I.rendered(...e)),style:{width:"80%"}},t[7]||(t[7]=[s("p",null,"抱歉,您的浏览器不支持视频标签。",-1)]),40,k)])):l("",!0),"audio"==f.previewType?(a(),r("div",O,[s("div",P,d(i.fileObj.file_name),1),s("audio",{src:i.fileObj.path,controls:"",onLoadeddata:t[1]||(t[1]=(...e)=>I.rendered&&I.rendered(...e))},t[8]||(t[8]=[s("p",null,"抱歉,您的浏览器不支持音频标签。",-1)]),40,T)])):l("",!0),"image"==f.previewType?(a(),r("div",{key:6,onClick:t[3]||(t[3]=e=>I.viewImage(i.fileObj.path)),style:{display:"flex","flex-direction":"column","align-items":"center","justify-content":"center"}},[s("img",{src:i.fileObj.path,alt:"",style:{"max-width":"100%","max-height":"100%"},onLoad:t[2]||(t[2]=(...e)=>I.rendered&&I.rendered(...e))},null,40,L)])):l("",!0),"txt"==f.previewType?(a(),r("div",_,[s("iframe",{src:i.fileObj.path,width:"100%",height:"100%",onLoad:t[4]||(t[4]=(...e)=>I.rendered&&I.rendered(...e))},t[9]||(t[9]=[s("p",null,"抱歉,您的浏览器不支持在页面中显示 txt 文件。",-1)]),40,S)])):l("",!0),"custom"==f.previewType?(a(),r("div",G,[s("div",D,[s("a",{style:{"margin-bottom":"10px","font-size":"20px"},onClick:t[5]||(t[5]=e=>I.clickDownload(i.fileObj.path,i.fileObj.file_name))},d(i.fileObj.file_name),1),t[10]||(t[10]=s("p",null,"抱歉,暂不支持预览该类型文件,请点击下载后自行预览。",-1))])])):l("",!0)])])}],["__scopeId","data-v-f13c766f"]]);export{f as a,p as g,I as v};
...@@ -6,11 +6,11 @@ ...@@ -6,11 +6,11 @@
<meta name="viewport" <meta name="viewport"
content="width=device-width, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0, viewport-fit=cover, user-scalable=0"> content="width=device-width, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0, viewport-fit=cover, user-scalable=0">
<title></title> <title></title>
<script type="module" crossorigin src="./assets/index-DqqOnSlx.js"></script> <script type="module" crossorigin src="./assets/index-jd2enTB4.js"></script>
<link rel="modulepreload" crossorigin href="./assets/vant-BpT_qT-s.js"> <link rel="modulepreload" crossorigin href="./assets/vant-DuoD2hHk.js">
<link rel="modulepreload" crossorigin href="./assets/vue-router-D0VHe6o9.js"> <link rel="modulepreload" crossorigin href="./assets/vue-router-CsKE-nhB.js">
<link rel="modulepreload" crossorigin href="./assets/axios-X0xcXtXw.js"> <link rel="modulepreload" crossorigin href="./assets/axios-X0xcXtXw.js">
<link rel="stylesheet" crossorigin href="./assets/index-BRZUriCx.css"> <link rel="stylesheet" crossorigin href="./assets/index-DwviLLhj.css">
</head> </head>
<body> <body>
<div id="app"></div> <div id="app"></div>
......
import { type AxiosRequestConfig } from "axios";
/**
* 获取所有中层干部
* /api/Common/GetLeaderAllList
*/
export declare function getApiCommonGetLeaderAllList(config?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<{
code: number;
status: string;
msg: string;
msg_detail: string;
response: {
name: string;
id: string;
}[];
}, any>>;
import request from "@/util/axios.js";
/**
* 获取所有中层干部
* /api/Common/GetLeaderAllList
*/
export function getApiCommonGetLeaderAllList(config) {
return request.get(`/api/Common/GetLeaderAllList`, config);
}
export * from "./getApiCommonGetDeptAllList"; export * from "./getApiCommonGetDeptAllList";
export * from "./getApiCommonGetDeptList"; export * from "./getApiCommonGetDeptList";
export * from "./postApiCommonGetUserList"; export * from "./postApiCommonGetUserList";
export * from "./getApiCommonGetLeaderAllList";
export * from "./postApiCommonGetRoleList"; export * from "./postApiCommonGetRoleList";
export * from "./getApiCommonGetMenuRole"; export * from "./getApiCommonGetMenuRole";
export * from "./getApiCommonGetAheadWriteSwitch"; export * from "./getApiCommonGetAheadWriteSwitch";
......
export * from "./getApiCommonGetDeptAllList"; export * from "./getApiCommonGetDeptAllList";
export * from "./getApiCommonGetDeptList"; export * from "./getApiCommonGetDeptList";
export * from "./postApiCommonGetUserList"; export * from "./postApiCommonGetUserList";
export * from "./getApiCommonGetLeaderAllList";
export * from "./postApiCommonGetRoleList"; export * from "./postApiCommonGetRoleList";
export * from "./getApiCommonGetMenuRole"; export * from "./getApiCommonGetMenuRole";
export * from "./getApiCommonGetAheadWriteSwitch"; export * from "./getApiCommonGetAheadWriteSwitch";
......
import request from "@/util/axios.js";
/**
* 手动推送
* /api/PlanSchedule/ScheduleMegPush
*/
export function getApiPlanScheduleScheduleMegPush(params, config) {
const paramsInput = {
date: params.date,
leader_number: params.leader_number,
};
return request.get(`/api/PlanSchedule/ScheduleMegPush`, {
params: paramsInput,
...config,
});
}
...@@ -6,4 +6,5 @@ export * from "./postApiPlanSchedulePlanScheduleDel"; ...@@ -6,4 +6,5 @@ export * from "./postApiPlanSchedulePlanScheduleDel";
export * from "./getApiPlanScheduleGetPlanScheduleTrackList"; export * from "./getApiPlanScheduleGetPlanScheduleTrackList";
export * from "./getApiPlanSchedulePlanScheduleTemplate"; export * from "./getApiPlanSchedulePlanScheduleTemplate";
export * from "./postApiPlanSchedulePlanScheduleImport"; export * from "./postApiPlanSchedulePlanScheduleImport";
export * from "./getApiPlanScheduleScheduleMegPush"; export * from "./postApiPlanScheduleScheduleMegPush";
export * from "./postApiPlanSchedulePlanScheduleFileDel";
...@@ -6,4 +6,5 @@ export * from "./postApiPlanSchedulePlanScheduleDel"; ...@@ -6,4 +6,5 @@ export * from "./postApiPlanSchedulePlanScheduleDel";
export * from "./getApiPlanScheduleGetPlanScheduleTrackList"; export * from "./getApiPlanScheduleGetPlanScheduleTrackList";
export * from "./getApiPlanSchedulePlanScheduleTemplate"; export * from "./getApiPlanSchedulePlanScheduleTemplate";
export * from "./postApiPlanSchedulePlanScheduleImport"; export * from "./postApiPlanSchedulePlanScheduleImport";
export * from "./getApiPlanScheduleScheduleMegPush"; export * from "./postApiPlanScheduleScheduleMegPush";
export * from "./postApiPlanSchedulePlanScheduleFileDel";
import { type AxiosRequestConfig } from "axios";
import { type PlanScheduleFileDelRequest } from "../../interface";
/**
* 删除日程附件
* /api/PlanSchedule/PlanScheduleFileDel
*/
export declare function postApiPlanSchedulePlanScheduleFileDel(input?: PlanScheduleFileDelRequest, 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/PlanSchedule/PlanScheduleFileDel
*/
export function postApiPlanSchedulePlanScheduleFileDel(input, config) {
return request.post(`/api/PlanSchedule/PlanScheduleFileDel`, input, config);
}
...@@ -9,5 +9,32 @@ export declare function postApiPlanSchedulePlanScheduleIns(input?: PlanScheduleI ...@@ -9,5 +9,32 @@ export declare function postApiPlanSchedulePlanScheduleIns(input?: PlanScheduleI
status: string; status: string;
msg: string; msg: string;
msg_detail: string; msg_detail: string;
response: string; response: {
id: string;
date: string;
userid: string;
usercard: string;
username: string;
dept_id: string;
dept_name: string;
createby: string;
createname: string;
createtime: string;
begin: string;
end: string;
content: string;
is_del: number;
file_id: string;
modifyby: string;
modify_time: string;
file_list: {
id: string;
createby: string;
createtime: string;
path: string;
suffix: string;
size: string;
file_name: string;
}[];
};
}, any>>; }, any>>;
...@@ -9,5 +9,32 @@ export declare function postApiPlanSchedulePlanScheduleSave(input?: PlanSchedule ...@@ -9,5 +9,32 @@ export declare function postApiPlanSchedulePlanScheduleSave(input?: PlanSchedule
status: string; status: string;
msg: string; msg: string;
msg_detail: string; msg_detail: string;
response: string; response: {
id: string;
date: string;
userid: string;
usercard: string;
username: string;
dept_id: string;
dept_name: string;
createby: string;
createname: string;
createtime: string;
begin: string;
end: string;
content: string;
is_del: number;
file_id: string;
modifyby: string;
modify_time: string;
file_list: {
id: string;
createby: string;
createtime: string;
path: string;
suffix: string;
size: string;
file_name: string;
}[];
};
}, any>>; }, any>>;
import { type AxiosRequestConfig } from "axios"; import { type AxiosRequestConfig } from "axios";
import { type ScheduleMegPushRequest } from "../../interface";
/** /**
* 手动推送 * 手动推送
* /api/PlanSchedule/ScheduleMegPush * /api/PlanSchedule/ScheduleMegPush
*/ */
export declare function getApiPlanScheduleScheduleMegPush(params: GetApiPlanScheduleScheduleMegPushParams, config?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<{ export declare function postApiPlanScheduleScheduleMegPush(input?: ScheduleMegPushRequest, config?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<{
code: number; code: number;
status: string; status: string;
msg: string; msg: string;
msg_detail: string; msg_detail: string;
response: string; response: string;
}, any>>; }, any>>;
export interface GetApiPlanScheduleScheduleMegPushParams {
date: string;
leader_number: string;
}
import request from "@/util/axios.js";
/**
* 手动推送
* /api/PlanSchedule/ScheduleMegPush
*/
export function postApiPlanScheduleScheduleMegPush(input, config) {
return request.post(`/api/PlanSchedule/ScheduleMegPush`, input, config);
}
...@@ -23,6 +23,10 @@ export declare function getApiUserRoleGetUserRoleInfo(params: GetApiUserRoleGetU ...@@ -23,6 +23,10 @@ export declare function getApiUserRoleGetUserRoleInfo(params: GetApiUserRoleGetU
role_id: string; role_id: string;
role_name: string; role_name: string;
}[]; }[];
user_list: {
id: string;
name: string;
}[];
}; };
}, any>>; }, any>>;
export interface GetApiUserRoleGetUserRoleInfoParams { export interface GetApiUserRoleGetUserRoleInfoParams {
......
...@@ -41,6 +41,10 @@ export declare function getApiUserRoleGetUserRoleList(params: GetApiUserRoleGetU ...@@ -41,6 +41,10 @@ export declare function getApiUserRoleGetUserRoleList(params: GetApiUserRoleGetU
role_id: string; role_id: string;
role_name: string; role_name: string;
}[]; }[];
user_list: {
id: string;
name: string;
}[];
}; };
}[]; }[];
query: { query: {
......
...@@ -41,6 +41,10 @@ export declare function getApiUserRoleGetUserRoleSearch(params: GetApiUserRoleGe ...@@ -41,6 +41,10 @@ export declare function getApiUserRoleGetUserRoleSearch(params: GetApiUserRoleGe
role_id: string; role_id: string;
role_name: string; role_name: string;
}[]; }[];
user_list: {
id: string;
name: string;
}[];
}; };
}[]; }[];
query: { query: {
......
export interface PlanScheduleFileDelRequest {
id: string;
file_id: string;
}
import { type WeekplanFile } from "../../interface";
export interface PlanScheduleViewModel {
id?: string;
date?: string;
userid?: string;
usercard?: string;
username?: string;
dept_id?: string;
dept_name?: string;
createby?: string;
createname?: string;
createtime?: string;
begin?: string;
end?: string;
content?: string;
is_del?: number;
file_id?: string;
modifyby?: string;
modify_time?: string;
file_list?: WeekplanFile[];
}
import { type PlanScheduleViewModel } from "../../interface";
export interface PlanScheduleViewModelMessageModel {
code?: number;
status?: string;
msg?: string;
msg_detail?: string;
response?: PlanScheduleViewModel;
}
export interface ScheduleMegPushRequest {
date: string;
leader_id_list: string[];
}
export interface UserInfo {
id?: string;
name?: string;
}
import { type Dept, type RoleModel } from "../../interface"; import { type Dept, type RoleModel, type UserInfo } from "../../interface";
export interface UserRoleDepInsRequest { export interface UserRoleDepInsRequest {
userid: string; userid: string;
dept_list?: Dept[]; dept_list?: Dept[];
role_list?: RoleModel[]; role_list?: RoleModel[];
user_list?: UserInfo[];
} }
import { type Dept, type RoleModel } from "../../interface"; import { type Dept, type RoleModel, type UserInfo } from "../../interface";
export interface UserRoleInfoViewModel { export interface UserRoleInfoViewModel {
userroleid?: string; userroleid?: string;
userid?: string; userid?: string;
...@@ -8,4 +8,5 @@ export interface UserRoleInfoViewModel { ...@@ -8,4 +8,5 @@ export interface UserRoleInfoViewModel {
position_name?: string; position_name?: string;
dept_list?: Dept[]; dept_list?: Dept[];
role_list?: RoleModel[]; role_list?: RoleModel[];
user_list?: UserInfo[];
} }
import { type Dept, type RoleModel } from "../../interface"; import { type Dept, type RoleModel, type UserInfo } from "../../interface";
export interface UserRoleViewModel { export interface UserRoleViewModel {
userroleid?: string; userroleid?: string;
userid?: string; userid?: string;
...@@ -6,4 +6,5 @@ export interface UserRoleViewModel { ...@@ -6,4 +6,5 @@ export interface UserRoleViewModel {
username?: string; username?: string;
dept_list?: Dept[]; dept_list?: Dept[];
role_list?: RoleModel[]; role_list?: RoleModel[];
user_list?: UserInfo[];
} }
...@@ -36,15 +36,20 @@ export * from "./apiTypes/PlanScheduleGroup"; ...@@ -36,15 +36,20 @@ export * from "./apiTypes/PlanScheduleGroup";
export * from "./apiTypes/PlanScheduleInfoResponse"; export * from "./apiTypes/PlanScheduleInfoResponse";
export * from "./apiTypes/PlanScheduleInfoResponseMessageModel"; export * from "./apiTypes/PlanScheduleInfoResponseMessageModel";
export * from "./apiTypes/PlanScheduleInsRequest"; export * from "./apiTypes/PlanScheduleInsRequest";
export * from "./apiTypes/PlanScheduleViewModel";
export * from "./apiTypes/PlanScheduleViewModelMessageModel";
export * from "./apiTypes/PlanScheduleSaveRequest"; export * from "./apiTypes/PlanScheduleSaveRequest";
export * from "./apiTypes/PlanScheduleTrackListResponse"; export * from "./apiTypes/PlanScheduleTrackListResponse";
export * from "./apiTypes/PlanScheduleTrackListResponseListMessageModel"; export * from "./apiTypes/PlanScheduleTrackListResponseListMessageModel";
export * from "./apiTypes/ScheduleMegPushRequest";
export * from "./apiTypes/PlanScheduleFileDelRequest";
export * from "./apiTypes/SysConfig"; export * from "./apiTypes/SysConfig";
export * from "./apiTypes/SysConfigMessageModel"; export * from "./apiTypes/SysConfigMessageModel";
export * from "./apiTypes/Option"; export * from "./apiTypes/Option";
export * from "./apiTypes/TableTitle"; export * from "./apiTypes/TableTitle";
export * from "./apiTypes/Dept"; export * from "./apiTypes/Dept";
export * from "./apiTypes/RoleModel"; export * from "./apiTypes/RoleModel";
export * from "./apiTypes/UserInfo";
export * from "./apiTypes/UserRoleViewModel"; export * from "./apiTypes/UserRoleViewModel";
export * from "./apiTypes/UserRoleViewModelMessageModel"; export * from "./apiTypes/UserRoleViewModelMessageModel";
export * from "./apiTypes/UserRoleViewModelMessageModelPageModel"; export * from "./apiTypes/UserRoleViewModelMessageModelPageModel";
......
...@@ -36,15 +36,20 @@ export * from "./apiTypes/PlanScheduleGroup"; ...@@ -36,15 +36,20 @@ export * from "./apiTypes/PlanScheduleGroup";
export * from "./apiTypes/PlanScheduleInfoResponse"; export * from "./apiTypes/PlanScheduleInfoResponse";
export * from "./apiTypes/PlanScheduleInfoResponseMessageModel"; export * from "./apiTypes/PlanScheduleInfoResponseMessageModel";
export * from "./apiTypes/PlanScheduleInsRequest"; export * from "./apiTypes/PlanScheduleInsRequest";
export * from "./apiTypes/PlanScheduleViewModel";
export * from "./apiTypes/PlanScheduleViewModelMessageModel";
export * from "./apiTypes/PlanScheduleSaveRequest"; export * from "./apiTypes/PlanScheduleSaveRequest";
export * from "./apiTypes/PlanScheduleTrackListResponse"; export * from "./apiTypes/PlanScheduleTrackListResponse";
export * from "./apiTypes/PlanScheduleTrackListResponseListMessageModel"; export * from "./apiTypes/PlanScheduleTrackListResponseListMessageModel";
export * from "./apiTypes/ScheduleMegPushRequest";
export * from "./apiTypes/PlanScheduleFileDelRequest";
export * from "./apiTypes/SysConfig"; export * from "./apiTypes/SysConfig";
export * from "./apiTypes/SysConfigMessageModel"; export * from "./apiTypes/SysConfigMessageModel";
export * from "./apiTypes/Option"; export * from "./apiTypes/Option";
export * from "./apiTypes/TableTitle"; export * from "./apiTypes/TableTitle";
export * from "./apiTypes/Dept"; export * from "./apiTypes/Dept";
export * from "./apiTypes/RoleModel"; export * from "./apiTypes/RoleModel";
export * from "./apiTypes/UserInfo";
export * from "./apiTypes/UserRoleViewModel"; export * from "./apiTypes/UserRoleViewModel";
export * from "./apiTypes/UserRoleViewModelMessageModel"; export * from "./apiTypes/UserRoleViewModelMessageModel";
export * from "./apiTypes/UserRoleViewModelMessageModelPageModel"; export * from "./apiTypes/UserRoleViewModelMessageModelPageModel";
......
此差异已折叠。
此差异已折叠。
<template> <template>
<div <div
class=" w-full h-auto rounded-[8px] text-[#323233] text-[18px] flex-wrap flex backdrop-brightness-100 bg-white mb-3"> class=" w-full h-auto rounded-[8px] text-[#323233] text-[18px] flex-wrap flex backdrop-brightness-100 bg-white mb-3">
<div class="w-full min-h-11 flex p-2 items-center justify-between border-b-[1px] border-[#dedede] border-solid"> <div class="w-full min-h-11 p-2 ">
<div class="w-full h-full flex items-center text-wrap"> <div class="w-full h-full flex items-center justify-between text-wrap">
<div class="flex">
<div :style="{background:props.data.peopleBg,color:props.data.peopleCl}">{{ props.data.username }}</div> <div :style="{background:props.data.peopleBg,color:props.data.peopleCl}">{{ props.data.username }}</div>
- -
<div <div :style="{background:props.data.deptBg,color:props.data.deptCl}">{{ props.data.dept_name }} </div>
:style="{background:props.data.deptBg,color:props.data.deptCl}">{{ props.data.dept_name }} </div>
<div >
<slot name="rightTitle"></slot>
</div> </div>
</div> </div>
<div class=" h-1 border-b-[1px] border-[#dedede] border-solid px-2"></div>
</div> </div>
<div class="w-[63%] min-h-[108px] p-2 "> <div class="w-full min-h-[108px] p-2 ">
<!-- 日程安排--> <!-- 日程安排-->
<div v-show="props.data.schedule.plan_list.map(cur=>cur.content).join(';')" class="w-full [45px] flex "> <div v-show="props.data.schedule.plan_list.map(cur=>cur.content).join(';')" class="w-full [45px] flex ">
<div class="w-full h-1/3"> <div class="w-full h-1/3">
...@@ -38,13 +43,13 @@ ...@@ -38,13 +43,13 @@
</div> </div>
</div> </div>
<div <!-- 右侧星期-->
class="w-[37%] text-[18px] flex items-center min-h-[108px] "> <!-- <div class="w-[37%] text-[18px] flex items-center min-h-[108px] ">
<div class="flex content-center flex-wrap w-full h-[80%] border-[#dedede] border-l-[1px] border-dashed p-1 pl-2"> <div class="flex content-center flex-wrap w-full h-[80%] border-[#dedede] border-l-[1px] border-dashed p-1 pl-2">
<p class="w-full text-[15px]">{{ dayjs(props.data.date).format('YYYY年MM月DD日') }}</p> <p class="w-full text-[15px]">{{ dayjs(props.data.date).format('YYYY年MM月DD日') }}</p>
<p class="w-full ">{{ props.data.week }}</p> <p class="w-full ">{{ props.data.week }}</p>
</div> </div>
</div> </div>-->
</div> </div>
......
此差异已折叠。
此差异已折叠。
...@@ -38,7 +38,7 @@ const app = createApp(App) ...@@ -38,7 +38,7 @@ const app = createApp(App)
app.use(ElementPlus) app.use(ElementPlus)
initStore(app) initStore(app)
//使用测试按钮Vxonsole //使用测试按钮Vxonsole
// const vConsole = new VConsole(); const vConsole = new VConsole();
app.config.globalProperties.$cookies = VueCookies; app.config.globalProperties.$cookies = VueCookies;
app.config.globalProperties.asc = api app.config.globalProperties.asc = api
app.use(router) app.use(router)
......
...@@ -149,7 +149,7 @@ ...@@ -149,7 +149,7 @@
> >
<div class="text-[#ACADAD] w-full h-[18px] flex items-center mb-2"> <div class="text-[#ACADAD] w-full h-[18px] flex items-center mb-2">
<div class="w-[4px] h-full mr-2 rounded-t-2xl rounded-b-2xl bg-[#3793FF]"></div> <div class="w-[4px] h-full mr-2 rounded-t-2xl rounded-b-2xl bg-[#3793FF]"></div>
<p>{{ item.begin }}-{{ item.end }}</p> <p>{{ item.date }} {{ item.begin }}-{{ item.end }}</p>
</div> </div>
<div class="mb-2 text-[#4E4E4E]"> <div class="mb-2 text-[#4E4E4E]">
<p>{{ item.content }}</p> <p>{{ item.content }}</p>
...@@ -171,7 +171,7 @@ ...@@ -171,7 +171,7 @@
> >
<div class="text-[#ACADAD] w-full h-[18px] flex items-center mb-2"> <div class="text-[#ACADAD] w-full h-[18px] flex items-center mb-2">
<div class="w-[4px] h-full mr-2 rounded-t-2xl rounded-b-2xl bg-[#3793FF]"></div> <div class="w-[4px] h-full mr-2 rounded-t-2xl rounded-b-2xl bg-[#3793FF]"></div>
<p>{{ item.begin }}-{{ item.end }}</p> <p>{{ item.date }} {{ item.begin }}-{{ item.end }}</p>
</div> </div>
<div class="mb-2 text-[#4E4E4E]"> <div class="mb-2 text-[#4E4E4E]">
<p>{{ item.content }}</p> <p>{{ item.content }}</p>
......
此差异已折叠。
...@@ -57,6 +57,12 @@ const routes = [ ...@@ -57,6 +57,12 @@ const routes = [
component: () => import('../pages/responsibleForFilingRecords/dayDetails/index.vue'), component: () => import('../pages/responsibleForFilingRecords/dayDetails/index.vue'),
meta: {isAuth: true}, meta: {isAuth: true},
}, },
{
name: 'addSchedule',
path: '/addSchedule',
component: () => import('../pages/responsibleForFilingRecords/addSchedule/index.vue'),
meta: {isAuth: true},
},
] ]
......
...@@ -25,7 +25,7 @@ axiosInstance.interceptors.request.use( ...@@ -25,7 +25,7 @@ axiosInstance.interceptors.request.use(
// 在发送请求之前可以进行一些处理,例如添加认证信息、日志等 // 在发送请求之前可以进行一些处理,例如添加认证信息、日志等
let token = Cookies.get('oneWeekARange-management-token') let token = Cookies.get('oneWeekARange-management-token')
config.headers['Authorization'] = 'Bearer ' + token config.headers['Authorization'] = 'Bearer ' + token
if (config.url.indexOf('ImageUpLoad') !== -1) if (config.url.indexOf('ImageUpLoad') !== -1 || config.url =='/api/File/FileUpload')
config.headers['Content-Type'] = 'multipart/form-data' config.headers['Content-Type'] = 'multipart/form-data'
// refreshTokenAction() // refreshTokenAction()
return config; return config;
......
Markdown 格式
0% or
您添加了 0 人 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册 或