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

v20250212 保存

上级 68f1914a
流水线 #32985 已通过 ,包含阶段
in 1 minute 和 19 second
import{a as e,C as t,b as s,G as n,u as a,S as o,w as r}from"./index-CcYmPsvd.js";import{u as c}from"./vue-router-CFIiUm82.js";import{F as i,o as p,z as u,H as m,j as k,ab as l,C as _}from"./vant-1BGMxUQM.js";import"./axios-X0xcXtXw.js";const y={style:{display:"flex","justify-content":"center","margin-top":"50%"}},v={__name:"SSO",setup(v){const f=c(),g=()=>{n().then((t=>{var n;s.set("oneWeekARange-user-info",JSON.stringify(t.response)),e.get("/api/Common/GetCurrentUserRoleList",n).then((e=>{a().setUserInfo({...t.response,roleList:e.response,currentRole:e.response[0]}),f.replace({name:"welcome"})}))}))},R=async()=>{({asc:async()=>{let e={token:f.currentRoute.value.query.token};await(async e=>{const t=await o(e);void 0===t?await f.replace({name:"403"}):""!==t.response.access_token.token_content&&(s.set("oneWeekARange-management-token",t.response.access_token.token_content),s.set("time",t.response.access_token.expires),g())})(e)},first:async()=>{let e={sign:f.currentRoute.value.query.sign,code:f.currentRoute.value.query.code,timestamp:f.currentRoute.value.query.timestamp};await(async e=>{const t=await r(e);void 0===t?await f.replace({name:"403"}):""!==t.response.access_token.token_content&&(s.set("oneWeekARange-management-token",t.response.access_token.token_content),s.set("time",t.response.access_token.expires),g())})(e)},test:async()=>{const e=await t();void 0===e?await f.replace({name:"403"}):""!==e.response.access_token.token_content&&(s.set("oneWeekARange-management-token",e.response.access_token.token_content),s.set("time",e.response.access_token.expires),g())}})[f.currentRoute.value.query.type]()};return i((()=>{R()})),(e,t)=>{const s=l;return p(),u("div",y,[m(s,{size:"38px",color:"#1989fa",vertical:""},{default:k((()=>t[0]||(t[0]=[_(" 登录中")]))),_:1})])}}};export{v as default}; import{a as e,C as t,b as s,G as n,u as a,S as o,w as r}from"./index-DeK4RWg1.js";import{u as c}from"./vue-router-CFIiUm82.js";import{F as i,o as p,z as u,H as m,j as k,ab as l,C as _}from"./vant-1BGMxUQM.js";import"./axios-X0xcXtXw.js";const y={style:{display:"flex","justify-content":"center","margin-top":"50%"}},v={__name:"SSO",setup(v){const f=c(),g=()=>{n().then((t=>{var n;s.set("oneWeekARange-user-info",JSON.stringify(t.response)),e.get("/api/Common/GetCurrentUserRoleList",n).then((e=>{a().setUserInfo({...t.response,roleList:e.response,currentRole:e.response[0]}),f.replace({name:"welcome"})}))}))},R=async()=>{({asc:async()=>{let e={token:f.currentRoute.value.query.token};await(async e=>{const t=await o(e);void 0===t?await f.replace({name:"403"}):""!==t.response.access_token.token_content&&(s.set("oneWeekARange-management-token",t.response.access_token.token_content),s.set("time",t.response.access_token.expires),g())})(e)},first:async()=>{let e={sign:f.currentRoute.value.query.sign,code:f.currentRoute.value.query.code,timestamp:f.currentRoute.value.query.timestamp};await(async e=>{const t=await r(e);void 0===t?await f.replace({name:"403"}):""!==t.response.access_token.token_content&&(s.set("oneWeekARange-management-token",t.response.access_token.token_content),s.set("time",t.response.access_token.expires),g())})(e)},test:async()=>{const e=await t();void 0===e?await f.replace({name:"403"}):""!==e.response.access_token.token_content&&(s.set("oneWeekARange-management-token",e.response.access_token.token_content),s.set("time",e.response.access_token.expires),g())}})[f.currentRoute.value.query.type]()};return i((()=>{R()})),(e,t)=>{const s=l;return p(),u("div",y,[m(s,{size:"38px",color:"#1989fa",vertical:""},{default:k((()=>t[0]||(t[0]=[_(" 登录中")]))),_:1})])}}};export{v as default};
import{w as e,b as t,G as s,C as n,S as a}from"./index-CcYmPsvd.js";import{u as o}from"./vue-router-CFIiUm82.js";import{F as i,o as r,z as c,H as u,j as p,ab as m,C as l}from"./vant-1BGMxUQM.js";import"./axios-X0xcXtXw.js";const k={style:{display:"flex","justify-content":"center","margin-top":"50%"}},y={__name:"SSOInfo",setup(y){const f=o(),_=async()=>{({wx:async()=>{let n={token:f.currentRoute.value.query.token};const a=await e(n);if(void 0===a)await f.replace({name:"403"});else if(""!==a.response.access_token.token_content){t.set("site-management-token",a.response.access_token.token_content),t.set("time",a.response.access_token.expires);const e=await s();t.set("site-user-info",JSON.stringify(e.response));let n=f.currentRoute.value.query.id;await f.push({path:"/indexDetail",query:{id:n,pushMessage:1}})}},asc:async()=>{let e={token:f.currentRoute.value.query.token};await(async e=>{const n=await a(e);if(void 0===n)await f.replace({name:"403"});else if(""!==n.response.access_token.token_content){t.set("oneWeekARange-management-token",n.response.access_token.token_content),t.set("time",n.response.access_token.expires);const e=await s();t.set("oneWeekARange-user-info",JSON.stringify(e.response)),await f.replace({name:"workArrangementFilling"})}})(e)},first:async()=>{let e={sign:f.currentRoute.value.query.sign,code:f.currentRoute.value.query.code,timestamp:f.currentRoute.value.query.timestamp};await(async e=>{const n=await(void 0)(e);if(void 0===n)await f.replace({name:"403"});else if(""!==n.response.access_token.token_content){t.set("site-management-token",n.response.access_token.token_content),t.set("time",n.response.access_token.expires);const e=await s();t.set("site-user-info",JSON.stringify(e.response)),await f.replace({name:"myActivity"})}})(e)},test:async()=>{const e=await n();if(void 0===e)await f.replace({name:"403"});else if(""!==e.response.access_token.token_content){t.set("site-management-token",e.response.access_token.token_content),t.set("time",e.response.access_token.expires);const n=await s();t.set("site-user-info",JSON.stringify(n.response)),await f.replace({name:"myActivity"})}}})[f.currentRoute.value.query.type]()};return i((()=>{_()})),(e,t)=>{const s=m;return r(),c("div",k,[u(s,{size:"38px",color:"#1989fa",vertical:""},{default:p((()=>t[0]||(t[0]=[l(" 登录中")]))),_:1})])}}};export{y as default}; import{w as e,b as t,G as s,C as n,S as a}from"./index-DeK4RWg1.js";import{u as o}from"./vue-router-CFIiUm82.js";import{F as i,o as r,z as c,H as u,j as p,ab as m,C as l}from"./vant-1BGMxUQM.js";import"./axios-X0xcXtXw.js";const k={style:{display:"flex","justify-content":"center","margin-top":"50%"}},y={__name:"SSOInfo",setup(y){const f=o(),_=async()=>{({wx:async()=>{let n={token:f.currentRoute.value.query.token};const a=await e(n);if(void 0===a)await f.replace({name:"403"});else if(""!==a.response.access_token.token_content){t.set("site-management-token",a.response.access_token.token_content),t.set("time",a.response.access_token.expires);const e=await s();t.set("site-user-info",JSON.stringify(e.response));let n=f.currentRoute.value.query.id;await f.push({path:"/indexDetail",query:{id:n,pushMessage:1}})}},asc:async()=>{let e={token:f.currentRoute.value.query.token};await(async e=>{const n=await a(e);if(void 0===n)await f.replace({name:"403"});else if(""!==n.response.access_token.token_content){t.set("oneWeekARange-management-token",n.response.access_token.token_content),t.set("time",n.response.access_token.expires);const e=await s();t.set("oneWeekARange-user-info",JSON.stringify(e.response)),await f.replace({name:"workArrangementFilling"})}})(e)},first:async()=>{let e={sign:f.currentRoute.value.query.sign,code:f.currentRoute.value.query.code,timestamp:f.currentRoute.value.query.timestamp};await(async e=>{const n=await(void 0)(e);if(void 0===n)await f.replace({name:"403"});else if(""!==n.response.access_token.token_content){t.set("site-management-token",n.response.access_token.token_content),t.set("time",n.response.access_token.expires);const e=await s();t.set("site-user-info",JSON.stringify(e.response)),await f.replace({name:"myActivity"})}})(e)},test:async()=>{const e=await n();if(void 0===e)await f.replace({name:"403"});else if(""!==e.response.access_token.token_content){t.set("site-management-token",e.response.access_token.token_content),t.set("time",e.response.access_token.expires);const n=await s();t.set("site-user-info",JSON.stringify(n.response)),await f.replace({name:"myActivity"})}}})[f.currentRoute.value.query.type]()};return i((()=>{_()})),(e,t)=>{const s=m;return r(),c("div",k,[u(s,{size:"38px",color:"#1989fa",vertical:""},{default:p((()=>t[0]||(t[0]=[l(" 登录中")]))),_:1})])}}};export{y as default};
import"./index-CcYmPsvd.js";import{u as t}from"./vue-router-CFIiUm82.js";import{o as e,z as r,H as s,K as a,N as n,a5 as o}from"./vant-1BGMxUQM.js";import"./axios-X0xcXtXw.js";const i=""+new URL("warning-zGbTxtDs.png",import.meta.url).href,m={__name:"index",setup(m){const l=t(),u=()=>l.back();return(t,m)=>{const l=n,p=o;return e(),r(a,null,[s(l,{"left-text":"返回","left-arrow":"",onClickLeft:u}),s(p,{image:i,style:{width:"100%",height:"100%"},description:"用户无权限,请重新登录!"},null,8,["image"])],64)}}};export{m as default}; import"./index-DeK4RWg1.js";import{u as t}from"./vue-router-CFIiUm82.js";import{o as e,z as r,H as s,K as a,N as n,a5 as o}from"./vant-1BGMxUQM.js";import"./axios-X0xcXtXw.js";const i=""+new URL("warning-zGbTxtDs.png",import.meta.url).href,m={__name:"index",setup(m){const l=t(),u=()=>l.back();return(t,m)=>{const l=n,p=o;return e(),r(a,null,[s(l,{"left-text":"返回","left-arrow":"",onClickLeft:u}),s(p,{image:i,style:{width:"100%",height:"100%"},description:"用户无权限,请重新登录!"},null,8,["image"])],64)}}};export{m as default};
import{_ as r}from"./index-CcYmPsvd.js";import"./vant-1BGMxUQM.js";import"./vue-router-CFIiUm82.js";import"./axios-X0xcXtXw.js";const t=r({},[["render",function(r,t){return null}]]);export{t as default}; import{_ as r}from"./index-DeK4RWg1.js";import"./vant-1BGMxUQM.js";import"./vue-router-CFIiUm82.js";import"./axios-X0xcXtXw.js";const t=r({},[["render",function(r,t){return null}]]);export{t as default};
import{i as s}from"./index-CcYmPsvd.js";import{r as o,F as a,o as l,z as t,H as i,A as e}from"./vant-1BGMxUQM.js";import"./vue-router-CFIiUm82.js";import"./axios-X0xcXtXw.js";const r={class:"publicContainerNoPadding"},n={__name:"index",setup:n=>(o({fillInWork:{show:!1}}),a((()=>{document.title="系统配置"})),(o,a)=>{const n=s;return l(),t("div",r,[i(n,{path:"/welcome",title:"分管填报记录查看"}),a[0]||(a[0]=e("div",{class:"w-full h-[10px]"},null,-1)),a[1]||(a[1]=e("div",{class:"w-full h-[calc(100%-56px)] p-2 overflow-y-auto"},null,-1))])})};export{n as default}; import{i as s}from"./index-DeK4RWg1.js";import{r as o,F as a,o as l,z as t,H as i,A as e}from"./vant-1BGMxUQM.js";import"./vue-router-CFIiUm82.js";import"./axios-X0xcXtXw.js";const r={class:"publicContainerNoPadding"},n={__name:"index",setup:n=>(o({fillInWork:{show:!1}}),a((()=>{document.title="系统配置"})),(o,a)=>{const n=s;return l(),t("div",r,[i(n,{path:"/welcome",title:"分管填报记录查看"}),a[0]||(a[0]=e("div",{class:"w-full h-[10px]"},null,-1)),a[1]||(a[1]=e("div",{class:"w-full h-[calc(100%-56px)] p-2 overflow-y-auto"},null,-1))])})};export{n as default};
import{a as s,h as e,g as a,i as o}from"./index-CcYmPsvd.js";import{b as l,r as t,F as n,o as r,z as i,H as f,A as u,j as p,f as c,C as d,_ as m,a3 as w}from"./vant-1BGMxUQM.js";import"./vue-router-CFIiUm82.js";import"./axios-X0xcXtXw.js";const h={class:"publicContainerNoPadding"},y={class:"w-full h-[calc(100%-120px)] p-3 py-2 overflow-y-auto"},v={class:"w-full h-full flex items-center justify-between p-3"},k={__name:"index",setup(k){const x=l(),C=t({role:"0",data:{myFillingIn:[]},fillInWork:{show:!1}});function _(){C.fillInWork.show=!0}function j(){x.value.save()}function b(s){C.fillInWork.show=s}function I(){var e;s.get("/api/Common/GetAheadWriteSwitch",e).then((s=>{C.role=s.response}))}return n((()=>{I()})),(s,l)=>{const t=o,n=e,k=w,I=a;return r(),i("div",h,[f(t,{path:"/welcome",title:"工作安排填报"}),u("div",y,[f(n,{ref_key:"saveRef",ref:x,show:C.fillInWork.show,onCloseDateComponent:b},null,8,["show"])]),f(I,null,{default:p((()=>[u("div",v,[1==C.role?(r(),c(k,{key:0,style:{"border-radius":"8px"},plain:"",type:"primary",class:"w-[28%]",onClick:_},{default:p((()=>l[0]||(l[0]=[d(" 添加日期 ")]))),_:1})):m("",!0),f(k,{style:{"border-radius":"8px"},type:"primary",class:"w-[70%]",onClick:j},{default:p((()=>l[1]||(l[1]=[d("保存")]))),_:1})])])),_:1})])}}};export{k as default}; import{a as s,h as e,g as a,i as o}from"./index-DeK4RWg1.js";import{b as l,r as t,F as n,o as r,z as i,H as f,A as u,j as p,f as c,C as d,_ as m,a3 as w}from"./vant-1BGMxUQM.js";import"./vue-router-CFIiUm82.js";import"./axios-X0xcXtXw.js";const h={class:"publicContainerNoPadding"},y={class:"w-full h-[calc(100%-120px)] p-3 py-2 overflow-y-auto"},v={class:"w-full h-full flex items-center justify-between p-3"},k={__name:"index",setup(k){const x=l(),C=t({role:"0",data:{myFillingIn:[]},fillInWork:{show:!1}});function _(){C.fillInWork.show=!0}function j(){x.value.save()}function b(s){C.fillInWork.show=s}function I(){var e;s.get("/api/Common/GetAheadWriteSwitch",e).then((s=>{C.role=s.response}))}return n((()=>{I()})),(s,l)=>{const t=o,n=e,k=w,I=a;return r(),i("div",h,[f(t,{path:"/welcome",title:"工作安排填报"}),u("div",y,[f(n,{ref_key:"saveRef",ref:x,show:C.fillInWork.show,onCloseDateComponent:b},null,8,["show"])]),f(I,null,{default:p((()=>[u("div",v,[1==C.role?(r(),c(k,{key:0,style:{"border-radius":"8px"},plain:"",type:"primary",class:"w-[28%]",onClick:_},{default:p((()=>l[0]||(l[0]=[d(" 添加日期 ")]))),_:1})):m("",!0),f(k,{style:{"border-radius":"8px"},type:"primary",class:"w-[70%]",onClick:j},{default:p((()=>l[1]||(l[1]=[d("保存")]))),_:1})])])),_:1})])}}};export{k as default};
...@@ -6,11 +6,11 @@ ...@@ -6,11 +6,11 @@
<meta name="viewport" <meta name="viewport"
content="width=device-width, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0, viewport-fit=cover, user-scalable=0"> content="width=device-width, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0, viewport-fit=cover, user-scalable=0">
<title></title> <title></title>
<script type="module" crossorigin src="./assets/index-CcYmPsvd.js"></script> <script type="module" crossorigin src="./assets/index-DeK4RWg1.js"></script>
<link rel="modulepreload" crossorigin href="./assets/vant-1BGMxUQM.js"> <link rel="modulepreload" crossorigin href="./assets/vant-1BGMxUQM.js">
<link rel="modulepreload" crossorigin href="./assets/vue-router-CFIiUm82.js"> <link rel="modulepreload" crossorigin href="./assets/vue-router-CFIiUm82.js">
<link rel="modulepreload" crossorigin href="./assets/axios-X0xcXtXw.js"> <link rel="modulepreload" crossorigin href="./assets/axios-X0xcXtXw.js">
<link rel="stylesheet" crossorigin href="./assets/index-BVrGlRvl.css"> <link rel="stylesheet" crossorigin href="./assets/index-CtEwmG5q.css">
</head> </head>
<body> <body>
<div id="app"></div> <div id="app"></div>
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
<div class="publicContainerNoPadding "> <div class="publicContainerNoPadding ">
<childrenIndexHeader path="/welcome" title="分管填报记录查看"> <childrenIndexHeader path="/welcome" title="分管填报记录查看">
<template v-if="!init.switchView.show" v-slot:importFile> <template v-if="!init.switchView.show" v-slot:importFile>
<span @click="exportExcel(init.importExcelData)" class="text-blue-500">导出</span> <!-- <span @click="exportExcel(init.importExcelData)" class="text-blue-500">导出</span>-->
</template> </template>
</childrenIndexHeader> </childrenIndexHeader>
<div class="w-full h-[50px] flex bg-white justify-between items-center p-2"> <div class="w-full h-[50px] flex bg-white justify-between items-center p-2">
...@@ -571,7 +571,7 @@ function search(refs) { ...@@ -571,7 +571,7 @@ function search(refs) {
//天 //天
init.paramsDay = { init.paramsDay = {
...init.check, ...init.check,
date:init.paramsDay.date, date: init.paramsDay.date,
begin_time: init.paramsDay.date, begin_time: init.paramsDay.date,
end_time: init.paramsDay.date, end_time: init.paramsDay.date,
...@@ -694,13 +694,13 @@ function GetUserList() { ...@@ -694,13 +694,13 @@ function GetUserList() {
}).then(res => { }).then(res => {
init.comment.user = res.response.map(cu => { init.comment.user = res.response.map(cu => {
if(init.check.tid_list.includes(cu.id)){ if (init.check.tid_list.includes(cu.id)) {
return { return {
...cu, ...cu,
bg: '#1989FA', bg: '#1989FA',
cl: '#FFFFFF' cl: '#FFFFFF'
} }
}else{ } else {
return { return {
...cu, ...cu,
bg: '', bg: '',
...@@ -711,11 +711,11 @@ function GetUserList() { ...@@ -711,11 +711,11 @@ function GetUserList() {
}) })
//部门用户数据,不含选中用户,则清除选中用户 //部门用户数据,不含选中用户,则清除选中用户
if (init.comment.deptId.length !==0){ if (init.comment.deptId.length !== 0) {
// 收集需要删除的索引 // 收集需要删除的索引
let indicesToRemove = []; let indicesToRemove = [];
init.check.tid_list.forEach((cur, index) => { init.check.tid_list.forEach((cur, index) => {
if (!_.cloneDeep(init.comment.user.map(cur=>cur.id)).includes(cur)){ if (!_.cloneDeep(init.comment.user.map(cur => cur.id)).includes(cur)) {
indicesToRemove.push(index); indicesToRemove.push(index);
} }
}); });
...@@ -723,7 +723,7 @@ function GetUserList() { ...@@ -723,7 +723,7 @@ function GetUserList() {
indicesToRemove.reverse().forEach(index => { indicesToRemove.reverse().forEach(index => {
init.check.tid_list.splice(index, 1); init.check.tid_list.splice(index, 1);
}); });
}else{ } else {
init.check.tid_list = [] init.check.tid_list = []
} }
...@@ -871,7 +871,7 @@ function actionDept(item) { ...@@ -871,7 +871,7 @@ function actionDept(item) {
} }
function actionUser(item) { function actionUser(item) {
console.log("🚀🚀🚀,",item) console.log("🚀🚀🚀,", item)
//高级查询选中用户 //高级查询选中用户
if (init.check.tid_list.includes(item.id)) { if (init.check.tid_list.includes(item.id)) {
init.check.tid_list.forEach((cur, index) => { init.check.tid_list.forEach((cur, index) => {
......
Markdown 格式
0% or
您添加了 0 人 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册 或