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

V20240314 保存

上级 f3accd8c
import{f as p,b as l,a as u,h as k,e as m,L as _,o as f,i as g,C as w,j as n,G as a,S as y,k as d}from"./index-DFMcDVET.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 f(),l("div",R,[u(s,{size:"38px",color:"#1989fa",vertical:""},{default:k(()=>[g(" 登录中")]),_:1})])}}};export{A as default};
import{f as p,b as l,a as u,h as k,e as m,L as _,o as f,i as g,C as w,j as n,G as a,S as y,k as d}from"./index-CWttFJVn.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 f(),l("div",R,[u(s,{size:"38px",color:"#1989fa",vertical:""},{default:k(()=>[g(" 登录中")]),_:1})])}}};export{A as default};
import{f as i,b as l,a as p,h as k,e as _,j as s,L as d,o as m,i as y}from"./index-DFMcDVET.js";const f={style:{display:"flex","justify-content":"center","margin-top":"50%"}},q={__name:"SSOInfo",setup(v){const e=_(),a=async n=>{const t=await(void 0)(n);if(t.code!==1)await e.replace({name:"403"});else if(t.response.access_token.token_content!==""){s.set("site-management-token",t.response.access_token.token_content),s.set("time",t.response.access_token.expires);let o=e.currentRoute.value.query.links,u=e.currentRoute.value.query.id;await e.push({path:`/${o}`,query:{id:u}})}},r=async n=>{const t=await(void 0)(n);if(t.code!==1)await e.replace({name:"403"});else if(t.response.access_token.token_content!==""){s.set("site-management-token",t.response.access_token.token_content),s.set("time",t.response.access_token.expires);let o=e.currentRoute.value.query.links;await e.push({path:`/${o}`})}},c=async()=>{if(Number(e.currentRoute.value.query.type)===2){s.set("token",e.currentRoute.value.query.token);let n={token:s.get("token")};await a(n)}else if(Number(e.currentRoute.value.query.type)===1){let n={sign:e.currentRoute.value.query.sign,code:e.currentRoute.value.query.code,timestamp:e.currentRoute.value.query.timestamp};await r(n)}};return i(()=>{c()}),(n,t)=>{const o=d;return m(),l("div",f,[p(o,{size:"38px",color:"#1989fa",vertical:""},{default:k(()=>[y(" 登录中")]),_:1})])}}};export{q as default};
import{f as i,b as l,a as p,h as k,e as _,j as s,L as d,o as m,i as y}from"./index-CWttFJVn.js";const f={style:{display:"flex","justify-content":"center","margin-top":"50%"}},q={__name:"SSOInfo",setup(v){const e=_(),a=async n=>{const t=await(void 0)(n);if(t.code!==1)await e.replace({name:"403"});else if(t.response.access_token.token_content!==""){s.set("site-management-token",t.response.access_token.token_content),s.set("time",t.response.access_token.expires);let o=e.currentRoute.value.query.links,u=e.currentRoute.value.query.id;await e.push({path:`/${o}`,query:{id:u}})}},r=async n=>{const t=await(void 0)(n);if(t.code!==1)await e.replace({name:"403"});else if(t.response.access_token.token_content!==""){s.set("site-management-token",t.response.access_token.token_content),s.set("time",t.response.access_token.expires);let o=e.currentRoute.value.query.links;await e.push({path:`/${o}`})}},c=async()=>{if(Number(e.currentRoute.value.query.type)===2){s.set("token",e.currentRoute.value.query.token);let n={token:s.get("token")};await a(n)}else if(Number(e.currentRoute.value.query.type)===1){let n={sign:e.currentRoute.value.query.sign,code:e.currentRoute.value.query.code,timestamp:e.currentRoute.value.query.timestamp};await r(n)}};return i(()=>{c()}),(n,t)=>{const o=d;return m(),l("div",f,[p(o,{size:"38px",color:"#1989fa",vertical:""},{default:k(()=>[y(" 登录中")]),_:1})])}}};export{q as default};
import{c as x,d as P,a as t,t as C,m as k,w as F,l as p,r as b,f as B,b as m,n as S,h as s,p as _,q as A,F as w,s as L,v as G,o as l,i as c,x as M,y as N,z as j}from"./index-DFMcDVET.js";const[z,V]=x("divider"),$={dashed:Boolean,hairline:C,vertical:Boolean,contentPosition:k("center")};var I=P({name:z,props:$,setup(e,{slots:n}){return()=>{var a;return t("div",{role:"separator",class:V({dashed:e.dashed,hairline:e.hairline,vertical:e.vertical,[`content-${e.contentPosition}`]:!!n.default&&!e.vertical})},[!e.vertical&&((a=n.default)==null?void 0:a.call(n))])}}});const O=F(I);function q(e){return p.get("/api/Collect/GetCollectList",e)}function D(e){return p.get("/api/PlanProject/GetPlanProjectByMyList",e)}const E={class:"publicContainer"},H={class:"w-full h-[calc(100%-65px)] box-border overflow-y-auto"},J={__name:"index",setup(e,{expose:n}){const a=b({data:{mySchedule:{},myFocus:[]},params:{}});function f(){D().then(o=>{a.data.mySchedule=o.response})}function d(){q().then(o=>{a.data.myFocus=o.response})}return B(()=>{document.title="一周安排",f(),d()}),n({GetCollectList:d}),(o,R)=>{const y=M,r=O,h=G,v=N,i=j;return l(),m("div",E,[t(y),S("div",H,[t(r,{style:{color:"#1989FA",fontSize:"18px",margin:0,borderColor:"#1989fa",padding:"5px 0"},"content-position":"left"},{default:s(()=>[c(" 我的周安排 ")]),_:1}),t(h,{data:a.data.mySchedule},null,8,["data"]),a.data.myFocus.length?(l(),_(r,{key:0,style:{color:"#1989FA",fontSize:"18px",margin:0,borderColor:"#1989fa",padding:"5px 0"},"content-position":"left"},{default:s(()=>[c(" 我的关注 ")]),_:1})):A("",!0),(l(!0),m(w,null,L(a.data.myFocus,(u,g)=>(l(),_(v,{key:g,alldayOrMidafternoonStatus:!!Number(u.is_allday),data:u},null,8,["alldayOrMidafternoonStatus","data"]))),128)),t(r,{style:{color:"#1989FA",fontSize:"18px",margin:0,borderColor:"#1989fa",padding:"5px 0"},"content-position":"left"},{default:s(()=>[c(" 菜单栏 ")]),_:1}),t(i,{title:"工作安排填报","is-link":"",to:"/workArrangementFilling"}),t(i,{title:"分管填报记录","is-link":"",to:"/responsibleForFilingRecords"}),t(i,{title:"人员授权","is-link":"",to:"/personnelAuthority"}),t(i,{title:"填报配置","is-link":"",to:"/system"})])])}}};export{J as default};
import{c as x,d as P,a as t,t as C,m as k,w as F,l as p,r as b,f as B,b as m,n as S,h as s,p as _,q as A,F as w,s as L,v as G,o as l,i as c,x as M,y as N,z as j}from"./index-CWttFJVn.js";const[z,V]=x("divider"),$={dashed:Boolean,hairline:C,vertical:Boolean,contentPosition:k("center")};var I=P({name:z,props:$,setup(e,{slots:n}){return()=>{var a;return t("div",{role:"separator",class:V({dashed:e.dashed,hairline:e.hairline,vertical:e.vertical,[`content-${e.contentPosition}`]:!!n.default&&!e.vertical})},[!e.vertical&&((a=n.default)==null?void 0:a.call(n))])}}});const O=F(I);function q(e){return p.get("/api/Collect/GetCollectList",e)}function D(e){return p.get("/api/PlanProject/GetPlanProjectByMyList",e)}const E={class:"publicContainer"},H={class:"w-full h-[calc(100%-65px)] box-border overflow-y-auto"},J={__name:"index",setup(e,{expose:n}){const a=b({data:{mySchedule:{},myFocus:[]},params:{}});function f(){D().then(o=>{a.data.mySchedule=o.response})}function d(){q().then(o=>{a.data.myFocus=o.response})}return B(()=>{document.title="一周安排",f(),d()}),n({GetCollectList:d}),(o,R)=>{const y=M,r=O,h=G,v=N,i=j;return l(),m("div",E,[t(y),S("div",H,[t(r,{style:{color:"#1989FA",fontSize:"18px",margin:0,borderColor:"#1989fa",padding:"5px 0"},"content-position":"left"},{default:s(()=>[c(" 我的周安排 ")]),_:1}),t(h,{data:a.data.mySchedule},null,8,["data"]),a.data.myFocus.length?(l(),_(r,{key:0,style:{color:"#1989FA",fontSize:"18px",margin:0,borderColor:"#1989fa",padding:"5px 0"},"content-position":"left"},{default:s(()=>[c(" 我的关注 ")]),_:1})):A("",!0),(l(!0),m(w,null,L(a.data.myFocus,(u,g)=>(l(),_(v,{key:g,alldayOrMidafternoonStatus:!!Number(u.is_allday),data:u},null,8,["alldayOrMidafternoonStatus","data"]))),128)),t(r,{style:{color:"#1989FA",fontSize:"18px",margin:0,borderColor:"#1989fa",padding:"5px 0"},"content-position":"left"},{default:s(()=>[c(" 菜单栏 ")]),_:1}),t(i,{title:"工作安排填报","is-link":"",to:"/workArrangementFilling"}),t(i,{title:"分管填报记录","is-link":"",to:"/responsibleForFilingRecords"}),t(i,{title:"人员授权","is-link":"",to:"/personnelAuthority"}),t(i,{title:"填报配置","is-link":"",to:"/system"})])])}}};export{J as default};
import{A as p,r as m,f as h,b as w,a as e,n as l,h as n,B as v,D as x,o as k,i as c,E as C,H as y}from"./index-DFMcDVET.js";const I={class:"publicContainerNoPadding"},g=l("div",{class:"w-full h-[10px]"},null,-1),B={class:"w-full h-[calc(100%-120px)] p-2 overflow-y-auto"},b={__name:"index",setup(D){const t=p(),o=m({data:{myFillingIn:[]},fillInWork:{show:!1}});function i(){o.fillInWork.show=!0}function _(){t.value.save()}function r(s){o.fillInWork.show=s}return h(()=>{}),(s,N)=>{const u=C,d=v,a=y,f=x;return k(),w("div",I,[e(u,{path:"/welcome",title:"填报工作安排"}),g,l("div",B,[e(d,{ref_key:"saveRef",ref:t,show:o.fillInWork.show,onCloseDateComponent:r},null,8,["show"])]),e(f,null,{default:n(()=>[e(a,{type:"primary",round:"",class:"w-[120px]",onClick:i},{default:n(()=>[c("添加日期")]),_:1}),e(a,{type:"success",round:"",class:"w-[120px]",onClick:_},{default:n(()=>[c("保存")]),_:1})]),_:1})])}}};export{b as default};
import{A as p,r as m,f as h,b as w,a as e,n as l,h as n,B as v,D as x,o as k,i as c,E as C,H as y}from"./index-CWttFJVn.js";const I={class:"publicContainerNoPadding"},g=l("div",{class:"w-full h-[10px]"},null,-1),B={class:"w-full h-[calc(100%-120px)] p-2 overflow-y-auto"},b={__name:"index",setup(D){const t=p(),o=m({data:{myFillingIn:[]},fillInWork:{show:!1}});function i(){o.fillInWork.show=!0}function _(){t.value.save()}function r(s){o.fillInWork.show=s}return h(()=>{}),(s,N)=>{const u=C,d=v,a=y,f=x;return k(),w("div",I,[e(u,{path:"/welcome",title:"填报工作安排"}),g,l("div",B,[e(d,{ref_key:"saveRef",ref:t,show:o.fillInWork.show,onCloseDateComponent:r},null,8,["show"])]),e(f,null,{default:n(()=>[e(a,{type:"primary",round:"",class:"w-[120px]",onClick:i},{default:n(()=>[c("添加日期")]),_:1}),e(a,{type:"success",round:"",class:"w-[120px]",onClick:_},{default:n(()=>[c("保存")]),_:1})]),_:1})])}}};export{b as default};
import{c as X,d as Z,I as ee,a as p,F as m,J as te,T as ae,w as ne,l as j,K as u,A as I,r as se,f as ie,b as c,n,M as Y,O as P,s as k,h,P as le,o,p as L,i as A,E as oe,Q as ce,y as re,z as de,R as _e,H as pe,D as ue}from"./index-DFMcDVET.js";const[V,me]=X("space"),he={align:String,direction:{type:String,default:"horizontal"},size:{type:[Number,String,Array],default:8},wrap:Boolean,fill:Boolean};function S(s=[]){const r=[];return s.forEach(i=>{Array.isArray(i)?r.push(...i):i.type===m?r.push(...S(i.children)):r.push(i)}),r.filter(i=>{var _;return!(i&&(i.type===te||i.type===m&&((_=i.children)==null?void 0:_.length)===0||i.type===ae&&i.children.trim()===""))})}var fe=Z({name:V,props:he,setup(s,{slots:r}){const i=ee(()=>{var e;return(e=s.align)!=null?e:s.direction==="horizontal"?"center":""}),_=e=>typeof e=="number"?e+"px":e,C=e=>{const f={},F=`${_(Array.isArray(s.size)?s.size[0]:s.size)}`,y=`${_(Array.isArray(s.size)?s.size[1]:s.size)}`;return e?s.wrap?{marginBottom:y}:{}:(s.direction==="horizontal"&&(f.marginRight=F),(s.direction==="vertical"||s.wrap)&&(f.marginBottom=y),f)};return()=>{var e;const f=S((e=r.default)==null?void 0:e.call(r));return p("div",{class:[me({[s.direction]:s.direction,[`align-${i.value}`]:i.value,wrap:s.wrap,fill:s.fill})]},[f.map((F,y)=>p("div",{key:`item-${y}`,class:`${V}-item`,style:C(y===f.length-1)},[F]))])}}});const ye=ne(fe);function we(s){return j.get("/api/Common/GetDeptList",s)}function ge(s,r){const i={dept_id:s.dept_id};return j.get("/api/Common/GetUserList",{params:i,...r})}function ke(s,r){return j.post("/api/PlanProject/GetPlanProjectByWeekList",s,r)}function be(s,r){return j.post("/api/PlanProject/GetPlanProjectByDayList",s,r)}const ve={class:"publicContainerNoPadding"},xe={class:"w-full h-[50px] flex justify-between items-center p-2"},De={class:"w-full h-[calc(100%-106px)] p-2 overflow-y-auto"},Ye={key:0},Fe=n("div",{class:"w-full h-5"},null,-1),Me={key:1},Pe={class:"w-[35px] min-h-[80px]"},Ae={class:"aaa w-full min-h-[80px] ccFlex"},Ce={class:"w-[calc(100%-35px)] h-full"},Be={class:"w-[35px] min-h-[80px] ccFlex"},Ne={class:"aaa"},je=n("div",{class:"w-[35px] min-h-[80px]"},[n("div",{class:"w-full h-1/2 ccFlex"}," 上 "),n("div",{class:"w-full h-1/2 ccFlex"}," 下 ")],-1),Ee={class:"w-[calc(100%-105px)] min-h-[80px]"},$e={class:"w-full h-1/2 ccFlex"},Le={class:"w-full h-1/2 ccFlex"},ze={class:"w-[35px] min-h-[80px] ccFlex"},Ge={class:"aaa"},Ie=n("div",{class:"w-full h-3"},null,-1),Ve=n("div",{class:"w-full h-3"},null,-1),Se={class:"w-full h-auto bg-white"},We=n("div",{class:"w-full h-10 p-4 pb-0 font-bold"},"分管部门",-1),Ke={class:"w-full min-h-[110px] p-4 flex justify-between flex-wrap"},Oe=n("div",{class:"w-full h-3"},null,-1),Ue={class:"w-full h-auto bg-white"},He=n("div",{class:"w-full h-10 p-4 pb-0 font-bold"},"中层干部",-1),Re={class:"w-full min-h-[110px] p-4 flex justify-between flex-wrap"},Qe={__name:"index",setup(s,{expose:r}){const i=u().startOf("week").add(1,"day").format("YYYY-MM-DD"),_=u().startOf("week").add(5,"day").format("YYYY-MM-DD"),C=I();I();const e=se({calendarKey:1,weekKey:1,dayArray:[],weekArray:[],paramsDay:{begin_time:u().format("YYYY-MM-DD"),end_time:u().format("YYYY-MM-DD"),dept_id_list:[],tid_list:[]},paramsWeek:{begin_time:i,end_time:_,dept_id_list:[],tid_list:[]},comment:{dept:[],user:[],deptId:""},check:{dept_id_list:[],tid_list:[],begin_time:"",end_time:""},date:{show:!1},search:{date:i+" - "+_},weekView:{minHeigth:80},select:{action:!1,showPopup:!1},fillInWork:{show:!1},switchView:{show:!0}});function f(a){e.date.show=!1,e.search.date=u(a[0]).format("YYYY-MM-DD")+" - "+u(a[1]).format("YYYY-MM-DD"),e.check.begin_time=u(a[0]).format("YYYY-MM-DD"),e.check.end_time=u(a[1]).format("YYYY-MM-DD")}function F(){e.select.showPopup=!0}function y(){e.switchView.show=!e.switchView.show,e.calendarKey++,e.search.date=i+" - "+_,e.switchView.show?(e.paramsDay={begin_time:u().format("YYYY-MM-DD"),end_time:u().format("YYYY-MM-DD"),dept_id_list:[],tid_list:[]},b()):(e.paramsWeek={begin_time:i,end_time:_,dept_id_list:[],tid_list:[]},M()),z(),e.select.action=!1}function z(a){console.log("🚀🚀🚀,",a),e.check.dept_id_list=[],e.comment.dept.forEach(t=>{t.bg="",t.cl=""}),e.check.tid_list=[],e.comment.user.forEach(t=>{t.bg="",t.cl=""}),e.search.date=i+" - "+_,e.check={dept_id_list:[],tid_list:[],begin_time:"",end_time:""},e.calendarKey++,e.select.action=!1,e.paramsWeek={begin_time:i,end_time:_,dept_id_list:[],tid_list:[]},e.paramsDay={begin_time:u().format("YYYY-MM-DD"),end_time:u().format("YYYY-MM-DD"),dept_id_list:[],tid_list:[]},a.dateDay.dateArray.array=[],a.dateDay.getInitDate(),b(),M()}function W(){let a={true:()=>{e.paramsDay={...e.check,begin_time:e.check.begin_time?e.check.begin_time:i,end_time:e.check.end_time?e.check.end_time:_},b(),e.select.showPopup=!1},false:()=>{e.paramsWeek={...e.check,begin_time:e.check.begin_time?e.check.begin_time:i,end_time:e.check.end_time?e.check.end_time:_},M(),e.select.showPopup=!1}};e.select.action=!0,a[String(e.switchView.show)]()}function K(){e.select.showPopup=!1}function O(){we().then(a=>{e.comment.dept=a.response.map(t=>({...t,bg:"",cl:""}))})}function U(){ge({dept_id:e.comment.deptId}).then(a=>{e.comment.user=a.response.map(t=>({...t,bg:"",cl:""}))})}function b(){be(e.paramsDay).then(a=>{e.dayArray=a.response})}function H(a){e.paramsDay={...e.paramsDay,begin_time:a,end_time:a},b()}function M(){ke(e.paramsWeek).then(a=>{let t=[];const B=a.response.reduce((E,d)=>{const N=E.find(w=>w.deptName===d.dept_name);return N?N.nameData.push({userId:d.userid,userName:d.username,userCard:d.usercard,attention:d.attention,nameArray:d.data}):t.push({deptName:d.dept_name,deptId:d.dept_id,nameData:[{userId:d.userid,userName:d.username,userCard:d.usercard,attention:d.attention,nameArray:d.data}]}),t},[]);e.weekArray=B})}function R(a){e.check.dept_id_list.includes(a.id)?(e.check.dept_id_list.forEach((t,v)=>{t===a.id&&e.check.dept_id_list.splice(v,1)}),e.comment.dept.forEach(t=>{t.id===a.id&&(t.bg="",t.cl="")})):(e.check.dept_id_list.push(a.id),e.comment.dept.forEach(t=>{t.id===a.id&&(t.bg="#1989FA",t.cl="#FFFFFF")})),console.log("🚀🚀check.dept_id_list🚀,",...e.check.dept_id_list,"")}function T(a){e.check.tid_list.includes(a.id)?(e.check.tid_list.forEach((t,v)=>{t===a.id&&e.check.tid_list.splice(v,1,"")}),e.comment.user.forEach(t=>{t.id===a.id&&(t.bg="",t.cl="")})):(e.check.tid_list.push(a.id),e.comment.user.forEach(t=>{t.id===a.id&&(t.bg="#1989FA",t.cl="#FFFFFF")})),console.log("🚀🚀check.tid_list🚀,",...e.check.tid_list)}return ie(()=>{document.title="分管填报记录查看",O(),U(),b(),M()}),r({init:e,GetPlanProjectByDayList:b,GetPlanProjectByWeekList:M}),(a,t)=>{const v=oe,B=ce,E=re,d=de,N=_e,w=pe,G=ye,Q=ue,J=le;return o(),c(m,null,[n("div",ve,[p(v,{path:"/welcome",title:"分管填报记录查看"}),n("div",xe,[n("div",{onClick:y,class:"w-24 h-8 flex text-[#4B5563] justify-center items-center border-solid border-[1px] active:bg-blue-100"}," 切换"+Y(e.switchView.show?"周":"天")+"视图 ",1),n("div",{style:P({background:["#FFFFFF","#1989FA"][Number(e.select.action)],color:["#4B5563","#FFFFFF"][Number(e.select.action)]}),onClick:F,class:"w-20 h-8 flex justify-center items-center border-solid border-[1px]"}," 高级查询 ",4)]),n("div",De,[e.switchView.show?(o(),c("div",Ye,[p(B,{ref_key:"dateDay",ref:C,onSearchDayData:H},null,512),Fe,(o(!0),c(m,null,k(e.dayArray,(l,x)=>(o(),L(E,{data:l,key:x,alldayOrMidafternoonStatus:!!Number(l.is_allday)},null,8,["data","alldayOrMidafternoonStatus"]))),128))])):(o(),c("div",Me,[p(B,{ref_key:"dateDay",ref:C},null,512),(o(),c("div",{class:"w-full h-auto bg-white",key:e.weekKey},[(o(!0),c(m,null,k(e.weekArray,(l,x)=>(o(),c("div",{class:"w-full min-h-[80px] flex-wrap ccFlex",key:x},[n("div",Pe,[n("div",Ae,Y(l.deptName),1)]),n("div",Ce,[(o(!0),c(m,null,k(l.nameData,(D,q)=>(o(),c("div",{class:"w-full h-auto flex",key:q},[n("div",Be,[n("div",Ne,Y(D.userName),1)]),je,n("div",Ee,[n("div",$e,[(o(!0),c(m,null,k(D.nameArray,(g,$)=>(o(),c("div",{style:P({background:["","#D9E2F3"][+(g.fore_plan!=null&&g.fore_plan!=""&&g.fore_plan!=null)]}),key:$,class:"w-1/5 h-full border-gray-300 border-solid border-[0.5px]"},null,4))),128))]),n("div",Le,[(o(!0),c(m,null,k(D.nameArray,(g,$)=>(o(),c("div",{style:P({background:["","#FFE599"][+(g.fore_plan!=null&&g.fore_plan!=""&&g.fore_plan!=null)]}),key:$,class:"w-1/5 h-full border-gray-300 border-solid border-[0.5px]"},null,4))),128))])]),n("div",ze,[n("div",Ge,Y(["关注","取消关注"][D.attention]),1)])]))),128))])]))),128))]))]))])]),p(J,{show:e.select.showPopup,height:80},{content:h(()=>[(o(),c("div",{class:"w-full h-[calc(100%-64px)] bg-gray-200",key:e.calendarKey},[Ie,p(d,{inset:"",title:"选择单个日期",value:e.search.date,onClick:t[0]||(t[0]=l=>e.date.show=!0)},null,8,["value"]),p(N,{type:"range",show:e.date.show,"onUpdate:show":t[1]||(t[1]=l=>e.date.show=l),onConfirm:f},null,8,["show"]),Ve,n("div",Se,[We,n("div",Ke,[p(G,{wrap:""},{default:h(()=>[(o(!0),c(m,null,k(e.comment.dept,(l,x)=>(o(),L(w,{onClick:D=>R(l),key:x,style:P({margin:"5px",padding:"15px !important",height:"40px",background:l.bg,color:l.cl}),size:"normal",plain:"",hairline:"",type:"primary"},{default:h(()=>[A(Y(l.name),1)]),_:2},1032,["onClick","style"]))),128))]),_:1})])]),Oe,n("div",Ue,[He,n("div",Re,[p(G,{wrap:""},{default:h(()=>[(o(!0),c(m,null,k(e.comment.user,(l,x)=>(o(),L(w,{onClick:D=>T(l),style:P({margin:"5px",padding:"15px !important",height:"40px",background:l.bg,color:l.cl}),size:"normal",plain:"",hairline:"",type:"primary"},{default:h(()=>[A(Y(l.name),1)]),_:2},1032,["onClick","style"]))),256))]),_:1})])])])),p(Q,null,{default:h(()=>[p(w,{type:"primary",round:"",class:"w-[90px]",onClick:t[2]||(t[2]=l=>z(a.$refs))},{default:h(()=>[A("重置")]),_:1}),p(w,{type:"primary",round:"",class:"w-[90px]",onClick:W},{default:h(()=>[A("查询")]),_:1}),p(w,{round:"",class:"w-[90px]",onClick:K},{default:h(()=>[A("取消")]),_:1})]),_:1})]),_:1},8,["show"])],64)}}};export{Qe as default};
import{_ as e}from"./index-DFMcDVET.js";const n={};function r(c,t){return null}const o=e(n,[["render",r]]);export{o as default};
import{_ as e}from"./index-CWttFJVn.js";const n={};function r(c,t){return null}const o=e(n,[["render",r]]);export{o as default};
import{c as D,d as w,u as k,a as e,g as _,m as B,w as G,b as M,F as S,e as C,o as b,N as z}from"./index-DFMcDVET.js";const[A,s]=D("empty"),I={image:B("default"),imageSize:[Number,String,Array],description:String};var N=w({name:A,props:I,setup(o,{slots:a}){const h=()=>{const l=a.description?a.description():o.description;if(l)return e("p",{class:s("description")},[l])},x=()=>{if(a.default)return e("div",{class:s("bottom")},[a.default()])},f=k(),r=l=>`${f}-${l}`,t=l=>`url(#${r(l)})`,n=(l,d,v)=>e("stop",{"stop-color":l,offset:`${d}%`,"stop-opacity":v},null),i=(l,d)=>[n(l,0),n(d,100)],F=l=>[e("defs",null,[e("radialGradient",{id:r(l),cx:"50%",cy:"54%",fx:"50%",fy:"54%",r:"297%",gradientTransform:"matrix(-.16 0 0 -.33 .58 .72)"},[n("#EBEDF0",0),n("#F2F3F5",100,.3)])]),e("ellipse",{fill:t(l),opacity:".8",cx:"80",cy:"140",rx:"46",ry:"8"},null)],c=()=>[e("defs",null,[e("linearGradient",{id:r("a"),x1:"64%",y1:"100%",x2:"64%"},[n("#FFF",0,.5),n("#F2F3F5",100)])]),e("g",{opacity:".8"},[e("path",{d:"M36 131V53H16v20H2v58h34z",fill:t("a")},null),e("path",{d:"M123 15h22v14h9v77h-31V15z",fill:t("a")},null)])],u=()=>[e("defs",null,[e("linearGradient",{id:r("b"),x1:"64%",y1:"97%",x2:"64%",y2:"0%"},[n("#F2F3F5",0,.3),n("#F2F3F5",100)])]),e("g",{opacity:".8"},[e("path",{d:"M87 6c3 0 7 3 8 6a8 8 0 1 1-1 16H80a7 7 0 0 1-8-6c0-4 3-7 6-7 0-5 4-9 9-9Z",fill:t("b")},null),e("path",{d:"M19 23c2 0 3 1 4 3 2 0 4 2 4 4a4 4 0 0 1-4 3v1h-7v-1l-1 1c-2 0-3-2-3-4 0-1 1-3 3-3 0-2 2-4 4-4Z",fill:t("b")},null)])],p=()=>e("svg",{viewBox:"0 0 160 160"},[e("defs",null,[e("linearGradient",{id:r(1),x1:"64%",y1:"100%",x2:"64%"},[n("#FFF",0,.5),n("#F2F3F5",100)]),e("linearGradient",{id:r(2),x1:"50%",x2:"50%",y2:"84%"},[n("#EBEDF0",0),n("#DCDEE0",100,0)]),e("linearGradient",{id:r(3),x1:"100%",x2:"100%",y2:"100%"},[i("#EAEDF0","#DCDEE0")]),e("radialGradient",{id:r(4),cx:"50%",cy:"0%",fx:"50%",fy:"0%",r:"100%",gradientTransform:"matrix(0 1 -.54 0 .5 -.5)"},[n("#EBEDF0",0),n("#FFF",100,0)])]),e("g",{fill:"none"},[c(),e("path",{fill:t(4),d:"M0 139h160v21H0z"},null),e("path",{d:"M80 54a7 7 0 0 1 3 13v27l-2 2h-2a2 2 0 0 1-2-2V67a7 7 0 0 1 3-13z",fill:t(2)},null),e("g",{opacity:".6","stroke-linecap":"round","stroke-width":"7"},[e("path",{d:"M64 47a19 19 0 0 0-5 13c0 5 2 10 5 13",stroke:t(3)},null),e("path",{d:"M53 36a34 34 0 0 0 0 48",stroke:t(3)},null),e("path",{d:"M95 73a19 19 0 0 0 6-13c0-5-2-9-6-13",stroke:t(3)},null),e("path",{d:"M106 84a34 34 0 0 0 0-48",stroke:t(3)},null)]),e("g",{transform:"translate(31 105)"},[e("rect",{fill:"#EBEDF0",width:"98",height:"34",rx:"2"},null),e("rect",{fill:"#FFF",x:"9",y:"8",width:"80",height:"18",rx:"1.1"},null),e("rect",{fill:"#EBEDF0",x:"15",y:"12",width:"18",height:"6",rx:"1.1"},null)])])]),y=()=>e("svg",{viewBox:"0 0 160 160"},[e("defs",null,[e("linearGradient",{x1:"50%",x2:"50%",y2:"100%",id:r(5)},[i("#F2F3F5","#DCDEE0")]),e("linearGradient",{x1:"95%",y1:"48%",x2:"5.5%",y2:"51%",id:r(6)},[i("#EAEDF1","#DCDEE0")]),e("linearGradient",{y1:"45%",x2:"100%",y2:"54%",id:r(7)},[i("#EAEDF1","#DCDEE0")])]),c(),u(),e("g",{transform:"translate(36 50)",fill:"none"},[e("g",{transform:"translate(8)"},[e("rect",{fill:"#EBEDF0",opacity:".6",x:"38",y:"13",width:"36",height:"53",rx:"2"},null),e("rect",{fill:t(5),width:"64",height:"66",rx:"2"},null),e("rect",{fill:"#FFF",x:"6",y:"6",width:"52",height:"55",rx:"1"},null),e("g",{transform:"translate(15 17)",fill:t(6)},[e("rect",{width:"34",height:"6",rx:"1"},null),e("path",{d:"M0 14h34v6H0z"},null),e("rect",{y:"28",width:"34",height:"6",rx:"1"},null)])]),e("rect",{fill:t(7),y:"61",width:"88",height:"28",rx:"1"},null),e("rect",{fill:"#F7F8FA",x:"29",y:"72",width:"30",height:"6",rx:"1"},null)])]),g=()=>e("svg",{viewBox:"0 0 160 160"},[e("defs",null,[e("linearGradient",{x1:"50%",x2:"50%",y2:"100%",id:r(8)},[i("#EAEDF1","#DCDEE0")])]),c(),u(),F("c"),e("path",{d:"m59 60 21 21 21-21h3l9 9v3L92 93l21 21v3l-9 9h-3l-21-21-21 21h-3l-9-9v-3l21-21-21-21v-3l9-9h3Z",fill:t(8)},null)]),m=()=>e("svg",{viewBox:"0 0 160 160"},[e("defs",null,[e("linearGradient",{x1:"50%",y1:"100%",x2:"50%",id:r(9)},[i("#EEE","#D8D8D8")]),e("linearGradient",{x1:"100%",y1:"50%",y2:"50%",id:r(10)},[i("#F2F3F5","#DCDEE0")]),e("linearGradient",{x1:"50%",x2:"50%",y2:"100%",id:r(11)},[i("#F2F3F5","#DCDEE0")]),e("linearGradient",{x1:"50%",x2:"50%",y2:"100%",id:r(12)},[i("#FFF","#F7F8FA")])]),c(),u(),F("d"),e("g",{transform:"rotate(-45 113 -4)",fill:"none"},[e("rect",{fill:t(9),x:"24",y:"52.8",width:"5.8",height:"19",rx:"1"},null),e("rect",{fill:t(10),x:"22.1",y:"67.3",width:"9.9",height:"28",rx:"1"},null),e("circle",{stroke:t(11),"stroke-width":"8",cx:"27",cy:"27",r:"27"},null),e("circle",{fill:t(12),cx:"27",cy:"27",r:"16"},null),e("path",{d:"M37 7c-8 0-15 5-16 12",stroke:t(11),"stroke-width":"3",opacity:".5","stroke-linecap":"round",transform:"rotate(45 29 13)"},null)])]),E=()=>{var l;if(a.image)return a.image();const d={error:g,search:m,network:p,default:y};return((l=d[o.image])==null?void 0:l.call(d))||e("img",{src:o.image},null)};return()=>e("div",{class:s()},[e("div",{class:s("image"),style:_(o.imageSize)},[E()]),h(),x()])}});const H=G(N),$={__name:"index",setup(o){const a=C(),h=()=>a.replace({name:"welcome"});return(x,f)=>{const r=z,t=H;return b(),M(S,null,[e(r,{"left-text":"返回","left-arrow":"",onClickLeft:h}),e(t,{style:{width:"100%",height:"100%"},image:"error",description:"异常"})],64)}}};export{$ as default};
import{c as D,d as w,u as k,a as e,g as _,m as B,w as G,b as M,F as S,e as C,o as b,N as z}from"./index-CWttFJVn.js";const[A,s]=D("empty"),I={image:B("default"),imageSize:[Number,String,Array],description:String};var N=w({name:A,props:I,setup(o,{slots:a}){const h=()=>{const l=a.description?a.description():o.description;if(l)return e("p",{class:s("description")},[l])},x=()=>{if(a.default)return e("div",{class:s("bottom")},[a.default()])},f=k(),r=l=>`${f}-${l}`,t=l=>`url(#${r(l)})`,n=(l,d,v)=>e("stop",{"stop-color":l,offset:`${d}%`,"stop-opacity":v},null),i=(l,d)=>[n(l,0),n(d,100)],F=l=>[e("defs",null,[e("radialGradient",{id:r(l),cx:"50%",cy:"54%",fx:"50%",fy:"54%",r:"297%",gradientTransform:"matrix(-.16 0 0 -.33 .58 .72)"},[n("#EBEDF0",0),n("#F2F3F5",100,.3)])]),e("ellipse",{fill:t(l),opacity:".8",cx:"80",cy:"140",rx:"46",ry:"8"},null)],c=()=>[e("defs",null,[e("linearGradient",{id:r("a"),x1:"64%",y1:"100%",x2:"64%"},[n("#FFF",0,.5),n("#F2F3F5",100)])]),e("g",{opacity:".8"},[e("path",{d:"M36 131V53H16v20H2v58h34z",fill:t("a")},null),e("path",{d:"M123 15h22v14h9v77h-31V15z",fill:t("a")},null)])],u=()=>[e("defs",null,[e("linearGradient",{id:r("b"),x1:"64%",y1:"97%",x2:"64%",y2:"0%"},[n("#F2F3F5",0,.3),n("#F2F3F5",100)])]),e("g",{opacity:".8"},[e("path",{d:"M87 6c3 0 7 3 8 6a8 8 0 1 1-1 16H80a7 7 0 0 1-8-6c0-4 3-7 6-7 0-5 4-9 9-9Z",fill:t("b")},null),e("path",{d:"M19 23c2 0 3 1 4 3 2 0 4 2 4 4a4 4 0 0 1-4 3v1h-7v-1l-1 1c-2 0-3-2-3-4 0-1 1-3 3-3 0-2 2-4 4-4Z",fill:t("b")},null)])],p=()=>e("svg",{viewBox:"0 0 160 160"},[e("defs",null,[e("linearGradient",{id:r(1),x1:"64%",y1:"100%",x2:"64%"},[n("#FFF",0,.5),n("#F2F3F5",100)]),e("linearGradient",{id:r(2),x1:"50%",x2:"50%",y2:"84%"},[n("#EBEDF0",0),n("#DCDEE0",100,0)]),e("linearGradient",{id:r(3),x1:"100%",x2:"100%",y2:"100%"},[i("#EAEDF0","#DCDEE0")]),e("radialGradient",{id:r(4),cx:"50%",cy:"0%",fx:"50%",fy:"0%",r:"100%",gradientTransform:"matrix(0 1 -.54 0 .5 -.5)"},[n("#EBEDF0",0),n("#FFF",100,0)])]),e("g",{fill:"none"},[c(),e("path",{fill:t(4),d:"M0 139h160v21H0z"},null),e("path",{d:"M80 54a7 7 0 0 1 3 13v27l-2 2h-2a2 2 0 0 1-2-2V67a7 7 0 0 1 3-13z",fill:t(2)},null),e("g",{opacity:".6","stroke-linecap":"round","stroke-width":"7"},[e("path",{d:"M64 47a19 19 0 0 0-5 13c0 5 2 10 5 13",stroke:t(3)},null),e("path",{d:"M53 36a34 34 0 0 0 0 48",stroke:t(3)},null),e("path",{d:"M95 73a19 19 0 0 0 6-13c0-5-2-9-6-13",stroke:t(3)},null),e("path",{d:"M106 84a34 34 0 0 0 0-48",stroke:t(3)},null)]),e("g",{transform:"translate(31 105)"},[e("rect",{fill:"#EBEDF0",width:"98",height:"34",rx:"2"},null),e("rect",{fill:"#FFF",x:"9",y:"8",width:"80",height:"18",rx:"1.1"},null),e("rect",{fill:"#EBEDF0",x:"15",y:"12",width:"18",height:"6",rx:"1.1"},null)])])]),y=()=>e("svg",{viewBox:"0 0 160 160"},[e("defs",null,[e("linearGradient",{x1:"50%",x2:"50%",y2:"100%",id:r(5)},[i("#F2F3F5","#DCDEE0")]),e("linearGradient",{x1:"95%",y1:"48%",x2:"5.5%",y2:"51%",id:r(6)},[i("#EAEDF1","#DCDEE0")]),e("linearGradient",{y1:"45%",x2:"100%",y2:"54%",id:r(7)},[i("#EAEDF1","#DCDEE0")])]),c(),u(),e("g",{transform:"translate(36 50)",fill:"none"},[e("g",{transform:"translate(8)"},[e("rect",{fill:"#EBEDF0",opacity:".6",x:"38",y:"13",width:"36",height:"53",rx:"2"},null),e("rect",{fill:t(5),width:"64",height:"66",rx:"2"},null),e("rect",{fill:"#FFF",x:"6",y:"6",width:"52",height:"55",rx:"1"},null),e("g",{transform:"translate(15 17)",fill:t(6)},[e("rect",{width:"34",height:"6",rx:"1"},null),e("path",{d:"M0 14h34v6H0z"},null),e("rect",{y:"28",width:"34",height:"6",rx:"1"},null)])]),e("rect",{fill:t(7),y:"61",width:"88",height:"28",rx:"1"},null),e("rect",{fill:"#F7F8FA",x:"29",y:"72",width:"30",height:"6",rx:"1"},null)])]),g=()=>e("svg",{viewBox:"0 0 160 160"},[e("defs",null,[e("linearGradient",{x1:"50%",x2:"50%",y2:"100%",id:r(8)},[i("#EAEDF1","#DCDEE0")])]),c(),u(),F("c"),e("path",{d:"m59 60 21 21 21-21h3l9 9v3L92 93l21 21v3l-9 9h-3l-21-21-21 21h-3l-9-9v-3l21-21-21-21v-3l9-9h3Z",fill:t(8)},null)]),m=()=>e("svg",{viewBox:"0 0 160 160"},[e("defs",null,[e("linearGradient",{x1:"50%",y1:"100%",x2:"50%",id:r(9)},[i("#EEE","#D8D8D8")]),e("linearGradient",{x1:"100%",y1:"50%",y2:"50%",id:r(10)},[i("#F2F3F5","#DCDEE0")]),e("linearGradient",{x1:"50%",x2:"50%",y2:"100%",id:r(11)},[i("#F2F3F5","#DCDEE0")]),e("linearGradient",{x1:"50%",x2:"50%",y2:"100%",id:r(12)},[i("#FFF","#F7F8FA")])]),c(),u(),F("d"),e("g",{transform:"rotate(-45 113 -4)",fill:"none"},[e("rect",{fill:t(9),x:"24",y:"52.8",width:"5.8",height:"19",rx:"1"},null),e("rect",{fill:t(10),x:"22.1",y:"67.3",width:"9.9",height:"28",rx:"1"},null),e("circle",{stroke:t(11),"stroke-width":"8",cx:"27",cy:"27",r:"27"},null),e("circle",{fill:t(12),cx:"27",cy:"27",r:"16"},null),e("path",{d:"M37 7c-8 0-15 5-16 12",stroke:t(11),"stroke-width":"3",opacity:".5","stroke-linecap":"round",transform:"rotate(45 29 13)"},null)])]),E=()=>{var l;if(a.image)return a.image();const d={error:g,search:m,network:p,default:y};return((l=d[o.image])==null?void 0:l.call(d))||e("img",{src:o.image},null)};return()=>e("div",{class:s()},[e("div",{class:s("image"),style:_(o.imageSize)},[E()]),h(),x()])}});const H=G(N),$={__name:"index",setup(o){const a=C(),h=()=>a.replace({name:"welcome"});return(x,f)=>{const r=z,t=H;return b(),M(S,null,[e(r,{"left-text":"返回","left-arrow":"",onClickLeft:h}),e(t,{style:{width:"100%",height:"100%"},image:"error",description:"异常"})],64)}}};export{$ as default};
import{r as o,b as s,a as t,n as e,o as c,E as l}from"./index-DFMcDVET.js";const n={class:"publicContainerNoPadding"},r=e("div",{class:"w-full h-[10px]"},null,-1),_=e("div",{class:"w-full h-[calc(100%-56px)] p-2 overflow-y-auto"},null,-1),f={__name:"index",setup(i){return o({fillInWork:{show:!1}}),(d,p)=>{const a=l;return c(),s("div",n,[t(a,{path:"/welcome",title:"分管填报记录查看"}),r,_])}}};export{f as default};
import{r as o,b as s,a as t,n as e,o as c,E as l}from"./index-CWttFJVn.js";const n={class:"publicContainerNoPadding"},r=e("div",{class:"w-full h-[10px]"},null,-1),_=e("div",{class:"w-full h-[calc(100%-56px)] p-2 overflow-y-auto"},null,-1),f={__name:"index",setup(i){return o({fillInWork:{show:!1}}),(d,p)=>{const a=l;return c(),s("div",n,[t(a,{path:"/welcome",title:"分管填报记录查看"}),r,_])}}};export{f as default};
import{c as ie,d as le,I as se,a as y,F as w,J as oe,T as de,w as re,l as E,K as h,A as V,r as ce,f as pe,b as p,n,M as P,O as Y,s as A,h as D,P as _e,o as r,p as j,Q as me,i as W,E as fe,R as ue,y as he,z as ye,U as ge,H as we,D as ke,V as z,W as Fe,X as be}from"./index-CWttFJVn.js";const[G,De]=ie("space"),xe={align:String,direction:{type:String,default:"horizontal"},size:{type:[Number,String,Array],default:8},wrap:Boolean,fill:Boolean};function O(i=[]){const _=[];return i.forEach(l=>{Array.isArray(l)?_.push(...l):l.type===w?_.push(...O(l.children)):_.push(l)}),_.filter(l=>{var m;return!(l&&(l.type===oe||l.type===w&&((m=l.children)==null?void 0:m.length)===0||l.type===de&&l.children.trim()===""))})}var ve=le({name:G,props:xe,setup(i,{slots:_}){const l=se(()=>{var g;return(g=i.align)!=null?g:i.direction==="horizontal"?"center":""}),m=g=>typeof g=="number"?g+"px":g,$=g=>{const x={},e=`${m(Array.isArray(i.size)?i.size[0]:i.size)}`,C=`${m(Array.isArray(i.size)?i.size[1]:i.size)}`;return g?i.wrap?{marginBottom:C}:{}:(i.direction==="horizontal"&&(x.marginRight=e),(i.direction==="vertical"||i.wrap)&&(x.marginBottom=C),x)};return()=>{var g;const x=O((g=_.default)==null?void 0:g.call(_));return y("div",{class:[De({[i.direction]:i.direction,[`align-${l.value}`]:l.value,wrap:i.wrap,fill:i.fill})]},[x.map((e,C)=>y("div",{key:`item-${C}`,class:`${G}-item`,style:$(C===x.length-1)},[e]))])}}});const Ye=re(ve);function Ce(i){return E.get("/api/Common/GetDeptList",i)}function Ae(i,_){return E.post("/api/Common/GetUserList",i,_)}function Be(i,_){return E.post("/api/PlanProject/GetPlanProjectByWeekList",i,_)}function Me(i,_){return E.post("/api/PlanProject/GetPlanProjectByDayList",i,_)}const Pe={class:"publicContainerNoPadding"},We={class:"w-full h-[50px] flex justify-between items-center p-2"},Ee={class:"w-full h-[calc(100%-106px)] p-2 overflow-y-auto"},$e={key:0},Ie=n("div",{class:"w-full h-5"},null,-1),Ne={key:1},je=["onClick"],Le={class:"aaa w-full min-h-[80px] ccFlex p-1"},Se={class:"w-[calc(100%-35px)] h-full"},Ve=["onClick"],ze={class:"aaa"},Ge=n("div",{class:"w-[35px] min-h-[80px]"},[n("div",{class:"w-full h-1/2 ccFlex"}," 上 "),n("div",{class:"w-full h-1/2 ccFlex"}," 下 ")],-1),Oe={class:"w-[calc(100%-105px)] min-h-[80px]"},Ue={class:"w-full h-1/2 ccFlex"},Ke={class:"w-full h-1/2 ccFlex"},Te=["onClick"],He=n("div",{class:"w-full h-3"},null,-1),Re=n("div",{class:"w-full h-3"},null,-1),Qe={class:"w-full h-auto bg-white"},Je=n("div",{class:"w-full h-10 p-4 pb-0 font-bold"},"分管部门",-1),Xe={class:"w-full min-h-[110px] p-4 flex justify-between flex-wrap"},qe=n("div",{class:"w-full h-3"},null,-1),Ze={class:"w-full h-auto bg-white"},et=n("div",{class:"w-full h-10 p-4 pb-0 font-bold"},"中层干部",-1),tt={class:"w-full min-h-[110px] p-4 flex justify-between flex-wrap"},nt={__name:"index",setup(i,{expose:_}){const l=h().startOf("week").add(1,"day").format("YYYY-MM-DD"),m=h().startOf("week").add(5,"day").format("YYYY-MM-DD"),$=V(),g=V(),x=h(h().startOf("week").add(1,"day").format("YYYY-MM-DD")).format("YYYY-MM-DD"),e=ce({peoPleFlag:!1,weekFlag:!1,calendarKey:1,weekKey:1,dayArray:[],weekArray:[],paramsDay:{begin_time:h().format("YYYY-MM-DD"),end_time:h().format("YYYY-MM-DD"),dept_id_list:[],tid_list:[]},paramsWeek:{begin_time:l,end_time:m,dept_id_list:[],tid_list:[]},comment:{dept:[],user:[],deptId:[]},check:{dept_id_list:[],tid_list:[],begin_time:"",end_time:""},date:{show:!1},search:{date:l+" - "+m},weekView:{minHeigth:80},select:{action:!1,showPopup:!1},fillInWork:{show:!1},switchView:{show:!0}});function C(t){e.date.show=!1,e.search.date=h(t[0]).format("YYYY-MM-DD")+" - "+h(t[1]).format("YYYY-MM-DD"),e.check.begin_time=h(t[0]).format("YYYY-MM-DD"),e.check.end_time=h(t[1]).format("YYYY-MM-DD")}function U(){e.select.showPopup=!0}function K(t){e.switchView.show=!e.switchView.show,e.calendarKey++,e.search.date=l+" - "+m,e.switchView.show?(e.paramsDay={begin_time:h().format("YYYY-MM-DD"),end_time:h().format("YYYY-MM-DD"),dept_id_list:[],tid_list:[]},B()):(e.paramsWeek={begin_time:l,end_time:m,dept_id_list:[],tid_list:[]},k()),L(t),e.select.action=!1}function L(t){e.check.dept_id_list=[],e.comment.dept.forEach(a=>{a.bg="",a.cl=""}),e.check.tid_list=[],e.comment.user.forEach(a=>{a.bg="",a.cl=""}),e.search.date=l+" - "+m,e.check={dept_id_list:[],tid_list:[],begin_time:"",end_time:""},e.calendarKey++,e.select.action=!1,e.paramsWeek={begin_time:l,end_time:m,dept_id_list:[],tid_list:[]},e.paramsDay={begin_time:h().format("YYYY-MM-DD"),end_time:h().format("YYYY-MM-DD"),dept_id_list:[],tid_list:[]},t.dateDay&&(t.dateDay.dateArray.array=[],t.dateDay.getInitDate()),t.dateWeek&&(t.dateWeek.dateArray.array=[],t.dateWeek.getInitDate()),e.comment.deptId=[],I(),B(),k()}function T(t){let a={true:async()=>{e.paramsDay={...e.check,begin_time:e.check.begin_time?e.check.begin_time:l,end_time:e.check.end_time?e.check.end_time:m},t.dateDay.deleteDateBg(),await B(),e.dayArray.map((d,c)=>{e.paramsDay.dept_id_list.includes(d.dept_id)&&(d.deptBg="#1989FA",d.deptCl="#FFFFFF"),e.paramsDay.tid_list.includes(d.userid)&&(d.peopleBg="#1989FA",d.peopleCl="#FFFFFF")}),e.select.showPopup=!1},false:()=>{e.paramsWeek={...e.check,begin_time:e.check.begin_time?e.check.begin_time:l,end_time:e.check.end_time?e.check.end_time:m},k(),e.select.showPopup=!1}};e.select.action=!0,a[String(e.switchView.show)]()}function H(){e.select.showPopup=!1}function R(){Ce().then(t=>{e.comment.dept=t.response.map(a=>({...a,bg:"",cl:""}))})}function Q(t,a){({true:()=>{z(()=>Fe({plan_id:"",collect_userid:t.userId}).then(c=>(c.code===1&&(e.weekArray.forEach((v,o)=>{v.nameData.forEach((f,F)=>{t.userId===f.userId&&(f.bg="",f.cl="",f.attention=0)})}),k()),c)))},false:()=>{z(()=>be({id:t.userId,collect_type:0}).then(c=>(c.code===1&&(e.weekArray.forEach((v,o)=>{v.nameData.forEach((f,F)=>{t.userId===f.userId&&(f.bg="#1989FA",f.cl="#FFFFFF",f.attention=1)})}),k()),c)))}})[String(!!Number(t.attention))]()}function I(){Ae(e.comment.deptId).then(t=>{e.comment.user=t.response.map(a=>({...a,bg:"",cl:""}))})}function B(){return Me(e.paramsDay).then(t=>{e.dayArray=t.response.map((a,d)=>({...a,deptBg:"",deptCl:"",peopleBg:"",peopleCl:""}))})}function J(t){e.paramsDay={...e.paramsDay,begin_time:t,end_time:t},B()}function k(){return Be(e.paramsWeek).then(t=>{let a=[];const c=t.response.reduce((v,o)=>{const f=v.find(F=>F.deptName===o.dept_name);return f?f.nameData.push({userId:o.userid,userName:o.username,userCard:o.usercard,attention:o.attention,nameArray:o.data,bg:o.attention==1?"#1989FA":"",cl:o.attention==1?"#FFFFFF":""}):a.push({deptName:o.dept_name,deptId:o.dept_id,deptBg:"",deptCl:"",nameData:[{userId:o.userid,userName:o.username,userCard:o.usercard,attention:o.attention,nameArray:o.data,bg:o.attention==1?"#1989FA":"",cl:o.attention==1?"#FFFFFF":"",peopleBg:"",peopleCl:""}]}),a},[]);e.weekArray=c})}function X(t){e.check.dept_id_list.includes(t.id)?(e.check.dept_id_list.forEach((a,d)=>{a===t.id&&e.check.dept_id_list.splice(d,1)}),e.comment.dept.forEach(a=>{a.id===t.id&&(a.bg="",a.cl="")}),e.comment.deptId.forEach((a,d)=>{a===t.id&&e.comment.deptId.splice(d,1)})):(e.check.dept_id_list.push(t.id),e.comment.deptId.push(t.id),e.comment.dept.forEach(a=>{a.id===t.id&&(a.bg="#1989FA",a.cl="#FFFFFF")})),I(),console.log("🚀🚀check.dept_id_list🚀,",...e.check.dept_id_list,"")}function q(t){e.check.tid_list.includes(t.id)?(e.check.tid_list.forEach((a,d)=>{a===t.id&&e.check.tid_list.splice(d,1,"")}),e.comment.user.forEach(a=>{a.id===t.id&&(a.bg="",a.cl="")})):(e.check.tid_list.push(t.id),e.comment.user.forEach(a=>{a.id===t.id&&(a.bg="#1989FA",a.cl="#FFFFFF")})),console.log("🚀🚀check.tid_list🚀,",...e.check.tid_list)}async function Z(t){e.paramsWeek.dept_id_list.includes(t)?e.paramsWeek.dept_id_list.splice(e.paramsWeek.dept_id_list.indexOf(t),1):e.paramsWeek.dept_id_list.push(t),e.paramsWeek.dept_id_list.length&&(e.select.action=1),await k(),e.weekFlag=!e.weekFlag,e.weekArray.forEach((a,d)=>{a.deptId===t&&e.weekFlag&&(a.deptBg!==""?(a.deptBg="",a.deptCl=""):(a.deptBg="#1989FA",a.deptCl="#FFFFFF"))})}async function ee(t){e.paramsWeek.tid_list.includes(t)?e.paramsWeek.tid_list.splice(e.paramsWeek.tid_list.indexOf(t),1):e.paramsWeek.tid_list.push(t),e.paramsWeek.tid_list.length&&(e.select.action=1),await k(),e.peoPleFlag=!e.peoPleFlag,e.weekArray.forEach((a,d)=>{a.nameData.forEach((c,v)=>{c.userId===t&&e.peoPleFlag&&(c.peopleBg!==""?(c.peopleBg="",c.peopleCl=""):(c.peopleBg="#1989FA",c.peopleCl="#FFFFFF"))})})}return pe(()=>{document.title="分管填报记录查看",R(),I(),B(),k()}),_({init:e,GetPlanProjectByDayList:B,GetPlanProjectByWeekList:k}),(t,a)=>{const d=fe,c=ue,v=he,o=ye,f=ge,F=we,S=Ye,te=ke,ae=_e;return r(),p(w,null,[n("div",Pe,[y(d,{path:"/welcome",title:"分管填报记录查看"}),n("div",We,[n("div",{onClick:a[0]||(a[0]=s=>K(t.$refs)),class:"w-24 h-8 flex text-[#4B5563] justify-center items-center border-solid border-[1px] active:bg-blue-100"}," 切换"+P(e.switchView.show?"周":"天")+"视图 ",1),n("div",{style:Y({background:["#FFFFFF","#1989FA"][Number(e.select.action)],color:["#4B5563","#FFFFFF"][Number(e.select.action)]}),onClick:U,class:"w-20 h-8 flex justify-center items-center border-solid border-[1px]"}," 高级查询 ",4)]),n("div",Ee,[e.switchView.show?(r(),p("div",$e,[y(c,{ref_key:"dateDay",ref:$,onSearchDayData:J},null,512),Ie,(r(!0),p(w,null,A(e.dayArray,(s,M)=>(r(),j(v,{data:s,key:M,alldayOrMidafternoonStatus:!!Number(s.is_allday)},null,8,["data","alldayOrMidafternoonStatus"]))),128))])):(r(),p("div",Ne,[y(c,{ref_key:"dateWeek",ref:g},null,512),(r(),p("div",{class:"w-full h-auto bg-white",key:e.weekKey},[(r(!0),p(w,null,A(e.weekArray,(s,M)=>(r(),p("div",{class:"w-full min-h-[80px] flex-wrap ccFlex",key:M},[n("div",{onClick:u=>Z(s.deptId),style:Y({background:s.deptBg,color:s.deptCl}),class:"w-[35px] min-h-[80px]"},[n("div",Le,P(s.deptName),1)],12,je),n("div",Se,[(r(!0),p(w,null,A(s.nameData,(u,ne)=>(r(),p("div",{class:"w-full h-auto flex",key:ne},[n("div",{onClick:b=>ee(u.userId),style:Y({background:u.peopleBg,color:u.peopleCl}),class:"w-[35px] min-h-[80px] ccFlex"},[n("div",ze,P(u.userName),1)],12,Ve),Ge,n("div",Oe,[n("div",Ue,[(r(!0),p(w,null,A(u.nameArray,(b,N)=>(r(),p("div",{style:Y({background:["","#D9E2F3"][+(b.fore_plan!=null&&b.fore_plan!=""&&b.fore_plan!=null)]}),key:N,class:"w-1/5 h-full border-gray-300 border-solid border-[0.5px]"},null,4))),128))]),n("div",Ke,[(r(!0),p(w,null,A(u.nameArray,(b,N)=>(r(),p("div",{style:Y({background:["","#FFE599"][+(b.fore_plan!=null&&b.fore_plan!=""&&b.fore_plan!=null)]}),key:N,class:"w-1/5 h-full border-gray-300 border-solid border-[0.5px]"},null,4))),128))])]),n("div",{style:Y({background:u.bg,color:u.cl}),class:"w-[35px] min-h-[80px] ccFlex"},[n("div",{onClick:b=>Q(u,u.attention),class:"aaa"},P(["关注","取消关注"][u.attention]),9,Te)],4)]))),128))])]))),128))]))]))])]),y(ae,{show:e.select.showPopup,height:80},{content:D(()=>[(r(),p("div",{class:"w-full h-[calc(100%-64px)] bg-gray-200",key:e.calendarKey},[He,y(o,{inset:"",title:"选择单个日期",value:e.search.date,onClick:a[1]||(a[1]=s=>e.date.show=!0)},null,8,["value"]),y(f,{"min-date":new Date(me(x)),"max-range":5,"range-prompt":"最多选择 5 天",type:"range",show:e.date.show,"onUpdate:show":a[2]||(a[2]=s=>e.date.show=s),onConfirm:C},null,8,["min-date","show"]),Re,n("div",Qe,[Je,n("div",Xe,[y(S,{wrap:""},{default:D(()=>[(r(!0),p(w,null,A(e.comment.dept,(s,M)=>(r(),j(F,{onClick:u=>X(s),key:M,style:Y({margin:"5px",padding:"15px !important",height:"40px",background:s.bg,color:s.cl}),size:"normal",plain:"",hairline:"",type:"primary"},{default:D(()=>[W(P(s.name),1)]),_:2},1032,["onClick","style"]))),128))]),_:1})])]),qe,n("div",Ze,[et,n("div",tt,[y(S,{wrap:""},{default:D(()=>[(r(!0),p(w,null,A(e.comment.user,(s,M)=>(r(),j(F,{onClick:u=>q(s),style:Y({margin:"5px",padding:"15px !important",height:"40px",background:s.bg,color:s.cl}),size:"normal",plain:"",hairline:"",type:"primary"},{default:D(()=>[W(P(s.name),1)]),_:2},1032,["onClick","style"]))),256))]),_:1})])])])),y(te,null,{default:D(()=>[y(F,{type:"primary",round:"",class:"w-[90px]",onClick:a[3]||(a[3]=s=>L(t.$refs))},{default:D(()=>[W("重置")]),_:1}),y(F,{type:"primary",round:"",class:"w-[90px]",onClick:a[4]||(a[4]=s=>T(t.$refs))},{default:D(()=>[W("查询")]),_:1}),y(F,{round:"",class:"w-[90px]",onClick:H},{default:D(()=>[W("取消")]),_:1})]),_:1})]),_:1},8,["show"])],64)}}};export{nt as default};
import{r as o,b as s,a as t,n as e,o as c,E as l}from"./index-DFMcDVET.js";const n={class:"publicContainerNoPadding"},r=e("div",{class:"w-full h-[10px]"},null,-1),_=e("div",{class:"w-full h-[calc(100%-56px)] p-2 overflow-y-auto"},null,-1),f={__name:"index",setup(i){return o({fillInWork:{show:!1}}),(d,p)=>{const a=l;return c(),s("div",n,[t(a,{path:"/welcome",title:"分管填报记录查看"}),r,_])}}};export{f as default};
import{r as o,b as s,a as t,n as e,o as c,E as l}from"./index-CWttFJVn.js";const n={class:"publicContainerNoPadding"},r=e("div",{class:"w-full h-[10px]"},null,-1),_=e("div",{class:"w-full h-[calc(100%-56px)] p-2 overflow-y-auto"},null,-1),f={__name:"index",setup(i){return o({fillInWork:{show:!1}}),(d,p)=>{const a=l;return c(),s("div",n,[t(a,{path:"/welcome",title:"分管填报记录查看"}),r,_])}}};export{f as default};
......@@ -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-DFMcDVET.js"></script>
<link rel="stylesheet" crossorigin href="./assets/index-BiZgieem.css">
<script type="module" crossorigin src="./assets/index-CWttFJVn.js"></script>
<link rel="stylesheet" crossorigin href="./assets/index-qYjmxWvl.css">
</head>
<body>
<div id="app"></div>
......
......@@ -454,6 +454,105 @@
"node": ">=12"
}
},
"node_modules/@isaacs/cliui/node_modules/ansi-regex": {
"version": "5.0.1",
"resolved": "https://registry.npmmirror.com/ansi-regex/-/ansi-regex-5.0.1.tgz",
"integrity": "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==",
"dev": true,
"engines": {
"node": ">=8"
}
},
"node_modules/@isaacs/cliui/node_modules/ansi-styles": {
"version": "4.3.0",
"resolved": "https://registry.npmmirror.com/ansi-styles/-/ansi-styles-4.3.0.tgz",
"integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==",
"dev": true,
"dependencies": {
"color-convert": "^2.0.1"
},
"engines": {
"node": ">=8"
}
},
"node_modules/@isaacs/cliui/node_modules/emoji-regex": {
"version": "8.0.0",
"resolved": "https://registry.npmmirror.com/emoji-regex/-/emoji-regex-8.0.0.tgz",
"integrity": "sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==",
"dev": true
},
"node_modules/@isaacs/cliui/node_modules/string-width-cjs": {
"name": "string-width",
"version": "4.2.3",
"resolved": "https://registry.npmmirror.com/string-width/-/string-width-4.2.3.tgz",
"integrity": "sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==",
"dev": true,
"dependencies": {
"emoji-regex": "^8.0.0",
"is-fullwidth-code-point": "^3.0.0",
"strip-ansi": "^6.0.1"
}
},
"node_modules/@isaacs/cliui/node_modules/string-width-cjs/node_modules/strip-ansi": {
"version": "6.0.1",
"resolved": "https://registry.npmmirror.com/strip-ansi/-/strip-ansi-6.0.1.tgz",
"integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==",
"dev": true,
"dependencies": {
"ansi-regex": "^5.0.1"
},
"engines": {
"node": ">=8"
}
},
"node_modules/@isaacs/cliui/node_modules/strip-ansi-cjs": {
"name": "strip-ansi",
"version": "6.0.1",
"resolved": "https://registry.npmmirror.com/strip-ansi/-/strip-ansi-6.0.1.tgz",
"integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==",
"dev": true,
"dependencies": {
"ansi-regex": "^5.0.1"
}
},
"node_modules/@isaacs/cliui/node_modules/wrap-ansi-cjs": {
"name": "wrap-ansi",
"version": "7.0.0",
"resolved": "https://registry.npmmirror.com/wrap-ansi/-/wrap-ansi-7.0.0.tgz",
"integrity": "sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q==",
"dev": true,
"dependencies": {
"ansi-styles": "^4.0.0",
"string-width": "^4.1.0",
"strip-ansi": "^6.0.0"
}
},
"node_modules/@isaacs/cliui/node_modules/wrap-ansi-cjs/node_modules/string-width": {
"version": "4.2.3",
"resolved": "https://registry.npmmirror.com/string-width/-/string-width-4.2.3.tgz",
"integrity": "sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==",
"dev": true,
"dependencies": {
"emoji-regex": "^8.0.0",
"is-fullwidth-code-point": "^3.0.0",
"strip-ansi": "^6.0.1"
},
"engines": {
"node": ">=8"
}
},
"node_modules/@isaacs/cliui/node_modules/wrap-ansi-cjs/node_modules/strip-ansi": {
"version": "6.0.1",
"resolved": "https://registry.npmmirror.com/strip-ansi/-/strip-ansi-6.0.1.tgz",
"integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==",
"dev": true,
"dependencies": {
"ansi-regex": "^5.0.1"
},
"engines": {
"node": ">=8"
}
},
"node_modules/@jridgewell/gen-mapping": {
"version": "0.3.3",
"resolved": "https://registry.npmmirror.com/@jridgewell/gen-mapping/-/gen-mapping-0.3.3.tgz",
......@@ -2103,24 +2202,6 @@
"node": ">=0.10.0"
}
},
"node_modules/rollup": {
"version": "3.28.1",
"resolved": "https://registry.npmmirror.com/rollup/-/rollup-3.28.1.tgz",
"integrity": "sha512-R9OMQmIHJm9znrU3m3cpE8uhN0fGdXiawME7aZIpQqvpS/85+Vt1Hq1/yVIcYfOmaQiHjvXkQAoJukvLpau6Yw==",
"dev": true,
"optional": true,
"peer": true,
"bin": {
"rollup": "dist/bin/rollup"
},
"engines": {
"node": ">=14.18.0",
"npm": ">=8.0.0"
},
"optionalDependencies": {
"fsevents": "~2.3.2"
}
},
"node_modules/run-parallel": {
"version": "1.2.0",
"resolved": "https://registry.npmmirror.com/run-parallel/-/run-parallel-1.2.0.tgz",
......@@ -2216,48 +2297,6 @@
"node": ">=12"
}
},
"node_modules/string-width-cjs": {
"name": "string-width",
"version": "4.2.3",
"resolved": "https://registry.npmmirror.com/string-width/-/string-width-4.2.3.tgz",
"integrity": "sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==",
"dev": true,
"dependencies": {
"emoji-regex": "^8.0.0",
"is-fullwidth-code-point": "^3.0.0",
"strip-ansi": "^6.0.1"
},
"engines": {
"node": ">=8"
}
},
"node_modules/string-width-cjs/node_modules/ansi-regex": {
"version": "5.0.1",
"resolved": "https://registry.npmmirror.com/ansi-regex/-/ansi-regex-5.0.1.tgz",
"integrity": "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==",
"dev": true,
"engines": {
"node": ">=8"
}
},
"node_modules/string-width-cjs/node_modules/emoji-regex": {
"version": "8.0.0",
"resolved": "https://registry.npmmirror.com/emoji-regex/-/emoji-regex-8.0.0.tgz",
"integrity": "sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==",
"dev": true
},
"node_modules/string-width-cjs/node_modules/strip-ansi": {
"version": "6.0.1",
"resolved": "https://registry.npmmirror.com/strip-ansi/-/strip-ansi-6.0.1.tgz",
"integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==",
"dev": true,
"dependencies": {
"ansi-regex": "^5.0.1"
},
"engines": {
"node": ">=8"
}
},
"node_modules/strip-ansi": {
"version": "7.1.0",
"resolved": "https://registry.npmmirror.com/strip-ansi/-/strip-ansi-7.1.0.tgz",
......@@ -2270,28 +2309,6 @@
"node": ">=12"
}
},
"node_modules/strip-ansi-cjs": {
"name": "strip-ansi",
"version": "6.0.1",
"resolved": "https://registry.npmmirror.com/strip-ansi/-/strip-ansi-6.0.1.tgz",
"integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==",
"dev": true,
"dependencies": {
"ansi-regex": "^5.0.1"
},
"engines": {
"node": ">=8"
}
},
"node_modules/strip-ansi-cjs/node_modules/ansi-regex": {
"version": "5.0.1",
"resolved": "https://registry.npmmirror.com/ansi-regex/-/ansi-regex-5.0.1.tgz",
"integrity": "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==",
"dev": true,
"engines": {
"node": ">=8"
}
},
"node_modules/sucrase": {
"version": "3.35.0",
"resolved": "https://registry.npmmirror.com/sucrase/-/sucrase-3.35.0.tgz",
......@@ -2670,74 +2687,6 @@
"node": ">=12"
}
},
"node_modules/wrap-ansi-cjs": {
"name": "wrap-ansi",
"version": "7.0.0",
"resolved": "https://registry.npmmirror.com/wrap-ansi/-/wrap-ansi-7.0.0.tgz",
"integrity": "sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q==",
"dev": true,
"dependencies": {
"ansi-styles": "^4.0.0",
"string-width": "^4.1.0",
"strip-ansi": "^6.0.0"
},
"engines": {
"node": ">=10"
}
},
"node_modules/wrap-ansi-cjs/node_modules/ansi-regex": {
"version": "5.0.1",
"resolved": "https://registry.npmmirror.com/ansi-regex/-/ansi-regex-5.0.1.tgz",
"integrity": "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==",
"dev": true,
"engines": {
"node": ">=8"
}
},
"node_modules/wrap-ansi-cjs/node_modules/ansi-styles": {
"version": "4.3.0",
"resolved": "https://registry.npmmirror.com/ansi-styles/-/ansi-styles-4.3.0.tgz",
"integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==",
"dev": true,
"dependencies": {
"color-convert": "^2.0.1"
},
"engines": {
"node": ">=8"
}
},
"node_modules/wrap-ansi-cjs/node_modules/emoji-regex": {
"version": "8.0.0",
"resolved": "https://registry.npmmirror.com/emoji-regex/-/emoji-regex-8.0.0.tgz",
"integrity": "sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==",
"dev": true
},
"node_modules/wrap-ansi-cjs/node_modules/string-width": {
"version": "4.2.3",
"resolved": "https://registry.npmmirror.com/string-width/-/string-width-4.2.3.tgz",
"integrity": "sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==",
"dev": true,
"dependencies": {
"emoji-regex": "^8.0.0",
"is-fullwidth-code-point": "^3.0.0",
"strip-ansi": "^6.0.1"
},
"engines": {
"node": ">=8"
}
},
"node_modules/wrap-ansi-cjs/node_modules/strip-ansi": {
"version": "6.0.1",
"resolved": "https://registry.npmmirror.com/strip-ansi/-/strip-ansi-6.0.1.tgz",
"integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==",
"dev": true,
"dependencies": {
"ansi-regex": "^5.0.1"
},
"engines": {
"node": ">=8"
}
},
"node_modules/yaml": {
"version": "2.3.4",
"resolved": "https://registry.npmmirror.com/yaml/-/yaml-2.3.4.tgz",
......@@ -2947,6 +2896,93 @@
"strip-ansi-cjs": "npm:strip-ansi@^6.0.1",
"wrap-ansi": "^8.1.0",
"wrap-ansi-cjs": "npm:wrap-ansi@^7.0.0"
},
"dependencies": {
"ansi-regex": {
"version": "5.0.1",
"resolved": "https://registry.npmmirror.com/ansi-regex/-/ansi-regex-5.0.1.tgz",
"integrity": "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==",
"dev": true
},
"ansi-styles": {
"version": "4.3.0",
"resolved": "https://registry.npmmirror.com/ansi-styles/-/ansi-styles-4.3.0.tgz",
"integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==",
"dev": true,
"requires": {
"color-convert": "^2.0.1"
}
},
"emoji-regex": {
"version": "8.0.0",
"resolved": "https://registry.npmmirror.com/emoji-regex/-/emoji-regex-8.0.0.tgz",
"integrity": "sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==",
"dev": true
},
"string-width-cjs": {
"version": "npm:string-width@4.2.3",
"resolved": "https://registry.npmmirror.com/string-width/-/string-width-4.2.3.tgz",
"integrity": "sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==",
"dev": true,
"requires": {
"emoji-regex": "^8.0.0",
"is-fullwidth-code-point": "^3.0.0",
"strip-ansi": "^6.0.1"
},
"dependencies": {
"strip-ansi": {
"version": "6.0.1",
"resolved": "https://registry.npmmirror.com/strip-ansi/-/strip-ansi-6.0.1.tgz",
"integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==",
"dev": true,
"requires": {
"ansi-regex": "^5.0.1"
}
}
}
},
"strip-ansi-cjs": {
"version": "npm:strip-ansi@6.0.1",
"resolved": "https://registry.npmmirror.com/strip-ansi/-/strip-ansi-6.0.1.tgz",
"integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==",
"dev": true,
"requires": {
"ansi-regex": "^5.0.1"
}
},
"wrap-ansi-cjs": {
"version": "npm:wrap-ansi@7.0.0",
"resolved": "https://registry.npmmirror.com/wrap-ansi/-/wrap-ansi-7.0.0.tgz",
"integrity": "sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q==",
"dev": true,
"requires": {
"ansi-styles": "^4.0.0",
"string-width": "^4.1.0",
"strip-ansi": "^6.0.0"
},
"dependencies": {
"string-width": {
"version": "4.2.3",
"resolved": "https://registry.npmmirror.com/string-width/-/string-width-4.2.3.tgz",
"integrity": "sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==",
"dev": true,
"requires": {
"emoji-regex": "^8.0.0",
"is-fullwidth-code-point": "^3.0.0",
"strip-ansi": "^6.0.1"
}
},
"strip-ansi": {
"version": "6.0.1",
"resolved": "https://registry.npmmirror.com/strip-ansi/-/strip-ansi-6.0.1.tgz",
"integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==",
"dev": true,
"requires": {
"ansi-regex": "^5.0.1"
}
}
}
}
}
},
"@jridgewell/gen-mapping": {
......@@ -4172,17 +4208,6 @@
"integrity": "sha512-U9nH88a3fc/ekCF1l0/UP1IosiuIjyTh7hBvXVMHYgVcfGvt897Xguj2UOLDeI5BG2m7/uwyaLVT6fbtCwTyzw==",
"dev": true
},
"rollup": {
"version": "3.28.1",
"resolved": "https://registry.npmmirror.com/rollup/-/rollup-3.28.1.tgz",
"integrity": "sha512-R9OMQmIHJm9znrU3m3cpE8uhN0fGdXiawME7aZIpQqvpS/85+Vt1Hq1/yVIcYfOmaQiHjvXkQAoJukvLpau6Yw==",
"dev": true,
"optional": true,
"peer": true,
"requires": {
"fsevents": "~2.3.2"
}
},
"run-parallel": {
"version": "1.2.0",
"resolved": "https://registry.npmmirror.com/run-parallel/-/run-parallel-1.2.0.tgz",
......@@ -4257,40 +4282,6 @@
"strip-ansi": "^7.0.1"
}
},
"string-width-cjs": {
"version": "npm:string-width@4.2.3",
"resolved": "https://registry.npmmirror.com/string-width/-/string-width-4.2.3.tgz",
"integrity": "sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==",
"dev": true,
"requires": {
"emoji-regex": "^8.0.0",
"is-fullwidth-code-point": "^3.0.0",
"strip-ansi": "^6.0.1"
},
"dependencies": {
"ansi-regex": {
"version": "5.0.1",
"resolved": "https://registry.npmmirror.com/ansi-regex/-/ansi-regex-5.0.1.tgz",
"integrity": "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==",
"dev": true
},
"emoji-regex": {
"version": "8.0.0",
"resolved": "https://registry.npmmirror.com/emoji-regex/-/emoji-regex-8.0.0.tgz",
"integrity": "sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==",
"dev": true
},
"strip-ansi": {
"version": "6.0.1",
"resolved": "https://registry.npmmirror.com/strip-ansi/-/strip-ansi-6.0.1.tgz",
"integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==",
"dev": true,
"requires": {
"ansi-regex": "^5.0.1"
}
}
}
},
"strip-ansi": {
"version": "7.1.0",
"resolved": "https://registry.npmmirror.com/strip-ansi/-/strip-ansi-7.1.0.tgz",
......@@ -4300,23 +4291,6 @@
"ansi-regex": "^6.0.1"
}
},
"strip-ansi-cjs": {
"version": "npm:strip-ansi@6.0.1",
"resolved": "https://registry.npmmirror.com/strip-ansi/-/strip-ansi-6.0.1.tgz",
"integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==",
"dev": true,
"requires": {
"ansi-regex": "^5.0.1"
},
"dependencies": {
"ansi-regex": {
"version": "5.0.1",
"resolved": "https://registry.npmmirror.com/ansi-regex/-/ansi-regex-5.0.1.tgz",
"integrity": "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==",
"dev": true
}
}
},
"sucrase": {
"version": "3.35.0",
"resolved": "https://registry.npmmirror.com/sucrase/-/sucrase-3.35.0.tgz",
......@@ -4584,60 +4558,6 @@
"strip-ansi": "^7.0.1"
}
},
"wrap-ansi-cjs": {
"version": "npm:wrap-ansi@7.0.0",
"resolved": "https://registry.npmmirror.com/wrap-ansi/-/wrap-ansi-7.0.0.tgz",
"integrity": "sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q==",
"dev": true,
"requires": {
"ansi-styles": "^4.0.0",
"string-width": "^4.1.0",
"strip-ansi": "^6.0.0"
},
"dependencies": {
"ansi-regex": {
"version": "5.0.1",
"resolved": "https://registry.npmmirror.com/ansi-regex/-/ansi-regex-5.0.1.tgz",
"integrity": "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==",
"dev": true
},
"ansi-styles": {
"version": "4.3.0",
"resolved": "https://registry.npmmirror.com/ansi-styles/-/ansi-styles-4.3.0.tgz",
"integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==",
"dev": true,
"requires": {
"color-convert": "^2.0.1"
}
},
"emoji-regex": {
"version": "8.0.0",
"resolved": "https://registry.npmmirror.com/emoji-regex/-/emoji-regex-8.0.0.tgz",
"integrity": "sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==",
"dev": true
},
"string-width": {
"version": "4.2.3",
"resolved": "https://registry.npmmirror.com/string-width/-/string-width-4.2.3.tgz",
"integrity": "sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==",
"dev": true,
"requires": {
"emoji-regex": "^8.0.0",
"is-fullwidth-code-point": "^3.0.0",
"strip-ansi": "^6.0.1"
}
},
"strip-ansi": {
"version": "6.0.1",
"resolved": "https://registry.npmmirror.com/strip-ansi/-/strip-ansi-6.0.1.tgz",
"integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==",
"dev": true,
"requires": {
"ansi-regex": "^5.0.1"
}
}
}
},
"yaml": {
"version": "2.3.4",
"resolved": "https://registry.npmmirror.com/yaml/-/yaml-2.3.4.tgz",
......
export * from "./getApiCommonGetDeptList";
export * from "./getApiCommonGetUserList";
export * from "./postApiCommonGetUserList";
export * from "./getApiCommonGetDeptList";
export * from "./getApiCommonGetUserList";
export * from "./postApiCommonGetUserList";
......@@ -3,7 +3,7 @@ import { type AxiosRequestConfig } from "axios";
* 获取中层干部
* /api/Common/GetUserList
*/
export declare function getApiCommonGetUserList(params: GetApiCommonGetUserListParams, config?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<{
export declare function postApiCommonGetUserList(input?: string[], config?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<{
code: number;
status: string;
msg: string;
......@@ -13,6 +13,3 @@ export declare function getApiCommonGetUserList(params: GetApiCommonGetUserListP
id: string;
}[];
}, any>>;
export interface GetApiCommonGetUserListParams {
dept_id?: string;
}
import request from "@/util/axios.js";
/**
* 获取中层干部
* /api/Common/GetUserList
*/
export function postApiCommonGetUserList(input, config) {
return request.post(`/api/Common/GetUserList`, input, config);
}
import { type AxiosRequestConfig } from "axios";
/**
* 初始化填报配置
* /api/SysConfig/SysConfigInit
*/
export declare function getApiSysConfigSysConfigInit(config?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<{
code: number;
status: string;
msg: string;
msg_detail: string;
response: {
configid: string;
semester_date_begin: string;
semester_date_end: string;
period_remind: string;
nowrite_remind: string;
ahead_write: string;
write_remind: string;
};
}, any>>;
import request from "@/util/axios.js";
/**
* 初始化填报配置
* /api/SysConfig/SysConfigInit
*/
export function getApiSysConfigSysConfigInit(config) {
return request.get(`/api/SysConfig/SysConfigInit`, config);
}
export * from "./getApiSysConfigSysConfigInit";
export * from "./postApiSysConfigSysConfigSave";
export * from "./getApiSysConfigSysConfigInit";
export * from "./postApiSysConfigSysConfigSave";
import { type AxiosRequestConfig } from "axios";
import { type SysConfig } from "../../interface";
/**
* 获取表单编号
* /api/Common/GetFromId
* 保存填报配置
* /api/SysConfig/SysConfigSave
*/
export declare function getApiCommonGetFromId(config?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<{
export declare function postApiSysConfigSysConfigSave(input?: SysConfig, config?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<{
code: number;
status: string;
msg: string;
......
import request from "@/util/axios.js";
/**
* 保存填报配置
* /api/SysConfig/SysConfigSave
*/
export function postApiSysConfigSysConfigSave(input, config) {
return request.post(`/api/SysConfig/SysConfigSave`, input, config);
}
import { type AxiosRequestConfig } from "axios";
/**
* 填写提醒
* /api/TimeTask/WriteRemind
*/
export declare function getApiTimeTaskWriteRemind(config?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<{
......
import request from "@/util/axios.js";
/**
* 填写提醒
* /api/TimeTask/WriteRemind
*/
export function getApiTimeTaskWriteRemind(config) {
......
......@@ -2,4 +2,5 @@ export * from "./Collect";
export * from "./Common";
export * from "./Login";
export * from "./PlanProject";
export * from "./SysConfig";
export * from "./TimeTask";
......@@ -2,4 +2,5 @@ export * from "./Collect";
export * from "./Common";
export * from "./Login";
export * from "./PlanProject";
export * from "./SysConfig";
export * from "./TimeTask";
import { type AxiosRequestConfig } from "axios";
/**
* 获取列名和名称
* /api/Common/GetFormSelect
*/
export declare function getApiCommonGetFormSelect(config?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<{
code: number;
status: string;
msg: string;
msg_detail: string;
response: {
[x: string]: any;
};
}, any>>;
import request from "@/util/axios.js";
/**
* 获取列名和名称
* /api/Common/GetFormSelect
*/
export function getApiCommonGetFormSelect(config) {
return request.get(`/api/Common/GetFormSelect`, config);
}
import request from "@/util/axios.js";
/**
* 获取表单编号
* /api/Common/GetFromId
*/
export function getApiCommonGetFromId(config) {
return request.get(`/api/Common/GetFromId`, config);
}
import request from "@/util/axios.js";
/**
* 获取中层干部
* /api/Common/GetUserList
*/
export function getApiCommonGetUserList(params, config) {
const paramsInput = {
dept_id: params.dept_id,
};
return request.get(`/api/Common/GetUserList`, {
params: paramsInput,
...config,
});
}
export * from "./postApiEnterpriseclockGetEnterpriseclockList";
export * from "./postApiEnterpriseclockGetEnterpriseclockExport";
export * from "./postApiEnterpriseclockGetEnterpriseclockFileExport";
export * from "./postApiEnterpriseclockGetEnterpriseclockList";
export * from "./postApiEnterpriseclockGetEnterpriseclockExport";
export * from "./postApiEnterpriseclockGetEnterpriseclockFileExport";
import { type AxiosRequestConfig } from "axios";
import { type DataRequests } from "../../interface";
/**
* 列表导出
* /api/Enterpriseclock/GetEnterpriseclockExport
*/
export declare function postApiEnterpriseclockGetEnterpriseclockExport(input?: DataRequests, config?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<{
code: number;
status: string;
msg: string;
msg_detail: string;
response: string;
}, any>>;
import request from "@/util/axios.js";
/**
* 列表导出
* /api/Enterpriseclock/GetEnterpriseclockExport
*/
export function postApiEnterpriseclockGetEnterpriseclockExport(input, config) {
return request.post(`/api/Enterpriseclock/GetEnterpriseclockExport`, input, config);
}
import { type AxiosRequestConfig } from "axios";
import { type ExportRequests } from "../../interface";
/**
* 附件导出
* /api/Enterpriseclock/GetEnterpriseclockFileExport
*/
export declare function postApiEnterpriseclockGetEnterpriseclockFileExport(params: PostApiEnterpriseclockGetEnterpriseclockFileExportParams, input?: ExportRequests, config?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<{
code: number;
status: string;
msg: string;
msg_detail: string;
response: {
file_path: string;
password: string;
};
}, any>>;
export interface PostApiEnterpriseclockGetEnterpriseclockFileExportParams {
user_id?: string;
form_id?: string;
}
import request from "@/util/axios.js";
/**
* 附件导出
* /api/Enterpriseclock/GetEnterpriseclockFileExport
*/
export function postApiEnterpriseclockGetEnterpriseclockFileExport(params, input, config) {
const paramsInput = {
user_id: params.user_id,
form_id: params.form_id,
};
return request.post(`/api/Enterpriseclock/GetEnterpriseclockFileExport`, input, {
params: paramsInput,
...config,
});
}
import { type AxiosRequestConfig } from "axios";
import { type DataRequests } from "../../interface";
/**
* 获取教师下企业统计列表
* /api/Enterpriseclock/GetEnterpriseclockList
*/
export declare function postApiEnterpriseclockGetEnterpriseclockList(input?: DataRequests, config?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<{
pageIndex: number;
pageSize: number;
pageCount: number;
dataCount: number;
title: {
field_id: string;
show_name: string;
show_type: number;
width: number;
order_by_flag: number;
default_hide_flag: number;
fixed_flag: number;
code: string;
option: {
label: string;
value: string;
}[];
children: any[];
}[];
data: {
code: number;
status: string;
msg: string;
msg_detail: string;
response: {
id: string;
card: string;
name: string;
phone: string;
type: string;
date: string;
week: string;
location: string;
remark: string;
createtime: string;
img_upload: string;
file: string[];
day: number;
dept_name: string;
ssbm: string;
scope: string;
};
}[];
query: {
[x: string]: any;
};
}, any>>;
import request from "@/util/axios.js";
/**
* 获取教师下企业统计列表
* /api/Enterpriseclock/GetEnterpriseclockList
*/
export function postApiEnterpriseclockGetEnterpriseclockList(input, config) {
return request.post(`/api/Enterpriseclock/GetEnterpriseclockList`, input, config);
}
import { type AxiosRequestConfig } from "axios";
/**
* 校验教师申请时间是否冲突
* /api/Flow/TeacherDateVerify
*/
export declare function getApiFlowTeacherDateVerify(params: GetApiFlowTeacherDateVerifyParams, config?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<{
code: number;
status: string;
msg: string;
msg_detail: string;
response: string;
}, any>>;
export interface GetApiFlowTeacherDateVerifyParams {
card?: string;
begin_time?: string;
end_time?: string;
}
import request from "@/util/axios.js";
/**
* 校验教师申请时间是否冲突
* /api/Flow/TeacherDateVerify
*/
export function getApiFlowTeacherDateVerify(params, config) {
const paramsInput = {
card: params.card,
begin_time: params.begin_time,
end_time: params.end_time,
};
return request.get(`/api/Flow/TeacherDateVerify`, {
params: paramsInput,
...config,
});
}
export * from "./getApiFlowTeacherDateVerify";
export * from "./getApiFlowTeacherDateVerify";
import { type AxiosRequestConfig } from "axios";
/**
* PC单点登陆
* /api/sso/pc
*/
export declare function getApiSsoPc(params: GetApiSsoPcParams, config?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<{
code: number;
status: string;
msg: string;
msg_detail: string;
response: {
accessToken: {
tokenContent: string;
expires: string;
};
refreshToken: {
tokenContent: string;
expires: string;
};
};
}, any>>;
export interface GetApiSsoPcParams {
token: string;
}
import request from "@/util/axios.js";
/**
* PC单点登陆
* /api/sso/pc
*/
export function getApiSsoPc(params, config) {
const paramsInput = {
token: params.token,
};
return request.get(`/api/sso/pc`, {
params: paramsInput,
...config,
});
}
因为 它太大了无法显示 源差异 。您可以改为 查看blob。
import request from "@/util/axios.js";
/**
* /api/Test/EnumTest
*/
export function getApiTestEnumTest(config) {
return request.get(`/api/Test/EnumTest`, config);
}
import { type AxiosRequestConfig } from "axios";
/**
* /api/Test/WorkFlowTest
*/
export declare function getApiTestWorkFlowTest(config?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<{
code: number;
status: string;
msg: string;
msg_detail: string;
response: {
workID: number;
fid: number;
fK_FlowSort: string;
sysType: string;
fK_Flow: string;
flowName: string;
title: string;
wfSta: number;
wfState: number;
starter: string;
starterName: string;
sender: string;
rdt: string;
fK_Node: number;
nodeName: string;
fK_Dept: string;
deptName: string;
pri: number;
sdtOfNode: string;
sdtOfFlow: string;
pFlowNo: string;
pWorkID: number;
pNodeID: number;
pfid: number;
pEmp: string;
guestNo: string;
guestName: string;
billNo: string;
flowNote: string;
todoEmps: string;
todoEmpsNum: number;
taskSta: number;
atPara: string;
emps: string;
guid: string;
fK_NY: string;
weekNum: number;
tSpan: number;
todoSta: number;
myNum: number;
}[];
}, any>>;
import request from "@/util/axios.js";
/**
* /api/Test/WorkFlowTest
*/
export function getApiTestWorkFlowTest(config) {
return request.get(`/api/Test/WorkFlowTest`, config);
}
export * from "./getApiTestWorkFlowTest";
export * from "./getApiTestEnumTest";
export * from "./getApiTestWorkFlowTest";
export * from "./getApiTestEnumTest";
import { type TypeInfo, type Type, type MethodInfo, type CustomAttributeData, type Module, type SecurityRuleSet } from "../../interface";
export interface Assembly {
definedTypes?: TypeInfo[];
exportedTypes?: Type[];
codeBase?: string;
entryPoint?: MethodInfo;
fullName?: string;
imageRuntimeVersion?: string;
isDynamic?: boolean;
location?: string;
reflectionOnly?: boolean;
isCollectible?: boolean;
isFullyTrusted?: boolean;
customAttributes?: CustomAttributeData[];
escapedCodeBase?: string;
manifestModule?: Module;
modules?: Module[];
globalAssemblyCache?: boolean;
hostContext?: number;
securityRuleSet?: SecurityRuleSet;
}
import { type CalendarAlgorithmType } from "../../interface";
export interface Calendar {
minSupportedDateTime?: string;
maxSupportedDateTime?: string;
algorithmType?: CalendarAlgorithmType;
isReadOnly?: boolean;
eras?: number[];
twoDigitYearMax?: number;
}
import { type SortVersion } from "../../interface";
export interface CompareInfo {
name?: string;
version?: SortVersion;
lcid?: number;
}
import { type Type, type Module, type CustomAttributeData, type MethodAttributes, type MethodImplAttributes, type CallingConventions, type RuntimeMethodHandle, type MemberTypes } from "../../interface";
export interface ConstructorInfo {
name?: string;
declaringType?: Type;
reflectedType?: Type;
module?: Module;
customAttributes?: CustomAttributeData[];
isCollectible?: boolean;
metadataToken?: number;
attributes?: MethodAttributes;
methodImplementationFlags?: MethodImplAttributes;
callingConvention?: CallingConventions;
isAbstract?: boolean;
isConstructor?: boolean;
isFinal?: boolean;
isHideBySig?: boolean;
isSpecialName?: boolean;
isStatic?: boolean;
isVirtual?: boolean;
isAssembly?: boolean;
isFamily?: boolean;
isFamilyAndAssembly?: boolean;
isFamilyOrAssembly?: boolean;
isPrivate?: boolean;
isPublic?: boolean;
isConstructedGenericMethod?: boolean;
isGenericMethod?: boolean;
isGenericMethodDefinition?: boolean;
containsGenericParameters?: boolean;
methodHandle?: RuntimeMethodHandle;
isSecurityCritical?: boolean;
isSecuritySafeCritical?: boolean;
isSecurityTransparent?: boolean;
memberType?: MemberTypes;
}
import { type CompareInfo, type TextInfo, type CultureTypes, type NumberFormatInfo, type DateTimeFormatInfo, type Calendar } from "../../interface";
export interface CultureInfo {
parent?: CultureInfo;
lcid?: number;
keyboardLayoutId?: number;
name?: string;
ietfLanguageTag?: string;
displayName?: string;
nativeName?: string;
englishName?: string;
twoLetterISOLanguageName?: string;
threeLetterISOLanguageName?: string;
threeLetterWindowsLanguageName?: string;
compareInfo?: CompareInfo;
textInfo?: TextInfo;
isNeutralCulture?: boolean;
cultureTypes?: CultureTypes;
numberFormat?: NumberFormatInfo;
dateTimeFormat?: DateTimeFormatInfo;
calendar?: Calendar;
optionalCalendars?: Calendar[];
useUserOverride?: boolean;
isReadOnly?: boolean;
}
import { type Type, type ConstructorInfo, type CustomAttributeTypedArgument, type CustomAttributeNamedArgument } from "../../interface";
export interface CustomAttributeData {
attributeType?: Type;
constructor?: ConstructorInfo;
constructorArguments?: CustomAttributeTypedArgument[];
namedArguments?: CustomAttributeNamedArgument[];
}
import { type MemberInfo, type CustomAttributeTypedArgument } from "../../interface";
export interface CustomAttributeNamedArgument {
memberInfo?: MemberInfo;
typedValue?: CustomAttributeTypedArgument;
memberName?: string;
isField?: boolean;
}
import { type Type } from "../../interface";
export interface CustomAttributeTypedArgument {
argumentType?: Type;
value?: unknown;
}
import { type ISite, type IContainer, type Type, type DataSetDateTime, type DataTable, type MappingType } from "../../interface";
export interface DataColumn {
site?: ISite;
container?: IContainer;
designMode?: boolean;
allowDBNull?: boolean;
autoIncrement?: boolean;
autoIncrementSeed?: number;
autoIncrementStep?: number;
caption?: string;
columnName?: string;
prefix?: string;
dataType?: Type;
dateTimeMode?: DataSetDateTime;
defaultValue?: unknown;
expression?: string;
extendedProperties?: DataColumnExtendedProperties;
maxLength?: number;
namespace?: string;
ordinal?: number;
readOnly?: boolean;
table?: DataTable;
unique?: boolean;
columnMapping?: MappingType;
}
export interface DataColumnExtendedProperties {
[key: string]: any;
}
export interface DataRequests {
/** 卡号或姓名 */
card_name?: string;
/** 开始时间 */
begin_time?: string;
/** 结束时间 */
end_time?: string;
/** 附件名称 */
file_name?: string[];
page_index?: number;
page_size?: number;
}
import { type IContainer, type SerializationFormat, type SchemaSerializationMode, type CultureInfo, type ISite } from "../../interface";
export interface DataSet {
container?: IContainer;
designMode?: boolean;
remotingFormat?: SerializationFormat;
schemaSerializationMode?: SchemaSerializationMode;
caseSensitive?: boolean;
defaultViewManager?: unknown[];
enforceConstraints?: boolean;
dataSetName?: string;
namespace?: string;
prefix?: string;
extendedProperties?: DataSetExtendedProperties;
hasErrors?: boolean;
isInitialized?: boolean;
locale?: CultureInfo;
site?: ISite;
relations?: unknown[];
tables?: unknown[];
}
export interface DataSetExtendedProperties {
[key: string]: any;
}
import { type IContainer, type SerializationFormat, type DataSet, type CultureInfo, type DataColumn, type ISite } from "../../interface";
export interface DataTable {
container?: IContainer;
designMode?: boolean;
caseSensitive?: boolean;
isInitialized?: boolean;
remotingFormat?: SerializationFormat;
childRelations?: unknown[];
columns?: unknown[];
constraints?: unknown[];
dataSet?: DataSet;
defaultView?: unknown[];
displayExpression?: string;
extendedProperties?: DataTableExtendedProperties;
hasErrors?: boolean;
locale?: CultureInfo;
minimumCapacity?: number;
parentRelations?: unknown[];
primaryKey?: DataColumn[];
rows?: unknown[];
tableName?: string;
namespace?: string;
prefix?: string;
site?: ISite;
}
export interface DataTableExtendedProperties {
[key: string]: any;
}
export interface DataViewModel {
file_path?: string;
password?: string;
}
import { type DataViewModel } from "../../interface";
export interface DataViewModelMessageModel {
code?: number;
status?: string;
msg?: string;
msg_detail?: string;
response?: DataViewModel;
}
import { type Calendar, type DayOfWeek, type CalendarWeekRule } from "../../interface";
export interface DateTimeFormatInfo {
amDesignator?: string;
calendar?: Calendar;
dateSeparator?: string;
firstDayOfWeek?: DayOfWeek;
calendarWeekRule?: CalendarWeekRule;
fullDateTimePattern?: string;
longDatePattern?: string;
longTimePattern?: string;
monthDayPattern?: string;
pmDesignator?: string;
rfC1123Pattern?: string;
shortDatePattern?: string;
shortTimePattern?: string;
sortableDateTimePattern?: string;
timeSeparator?: string;
universalSortableDateTimePattern?: string;
yearMonthPattern?: string;
abbreviatedDayNames?: string[];
shortestDayNames?: string[];
dayNames?: string[];
abbreviatedMonthNames?: string[];
monthNames?: string[];
isReadOnly?: boolean;
nativeCalendarName?: string;
abbreviatedMonthGenitiveNames?: string[];
monthGenitiveNames?: string[];
}
export interface EnterpriseclockViewModel {
id?: string;
card?: string;
name?: string;
phone?: string;
type?: string;
date?: string;
week?: string;
location?: string;
remark?: string;
createtime?: string;
img_upload?: string;
file?: string[];
day?: number;
dept_name?: string;
ssbm?: string;
scope?: string;
}
import { type EnterpriseclockViewModel } from "../../interface";
export interface EnterpriseclockViewModelMessageModel {
code?: number;
status?: string;
msg?: string;
msg_detail?: string;
response?: EnterpriseclockViewModel;
}
import { type TableTitle, type EnterpriseclockViewModelMessageModel } from "../../interface";
export interface EnterpriseclockViewModelMessageModelPageModel {
pageIndex?: number;
pageSize?: number;
pageCount?: number;
dataCount?: number;
title?: TableTitle[];
data?: EnterpriseclockViewModelMessageModel[];
query?: EnterpriseclockViewModelMessageModelPageModelQuery;
}
export interface EnterpriseclockViewModelMessageModelPageModelQuery {
[key: string]: any;
}
import { type Type, type Module, type CustomAttributeData, type MemberTypes, type EventAttributes, type MethodInfo } from "../../interface";
export interface EventInfo {
name?: string;
declaringType?: Type;
reflectedType?: Type;
module?: Module;
customAttributes?: CustomAttributeData[];
isCollectible?: boolean;
metadataToken?: number;
memberType?: MemberTypes;
attributes?: EventAttributes;
isSpecialName?: boolean;
addMethod?: MethodInfo;
removeMethod?: MethodInfo;
raiseMethod?: MethodInfo;
isMulticast?: boolean;
eventHandlerType?: Type;
}
export interface ExportRequests {
role?: string;
audit_status?: string;
key_word?: string;
submit_time_start?: string;
submit_time_end?: string;
show_title?: string[];
sort?: string;
rule_type?: string;
item_id?: string;
file_name_rule?: string[];
}
import { type Type, type Module, type CustomAttributeData, type MemberTypes, type FieldAttributes, type RuntimeFieldHandle } from "../../interface";
export interface FieldInfo {
name?: string;
declaringType?: Type;
reflectedType?: Type;
module?: Module;
customAttributes?: CustomAttributeData[];
isCollectible?: boolean;
metadataToken?: number;
memberType?: MemberTypes;
attributes?: FieldAttributes;
fieldType?: Type;
isInitOnly?: boolean;
isLiteral?: boolean;
isNotSerialized?: boolean;
isPinvokeImpl?: boolean;
isSpecialName?: boolean;
isStatic?: boolean;
isAssembly?: boolean;
isFamily?: boolean;
isFamilyAndAssembly?: boolean;
isFamilyOrAssembly?: boolean;
isPrivate?: boolean;
isPublic?: boolean;
isSecurityCritical?: boolean;
isSecuritySafeCritical?: boolean;
isSecurityTransparent?: boolean;
fieldHandle?: RuntimeFieldHandle;
}
import { type ISite } from "../../interface";
export interface IComponent {
site?: ISite;
}
export interface IContainer {
components?: unknown[];
}
export interface ICustomAttributeProvider {
[key: string]: any;
}
import { type IComponent, type IContainer } from "../../interface";
export interface ISite {
component?: IComponent;
container?: IContainer;
designMode?: boolean;
name?: string;
}
export interface IntPtr {
[key: string]: any;
}
import { type MemberTypes, type Type, type Module, type CustomAttributeData } from "../../interface";
export interface MemberInfo {
memberType?: MemberTypes;
declaringType?: Type;
reflectedType?: Type;
name?: string;
module?: Module;
customAttributes?: CustomAttributeData[];
isCollectible?: boolean;
metadataToken?: number;
}
import { type MemberTypes, type Type, type Module, type CustomAttributeData, type MethodAttributes, type MethodImplAttributes, type CallingConventions, type RuntimeMethodHandle } from "../../interface";
export interface MethodBase {
memberType?: MemberTypes;
name?: string;
declaringType?: Type;
reflectedType?: Type;
module?: Module;
customAttributes?: CustomAttributeData[];
isCollectible?: boolean;
metadataToken?: number;
attributes?: MethodAttributes;
methodImplementationFlags?: MethodImplAttributes;
callingConvention?: CallingConventions;
isAbstract?: boolean;
isConstructor?: boolean;
isFinal?: boolean;
isHideBySig?: boolean;
isSpecialName?: boolean;
isStatic?: boolean;
isVirtual?: boolean;
isAssembly?: boolean;
isFamily?: boolean;
isFamilyAndAssembly?: boolean;
isFamilyOrAssembly?: boolean;
isPrivate?: boolean;
isPublic?: boolean;
isConstructedGenericMethod?: boolean;
isGenericMethod?: boolean;
isGenericMethodDefinition?: boolean;
containsGenericParameters?: boolean;
methodHandle?: RuntimeMethodHandle;
isSecurityCritical?: boolean;
isSecuritySafeCritical?: boolean;
isSecurityTransparent?: boolean;
}
import { type Type, type Module, type CustomAttributeData, type MethodAttributes, type MethodImplAttributes, type CallingConventions, type RuntimeMethodHandle, type MemberTypes, type ParameterInfo, type ICustomAttributeProvider } from "../../interface";
export interface MethodInfo {
name?: string;
declaringType?: Type;
reflectedType?: Type;
module?: Module;
customAttributes?: CustomAttributeData[];
isCollectible?: boolean;
metadataToken?: number;
attributes?: MethodAttributes;
methodImplementationFlags?: MethodImplAttributes;
callingConvention?: CallingConventions;
isAbstract?: boolean;
isConstructor?: boolean;
isFinal?: boolean;
isHideBySig?: boolean;
isSpecialName?: boolean;
isStatic?: boolean;
isVirtual?: boolean;
isAssembly?: boolean;
isFamily?: boolean;
isFamilyAndAssembly?: boolean;
isFamilyOrAssembly?: boolean;
isPrivate?: boolean;
isPublic?: boolean;
isConstructedGenericMethod?: boolean;
isGenericMethod?: boolean;
isGenericMethodDefinition?: boolean;
containsGenericParameters?: boolean;
methodHandle?: RuntimeMethodHandle;
isSecurityCritical?: boolean;
isSecuritySafeCritical?: boolean;
isSecurityTransparent?: boolean;
memberType?: MemberTypes;
returnParameter?: ParameterInfo;
returnType?: Type;
returnTypeCustomAttributes?: ICustomAttributeProvider;
}
import { type Assembly, type ModuleHandle, type CustomAttributeData } from "../../interface";
export interface Module {
assembly?: Assembly;
fullyQualifiedName?: string;
name?: string;
mdStreamVersion?: number;
moduleVersionId?: string;
scopeName?: string;
moduleHandle?: ModuleHandle;
customAttributes?: CustomAttributeData[];
metadataToken?: number;
}
export interface ModuleHandle {
mdStreamVersion?: number;
}
import { type DigitShapes } from "../../interface";
export interface NumberFormatInfo {
currencyDecimalDigits?: number;
currencyDecimalSeparator?: string;
isReadOnly?: boolean;
currencyGroupSizes?: number[];
numberGroupSizes?: number[];
percentGroupSizes?: number[];
currencyGroupSeparator?: string;
currencySymbol?: string;
naNSymbol?: string;
currencyNegativePattern?: number;
numberNegativePattern?: number;
percentPositivePattern?: number;
percentNegativePattern?: number;
negativeInfinitySymbol?: string;
negativeSign?: string;
numberDecimalDigits?: number;
numberDecimalSeparator?: string;
numberGroupSeparator?: string;
currencyPositivePattern?: number;
positiveInfinitySymbol?: string;
positiveSign?: string;
percentDecimalDigits?: number;
percentDecimalSeparator?: string;
percentGroupSeparator?: string;
percentSymbol?: string;
perMilleSymbol?: string;
nativeDigits?: string[];
digitSubstitution?: DigitShapes;
}
export interface Option {
label?: string;
value?: string;
}
import { type ParameterAttributes, type MemberInfo, type Type, type CustomAttributeData } from "../../interface";
export interface ParameterInfo {
attributes?: ParameterAttributes;
member?: MemberInfo;
name?: string;
parameterType?: Type;
position?: number;
isIn?: boolean;
isLcid?: boolean;
isOptional?: boolean;
isOut?: boolean;
isRetval?: boolean;
defaultValue?: unknown;
rawDefaultValue?: unknown;
hasDefaultValue?: boolean;
customAttributes?: CustomAttributeData[];
metadataToken?: number;
}
import { type Type, type Module, type CustomAttributeData, type MemberTypes, type PropertyAttributes, type MethodInfo } from "../../interface";
export interface PropertyInfo {
name?: string;
declaringType?: Type;
reflectedType?: Type;
module?: Module;
customAttributes?: CustomAttributeData[];
isCollectible?: boolean;
metadataToken?: number;
memberType?: MemberTypes;
propertyType?: Type;
attributes?: PropertyAttributes;
isSpecialName?: boolean;
canRead?: boolean;
canWrite?: boolean;
getMethod?: MethodInfo;
setMethod?: MethodInfo;
}
import { type IntPtr } from "../../interface";
export interface RuntimeFieldHandle {
value?: IntPtr;
}
import { type IntPtr } from "../../interface";
export interface RuntimeMethodHandle {
value?: IntPtr;
}
import { type IntPtr } from "../../interface";
export interface RuntimeTypeHandle {
value?: IntPtr;
}
export interface SelectViewModel {
name?: string;
id?: string;
}
export interface SortVersion {
fullVersion?: number;
sortId?: string;
}
export interface StringSelectViewModelListDictionaryMessageModel {
code?: number;
status?: string;
msg?: string;
msg_detail?: string;
response?: StringSelectViewModelListDictionaryMessageModelResponse;
}
export interface StringSelectViewModelListDictionaryMessageModelResponse {
[key: string]: any;
}
import { type LayoutKind } from "../../interface";
export interface StructLayoutAttribute {
typeId?: unknown;
value?: LayoutKind;
}
import { type Option } from "../../interface";
export interface TableTitle {
field_id?: string;
show_name?: string;
show_type?: number;
width?: number;
order_by_flag?: number;
default_hide_flag?: number;
fixed_flag?: number;
code?: string;
option?: Option[];
children?: TableTitle[];
}
export interface TextInfo {
ansiCodePage?: number;
oemCodePage?: number;
macCodePage?: number;
ebcdicCodePage?: number;
lcid?: number;
cultureName?: string;
isReadOnly?: boolean;
listSeparator?: string;
isRightToLeft?: boolean;
}
import { type CustomAttributeData, type MemberTypes, type Assembly, type Module, type MethodBase, type GenericParameterAttributes, type TypeAttributes, type StructLayoutAttribute, type ConstructorInfo, type RuntimeTypeHandle } from "../../interface";
export interface Type {
name?: string;
customAttributes?: CustomAttributeData[];
isCollectible?: boolean;
metadataToken?: number;
isInterface?: boolean;
memberType?: MemberTypes;
namespace?: string;
assemblyQualifiedName?: string;
fullName?: string;
assembly?: Assembly;
module?: Module;
isNested?: boolean;
declaringType?: Type;
declaringMethod?: MethodBase;
reflectedType?: Type;
underlyingSystemType?: Type;
isTypeDefinition?: boolean;
isArray?: boolean;
isByRef?: boolean;
isPointer?: boolean;
isConstructedGenericType?: boolean;
isGenericParameter?: boolean;
isGenericTypeParameter?: boolean;
isGenericMethodParameter?: boolean;
isGenericType?: boolean;
isGenericTypeDefinition?: boolean;
isSZArray?: boolean;
isVariableBoundArray?: boolean;
isByRefLike?: boolean;
hasElementType?: boolean;
genericTypeArguments?: Type[];
genericParameterPosition?: number;
genericParameterAttributes?: GenericParameterAttributes;
attributes?: TypeAttributes;
isAbstract?: boolean;
isImport?: boolean;
isSealed?: boolean;
isSpecialName?: boolean;
isClass?: boolean;
isNestedAssembly?: boolean;
isNestedFamANDAssem?: boolean;
isNestedFamily?: boolean;
isNestedFamORAssem?: boolean;
isNestedPrivate?: boolean;
isNestedPublic?: boolean;
isNotPublic?: boolean;
isPublic?: boolean;
isAutoLayout?: boolean;
isExplicitLayout?: boolean;
isLayoutSequential?: boolean;
isAnsiClass?: boolean;
isAutoClass?: boolean;
isUnicodeClass?: boolean;
isCOMObject?: boolean;
isContextful?: boolean;
isEnum?: boolean;
isMarshalByRef?: boolean;
isPrimitive?: boolean;
isValueType?: boolean;
isSignatureType?: boolean;
isSecurityCritical?: boolean;
isSecuritySafeCritical?: boolean;
isSecurityTransparent?: boolean;
structLayoutAttribute?: StructLayoutAttribute;
typeInitializer?: ConstructorInfo;
typeHandle?: RuntimeTypeHandle;
guid?: string;
baseType?: Type;
isSerializable?: boolean;
containsGenericParameters?: boolean;
isVisible?: boolean;
}
import { type CustomAttributeData, type MemberTypes, type Assembly, type Module, type Type, type MethodBase, type GenericParameterAttributes, type TypeAttributes, type StructLayoutAttribute, type ConstructorInfo, type RuntimeTypeHandle, type EventInfo, type FieldInfo, type MemberInfo, type MethodInfo, type PropertyInfo } from "../../interface";
export interface TypeInfo {
name?: string;
customAttributes?: CustomAttributeData[];
isCollectible?: boolean;
metadataToken?: number;
isInterface?: boolean;
memberType?: MemberTypes;
namespace?: string;
assemblyQualifiedName?: string;
fullName?: string;
assembly?: Assembly;
module?: Module;
isNested?: boolean;
declaringType?: Type;
declaringMethod?: MethodBase;
reflectedType?: Type;
underlyingSystemType?: Type;
isTypeDefinition?: boolean;
isArray?: boolean;
isByRef?: boolean;
isPointer?: boolean;
isConstructedGenericType?: boolean;
isGenericParameter?: boolean;
isGenericTypeParameter?: boolean;
isGenericMethodParameter?: boolean;
isGenericType?: boolean;
isGenericTypeDefinition?: boolean;
isSZArray?: boolean;
isVariableBoundArray?: boolean;
isByRefLike?: boolean;
hasElementType?: boolean;
genericTypeArguments?: Type[];
genericParameterPosition?: number;
genericParameterAttributes?: GenericParameterAttributes;
attributes?: TypeAttributes;
isAbstract?: boolean;
isImport?: boolean;
isSealed?: boolean;
isSpecialName?: boolean;
isClass?: boolean;
isNestedAssembly?: boolean;
isNestedFamANDAssem?: boolean;
isNestedFamily?: boolean;
isNestedFamORAssem?: boolean;
isNestedPrivate?: boolean;
isNestedPublic?: boolean;
isNotPublic?: boolean;
isPublic?: boolean;
isAutoLayout?: boolean;
isExplicitLayout?: boolean;
isLayoutSequential?: boolean;
isAnsiClass?: boolean;
isAutoClass?: boolean;
isUnicodeClass?: boolean;
isCOMObject?: boolean;
isContextful?: boolean;
isEnum?: boolean;
isMarshalByRef?: boolean;
isPrimitive?: boolean;
isValueType?: boolean;
isSignatureType?: boolean;
isSecurityCritical?: boolean;
isSecuritySafeCritical?: boolean;
isSecurityTransparent?: boolean;
structLayoutAttribute?: StructLayoutAttribute;
typeInitializer?: ConstructorInfo;
typeHandle?: RuntimeTypeHandle;
guid?: string;
baseType?: Type;
isSerializable?: boolean;
containsGenericParameters?: boolean;
isVisible?: boolean;
genericTypeParameters?: Type[];
declaredConstructors?: ConstructorInfo[];
declaredEvents?: EventInfo[];
declaredFields?: FieldInfo[];
declaredMembers?: MemberInfo[];
declaredMethods?: MethodInfo[];
declaredNestedTypes?: TypeInfo[];
declaredProperties?: PropertyInfo[];
implementedInterfaces?: Type[];
}
export interface WfGenerWorkFlow {
workID?: number;
fid?: number;
fK_FlowSort?: string;
sysType?: string;
fK_Flow?: string;
flowName?: string;
title?: string;
wfSta?: number;
wfState?: number;
starter?: string;
starterName?: string;
sender?: string;
rdt?: string;
fK_Node?: number;
nodeName?: string;
fK_Dept?: string;
deptName?: string;
pri?: number;
sdtOfNode?: string;
sdtOfFlow?: string;
pFlowNo?: string;
pWorkID?: number;
pNodeID?: number;
pfid?: number;
pEmp?: string;
guestNo?: string;
guestName?: string;
billNo?: string;
flowNote?: string;
todoEmps?: string;
todoEmpsNum?: number;
taskSta?: number;
atPara?: string;
emps?: string;
guid?: string;
fK_NY?: string;
weekNum?: number;
tSpan?: number;
todoSta?: number;
myNum?: number;
}
import { type WfGenerWorkFlow } from "../../interface";
export interface WfGenerWorkFlowListMessageModel {
code?: number;
status?: string;
msg?: string;
msg_detail?: string;
response?: WfGenerWorkFlow[];
}
export interface SysConfig {
configid?: string;
semester_date_begin?: string;
semester_date_end?: string;
period_remind?: string;
nowrite_remind?: string;
ahead_write?: string;
write_remind?: string;
}
import { type DataTable } from "../../interface";
export interface DataTableMessageModel {
import { type SysConfig } from "../../interface";
export interface SysConfigMessageModel {
code?: number;
status?: string;
msg?: string;
msg_detail?: string;
response?: DataTable;
response?: SysConfig;
}
......@@ -16,6 +16,8 @@ export * from "./apiTypes/PlanProjectWeekViewModelListMessageModel";
export * from "./apiTypes/PlanProjectDayViewModel";
export * from "./apiTypes/PlanProjectDayViewModelListMessageModel";
export * from "./apiTypes/PlanProjectMessageModel";
export * from "./apiTypes/SysConfig";
export * from "./apiTypes/SysConfigMessageModel";
export type Primitive = undefined | null | boolean | string | number | symbol;
export type DeepRequired<T> = T extends Primitive ? T : keyof T extends never ? T : {
[K in keyof T]-?: DeepRequired<T[K]>;
......
......@@ -16,3 +16,5 @@ export * from "./apiTypes/PlanProjectWeekViewModelListMessageModel";
export * from "./apiTypes/PlanProjectDayViewModel";
export * from "./apiTypes/PlanProjectDayViewModelListMessageModel";
export * from "./apiTypes/PlanProjectMessageModel";
export * from "./apiTypes/SysConfig";
export * from "./apiTypes/SysConfigMessageModel";
......@@ -14,6 +14,7 @@
<div
:style="{background:item.bg,color:item.acColor}"
class="w-[16%] h-full "
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 ">
......@@ -98,6 +99,14 @@ let GetWatchListObject = reactive({
GetWatchListInitArray: [],
})
function deleteDateBg() {
//清楚日期的选中效果
dateArray.array.forEach(cur => {
cur.bg = ''
cur.acColor = ''
})
}
function centerDateValue(date, parent) {
//选中日期focus
if (parent.init.switchView.show) {
......@@ -289,7 +298,8 @@ onMounted(() => {
})
defineExpose({
getInitDate,
dateArray
dateArray,
deleteDateBg
})
</script>
......@@ -133,11 +133,12 @@
<script setup>
//获取下周星期一日期
import * as hooks from '@/hooks/index.js'
import * as api from '@/api/apis/dist/controller/index.js'
import * as api from '@/api/apis/controller/index.js'
let now = dayjs();
let nextMonday = now.day() === 0 ? now.add(1, 'week') : now.add(1, 'week').startOf('week').add(1, 'day');
let miniDate = new Date(nextMonday.year(), nextMonday.month(), nextMonday.date())
import {computed, onMounted, reactive} from "vue";
import dayjs from "dayjs";
......
......@@ -2,7 +2,8 @@
<div
class="text-[15px] w-full h-auto rounded-[5px] text-[#4B5563] flex-wrap flex backdrop-brightness-100 bg-white mb-3">
<div class="w-full h-11 flex p-2 items-center border-b-[1px] border-[#E5E7EB] border-solid">
<span>{{ props.data.username }}-{{ props.data.dept_name }}</span>
<span :style="{background:props.data.deptBg,color:props.data.deptCl}">{{ props.data.username }}</span>-<span
:style="{background:props.data.peopleBg,color:props.data.peopleCl}">{{ props.data.dept_name }}</span>
</div>
<div v-if="props.alldayOrMidafternoonStatus" class="w-[65%] min-h-full p-2">
......@@ -52,7 +53,7 @@
<script setup>
import dayjs from "dayjs";
import * as api from '@/api/apis/dist/controller/index.js'
import * as api from '@/api/apis/controller/index.js'
import * as hooks from '@/hooks/index.js'
const props = defineProps({
......
......@@ -2,7 +2,7 @@
<div class="publicContainerNoPadding">
<childrenIndexHeader path="/welcome" title="分管填报记录查看"></childrenIndexHeader>
<div class="w-full h-[50px] flex justify-between items-center p-2">
<div @click="changeView"
<div @click="changeView($refs)"
class="w-24 h-8 flex text-[#4B5563] justify-center items-center border-solid border-[1px] active:bg-blue-100 ">
切换{{ init.switchView.show ? '周' : '天' }}视图
</div>
......@@ -26,19 +26,23 @@
</div>
<div v-else>
<!-- 周视图-->
<Date ref="dateDay"/>
<Date ref="dateWeek"/>
<div class="w-full h-auto bg-white" :key="init.weekKey">
<div class="w-full min-h-[80px] flex-wrap ccFlex "
v-for="(item,index) in init.weekArray" :key="index">
<!-- 一个部门-->
<div class="w-[35px] min-h-[80px] ">
<div @click="selectTheExternalDepartment(item.deptId)" :style="{
background:item.deptBg,color:item.deptCl
}" class="w-[35px] min-h-[80px] ">
<!-- 部门名称-->
<div class=" aaa w-full min-h-[80px] ccFlex">{{ item.deptName }}</div>
<div class=" aaa w-full min-h-[80px] ccFlex p-1">{{ item.deptName }}</div>
</div>
<div class="w-[calc(100%-35px)] h-full ">
<!-- 人员信息-->
<div class="w-full h-auto flex " v-for="(ite,inde) in item.nameData" :key="inde">
<div class=" w-[35px] min-h-[80px] ccFlex ">
<div @click="pickSomeoneFromTheOutside(ite.userId)" :style="{
background:ite.peopleBg,color:ite.peopleCl
}" class=" w-[35px] min-h-[80px] ccFlex ">
<!-- 姓名-->
<div class="aaa ">{{ ite.userName }}</div>
</div>
......@@ -70,9 +74,11 @@
</div>
</div>
</div>
<div class="w-[35px] min-h-[80px] ccFlex ">
<div :style="{background:ite.bg,color:ite.cl}" class="w-[35px] min-h-[80px] ccFlex ">
<!-- 是否关注-->
<div class="aaa ">{{ ['关注', '取消关注'][ite.attention] }}</div>
<div @click="followOrUnfollow(ite,ite.attention)" class="aaa ">
{{ ['关注', '取消关注'][ite.attention] }}
</div>
</div>
</div>
</div>
......@@ -86,8 +92,12 @@
<template #content>
<div class="w-full h-[calc(100%-64px)] bg-gray-200" :key="init.calendarKey">
<div class="w-full h-3"></div>
<van-cell inset title="选择单个日期" :value="init.search.date" @click="init.date.show = true"/>
<van-calendar type="range" v-model:show="init.date.show" @confirm="onConfirm"/>
<van-calendar :min-date="new Date(miniDate)" :max-range="5" range-prompt="最多选择 5 天"
type="range"
v-model:show="init.date.show"
@confirm="onConfirm"/>
<div class="w-full h-3"></div>
<div class="w-full h-auto bg-white ">
<div class="w-full h-10 p-4 pb-0 font-bold">分管部门</div>
......@@ -139,7 +149,7 @@
<noPageFooter>
<template v-slot:default>
<van-button type="primary" round class="w-[90px]" @click="reset($refs)">重置</van-button>
<van-button type="primary" round class="w-[90px]" @click="search">查询</van-button>
<van-button type="primary" round class="w-[90px]" @click="search($refs)">查询</van-button>
<van-button round class="w-[90px]" @click="cancel">取消</van-button>
</template>
</noPageFooter>
......@@ -152,13 +162,17 @@
import dayjs from "dayjs";
import {onMounted, reactive, ref} from "vue";
import * as hooks from '@/hooks/index.js'
import * as api from '@/api/apis/dist/controller/index.js'
import * as api from '@/api/apis/controller/index.js'
// 获取本周一和本周五的日期
const startOfWeek = dayjs().startOf('week').add(1, 'day').format('YYYY-MM-DD');
const endOfWeek = dayjs().startOf('week').add(5, 'day').format('YYYY-MM-DD');
const dateDay = ref()
const dateWeek = ref()
const miniDate = dayjs(dayjs().startOf('week').add(1, 'day').format('YYYY-MM-DD')).format('YYYY-MM-DD')
const init = reactive({
peoPleFlag: false,
weekFlag: false,
calendarKey: 1,
weekKey: 1,
dayArray: [],
......@@ -178,9 +192,8 @@ const init = reactive({
comment: {
dept: [],
user: [],
deptId: '',
deptId: [],
},
check: {
"dept_id_list": [],
"tid_list": [],
......@@ -192,7 +205,6 @@ const init = reactive({
},
search: {
date: startOfWeek + ' - ' + endOfWeek
},
weekView: {
minHeigth: 80,
......@@ -222,7 +234,7 @@ function advancedQuery() {
init.select.showPopup = true
}
function changeView() {
function changeView(refs) {
//切换视图
init.switchView.show = !init.switchView.show
init.calendarKey++
......@@ -245,13 +257,13 @@ function changeView() {
},
GetPlanProjectByWeekList()
}
reset()
reset(refs)
init.select.action = false
}
function reset(refs) {
console.log("🚀🚀🚀,", refs)
init.check.dept_id_list = [] //加入选中数组
init.comment.dept.forEach(cur => {
//给予选中颜色
......@@ -286,24 +298,45 @@ function reset(refs) {
"dept_id_list": [],
"tid_list": [],
}
//切换视图初始化日期
if (refs.dateDay) {
refs.dateDay.dateArray.array = []
refs.dateDay.getInitDate()
}
if (refs.dateWeek) {
refs.dateWeek.dateArray.array = []
refs.dateWeek.getInitDate()
}
init.comment.deptId = []
GetUserList()
GetPlanProjectByDayList()
GetPlanProjectByWeekList()
}
function search() {
function search(refs) {
//查询
let strategy = {
'true': () => {
'true': async () => {
init.paramsDay = {
...init.check,
begin_time: init.check.begin_time ? init.check.begin_time : startOfWeek,
end_time: init.check.end_time ? init.check.end_time : endOfWeek
}
GetPlanProjectByDayList()
refs.dateDay.deleteDateBg()
await GetPlanProjectByDayList()
init.dayArray.map((cur, index) => {
if (init.paramsDay.dept_id_list.includes(cur.dept_id)) {
cur.deptBg = '#1989FA'
cur.deptCl = '#FFFFFF'
}
if (init.paramsDay.tid_list.includes(cur.userid)) {
cur.peopleBg = '#1989FA'
cur.peopleCl = '#FFFFFF'
}
})
init.select.showPopup = false
},
'false': () => {
......@@ -343,9 +376,59 @@ function GetDeptList() {
})
}
function followOrUnfollow(item, number) {
//关注或取消关注
let strategy = {
'true': () => {
//取消关注
hooks.myEncapsulationFunction(() => {
return api.getApiCollectUnCollect({plan_id: '', collect_userid: item.userId}).then(res => {
if (res.code === 1) {
init.weekArray.forEach((cur, index) => {
//取消高亮背景
cur.nameData.forEach((cu, inde) => {
if (item.userId === cu.userId) {
cu.bg = ''
cu.cl = ''
cu.attention = 0
}
})
})
GetPlanProjectByWeekList()
}
return res
})
})
},
'false': () => {
//关注
hooks.myEncapsulationFunction(() => {
return api.getApiCollectCollectClick({id: item.userId, collect_type: 0}).then(res => {
if (res.code === 1) {
init.weekArray.forEach((cur, index) => {
//添加高亮背景
cur.nameData.forEach((cu, inde) => {
if (item.userId === cu.userId) {
cu.bg = '#1989FA'
cu.cl = '#FFFFFF'
cu.attention = 1
}
})
})
GetPlanProjectByWeekList()
}
return res
})
})
}
}
strategy[String(Boolean(Number(item.attention)))]()
}
function GetUserList() {
//获取用户列表
api.getApiCommonGetUserList({dept_id: init.comment.deptId}).then(res => {
api.postApiCommonGetUserList(init.comment.deptId).then(res => {
init.comment.user = res.response.map(cu => {
return {
...cu,
......@@ -358,8 +441,16 @@ function GetUserList() {
function GetPlanProjectByDayList() {
//天视图数据
api.postApiPlanProjectGetPlanProjectByDayList(init.paramsDay).then(res => {
init.dayArray = res.response
return api.postApiPlanProjectGetPlanProjectByDayList(init.paramsDay).then(res => {
init.dayArray = res.response.map((cur, index) => {
return {
...cur,
deptBg: '',
deptCl: '',
peopleBg: '',
peopleCl: '',
}
})
})
}
......@@ -372,7 +463,7 @@ function searchDayData(date) {
function GetPlanProjectByWeekList() {
//天视图数据
api.postApiPlanProjectGetPlanProjectByWeekList(init.paramsWeek).then(res => {
return api.postApiPlanProjectGetPlanProjectByWeekList(init.paramsWeek).then(res => {
let ccc = []
// let data = [res.response[0], res.response[0], res.response[0], res.response[1], res.response[1], res.response[1]]
let data = res.response
......@@ -386,18 +477,26 @@ function GetPlanProjectByWeekList() {
userCard: cur.usercard,
attention: cur.attention,
nameArray: cur.data,
bg: cur.attention == 1 ? '#1989FA' : '',
cl: cur.attention == 1 ? '#FFFFFF' : '',
});
} else {
// 如果没有找到相同的部门,就创建新的部门元素
ccc.push({
deptName: cur.dept_name,
deptId: cur.dept_id,
deptBg: '',
deptCl: '',
nameData: [{
userId: cur.userid,
userName: cur.username,
userCard: cur.usercard,
attention: cur.attention,
nameArray: cur.data,
bg: cur.attention == 1 ? '#1989FA' : '',
cl: cur.attention == 1 ? '#FFFFFF' : '',
peopleBg: '',
peopleCl: '',
}]
});
}
......@@ -425,8 +524,15 @@ function actionDept(item) {
cur.cl = ''
}
})
init.comment.deptId.forEach((cur, index) => {
//清除选中数组
if (cur === item.id) {
init.comment.deptId.splice(index, 1)
}
})
} else {
init.check.dept_id_list.push(item.id) //加入选中数组
init.comment.deptId.push(item.id) //加入查询人员部门数组
init.comment.dept.forEach(cur => {
//给予选中颜色
if (cur.id === item.id) {
......@@ -434,7 +540,10 @@ function actionDept(item) {
cur.cl = '#FFFFFF'
}
})
}
GetUserList()
console.log("🚀🚀check.dept_id_list🚀,", ...init.check.dept_id_list, '')
}
......@@ -468,6 +577,62 @@ function actionUser(item) {
}
async function selectTheExternalDepartment(deptId) {
//选中外部的部门
// 选中或取消选中
if (init.paramsWeek.dept_id_list.includes(deptId)) {
init.paramsWeek.dept_id_list.splice(init.paramsWeek.dept_id_list.indexOf(deptId), 1)
} else {
init.paramsWeek.dept_id_list.push(deptId)
}
if (!!init.paramsWeek.dept_id_list.length) init.select.action = 1
await GetPlanProjectByWeekList()
init.weekFlag = !init.weekFlag
init.weekArray.forEach((cur, index) => {
//基于id 高亮或取消高亮
if (cur.deptId === deptId && init.weekFlag) {
cur.deptBg !== '' ? (() => {
cur.deptBg = ''
cur.deptCl = ''
})() : (() => {
cur.deptBg = '#1989FA'
cur.deptCl = '#FFFFFF'
})()
}
})
}
async function pickSomeoneFromTheOutside(userId) {
//选中外部的人
// 选中或取消选中
if (init.paramsWeek.tid_list.includes(userId)) {
init.paramsWeek.tid_list.splice(init.paramsWeek.tid_list.indexOf(userId), 1)
} else {
init.paramsWeek.tid_list.push(userId)
}
if (!!init.paramsWeek.tid_list.length) init.select.action = 1
await GetPlanProjectByWeekList()
init.peoPleFlag = !init.peoPleFlag
init.weekArray.forEach((cur, index) => {
//基于id 高亮或取消高亮
cur.nameData.forEach((cu, inde) => {
if (cu.userId === userId && init.peoPleFlag) {
cu.peopleBg !== '' ? (() => {
cu.peopleBg = ''
cu.peopleCl = ''
})() : (() => {
cu.peopleBg = '#1989FA'
cu.peopleCl = '#FFFFFF'
})()
}
})
})
}
onMounted(() => {
document.title = '分管填报记录查看'
GetDeptList()
......
......@@ -37,7 +37,8 @@
</template>
<script setup>
import * as hooks from '@/hooks/index.js'
import * as api from '@/api/apis/dist/controller/index.js'
import * as api from '@/api/apis/controller/index.js'
import {nextTick, onMounted, reactive} from "vue";
const init = reactive({
......
......@@ -21,7 +21,7 @@
</template>
<script setup>
import * as hooks from '@/hooks/index.js'
import * as api from '@/api/apis/dist/controller/index.js'
import * as api from '@/api/apis/controller/index.js'
import dayjs from "dayjs";
import {onMounted, reactive, ref} from "vue";
......
......@@ -3,7 +3,7 @@ import vue from '@vitejs/plugin-vue'
import Components from 'unplugin-vue-components/vite';
import {VantResolver} from 'unplugin-vue-components/resolvers';
import {resolve} from "path";
import {resolve,} from "path";
const pathResolve = (dir) => resolve(__dirname, dir);
// https://vitejs.dev/config/
......
Markdown 格式
0% or
您添加了 0 人 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册 或