Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
Support
提交反馈
为 GitLab 提交贡献
登录
切换导航
日
日程管理
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
刘英杰
日程管理
提交
a65ac46e
提交
a65ac46e
编写于
3月 14, 2024
作者:
刘英杰
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
V20240314 保存
上级
051b58e0
变更
17
展开全部
显示空白字符变更
内嵌
并排
正在显示
17 个修改的文件
包含
230 行增加
和
77 行删除
+230
-77
SSO-CR4aD4_X.js
dist/assets/SSO-CR4aD4_X.js
+1
-1
SSOInfo-V83IiFGo.js
dist/assets/SSOInfo-V83IiFGo.js
+1
-1
index-BRTfCydA.js
dist/assets/index-BRTfCydA.js
+1
-0
index-BVuOP4CK.js
dist/assets/index-BVuOP4CK.js
+0
-1
index-BiZgieem.css
dist/assets/index-BiZgieem.css
+1
-1
index-COyOaLqd.js
dist/assets/index-COyOaLqd.js
+1
-1
index-CyvYt4be.js
dist/assets/index-CyvYt4be.js
+1
-1
index-DPYb81jO.js
dist/assets/index-DPYb81jO.js
+1
-1
index-DpYkprY5.js
dist/assets/index-DpYkprY5.js
+1
-1
index-DqfdvLdA.js
dist/assets/index-DqfdvLdA.js
+1
-1
index-drdvKhIL.js
dist/assets/index-drdvKhIL.js
+1
-1
index-s6w39tH6.js
dist/assets/index-s6w39tH6.js
+16
-0
index.html
dist/index.html
+2
-2
Date.vue
src/components/Date.vue
+43
-23
myFocusCard.vue
src/components/myFocusCard.vue
+44
-9
index.vue
src/pages/responsibleForFilingRecords/index.vue
+114
-32
axios.js
src/util/axios.js
+1
-1
未找到文件。
dist/assets/SSO-
BV5lCZ7I
.js
→
dist/assets/SSO-
CR4aD4_X
.js
浏览文件 @
a65ac46e
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-
Db76niLa
.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-
s6w39tH6
.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
};
dist/assets/SSOInfo-
DYmcEzdd
.js
→
dist/assets/SSOInfo-
V83IiFGo
.js
浏览文件 @
a65ac46e
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-
Db76niLa
.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-
s6w39tH6
.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
};
dist/assets/index-BRTfCydA.js
0 → 100644
浏览文件 @
a65ac46e
import
{
c
as
R
,
d
as
T
,
I
as
Q
,
a
as
c
,
F
as
p
,
J
,
T
as
q
,
w
as
X
,
l
as
C
,
K
as
w
,
r
as
Z
,
f
as
ee
,
b
as
l
,
n
as
t
,
M
as
k
,
O
as
L
,
s
as
g
,
h
as
m
,
P
as
te
,
o
as
s
,
p
as
z
,
i
as
Y
,
E
as
ae
,
Q
as
ne
,
y
as
se
,
z
as
ie
,
R
as
oe
,
H
as
le
,
D
as
re
}
from
"
./index-s6w39tH6.js
"
;
const
[
V
,
ce
]
=
R
(
"
space
"
),
de
=
{
align
:
String
,
direction
:{
type
:
String
,
default
:
"
horizontal
"
},
size
:{
type
:[
Number
,
String
,
Array
],
default
:
8
},
wrap
:
Boolean
,
fill
:
Boolean
};
function
S
(
a
=
[]){
const
i
=
[];
return
a
.
forEach
(
n
=>
{
Array
.
isArray
(
n
)?
i
.
push
(...
n
):
n
.
type
===
p
?
i
.
push
(...
S
(
n
.
children
)):
i
.
push
(
n
)}),
i
.
filter
(
n
=>
{
var
_
;
return
!
(
n
&&
(
n
.
type
===
J
||
n
.
type
===
p
&&
((
_
=
n
.
children
)
==
null
?
void
0
:
_
.
length
)
===
0
||
n
.
type
===
q
&&
n
.
children
.
trim
()
===
""
))})}
var
ue
=
T
({
name
:
V
,
props
:
de
,
setup
(
a
,{
slots
:
i
}){
const
n
=
Q
(()
=>
{
var
d
;
return
(
d
=
a
.
align
)
!=
null
?
d
:
a
.
direction
===
"
horizontal
"
?
"
center
"
:
""
}),
_
=
d
=>
typeof
d
==
"
number
"
?
d
+
"
px
"
:
d
,
e
=
d
=>
{
const
f
=
{},
D
=
`
${
_
(
Array
.
isArray
(
a
.
size
)?
a
.
size
[
0
]:
a
.
size
)}
`
,
h
=
`
${
_
(
Array
.
isArray
(
a
.
size
)?
a
.
size
[
1
]:
a
.
size
)}
`
;
return
d
?
a
.
wrap
?{
marginBottom
:
h
}:{}:(
a
.
direction
===
"
horizontal
"
&&
(
f
.
marginRight
=
D
),(
a
.
direction
===
"
vertical
"
||
a
.
wrap
)
&&
(
f
.
marginBottom
=
h
),
f
)};
return
()
=>
{
var
d
;
const
f
=
S
((
d
=
i
.
default
)
==
null
?
void
0
:
d
.
call
(
i
));
return
c
(
"
div
"
,{
class
:[
ce
({[
a
.
direction
]:
a
.
direction
,[
`align-
${
n
.
value
}
`
]:
n
.
value
,
wrap
:
a
.
wrap
,
fill
:
a
.
fill
})]},[
f
.
map
((
D
,
h
)
=>
c
(
"
div
"
,{
key
:
`item-
${
h
}
`
,
class
:
`
${
V
}
-item`
,
style
:
e
(
h
===
f
.
length
-
1
)},[
D
]))])}}});
const
pe
=
X
(
ue
);
function
_e
(
a
){
return
C
.
get
(
"
/api/Common/GetDeptList
"
,
a
)}
function
me
(
a
,
i
){
const
n
=
{
dept_id
:
a
.
dept_id
};
return
C
.
get
(
"
/api/Common/GetUserList
"
,{
params
:
n
,...
i
})}
function
fe
(
a
,
i
){
return
C
.
post
(
"
/api/PlanProject/GetPlanProjectByWeekList
"
,
a
,
i
)}
function
he
(
a
,
i
){
return
C
.
post
(
"
/api/PlanProject/GetPlanProjectByDayList
"
,
a
,
i
)}
const
we
=
{
class
:
"
publicContainerNoPadding
"
},
ye
=
{
class
:
"
w-full h-[50px] flex justify-between items-center p-2
"
},
ve
=
{
class
:
"
w-full h-[calc(100%-106px)] p-2 overflow-y-auto
"
},
xe
=
{
key
:
0
},
ge
=
t
(
"
div
"
,{
class
:
"
w-full h-5
"
},
null
,
-
1
),
be
=
{
key
:
1
},
ke
=
{
class
:
"
w-[35px] min-h-[80px]
"
},
De
=
{
class
:
"
aaa w-full min-h-[80px] ccFlex
"
},
Ye
=
{
class
:
"
w-[calc(100%-35px)] h-full
"
},
Pe
=
{
class
:
"
w-[35px] min-h-[80px] ccFlex
"
},
Fe
=
{
class
:
"
aaa
"
},
Ae
=
t
(
"
div
"
,{
class
:
"
w-[35px] min-h-[80px]
"
},[
t
(
"
div
"
,{
class
:
"
w-full h-1/2 ccFlex
"
},
"
上
"
),
t
(
"
div
"
,{
class
:
"
w-full h-1/2 ccFlex
"
},
"
下
"
)],
-
1
),
Me
=
{
class
:
"
w-[calc(100%-105px)] min-h-[80px]
"
},
Ce
=
{
class
:
"
w-full h-1/2 ccFlex
"
},
Be
=
{
class
:
"
w-full h-1/2 ccFlex
"
},
Ne
=
{
class
:
"
w-[35px] min-h-[80px] ccFlex
"
},
je
=
{
class
:
"
aaa
"
},
Le
=
{
class
:
"
w-full h-[calc(100%-64px)] bg-gray-200
"
},
ze
=
t
(
"
div
"
,{
class
:
"
w-full h-3
"
},
null
,
-
1
),
Ge
=
t
(
"
div
"
,{
class
:
"
w-full h-3
"
},
null
,
-
1
),
Ie
=
{
class
:
"
w-full h-auto bg-white
"
},
Ve
=
t
(
"
div
"
,{
class
:
"
w-full h-10 p-4 pb-0 font-bold
"
},
"
分管部门
"
,
-
1
),
Se
=
{
class
:
"
w-full min-h-[110px] p-4 flex justify-between flex-wrap
"
},
$e
=
t
(
"
div
"
,{
class
:
"
w-full h-3
"
},
null
,
-
1
),
We
=
{
class
:
"
w-full h-auto bg-white
"
},
Oe
=
t
(
"
div
"
,{
class
:
"
w-full h-10 p-4 pb-0 font-bold
"
},
"
中层干部
"
,
-
1
),
Ee
=
{
class
:
"
w-full min-h-[110px] p-4 flex justify-between flex-wrap
"
},
He
=
{
__name
:
"
index
"
,
setup
(
a
,{
expose
:
i
}){
const
n
=
w
().
startOf
(
"
week
"
).
add
(
1
,
"
day
"
).
format
(
"
YYYY-MM-DD
"
),
_
=
w
().
startOf
(
"
week
"
).
add
(
5
,
"
day
"
).
format
(
"
YYYY-MM-DD
"
),
e
=
Z
({
weekKey
:
1
,
dayArray
:[],
weekArray
:[],
paramsDay
:{
begin_time
:
w
().
format
(
"
YYYY-MM-DD
"
),
end_time
:
w
().
format
(
"
YYYY-MM-DD
"
),
dept_id_list
:[],
tid_list
:[]},
paramsWeek
:{
begin_time
:
n
,
end_time
:
_
,
dept_id_list
:[],
tid_list
:[]},
comment
:{
dept
:[],
user
:[],
deptId
:
""
},
check
:{
value
:
""
},
date
:{
show
:
!
1
},
search
:{
date
:
n
+
"
-
"
+
_
},
weekView
:{
minHeigth
:
80
},
select
:{
action
:
!
1
,
showPopup
:
!
1
},
fillInWork
:{
show
:
!
1
},
switchView
:{
show
:
!
0
}});
function
d
(
r
){
e
.
date
.
show
=!
1
,
e
.
search
.
date
=
w
(
r
[
0
]).
format
(
"
YYYY-MM-DD
"
)
+
"
-
"
+
w
(
r
[
1
]).
format
(
"
YYYY-MM-DD
"
)}
function
f
(){
e
.
select
.
showPopup
=!
0
}
function
D
(){
e
.
switchView
.
show
=!
e
.
switchView
.
show
,
e
.
switchView
.
show
?(
e
.
paramsDay
=
{
begin_time
:
w
().
format
(
"
YYYY-MM-DD
"
),
end_time
:
w
().
format
(
"
YYYY-MM-DD
"
),
dept_id_list
:[],
tid_list
:[]},
P
()):(
e
.
paramsWeek
=
{
begin_time
:
n
,
end_time
:
_
,
dept_id_list
:[],
tid_list
:[]},
B
()),
e
.
select
.
action
=!
1
}
function
h
(){}
function
$
(){
e
.
select
.
showPopup
=!
1
}
function
W
(){
_e
().
then
(
r
=>
{
e
.
comment
.
dept
=
r
.
response
})}
function
O
(){
me
({
dept_id
:
e
.
comment
.
deptId
}).
then
(
r
=>
{
e
.
comment
.
user
=
r
.
response
})}
function
P
(){
he
(
e
.
paramsDay
).
then
(
r
=>
{
e
.
dayArray
=
r
.
response
})}
function
E
(
r
){
e
.
paramsDay
=
{...
e
.
paramsDay
,
begin_time
:
r
,
end_time
:
r
},
P
()}
function
B
(){
fe
(
e
.
paramsWeek
).
then
(
r
=>
{
let
y
=
[];
const
F
=
r
.
response
.
reduce
((
N
,
o
)
=>
{
const
A
=
N
.
find
(
v
=>
v
.
deptName
===
o
.
dept_name
);
return
A
?
A
.
nameData
.
push
({
userId
:
o
.
userid
,
userName
:
o
.
username
,
userCard
:
o
.
usercard
,
attention
:
o
.
attention
,
nameArray
:
o
.
data
}):
y
.
push
({
deptName
:
o
.
dept_name
,
deptId
:
o
.
dept_id
,
nameData
:[{
userId
:
o
.
userid
,
userName
:
o
.
username
,
userCard
:
o
.
usercard
,
attention
:
o
.
attention
,
nameArray
:
o
.
data
}]}),
y
},[]);
e
.
weekArray
=
F
})}
return
ee
(()
=>
{
document
.
title
=
"
分管填报记录查看
"
,
W
(),
O
(),
P
(),
B
()}),
i
({
init
:
e
,
GetPlanProjectByDayList
:
P
,
GetPlanProjectByWeekList
:
B
}),(
r
,
y
)
=>
{
const
G
=
ae
,
F
=
ne
,
N
=
se
,
o
=
ie
,
A
=
oe
,
v
=
le
,
I
=
pe
,
U
=
re
,
H
=
te
;
return
s
(),
l
(
p
,
null
,[
t
(
"
div
"
,
we
,[
c
(
G
,{
path
:
"
/welcome
"
,
title
:
"
分管填报记录查看
"
}),
t
(
"
div
"
,
ye
,[
t
(
"
div
"
,{
onClick
:
D
,
class
:
"
w-24 h-8 flex text-[#4B5563] justify-center items-center border-solid border-[1px] active:bg-blue-100
"
},
"
切换
"
+
k
(
e
.
switchView
.
show
?
"
周
"
:
"
天
"
)
+
"
视图
"
,
1
),
t
(
"
div
"
,{
style
:
L
({
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
)]),
t
(
"
div
"
,
ve
,[
e
.
switchView
.
show
?(
s
(),
l
(
"
div
"
,
xe
,[
c
(
F
,{
onSearchDayData
:
E
}),
ge
,(
s
(
!
0
),
l
(
p
,
null
,
g
(
e
.
dayArray
,(
u
,
b
)
=>
(
s
(),
z
(
N
,{
data
:
u
,
key
:
b
,
alldayOrMidafternoonStatus
:
!!
Number
(
u
.
is_allday
)},
null
,
8
,[
"
data
"
,
"
alldayOrMidafternoonStatus
"
]))),
128
))])):(
s
(),
l
(
"
div
"
,
be
,[
c
(
F
),(
s
(),
l
(
"
div
"
,{
class
:
"
w-full h-auto bg-white
"
,
key
:
e
.
weekKey
},[(
s
(
!
0
),
l
(
p
,
null
,
g
(
e
.
weekArray
,(
u
,
b
)
=>
(
s
(),
l
(
"
div
"
,{
class
:
"
w-full min-h-[80px] flex-wrap ccFlex
"
,
key
:
b
},[
t
(
"
div
"
,
ke
,[
t
(
"
div
"
,
De
,
k
(
u
.
deptName
),
1
)]),
t
(
"
div
"
,
Ye
,[(
s
(
!
0
),
l
(
p
,
null
,
g
(
u
.
nameData
,(
M
,
K
)
=>
(
s
(),
l
(
"
div
"
,{
class
:
"
w-full h-auto flex
"
,
key
:
K
},[
t
(
"
div
"
,
Pe
,[
t
(
"
div
"
,
Fe
,
k
(
M
.
userName
),
1
)]),
Ae
,
t
(
"
div
"
,
Me
,[
t
(
"
div
"
,
Ce
,[(
s
(
!
0
),
l
(
p
,
null
,
g
(
M
.
nameArray
,(
x
,
j
)
=>
(
s
(),
l
(
"
div
"
,{
style
:
L
({
background
:[
""
,
"
#D9E2F3
"
][
+
(
x
.
fore_plan
!=
null
&&
x
.
fore_plan
!=
""
&&
x
.
fore_plan
!=
null
)]}),
key
:
j
,
class
:
"
w-1/5 h-full border-gray-300 border-solid border-[0.5px]
"
},
null
,
4
))),
128
))]),
t
(
"
div
"
,
Be
,[(
s
(
!
0
),
l
(
p
,
null
,
g
(
M
.
nameArray
,(
x
,
j
)
=>
(
s
(),
l
(
"
div
"
,{
style
:
L
({
background
:[
""
,
"
#FFE599
"
][
+
(
x
.
fore_plan
!=
null
&&
x
.
fore_plan
!=
""
&&
x
.
fore_plan
!=
null
)]}),
key
:
j
,
class
:
"
w-1/5 h-full border-gray-300 border-solid border-[0.5px]
"
},
null
,
4
))),
128
))])]),
t
(
"
div
"
,
Ne
,[
t
(
"
div
"
,
je
,
k
([
"
关注
"
,
"
取消关注
"
][
M
.
attention
]),
1
)])]))),
128
))])]))),
128
))]))]))])]),
c
(
H
,{
show
:
e
.
select
.
showPopup
,
height
:
80
},{
content
:
m
(()
=>
[
t
(
"
div
"
,
Le
,[
ze
,
c
(
o
,{
inset
:
""
,
title
:
"
选择单个日期
"
,
value
:
e
.
search
.
date
,
onClick
:
y
[
0
]
||
(
y
[
0
]
=
u
=>
e
.
date
.
show
=!
0
)},
null
,
8
,[
"
value
"
]),
c
(
A
,{
type
:
"
range
"
,
show
:
e
.
date
.
show
,
"
onUpdate:show
"
:
y
[
1
]
||
(
y
[
1
]
=
u
=>
e
.
date
.
show
=
u
),
onConfirm
:
d
},
null
,
8
,[
"
show
"
]),
Ge
,
t
(
"
div
"
,
Ie
,[
Ve
,
t
(
"
div
"
,
Se
,[
c
(
I
,{
wrap
:
""
},{
default
:
m
(()
=>
[(
s
(
!
0
),
l
(
p
,
null
,
g
(
e
.
comment
.
dept
,(
u
,
b
)
=>
(
s
(),
z
(
v
,{
key
:
b
,
style
:{
margin
:
"
5px
"
,
padding
:
"
15px !important
"
,
height
:
"
40px
"
},
size
:
"
normal
"
,
plain
:
""
,
hairline
:
""
,
type
:
"
primary
"
},{
default
:
m
(()
=>
[
Y
(
k
(
u
.
name
),
1
)]),
_
:
2
},
1024
))),
128
))]),
_
:
1
})])]),
$e
,
t
(
"
div
"
,
We
,[
Oe
,
t
(
"
div
"
,
Ee
,[
c
(
I
,{
wrap
:
""
},{
default
:
m
(()
=>
[(
s
(
!
0
),
l
(
p
,
null
,
g
(
e
.
comment
.
dept
,(
u
,
b
)
=>
(
s
(),
z
(
v
,{
style
:{
margin
:
"
5px
"
,
padding
:
"
15px !important
"
,
height
:
"
40px
"
},
size
:
"
normal
"
,
plain
:
""
,
hairline
:
""
,
type
:
"
primary
"
},{
default
:
m
(()
=>
[
Y
(
k
(
u
.
name
),
1
)]),
_
:
2
},
1024
))),
256
))]),
_
:
1
})])])]),
c
(
U
,
null
,{
default
:
m
(()
=>
[
c
(
v
,{
type
:
"
primary
"
,
round
:
""
,
class
:
"
w-[90px]
"
,
onClick
:
h
},{
default
:
m
(()
=>
[
Y
(
"
重置
"
)]),
_
:
1
}),
c
(
v
,{
type
:
"
primary
"
,
round
:
""
,
class
:
"
w-[90px]
"
,
onClick
:
h
},{
default
:
m
(()
=>
[
Y
(
"
查询
"
)]),
_
:
1
}),
c
(
v
,{
round
:
""
,
class
:
"
w-[90px]
"
,
onClick
:
$
},{
default
:
m
(()
=>
[
Y
(
"
取消
"
)]),
_
:
1
})]),
_
:
1
})]),
_
:
1
},
8
,[
"
show
"
])],
64
)}}};
export
{
He
as
default
};
dist/assets/index-BVuOP4CK.js
已删除
100644 → 0
浏览文件 @
051b58e0
import
{
c
as
V
,
d
as
I
,
I
as
E
,
a
as
s
,
F
as
c
,
J
as
U
,
T
as
H
,
w
as
O
,
l
as
D
,
r
as
R
,
K
as
v
,
f
as
T
,
b
as
o
,
n
as
t
,
M
as
F
,
s
as
h
,
h
as
f
,
O
as
Q
,
o
as
i
,
p
as
W
,
P
as
A
,
i
as
k
,
E
as
J
,
Q
as
K
,
y
as
q
,
z
as
X
,
R
as
Z
,
H
as
ee
,
D
as
te
}
from
"
./index-Db76niLa.js
"
;
const
[
Y
,
ne
]
=
V
(
"
space
"
),
se
=
{
align
:
String
,
direction
:{
type
:
String
,
default
:
"
horizontal
"
},
size
:{
type
:[
Number
,
String
,
Array
],
default
:
8
},
wrap
:
Boolean
,
fill
:
Boolean
};
function
B
(
n
=
[]){
const
a
=
[];
return
n
.
forEach
(
e
=>
{
Array
.
isArray
(
e
)?
a
.
push
(...
e
):
e
.
type
===
c
?
a
.
push
(...
B
(
e
.
children
)):
a
.
push
(
e
)}),
a
.
filter
(
e
=>
{
var
p
;
return
!
(
e
&&
(
e
.
type
===
U
||
e
.
type
===
c
&&
((
p
=
e
.
children
)
==
null
?
void
0
:
p
.
length
)
===
0
||
e
.
type
===
H
&&
e
.
children
.
trim
()
===
""
))})}
var
ae
=
I
({
name
:
Y
,
props
:
se
,
setup
(
n
,{
slots
:
a
}){
const
e
=
E
(()
=>
{
var
l
;
return
(
l
=
n
.
align
)
!=
null
?
l
:
n
.
direction
===
"
horizontal
"
?
"
center
"
:
""
}),
p
=
l
=>
typeof
l
==
"
number
"
?
l
+
"
px
"
:
l
,
g
=
l
=>
{
const
r
=
{},
m
=
`
${
p
(
Array
.
isArray
(
n
.
size
)?
n
.
size
[
0
]:
n
.
size
)}
`
,
_
=
`
${
p
(
Array
.
isArray
(
n
.
size
)?
n
.
size
[
1
]:
n
.
size
)}
`
;
return
l
?
n
.
wrap
?{
marginBottom
:
_
}:{}:(
n
.
direction
===
"
horizontal
"
&&
(
r
.
marginRight
=
m
),(
n
.
direction
===
"
vertical
"
||
n
.
wrap
)
&&
(
r
.
marginBottom
=
_
),
r
)};
return
()
=>
{
var
l
;
const
r
=
B
((
l
=
a
.
default
)
==
null
?
void
0
:
l
.
call
(
a
));
return
s
(
"
div
"
,{
class
:[
ne
({[
n
.
direction
]:
n
.
direction
,[
`align-
${
e
.
value
}
`
]:
e
.
value
,
wrap
:
n
.
wrap
,
fill
:
n
.
fill
})]},[
r
.
map
((
m
,
_
)
=>
s
(
"
div
"
,{
key
:
`item-
${
_
}
`
,
class
:
`
${
Y
}
-item`
,
style
:
g
(
_
===
r
.
length
-
1
)},[
m
]))])}}});
const
le
=
O
(
ae
);
function
ie
(
n
){
return
D
.
get
(
"
/api/Common/GetDeptList
"
,
n
)}
function
oe
(
n
,
a
){
const
e
=
{
dept_id
:
n
.
dept_id
};
return
D
.
get
(
"
/api/Common/GetUserList
"
,{
params
:
e
,...
a
})}
function
ce
(
n
,
a
){
return
D
.
post
(
"
/api/PlanProject/GetPlanProjectByDayList
"
,
n
,
a
)}
const
re
=
{
class
:
"
publicContainerNoPadding
"
},
de
=
{
class
:
"
w-full h-[50px] flex justify-between items-center p-2
"
},
ue
=
{
class
:
"
w-full h-[calc(100%-106px)] p-2 overflow-y-auto
"
},
pe
=
{
key
:
0
},
_e
=
t
(
"
div
"
,{
class
:
"
w-full h-5
"
},
null
,
-
1
),
he
=
{
key
:
1
},
fe
=
{
class
:
"
w-full h-auto bg-white
"
},
me
=
{
class
:
"
w-full min-h-[80px] flex-wrap ccFlex
"
},
we
=
t
(
"
div
"
,{
class
:
"
w-[35px] min-h-[80px]
"
},[
t
(
"
div
"
,{
class
:
"
aaa w-full min-h-[80px] ccFlex
"
},
"
教务处
"
)],
-
1
),
ye
=
{
class
:
"
w-[calc(100%-35px)] h-full
"
},
xe
=
{
class
:
"
w-full h-auto flex
"
},
ve
=
{
class
:
"
w-[35px] min-h-[80px] ccFlex bg-red-600
"
},
ge
=
t
(
"
div
"
,{
class
:
"
w-[35px] min-h-[80px] bg-blue-600
"
},[
t
(
"
div
"
,{
class
:
"
w-full h-1/2
"
}),
t
(
"
div
"
,{
class
:
"
w-full h-1/2
"
})],
-
1
),
be
=
{
class
:
"
w-[calc(100%-105px)] min-h-[80px]
"
},
Fe
=
{
class
:
"
w-full h-1/2 ccFlex
"
},
ke
=
{
class
:
"
w-full h-1/2 ccFlex
"
},
De
=
{
class
:
"
w-[35px] min-h-[80px] ccFlex bg-gray-600
"
},
Ce
=
{
class
:
"
w-full h-[calc(100%-64px)] bg-gray-200
"
},
Pe
=
t
(
"
div
"
,{
class
:
"
w-full h-3
"
},
null
,
-
1
),
Ae
=
t
(
"
div
"
,{
class
:
"
w-full h-3
"
},
null
,
-
1
),
Ye
=
{
class
:
"
w-full h-auto bg-white
"
},
Be
=
t
(
"
div
"
,{
class
:
"
w-full h-10 p-4 pb-0 font-bold
"
},
"
分管部门
"
,
-
1
),
Me
=
{
class
:
"
w-full min-h-[110px] p-4 flex justify-between flex-wrap
"
},
ze
=
t
(
"
div
"
,{
class
:
"
w-full h-3
"
},
null
,
-
1
),
je
=
{
class
:
"
w-full h-auto bg-white
"
},
Le
=
t
(
"
div
"
,{
class
:
"
w-full h-10 p-4 pb-0 font-bold
"
},
"
中层干部
"
,
-
1
),
$e
=
{
class
:
"
w-full min-h-[110px] p-4 flex justify-between flex-wrap
"
},
Ne
=
{
__name
:
"
index
"
,
setup
(
n
,{
expose
:
a
}){
const
e
=
R
({
dayArray
:[],
weekArray
:[],
paramsDay
:{
begin_time
:
v
().
format
(
"
YYYY-MM-DD
"
),
end_time
:
v
().
format
(
"
YYYY-MM-DD
"
),
dept_id_list
:[],
tid_list
:[]},
paramsWeek
:{
begin_time
:
""
,
end_time
:
""
,
dept_id_list
:[],
tid_list
:[]},
comment
:{
dept
:[],
user
:[],
deptId
:
""
},
check
:{
value
:
""
},
date
:{
show
:
!
1
},
search
:{
date
:
""
},
weekView
:{
minHeigth
:
80
},
select
:{
action
:
!
1
,
showPopup
:
!
1
},
fillInWork
:{
show
:
!
1
},
switchView
:{
show
:
!
0
}});
function
p
(
d
){
e
.
date
.
show
=!
1
,
e
.
search
.
date
=
v
(
d
[
0
]).
format
(
"
YYYY-MM-DD
"
)
+
"
-
"
+
v
(
d
[
1
]).
format
(
"
YYYY-MM-DD
"
)}
function
g
(){
e
.
select
.
showPopup
=!
0
}
function
l
(){
e
.
switchView
.
show
=!
e
.
switchView
.
show
,
e
.
select
.
action
=!
1
}
function
r
(){}
function
m
(){
e
.
select
.
showPopup
=!
1
}
function
_
(){
ie
().
then
(
d
=>
{
e
.
comment
.
dept
=
d
.
response
})}
function
M
(){
oe
({
dept_id
:
e
.
comment
.
deptId
}).
then
(
d
=>
{
e
.
comment
.
user
=
d
.
response
})}
function
z
(){
ce
(
e
.
paramsDay
).
then
(
d
=>
{
e
.
dayArray
=
d
.
response
})}
return
T
(()
=>
{
document
.
title
=
"
分管填报记录查看
"
,
_
(),
M
(),
z
()}),
a
({
init
:
e
}),(
d
,
y
)
=>
{
const
j
=
J
,
C
=
K
,
L
=
q
,
$
=
X
,
G
=
Z
,
w
=
ee
,
P
=
le
,
N
=
te
,
S
=
Q
;
return
i
(),
o
(
c
,
null
,[
t
(
"
div
"
,
re
,[
s
(
j
,{
path
:
"
/welcome
"
,
title
:
"
分管填报记录查看
"
}),
t
(
"
div
"
,
de
,[
t
(
"
div
"
,{
onClick
:
l
,
class
:
"
w-20 h-8 flex text-[#4B5563] justify-center items-center border-solid border-[1px] active:bg-blue-100
"
},
"
切换视图
"
),
t
(
"
div
"
,{
style
:
F
({
background
:[
"
#FFFFFF
"
,
"
#1989FA
"
][
Number
(
e
.
select
.
action
)],
color
:[
"
#4B5563
"
,
"
#FFFFFF
"
][
Number
(
e
.
select
.
action
)]}),
onClick
:
g
,
class
:
"
w-20 h-8 flex justify-center items-center border-solid border-[1px]
"
},
"
高级查询
"
,
4
)]),
t
(
"
div
"
,
ue
,[
e
.
switchView
.
show
?(
i
(),
o
(
"
div
"
,
pe
,[
s
(
C
),
_e
,(
i
(
!
0
),
o
(
c
,
null
,
h
(
e
.
dayArray
,(
u
,
x
)
=>
(
i
(),
W
(
L
,{
data
:
u
,
key
:
x
,
alldayOrMidafternoonStatus
:
!!
Number
(
u
.
is_allday
)},
null
,
8
,[
"
data
"
,
"
alldayOrMidafternoonStatus
"
]))),
128
))])):(
i
(),
o
(
"
div
"
,
he
,[
s
(
C
),
t
(
"
div
"
,
fe
,[(
i
(),
o
(
c
,
null
,
h
([
1
,
2
,
3
,
4
,
5
],
u
=>
t
(
"
div
"
,
me
,[
we
,
t
(
"
div
"
,
ye
,[(
i
(),
o
(
c
,
null
,
h
([
1
,
2
,
3
,
4
,
5
],
x
=>
t
(
"
div
"
,
xe
,[
t
(
"
div
"
,
ve
,
A
(
x
),
1
),
ge
,
t
(
"
div
"
,
be
,[
t
(
"
div
"
,
Fe
,[(
i
(),
o
(
c
,
null
,
h
([
1
,
2
,
3
,
4
,
5
],
b
=>
t
(
"
div
"
,{
style
:
F
({
background
:[
""
,
"
#D9E2F3
"
][
b
]}),
class
:
"
w-1/5 h-full
"
},
null
,
4
)),
64
))]),
t
(
"
div
"
,
ke
,[(
i
(),
o
(
c
,
null
,
h
([
1
,
2
,
3
,
4
,
5
],
b
=>
t
(
"
div
"
,{
style
:
F
({
background
:[
""
,
"
#FFE599
"
][
b
]}),
class
:
"
w-1/5 h-full
"
},
null
,
4
)),
64
))])]),
t
(
"
div
"
,
De
,
A
(
x
),
1
)])),
64
))])])),
64
))])]))])]),
s
(
S
,{
show
:
e
.
select
.
showPopup
,
height
:
80
},{
content
:
f
(()
=>
[
t
(
"
div
"
,
Ce
,[
Pe
,
s
(
$
,{
inset
:
""
,
title
:
"
选择单个日期
"
,
value
:
e
.
search
.
date
,
onClick
:
y
[
0
]
||
(
y
[
0
]
=
u
=>
e
.
date
.
show
=!
0
)},
null
,
8
,[
"
value
"
]),
s
(
G
,{
type
:
"
range
"
,
show
:
e
.
date
.
show
,
"
onUpdate:show
"
:
y
[
1
]
||
(
y
[
1
]
=
u
=>
e
.
date
.
show
=
u
),
onConfirm
:
p
},
null
,
8
,[
"
show
"
]),
Ae
,
t
(
"
div
"
,
Ye
,[
Be
,
t
(
"
div
"
,
Me
,[
s
(
P
,{
wrap
:
""
},{
default
:
f
(()
=>
[(
i
(),
o
(
c
,
null
,
h
([
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
],
u
=>
s
(
w
,{
style
:{
margin
:
"
5px
"
,
padding
:
"
15px !important
"
,
height
:
"
40px
"
},
text
:
"
细边框按钮
"
,
size
:
"
normal
"
,
plain
:
""
,
hairline
:
""
,
type
:
"
primary
"
})),
64
))]),
_
:
1
})])]),
ze
,
t
(
"
div
"
,
je
,[
Le
,
t
(
"
div
"
,
$e
,[
s
(
P
,{
wrap
:
""
},{
default
:
f
(()
=>
[(
i
(),
o
(
c
,
null
,
h
([
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
],
u
=>
s
(
w
,{
style
:{
margin
:
"
5px
"
,
background
:
"
#1989FA
"
,
color
:
"
#FFFFFF
"
,
padding
:
"
15px !important
"
,
height
:
"
40px
"
},
text
:
"
细边框按钮
"
,
size
:
"
normal
"
,
plain
:
""
,
hairline
:
""
,
type
:
"
primary
"
})),
64
))]),
_
:
1
})])])]),
s
(
N
,
null
,{
default
:
f
(()
=>
[
s
(
w
,{
type
:
"
primary
"
,
round
:
""
,
class
:
"
w-[90px]
"
,
onClick
:
r
},{
default
:
f
(()
=>
[
k
(
"
重置
"
)]),
_
:
1
}),
s
(
w
,{
type
:
"
primary
"
,
round
:
""
,
class
:
"
w-[90px]
"
,
onClick
:
r
},{
default
:
f
(()
=>
[
k
(
"
查询
"
)]),
_
:
1
}),
s
(
w
,{
round
:
""
,
class
:
"
w-[90px]
"
,
onClick
:
m
},{
default
:
f
(()
=>
[
k
(
"
取消
"
)]),
_
:
1
})]),
_
:
1
})]),
_
:
1
},
8
,[
"
show
"
])],
64
)}}};
export
{
Ne
as
default
};
dist/assets/index-B
X392dhT
.css
→
dist/assets/index-B
iZgieem
.css
浏览文件 @
a65ac46e
因为 它太大了无法显示 源差异 。您可以改为
查看blob
。
dist/assets/index-
Fk0yZTJj
.js
→
dist/assets/index-
COyOaLqd
.js
浏览文件 @
a65ac46e
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-
Db76niLa
.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-
s6w39tH6
.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
};
dist/assets/index-C
RfKEJpE
.js
→
dist/assets/index-C
yvYt4be
.js
浏览文件 @
a65ac46e
import
{
r
as
o
,
b
as
s
,
a
as
t
,
n
as
e
,
o
as
c
,
E
as
l
}
from
"
./index-
Db76niLa
.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-
s6w39tH6
.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
};
dist/assets/index-D
QDLtauK
.js
→
dist/assets/index-D
PYb81jO
.js
浏览文件 @
a65ac46e
import
{
_
as
e
}
from
"
./index-
Db76niLa
.js
"
;
const
n
=
{};
function
r
(
c
,
t
){
return
null
}
const
o
=
e
(
n
,[[
"
render
"
,
r
]]);
export
{
o
as
default
};
import
{
_
as
e
}
from
"
./index-
s6w39tH6
.js
"
;
const
n
=
{};
function
r
(
c
,
t
){
return
null
}
const
o
=
e
(
n
,[[
"
render
"
,
r
]]);
export
{
o
as
default
};
dist/assets/index-D
XZkLWS9
.js
→
dist/assets/index-D
pYkprY5
.js
浏览文件 @
a65ac46e
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-
Db76niLa
.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-
s6w39tH6
.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
};
dist/assets/index-D
_zsmlMV
.js
→
dist/assets/index-D
qfdvLdA
.js
浏览文件 @
a65ac46e
此差异已折叠。
点击以展开。
dist/assets/index-
OezMsYz
L.js
→
dist/assets/index-
drdvKhI
L.js
浏览文件 @
a65ac46e
import
{
r
as
o
,
b
as
s
,
a
as
t
,
n
as
e
,
o
as
c
,
E
as
l
}
from
"
./index-
Db76niLa
.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-
s6w39tH6
.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
};
dist/assets/index-
Db76niLa
.js
→
dist/assets/index-
s6w39tH6
.js
浏览文件 @
a65ac46e
此差异已折叠。
点击以展开。
dist/index.html
浏览文件 @
a65ac46e
...
...
@@ -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-
Db76niLa
.js"
></script>
<link
rel=
"stylesheet"
crossorigin
href=
"./assets/index-B
X392dhT
.css"
>
<script
type=
"module"
crossorigin
src=
"./assets/index-
s6w39tH6
.js"
></script>
<link
rel=
"stylesheet"
crossorigin
href=
"./assets/index-B
iZgieem
.css"
>
</head>
<body>
<div
id=
"app"
></div>
...
...
src/components/Date.vue
浏览文件 @
a65ac46e
...
...
@@ -3,7 +3,7 @@
<van-swipe
ref=
"swipe"
@
touchstart=
"touchStart"
@
touchend=
"touchEnd"
@
touchend=
"touchEnd
($event,$parent)
"
:initial-swipe=
"0"
:show-indicators=
"false"
width=
"100%"
...
...
@@ -59,6 +59,9 @@ import {showToast} from "vant";
import
Cookies
from
"
js-cookie
"
;
import
{
next
}
from
"
lodash/seq.js
"
;
const
emit
=
defineEmits
([
'
searchDayData
'
])
const
swipe
=
ref
()
let
dateArray
=
reactive
({
swiper
:
{
...
...
@@ -97,6 +100,10 @@ let GetWatchListObject = reactive({
function
centerDateValue
(
date
,
parent
)
{
//选中日期focus
if
(
parent
.
init
.
switchView
.
show
)
{
//parent.init.switchView 父组件的切换视图按钮
emit
(
'
searchDayData
'
,
date
)
//日期背景
dateArray
.
array
.
forEach
(
cur
=>
{
if
(
date
===
cur
.
date
&&
cur
.
date
===
dayjs
().
format
(
'
YYYY-MM-DD
'
))
{
console
.
log
(
"
🚀🚀🚀1,
"
)
...
...
@@ -113,13 +120,10 @@ function centerDateValue(date, parent) {
console
.
log
(
"
🚀🚀🚀3,
"
)
cur
.
bg
=
''
cur
.
acColor
=
''
}
})
parent
.
init
.
select
.
action
=
true
}
}
function
touchStart
(
event
)
{
...
...
@@ -127,7 +131,7 @@ function touchStart(event) {
dateArray
.
swiper
.
beginPosition
=
event
.
touches
[
0
].
clientX
}
function
touchEnd
(
event
)
{
function
touchEnd
(
event
,
parent
)
{
// 获取结束活动坐标 开始与结束坐标比较 得到左或右滑动 begin > end 左滑 begin
<
end
右滑
dateArray
.
swiper
.
endPosition
=
event
.
changedTouches
[
0
].
clientX
let
swiperDirection
;
...
...
@@ -136,10 +140,26 @@ function touchEnd(event) {
'
right
'
:
()
=>
{
//右滑 查询过去日期
reductionDate
()
if
(
!
parent
.
init
.
switchView
.
show
)
{
parent
.
init
.
paramsWeek
=
{
...
parent
.
init
.
paramsWeek
,
begin_time
:
dateArray
.
array
[
0
].
date
,
end_time
:
dateArray
.
array
[
dateArray
.
array
.
length
-
1
].
date
}
parent
.
GetPlanProjectByWeekList
()
}
},
'
left
'
:
()
=>
{
//左滑 查询未来日期
addDate
()
if
(
!
parent
.
init
.
switchView
.
show
)
{
parent
.
init
.
paramsWeek
=
{
...
parent
.
init
.
paramsWeek
,
begin_time
:
dateArray
.
array
[
0
].
date
,
end_time
:
dateArray
.
array
[
dateArray
.
array
.
length
-
1
].
date
}
parent
.
GetPlanProjectByWeekList
()
}
}
}
strategy
[
swiperDirection
]()
...
...
src/components/myFocusCard.vue
浏览文件 @
a65ac46e
...
...
@@ -43,7 +43,9 @@
</div>
<div
class=
"w-full h-11 p-2 flex items-center justify-end border-t-[1px] border-[#E5E7EB] border-solid"
>
<van-button
@
click=
"cancel($parent)"
type=
"primary"
size=
"small"
>
取消关注
</van-button>
<van-button
class=
"w-20"
@
click=
"cancel($parent,props.data)"
type=
"primary"
size=
"small"
>
{{
props
.
data
.
attention
!==
void
0
?
[
'
关注
'
,
'
取消关注
'
][
props
.
data
.
attention
]
:
'
取消关注
'
}}
</van-button>
</div>
</div>
</
template
>
...
...
@@ -65,8 +67,40 @@ const props = defineProps({
}
})
function
cancel
(
parent
)
{
//取消关注
function
cancel
(
parent
,
data
)
{
//取消关注 或关注 不含有attention表示天或周
if
(
props
.
data
.
attention
!==
void
0
)
{
//视图
let
strategy
=
{
'
0
'
:
(
value
=
1
)
=>
{
hooks
.
myEncapsulationFunction
(()
=>
{
return
api
.
getApiCollectCollectClick
({
id
:
props
.
data
.
planid
,
collect_type
:
value
}).
then
(
res
=>
{
if
(
res
.
code
===
1
)
parent
.
GetPlanProjectByDayList
()
return
res
})
})
},
'
1
'
:
(
value
=
0
)
=>
{
hooks
.
publicConfirm
(()
=>
{
hooks
.
myEncapsulationFunction
(()
=>
{
return
api
.
getApiCollectUnCollect
({
plan_id
:
props
.
data
.
planid
,
collect_userid
:
props
.
data
.
userid
}).
then
(
res
=>
{
if
(
res
.
code
===
1
)
parent
.
GetPlanProjectByDayList
()
return
res
})
})
})
}
}
strategy
[
props
.
data
.
attention
]()
}
else
{
//主页
hooks
.
publicConfirm
(()
=>
{
hooks
.
myEncapsulationFunction
(()
=>
{
return
api
.
getApiCollectUnCollect
({
plan_id
:
props
.
data
.
planid
,
collect_userid
:
props
.
data
.
userid
}).
then
(
res
=>
{
...
...
@@ -75,6 +109,7 @@ function cancel(parent) {
})
})
})
}
}
</
script
>
...
...
src/pages/responsibleForFilingRecords/index.vue
浏览文件 @
a65ac46e
...
...
@@ -3,8 +3,8 @@
<childrenIndexHeader
path=
"/welcome"
title=
"分管填报记录查看"
></childrenIndexHeader>
<div
class=
"w-full h-[50px] flex justify-between items-center p-2"
>
<div
@
click=
"changeView"
class=
"w-2
0
h-8 flex text-[#4B5563] justify-center items-center border-solid border-[1px] active:bg-blue-100 "
>
切换视图
class=
"w-2
4
h-8 flex text-[#4B5563] justify-center items-center border-solid border-[1px] active:bg-blue-100 "
>
切换
{{
init
.
switchView
.
show
?
'
周
'
:
'
天
'
}}
视图
</div>
<div
:style=
"
{
background:['#FFFFFF','#1989FA'][Number(init.select.action)],
...
...
@@ -19,7 +19,7 @@
<div
v-if=
"init.switchView.show"
>
<!-- 天视图-->
<Date/>
<Date
@
searchDayData=
"searchDayData"
/>
<div
class=
"w-full h-5"
></div>
<my-focus-card
:data=
"item"
v-for=
"(item,index) in init.dayArray"
:key=
"index"
:alldayOrMidafternoonStatus=
"Boolean(Number(item.is_allday))"
/>
...
...
@@ -27,40 +27,52 @@
<div
v-else
>
<!-- 周视图-->
<Date/>
<div
class=
"w-full h-auto bg-white"
>
<div
class=
"w-full min-h-[80px] flex-wrap ccFlex "
v-for=
"item in [1,2,3,4,5]"
>
<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
class=
" aaa w-full min-h-[80px] ccFlex"
>
教务处
</div>
<div
class=
" aaa w-full min-h-[80px] ccFlex"
>
{{
item
.
deptName
}}
</div>
</div>
<div
class=
"w-[calc(100%-35px)] h-full "
>
<!-- 人员信息-->
<div
class=
"w-full h-auto flex "
v-for=
"
item in [1,2,3,4,5]
"
>
<div
class=
"
w-[35px] min-h-[80px] ccFlex bg-red-600
"
>
<div
class=
"w-full h-auto flex "
v-for=
"
(ite,inde) in item.nameData"
:key=
"inde
"
>
<div
class=
"
w-[35px] min-h-[80px] ccFlex
"
>
<!-- 姓名-->
{{
item
}}
<div
class=
"aaa "
>
{{
ite
.
userName
}}
</div>
</div>
<div
class=
"w-[35px] min-h-[80px]
bg-blue-600
"
>
<div
class=
"w-[35px] min-h-[80px]
"
>
<!-- 上下午-->
<div
class=
"w-full h-1/2 "
></div>
<div
class=
"w-full h-1/2 "
></div>
<div
class=
"w-full h-1/2 ccFlex"
>
上
</div>
<div
class=
"w-full h-1/2 ccFlex"
>
下
</div>
</div>
<!--v-for="(it,ind) in ite.nameArray" :key="ind"-->
<div
class=
"w-[calc(100%-105px)] min-h-[80px] "
>
<!-- 周安排-->
<div
class=
"w-full h-1/2 ccFlex"
>
<div
:style=
"
{background:['','#D9E2F3'][item]}" v-for="item in [1,2,3,4,5]" class="w-1/5 h-full">
<div
:style=
"
{background:['','#D9E2F3'][Number(it.fore_plan!=null
&&
it.fore_plan!=''
&&
it.fore_plan!=void 0)]}"
v-for="(it,ind) in ite.nameArray" :key="ind"
class="w-1/5 h-full border-gray-300 border-solid border-[0.5px]">
</div>
</div>
<div
class=
"w-full h-1/2 ccFlex"
>
<div
:style=
"
{background:['','#FFE599'][item]}" v-for="item in [1,2,3,4,5]" class="w-1/5 h-full">
<div
:style=
"
{background:['','#FFE599'][Number(it.fore_plan!=null
&&
it.fore_plan!=''
&&
it.fore_plan!=void 0)]}"
v-for="(it,ind) in ite.nameArray" :key="ind"
class="w-1/5 h-full border-gray-300 border-solid border-[0.5px]">
</div>
</div>
</div>
<div
class=
"w-[35px] min-h-[80px] ccFlex
bg-gray-600
"
>
<div
class=
"w-[35px] min-h-[80px] ccFlex "
>
<!-- 是否关注-->
{{
item
}}
<div
class=
"aaa "
>
{{
[
'
关注
'
,
'
取消关注
'
][
ite
.
attention
]
}}
</div>
</div>
</div>
</div>
...
...
@@ -68,13 +80,11 @@
</div>
</div>
</div>
</div>
<!-- 高级查询 -->
<popup
:show=
"init.select.showPopup"
:height=
"80"
>
<template
#content
>
<div
class=
"w-full h-[calc(100%-64px)] bg-gray-200"
>
<div
class=
"w-full h-3"
></div>
<van-cell
inset
title=
"选择单个日期"
:value=
"init.search.date"
@
click=
"init.date.show = true"
/>
...
...
@@ -85,30 +95,30 @@
<div
class=
"w-full min-h-[110px] p-4 flex justify-between flex-wrap"
>
<van-space
wrap
>
<!-- background:#1989FA;color:#FFFFFF-->
<van-button
v-for=
"
it in [1,1,1,1,1,1,1,1]
"
<van-button
v-for=
"
(item,index) in init.comment.dept
"
:key=
"index"
style=
"margin: 5px; padding: 15px !important;height: 40px"
text=
"细边框按钮"
size=
"normal"
plain
hairline
type=
"primary"
/>
type=
"primary"
>
{{
item
.
name
}}
</van-button>
</van-space>
</div>
</div>
<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>
<div
class=
"w-full min-h-[110px] p-4 flex justify-between flex-wrap"
>
<van-space
wrap
>
<van-button
v-for=
"it in [1,1,1,1,1,1,1,1]"
<!-- color:#FFFFFF; #1989FA-->
<van-button
v-for=
"(item,index) in init.comment.dept"
style=
"margin: 5px; background: #1989FA;color:#FFFFFF; padding: 15px !important;height: 40px"
text=
"细边框按钮"
style=
"margin: 5px; padding: 15px !important;height: 40px"
size=
"normal"
plain
hairline
type=
"primary"
/>
type=
"primary"
>
{{
item
.
name
}}
</van-button>
</van-space>
</div>
...
...
@@ -131,8 +141,11 @@ import dayjs from "dayjs";
import
{
onMounted
,
reactive
}
from
"
vue
"
;
import
*
as
hooks
from
'
@/hooks/index.js
'
import
*
as
api
from
'
@/api/apis/dist/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
init
=
reactive
({
weekKey
:
1
,
dayArray
:
[],
weekArray
:
[],
paramsDay
:
{
...
...
@@ -142,8 +155,8 @@ const init = reactive({
"
tid_list
"
:
[],
},
paramsWeek
:
{
"
begin_time
"
:
""
,
"
end_time
"
:
""
,
"
begin_time
"
:
startOfWeek
,
"
end_time
"
:
endOfWeek
,
"
dept_id_list
"
:
[],
"
tid_list
"
:
[]
},
...
...
@@ -160,7 +173,8 @@ const init = reactive({
show
:
false
,
},
search
:
{
date
:
''
date
:
startOfWeek
+
'
-
'
+
endOfWeek
},
weekView
:
{
minHeigth
:
80
,
...
...
@@ -191,6 +205,24 @@ function advancedQuery() {
function
changeView
()
{
//切换视图
init
.
switchView
.
show
=
!
init
.
switchView
.
show
if
(
init
.
switchView
.
show
)
{
init
.
paramsDay
=
{
"
begin_time
"
:
dayjs
().
format
(
'
YYYY-MM-DD
'
),
"
end_time
"
:
dayjs
().
format
(
'
YYYY-MM-DD
'
),
"
dept_id_list
"
:
[],
"
tid_list
"
:
[],
}
GetPlanProjectByDayList
()
}
else
{
init
.
paramsWeek
=
{
"
begin_time
"
:
startOfWeek
,
"
end_time
"
:
endOfWeek
,
"
dept_id_list
"
:
[],
"
tid_list
"
:
[]
},
GetPlanProjectByWeekList
()
}
init
.
select
.
action
=
false
}
...
...
@@ -230,14 +262,64 @@ function GetPlanProjectByDayList() {
})
}
function
searchDayData
(
date
)
{
//查询天数据
init
.
paramsDay
=
{...
init
.
paramsDay
,
begin_time
:
date
,
end_time
:
date
}
GetPlanProjectByDayList
()
}
function
GetPlanProjectByWeekList
()
{
//天视图数据
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
const
result
=
data
.
reduce
((
acc
,
cur
)
=>
{
const
foundDept
=
acc
.
find
(
dept
=>
dept
.
deptName
===
cur
.
dept_name
);
if
(
foundDept
)
{
// 如果找到了相同的部门,就在 nameData 中添加新的元素
foundDept
.
nameData
.
push
({
userId
:
cur
.
userid
,
userName
:
cur
.
username
,
userCard
:
cur
.
usercard
,
attention
:
cur
.
attention
,
nameArray
:
cur
.
data
,
});
}
else
{
// 如果没有找到相同的部门,就创建新的部门元素
ccc
.
push
({
deptName
:
cur
.
dept_name
,
deptId
:
cur
.
dept_id
,
nameData
:
[{
userId
:
cur
.
userid
,
userName
:
cur
.
username
,
userCard
:
cur
.
usercard
,
attention
:
cur
.
attention
,
nameArray
:
cur
.
data
,
}]
});
}
return
ccc
;
},
[]);
init
.
weekArray
=
result
})
}
onMounted
(()
=>
{
document
.
title
=
'
分管填报记录查看
'
GetDeptList
()
GetUserList
()
GetPlanProjectByDayList
()
GetPlanProjectByWeekList
()
})
defineExpose
({
init
,
GetPlanProjectByDayList
,
GetPlanProjectByWeekList
,
})
</
script
>
<
style
>
...
...
src/util/axios.js
浏览文件 @
a65ac46e
...
...
@@ -44,7 +44,7 @@ axiosInstance.interceptors.request.use(
config
.
headers
[
'
Authorization
'
]
=
'
Bearer
'
+
token
if
(
config
.
url
.
indexOf
(
'
ImageUpLoad
'
)
!==
-
1
)
config
.
headers
[
'
Content-Type
'
]
=
'
multipart/form-data
'
refreshTokenAction
()
//
refreshTokenAction()
return
config
;
},
(
error
)
=>
{
...
...
编辑
预览
Markdown
格式
0%
请重试
or
添加新附件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录