Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
mes-ui
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
周远喜
mes-ui
Commits
88610cd8
Commit
88610cd8
authored
Apr 09, 2020
by
康振飞
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
工作日历ok
parent
75f9a562
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
19 additions
and
11 deletions
+19
-11
add.vue
pages/basicData/calendar/class/add.vue
+0
-1
index.vue
pages/basicData/calendar/class/index.vue
+1
-0
index.vue
pages/basicData/calendar/index.vue
+7
-1
add.vue
pages/basicData/calendar/overtime/add.vue
+6
-5
add.vue
pages/basicData/calendar/work/add.vue
+4
-4
index.vue
pages/basicData/calendar/work/index.vue
+1
-0
No files found.
pages/basicData/calendar/class/add.vue
View file @
88610cd8
...
...
@@ -63,7 +63,6 @@ export default {
},
methods
:
{
handleSubmit
()
{
console
.
log
(
this
.
entity
)
this
.
$refs
.
form
.
validate
(
v
=>
{
if
(
v
)
{
this
.
disabled
=
true
;
...
...
pages/basicData/calendar/class/index.vue
View file @
88610cd8
...
...
@@ -101,6 +101,7 @@ data() {
addOk
()
{
this
.
$refs
.
grid
.
load
()
this
.
addModal
=
false
this
.
$emit
(
'on-ok'
)
this
.
$refs
.
addModal
.
entity
=
{}
this
.
detailModal
=
false
this
.
editModal
=
false
;
...
...
pages/basicData/calendar/index.vue
View file @
88610cd8
<
template
>
<classView></classView>
<classView
@
on-ok=
"onLaode"
></classView>
</
template
>
<
script
>
import
classView
from
'./class/index'
export
default
{
components
:{
classView
},
methods
:{
onLaode
(){
alert
(
"reloade"
)
console
.
log
(
"123123"
)
},
},
}
</
script
>
<
style
lang=
"less"
>
...
...
pages/basicData/calendar/overtime/add.vue
View file @
88610cd8
...
...
@@ -61,11 +61,6 @@ export default {
this
.
selectAry
()
},
methods
:
{
selectAry
()
{
Api
.
getlist
().
then
((
res
)
=>
{
this
.
orderCatList
=
res
.
result
})
},
handleSubmit
()
{
this
.
$refs
.
form
.
validate
((
v
)
=>
{
if
(
v
)
{
...
...
@@ -102,6 +97,12 @@ export default {
handleClose
()
{
this
.
$emit
(
'on-close'
)
},
selectAry
()
{
Api
.
getlist
().
then
((
res
)
=>
{
console
.
log
(
"加班日历"
,
res
)
this
.
orderCatList
=
res
.
result
})
},
getItems
(
v
){
//获取所有选中项;
var
items
=
this
.
orderCatList
.
filter
(
u
=>
{
return
v
.
indexOf
(
u
.
id
)
>-
1
...
...
pages/basicData/calendar/work/add.vue
View file @
88610cd8
...
...
@@ -47,7 +47,7 @@ export default {
entity
:
{
id
:[],
title
:
""
,
calendarClassId
:[],
mesShiftWorkSchedIds
:[],
calendarClassTitle
:
""
,
workHours
:
0
},
...
...
@@ -88,7 +88,7 @@ export default {
this
.
disabled
=
false
if
(
r
.
success
)
{
this
.
$Message
.
success
(
'保存成功'
)
this
.
entity
.
calendarClassId
=
[];
this
.
entity
.
mesShiftWorkSchedIds
=
[];
this
.
$refs
.
form
.
resetFields
();
this
.
$emit
(
'on-ok'
)
}
else
{
...
...
@@ -104,7 +104,7 @@ export default {
})
},
handleClose
()
{
this
.
orderCatList
=
[]
//
this.orderCatList = []
this
.
$emit
(
'on-close'
)
},
selectAry
()
{
...
...
@@ -115,7 +115,7 @@ export default {
pageSize
:
20
}
Api
.
getlist
().
then
((
res
)
=>
{
console
.
log
(
res
)
// console.log("工作日历",
res)
this
.
orderCatList
=
res
.
result
})
},
...
...
pages/basicData/calendar/work/index.vue
View file @
88610cd8
...
...
@@ -144,6 +144,7 @@ export default {
},
created
(){
this
.
tableHeight
=
window
.
innerHeight
-
230
// this.$refs.addModal.entity = {}
},
mounted
()
{
window
.
onresize
=
()
=>
{
///浏览器窗口大小变化
...
...
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