Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
confucius
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
罗超
confucius
Commits
ae40736a
Commit
ae40736a
authored
Apr 22, 2022
by
罗超
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
no message
parent
39e90515
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
76 additions
and
14 deletions
+76
-14
eventsCalendar.vue
src/components/stuMan/eventsCalendar.vue
+5
-0
index.vue
src/components/work/index.vue
+1
-1
Work.vue
src/pages/Work.vue
+1
-1
performanceCommission.vue
src/pages/financial/reportform/performanceCommission.vue
+69
-12
No files found.
src/components/stuMan/eventsCalendar.vue
View file @
ae40736a
...
@@ -344,6 +344,11 @@ export default {
...
@@ -344,6 +344,11 @@ export default {
},
},
data
()
{
data
()
{
return
{
return
{
pickerOptions
:
{
disabledDate
:
time
=>
{
return
time
.
getTime
()
<
Date
.
now
()
-
8.64e7
;
}
},
date
:
''
,
date
:
''
,
value
:
new
Date
(),
value
:
new
Date
(),
calendarData
:[],
calendarData
:[],
...
...
src/components/work/index.vue
View file @
ae40736a
...
@@ -127,7 +127,7 @@
...
@@ -127,7 +127,7 @@
</div> -->
</div> -->
<q-btn-group
<q-btn-group
outline
outline
style=
"position: fixed;top:
1
5px;right:20px;z-index: 666666;"
style=
"position: fixed;top:
7
5px;right:20px;z-index: 666666;"
>
>
<q-btn
<q-btn
dense
dense
...
...
src/pages/Work.vue
View file @
ae40736a
...
@@ -271,7 +271,7 @@ export default {
...
@@ -271,7 +271,7 @@ export default {
.sub-header
{
.sub-header
{
position
:
fixed
;
position
:
fixed
;
height
:
56px
;
height
:
56px
;
top
:
0
;
top
:
60px
;
left
:
0
;
left
:
0
;
right
:
0
;
right
:
0
;
transition
:
top
0.3s
ease
;
transition
:
top
0.3s
ease
;
...
...
src/pages/financial/reportform/performanceCommission.vue
View file @
ae40736a
<
style
scoped
>
<
style
scoped
>
@import
"../css/cssReset.css"
;
@import
"../css/cssReset.css"
;
.January
{
background-color
:
#B3E5FC
;
}
.February
{
background-color
:
#C8E6C9
;
}
.March
{
background-color
:
#FFCCD2
;
}
.April
{
background-color
:
#F8DDE0
;
}
.May
{
background-color
:
#E1BEE7
;
}
.June
{
background-color
:
#D1C4E9
;
}
.July
{
background-color
:
#C5CAE9
;
}
.August
{
background-color
:
#F0F4C3
;
}
.September
{
background-color
:
#FFF9C4
;
}
.October
{
background-color
:
#FFECB3
;
}
.November
{
background-color
:
#FFE0B2
;
}
.December
{
background-color
:
#FFCCBC
;
}
.singeRowTable
tr
:nth-child
(
2n
+
1
)
{
.singeRowTable
tr
:nth-child
(
2n
+
1
)
{
background
:
none
;
background
:
none
;
}
}
...
@@ -85,17 +121,18 @@
...
@@ -85,17 +121,18 @@
<div
class=
"col-3"
>
<div
class=
"col-3"
>
<q-field
filled
dense
>
<q-field
filled
dense
>
<template
v-slot:control
>
<template
v-slot:control
>
<el-date-picker
<el-date-picker
v-model=
"dateArray[0]"
style=
"width:100%"
value-format=
"yyyy-MM"
@
change=
"resetSearch()"
v-model=
"dateArray"
size=
"small"
type=
"month"
placeholder=
"选择开始年月"
>
size=
"mini"
</el-date-picker>
@
change=
"resetSearch"
</
template
>
value-format=
"yyyy-MM"
</q-field>
type=
"daterange"
</div>
style=
"border:none;"
<div
class=
"col-3"
>
range-separator=
"至"
<q-field
filled
dense
>
start-placeholder=
"跟进开始时间"
<
template
v-slot:control
>
end-placeholder=
"跟进结束时间"
<el-date-picker
v-model=
"dateArray[1]"
style=
"width:100%"
value-format=
"yyyy-MM"
@
change=
"resetSearch()"
/>
size=
"small"
type=
"month"
placeholder=
"选择结束年月"
>
</el-date-picker>
</
template
>
</
template
>
</q-field>
</q-field>
</div>
</div>
...
@@ -129,11 +166,23 @@
...
@@ -129,11 +166,23 @@
style=
"min-width: 500px;"
style=
"min-width: 500px;"
v-for=
"(item, index) in RListlength"
v-for=
"(item, index) in RListlength"
:key=
"index"
:key=
"index"
:class=
"item.Month.slice(6)==1?'January':
(item.Month.slice(6)==2?'February':
(item.Month.slice(6)==3?'March':
(item.Month.slice(6)==4?'April':
(item.Month.slice(6)==5?'May':
(item.Month.slice(6)==6?'June':
(item.Month.slice(6)==7?'July':
(item.Month.slice(6)==7?'August':
(item.Month.slice(6)==7?'September':
(item.Month.slice(5)==10?'October':
(item.Month.slice(5)==11?'November':
(item.Month.slice(5)==12?'December':'')))))))))))"
>
>
<span
v-if=
"item.Month.slice(5) < 10"
>
{{
<span
v-if=
"item.Month.slice(5) < 10"
>
{{
item.Month.slice(6)
item.Month.slice(6)
}}
</span>
}}
</span>
<span
v-else
>
{{ item.Month.slice(
6
) }}
</span
<span
v-else
>
{{ item.Month.slice(
5
) }}
</span
>
月
>
月
</th>
</th>
<th
width=
"120"
rowspan=
"2"
style=
"min-width: 110px;"
>
提成合计
</th>
<th
width=
"120"
rowspan=
"2"
style=
"min-width: 110px;"
>
提成合计
</th>
...
@@ -541,6 +590,14 @@ export default {
...
@@ -541,6 +590,14 @@ export default {
});
});
},
},
resetSearch
()
{
resetSearch
()
{
if
(
!
this
.
dateArray
[
0
]
||!
this
.
dateArray
[
1
]){
this
.
$q
.
notify
({
type
:
'negative'
,
position
:
"top"
,
message
:
`请选择开始和结束时间`
})
return
}
this
.
msg
.
pageIndex
=
1
;
this
.
msg
.
pageIndex
=
1
;
this
.
getList
();
this
.
getList
();
},
},
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment