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
c90d34bc
Commit
c90d34bc
authored
Jul 23, 2021
by
罗超
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
ff1264a8
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1071 additions
and
857 deletions
+1071
-857
addEvent-form.vue
src/components/stuMan/addEvent-form.vue
+242
-192
stuList.vue
src/pages/stuMan/stuList.vue
+829
-665
No files found.
src/components/stuMan/addEvent-form.vue
View file @
c90d34bc
<
template
>
<q-dialog
v-model=
"persistent"
content-class=
"bg-grey-1"
persistent
transition-show=
"scale"
transition-hide=
"scale"
>
<q-card
style=
"width: 800px;max-width:900px;"
>
<q-dialog
v-model=
"persistent"
content-class=
"bg-grey-1"
persistent
transition-show=
"scale"
transition-hide=
"scale"
>
<q-card
style=
"width: 800px; max-width: 900px"
>
<q-card-section>
<div
class=
"text-h6"
v-if=
"this.msg.Id
===
0"
>
添加事件
</div>
<div
class=
"text-h6"
v-if=
"this.msg.Id
>
0"
>
修改事件
</div>
<div
class=
"text-h6"
v-if=
"this.msg.Id
===
0"
>
添加事件
</div>
<div
class=
"text-h6"
v-if=
"this.msg.Id
>
0"
>
修改事件
</div>
</q-card-section>
<q-card-section
class=
"q-pt-none"
>
<div
class=
"row
"
>
<div
class=
"row"
>
<div
class=
"col-6 q-pr-lg"
>
<q-input
filled
v-model=
"msg.Title"
label=
"标题"
/>
</div>
<div
class=
"col-6"
>
<q-select
@
input=
""
standout=
"bg-primary text-white"
v-model=
"msg.EventType"
class=
"col-6"
option-label=
"Name"
option-value=
"Id"
:options=
"typeOpts"
emit-value
map-options
label=
"类型"
/>
<q-select
@
input=
""
standout=
"bg-primary text-white"
v-model=
"msg.EventType"
class=
"col-6"
option-label=
"Name"
option-value=
"Id"
:options=
"typeOpts"
emit-value
map-options
label=
"类型"
/>
</div>
</div>
<q-input
filled
type=
"textarea"
:rows=
"3"
style=
"margin-top:20px;"
stack-label
maxlength=
"2000"
v-model=
"msg.EventContent"
:dense=
"false"
class=
"col-12 q-pb-lg"
label=
"内容"
/>
<div
class=
"row wrap"
style=
"padding-top:20px"
>
<div
style=
"display:flex;flex-wrap: wrap;"
>
<div
v-if=
"msg.EventPicList&&msg.EventPicList.length>0"
v-for=
"(item,index) in msg.EventPicList"
>
<q-input
filled
type=
"textarea"
:rows=
"3"
style=
"margin-top: 20px"
stack-label
maxlength=
"2000"
v-model=
"msg.EventContent"
:dense=
"false"
class=
"col-12 q-pb-lg"
label=
"内容"
/>
<div
class=
"row wrap"
style=
"padding-top: 20px"
>
<div
style=
"display: flex; flex-wrap: wrap"
>
<div
v-if=
"msg.EventPicList && msg.EventPicList.length > 0"
v-for=
"(item, index) in msg.EventPicList"
>
<div
class=
"ItemImgDiv"
>
<q-img
:src=
"item"
spinner-color=
"white"
style=
"height: 100%;height:100%"
/>
<q-btn
size=
"7px"
@
click=
"deleteItemImg(index)"
style=
"position:absolute;right:-5px;top:-5px;"
round
color=
"red"
icon=
"iconfont icon-guanbi1"
/>
<q-img
:src=
"item"
spinner-color=
"white"
style=
"height: 100%; height: 100%"
/>
<q-btn
size=
"7px"
@
click=
"deleteItemImg(index)"
style=
"position: absolute; right: -5px; top: -5px"
round
color=
"red"
icon=
"iconfont icon-guanbi1"
/>
</div>
</div>
<el-upload
class=
"avatar-uploader addDutyMain"
action=
""
:before-upload=
"uploadFile"
:show-file-list=
"false"
>
<el-upload
class=
"avatar-uploader addDutyMain"
action=
""
:before-upload=
"uploadFile"
:show-file-list=
"false"
>
<i
class=
"el-icon-plus avatar-uploader-icon"
></i>
</el-upload>
</div>
</div>
</q-card-section>
<q-card-actions
align=
"right"
class=
"bg-white"
>
<q-btn
label=
"取消"
flat
color=
"grey-10"
style=
"font-weight:400 !important"
@
click=
"closeSaveForm"
/>
<q-btn
label=
"立即提交"
color=
"accent q-px-md"
style=
"font-weight:400 !important"
:loading=
"saveLoading"
@
click=
"save"
/>
<q-btn
label=
"取消"
flat
color=
"grey-10"
style=
"font-weight: 400 !important"
@
click=
"closeSaveForm"
/>
<q-btn
label=
"立即提交"
color=
"accent q-px-md"
style=
"font-weight: 400 !important"
:loading=
"saveLoading"
@
click=
"save"
/>
</q-card-actions>
</q-card>
</q-dialog>
</
template
>
<
script
>
import
{
UploadSelfFile
,
}
from
'../../api/common/common'
import
{
addEvent
}
from
'../../api/stuMan/index.js'
export
default
{
import
{
UploadSelfFile
}
from
"../../api/common/common"
;
import
{
addEvent
}
from
"../../api/stuMan/index.js"
;
export
default
{
props
:
{
setObj
:
{
type
:
Object
,
default
:
null
}
default
:
null
,
},
},
data
()
{
return
{
...
...
@@ -67,9 +117,10 @@
EventType
:
2
,
EventContent
:
""
,
Title
:
""
,
EventPicList
:
[]
EventPicList
:
[],
},
typeOpts
:
[{
typeOpts
:
[
{
Name
:
"处分"
,
Id
:
1
,
},
...
...
@@ -77,89 +128,89 @@
Name
:
"奖励"
,
Id
:
2
,
},
]
}
],
};
},
mounted
()
{
console
.
log
(
85
,
this
.
setObj
)
console
.
log
(
85
,
this
.
setObj
);
if
(
this
.
setObj
)
{
if
(
this
.
setObj
.
Student_Id
)
{
this
.
msg
.
StuId
=
this
.
setObj
.
Student_Id
if
(
this
.
setObj
.
STUID
)
{
this
.
msg
.
StuId
=
this
.
setObj
.
STUID
;
}
if
(
this
.
setObj
.
School_Id
)
{
this
.
msg
.
School_Id
=
this
.
setObj
.
School_Id
this
.
msg
.
School_Id
=
this
.
setObj
.
School_Id
;
}
if
(
this
.
setObj
.
Id
>
0
)
{
this
.
msg
.
Id
=
this
.
setObj
.
Id
if
(
this
.
setObj
.
Id
>
0
)
{
this
.
msg
.
Id
=
this
.
setObj
.
Id
;
if
(
this
.
setObj
.
EventType
)
{
this
.
msg
.
EventType
=
this
.
setObj
.
EventType
this
.
msg
.
EventType
=
this
.
setObj
.
EventType
;
}
if
(
this
.
setObj
.
Title
)
{
this
.
msg
.
Title
=
this
.
setObj
.
Title
this
.
msg
.
Title
=
this
.
setObj
.
Title
;
}
if
(
this
.
setObj
.
EventContent
)
{
this
.
msg
.
EventContent
=
this
.
setObj
.
EventContent
this
.
msg
.
EventContent
=
this
.
setObj
.
EventContent
;
}
if
(
this
.
setObj
.
EventPicList
)
{
this
.
msg
.
EventPicList
=
this
.
setObj
.
EventPicList
this
.
msg
.
EventPicList
=
this
.
setObj
.
EventPicList
;
}
}
else
{
this
.
msg
.
Id
=
0
this
.
msg
.
EventType
=
2
this
.
msg
.
Title
=
""
this
.
msg
.
EventContent
=
""
this
.
msg
.
EventPicList
=
[]
}
else
{
this
.
msg
.
Id
=
0
;
this
.
msg
.
EventType
=
2
;
this
.
msg
.
Title
=
""
;
this
.
msg
.
EventContent
=
""
;
this
.
msg
.
EventPicList
=
[];
}
}
else
{
this
.
msg
.
Id
=
0
this
.
msg
.
EventType
=
2
this
.
msg
.
Title
=
""
this
.
msg
.
EventContent
=
""
this
.
msg
.
EventPicList
=
[]
}
else
{
this
.
msg
.
Id
=
0
;
this
.
msg
.
EventType
=
2
;
this
.
msg
.
Title
=
""
;
this
.
msg
.
EventContent
=
""
;
this
.
msg
.
EventPicList
=
[];
}
console
.
log
(
109
,
this
.
msg
)
console
.
log
(
109
,
this
.
msg
);
this
.
$forceUpdate
();
},
methods
:
{
closeSaveForm
()
{
this
.
$emit
(
'close'
)
this
.
persistent
=
false
this
.
$emit
(
"close"
);
this
.
persistent
=
false
;
},
save
()
{
console
.
log
(
89
,
this
.
msg
)
this
.
saveLoading
=
true
addEvent
(
this
.
msg
).
then
(
res
=>
{
this
.
saveLoading
=
false
console
.
log
(
89
,
this
.
msg
);
this
.
saveLoading
=
true
;
addEvent
(
this
.
msg
)
.
then
((
res
)
=>
{
this
.
saveLoading
=
false
;
if
(
res
.
Code
===
1
)
{
this
.
$message
.
success
(
"操作成功"
)
this
.
$emit
(
"success"
)
this
.
persistent
=
false
this
.
$message
.
success
(
"操作成功"
)
;
this
.
$emit
(
"success"
)
;
this
.
persistent
=
false
;
}
else
{
this
.
$message
.
error
(
res
.
Message
)
this
.
$message
.
error
(
res
.
Message
)
;
}
}).
catch
(
err
=>
{
this
.
saveLoading
=
false
})
.
catch
((
err
)
=>
{
this
.
saveLoading
=
false
;
});
},
uploadFile
(
files
)
{
UploadSelfFile
(
'studentIcon'
,
files
,
res
=>
{
UploadSelfFile
(
"studentIcon"
,
files
,
(
res
)
=>
{
if
(
res
.
Code
==
1
)
{
this
.
msg
.
EventPicList
.
push
(
res
.
FileUrl
);
}
})
});
},
//删除图片
deleteItemImg
(
index
)
{
this
.
msg
.
EventPicList
.
splice
(
index
,
1
);
}
},
}
}
,
};
</
script
>
<
style
>
.avatar-uploader
.el-upload
{
.avatar-uploader
.el-upload
{
border-radius
:
6px
;
cursor
:
pointer
;
width
:
100%
;
...
...
@@ -167,26 +218,26 @@
color
:
#8c939d
;
position
:
relative
;
overflow
:
hidden
;
}
}
.addDutyMain
{
.addDutyMain
{
display
:
inline-block
;
width
:
118px
;
height
:
118px
;
font-size
:
70px
;
border
:
1px
dashed
#d9d9d9
;
line-height
:
120px
;
}
}
.ItemImgDiv
{
.ItemImgDiv
{
width
:
118px
;
height
:
118px
;
position
:
relative
;
margin
:
0
10px
10px
0
;
display
:
inline-block
;
}
}
._delete_img
{
._delete_img
{
position
:
absolute
;
top
:
0px
;
height
:
82px
;
...
...
@@ -196,20 +247,20 @@
background-color
:
rgba
(
2
,
2
,
2
,
0.6
);
display
:
inherit
;
opacity
:
0
;
transition
:
all
linear
.5s
}
transition
:
all
linear
0.5s
;
}
._delete_img
i
.iconfont
{
._delete_img
i
.iconfont
{
display
:
inline-block
;
width
:
32px
;
height
:
32px
;
border-radius
:
50%
;
color
:
#E
95252
!important
;
color
:
#e
95252
!important
;
background-color
:
rgba
(
251
,
251
,
251
,
0.9
);
margin-top
:
26px
;
}
}
._upload_box
ul
li
{
._upload_box
ul
li
{
float
:
left
;
height
:
82px
;
width
:
143px
;
...
...
@@ -218,18 +269,18 @@
position
:
relative
;
cursor
:
pointer
;
margin-right
:
10px
;
}
}
._upload_box
ul
li
img
{
._upload_box
ul
li
img
{
height
:
82px
;
width
:
143px
;
}
}
._upload_box
ul
li
:hover
._delete_img
{
._upload_box
ul
li
:hover
._delete_img
{
opacity
:
1
;
}
}
._upload_tips
{
._upload_tips
{
font-size
:
12px
;
position
:
absolute
;
top
:
71%
;
...
...
@@ -237,6 +288,5 @@
left
:
0
;
text-align
:
center
;
color
:
#949494
;
}
}
</
style
>
src/pages/stuMan/stuList.vue
View file @
c90d34bc
<
style
>
li
{
li
{
list-style-type
:
none
;
}
}
.stuList
ul
{
.stuList
ul
{
padding
:
0px
;
}
}
.stuList
li
{
.stuList
li
{
background
:
rgba
(
221
,
222
,
224
,
0.2
);
border-radius
:
4px
;
margin-top
:
15px
;
}
}
.stuList
li
.dline
{
.stuList
li
.dline
{
display
:
table
;
width
:
100%
;
display
:
flex
;
flex-direction
:
row
;
}
}
.stuList
li
.d1
,
.stuList
li
.d2
,
.stuList
li
.d3
,
.stuList
li
.d4
,
.stuList
li
.d5
{
.stuList
li
.d1
,
.stuList
li
.d2
,
.stuList
li
.d3
,
.stuList
li
.d4
,
.stuList
li
.d5
{
width
:
18%
;
padding
:
20px
20px
10px
;
}
}
.stuList
li
.d7
{
.stuList
li
.d7
{
flex
:
1
;
width
:
1px
;
display
:
flex
;
flex-direction
:
row
;
align-items
:
center
;
justify-content
:
center
;
}
}
.stuList
li
.d1
.di-title
{
.stuList
li
.d1
.di-title
{
font-size
:
16px
;
color
:
#111111
;
}
}
.stuList
li
.d1
.di-c
{
.stuList
li
.d1
.di-c
{
font-size
:
14px
;
display
:
flex
;
line-height
:
28px
;
color
:
#111111
;
}
}
.stuList
li
.d6
{
.stuList
li
.d6
{
padding
:
10px
20px
;
width
:
100%
;
height
:
inherit
;
position
:
relative
;
border-top
:
1px
solid
#dddee0
;
}
}
.stuList
li
.d6
.progress
{
.stuList
li
.d6
.progress
{
width
:
100%
;
height
:
5px
;
position
:
absolute
;
left
:
0
;
bottom
:
0
;
}
}
.stuList
li
.d2
div
{
.stuList
li
.d2
div
{
margin
:
2px
0
;
font-size
:
14px
;
color
:
#111111
;
}
}
.stuList
li
.d2-n
{
.stuList
li
.d2-n
{
font-size
:
12px
;
color
:
#999999
;
margin-right
:
20px
;
}
}
.stuList
li
.d3
.d3-s
{
.stuList
li
.d3
.d3-s
{
color
:
var
(
--q-color-negative
);
font-weight
:
bold
;
}
}
.stuList
li
.d3
div
{
.stuList
li
.d3
div
{
margin
:
2px
0
;
font-size
:
14px
;
}
}
.stuList
li
.d4
div
{
.stuList
li
.d4
div
{
font-size
:
14px
;
color
:
#111111
;
margin
:
2px
0
;
}
}
.stuList
li
.d5
div
{
.stuList
li
.d5
div
{
font-size
:
14px
;
color
:
#111111
;
margin
:
2px
0
;
}
}
.stuList
.myCourseNName
{
.stuList
.myCourseNName
{
width
:
25px
;
height
:
25px
;
border-radius
:
50%
;
...
...
@@ -108,45 +108,45 @@
text-align
:
center
;
line-height
:
25px
;
background-color
:
#004d40
;
}
}
.stuList
.app-image
{
.stuList
.app-image
{
background-position
:
center
center
;
width
:
50px
;
height
:
50px
;
border-radius
:
0%
;
float
:
left
;
margin-right
:
8px
;
}
}
.Sysuser_Date
.el-input
{
.Sysuser_Date
.el-input
{
width
:
100%
;
border
:
none
;
background-color
:
transparent
;
}
}
.Sysuser_Date
.el-input__inner
{
.Sysuser_Date
.el-input__inner
{
width
:
100%
;
border
:
none
;
background-color
:
transparent
;
}
}
.Sysuser_Date
.el-range-editor
.el-range-input
{
.Sysuser_Date
.el-range-editor
.el-range-input
{
width
:
100%
;
border
:
none
;
background-color
:
transparent
;
}
}
.el-picker-panel
{
.el-picker-panel
{
z-index
:
99999
!important
;
}
}
.syster_qDropdown
.q-btn__wrapper
{
.syster_qDropdown
.q-btn__wrapper
{
padding
:
0
3px
;
min-height
:
0
!important
;
}
}
.editOrderDrawerTop
{
.editOrderDrawerTop
{
width
:
100%
;
height
:
50px
;
display
:
flex
;
...
...
@@ -154,31 +154,56 @@
background-color
:
#f0f5fb
;
padding
:
5px
10px
;
align-items
:
center
;
}
}
</
style
>
<
template
>
<div
class=
"page-body stuList"
>
<div
class=
"row q-mb-md"
>
<q-space></q-space>
<!--
<el-badge
:value=
"11"
style=
"float:right"
>
-->
<div
style=
"position:relative;"
>
<q-btn
color=
"accent"
label=
"高级查询"
@
click=
"IsShowQuery=true"
></q-btn>
<q-badge
floating
rounded
color=
"red"
>
{{
queryNum
}}
</q-badge>
<div
style=
"position: relative"
>
<q-btn
color=
"accent"
label=
"高级查询"
@
click=
"IsShowQuery = true"
></q-btn>
<q-badge
floating
rounded
color=
"red"
>
{{
queryNum
}}
</q-badge>
</div>
<!--
</el-badge>
-->
</div>
<div
class=
"page-search row items-center flex"
>
<div
class=
"col row wrap q-mr-lg q-col-gutter-md"
>
<div
class=
"col-3 "
>
<q-select
@
input=
"changeSchool"
standout=
"bg-primary text-white"
v-model=
"msg.School_Id"
class=
"col-6"
option-label=
"SName"
option-value=
"SId"
:options=
"SchoolList"
emit-value
map-options
label=
"校区"
/>
<div
class=
"col-3"
>
<q-select
@
input=
"changeSchool"
standout=
"bg-primary text-white"
v-model=
"msg.School_Id"
class=
"col-6"
option-label=
"SName"
option-value=
"SId"
:options=
"SchoolList"
emit-value
map-options
label=
"校区"
/>
</div>
<div
class=
"col-3 "
>
<q-select
@
input=
"changeCourse"
standout=
"bg-primary text-white"
v-model=
"msg.CourseId"
class=
"col-6"
option-label=
"CourseName"
option-value=
"CourseId"
use-input
:options=
"CourseList"
@
filter=
"filterCourse"
emit-value
map-options
label=
"课程"
clearable
>
<div
class=
"col-3"
>
<q-select
@
input=
"changeCourse"
standout=
"bg-primary text-white"
v-model=
"msg.CourseId"
class=
"col-6"
option-label=
"CourseName"
option-value=
"CourseId"
use-input
:options=
"CourseList"
@
filter=
"filterCourse"
emit-value
map-options
label=
"课程"
clearable
>
<template
v-slot:no-option
>
<q-item>
<q-item-section
class=
"text-grey"
>
...
...
@@ -188,11 +213,31 @@
</
template
>
</q-select>
</div>
<div
class=
"col-3 "
>
<q-select
@
input=
"resetSearch"
standout=
"bg-primary text-white"
v-model=
"msg.ClassId"
class=
"col-6"
use-input
@
filter=
"filterClass"
option-label=
"ClassName"
option-value=
"ClassId"
:options=
"classList"
emit-value
map-options
label=
"班级"
clearable
>
<
template
v-slot:option=
"{ itemProps, itemEvents, opt, selected, toggleOption }"
>
<div
class=
"col-3"
>
<q-select
@
input=
"resetSearch"
standout=
"bg-primary text-white"
v-model=
"msg.ClassId"
class=
"col-6"
use-input
@
filter=
"filterClass"
option-label=
"ClassName"
option-value=
"ClassId"
:options=
"classList"
emit-value
map-options
label=
"班级"
clearable
>
<
template
v-slot:option=
"{
itemProps,
itemEvents,
opt,
selected,
toggleOption,
}"
>
<q-item
v-bind=
"itemProps"
v-on=
"itemEvents"
>
<q-item-section>
<q-item-label
v-html=
"opt.ClassName"
></q-item-label>
...
...
@@ -212,98 +257,167 @@
</q-select>
</div>
<div
class=
"col-3"
>
<q-input
@
input=
"resetSearch"
clearable
standout=
"bg-primary text-white"
v-model=
"msg.GuestName"
label=
"学员姓名"
@
clear=
"resetSearch"
maxlength=
"20"
/>
<q-input
@
input=
"resetSearch"
clearable
standout=
"bg-primary text-white"
v-model=
"msg.GuestName"
label=
"学员姓名"
@
clear=
"resetSearch"
maxlength=
"20"
/>
</div>
</div>
</div>
<div
class=
"page-content"
>
<q-table
:pagination=
"msg"
:loading=
"loading"
no-data-label=
"暂无相关数据"
flat
class=
"sticky-tow-column-table sticky-right-column-table"
separator=
"none"
:data=
"data"
:columns=
"columns"
row-key=
"name"
>
<q-table
:pagination=
"msg"
:loading=
"loading"
no-data-label=
"暂无相关数据"
flat
class=
"sticky-tow-column-table sticky-right-column-table"
separator=
"none"
:data=
"data"
:columns=
"columns"
row-key=
"name"
>
<
template
v-slot:top=
"props"
>
<div
class=
"col-2 q-table__title"
>
学员名单
</div>
</
template
>
<
template
v-slot:body-cell-ContractNo=
"props"
>
<q-td
:props=
"props"
>
<div
style=
"color:#f00;cursor:pointer;"
@
click=
"seeContract(props.row)"
>
{{
props
.
row
.
ContractNo
}}
<div
style=
"color: #f00; cursor: pointer"
@
click=
"seeContract(props.row)"
>
{{
props
.
row
.
ContractNo
}}
</div>
</q-td>
</
template
>
<
template
v-slot:body-cell-ClassName=
"props"
>
<q-td
:props=
"props"
>
<div
style=
"color:#f00;cursor:pointer;"
@
click=
"seeClassDetail(props.row)"
>
{{
props
.
row
.
ClassName
}}
<div
style=
"color: #f00; cursor: pointer"
@
click=
"seeClassDetail(props.row)"
>
{{
props
.
row
.
ClassName
}}
</div>
</q-td>
</
template
>
<
template
v-slot:body-cell-OrderId=
"props"
>
<q-td
:props=
"props"
>
<div
style=
"color:#f00;cursor:pointer;"
@
click=
"showOrderDetail(props.row,1)"
>
{{
props
.
row
.
OrderId
}}
<div
style=
"color: #f00; cursor: pointer"
@
click=
"showOrderDetail(props.row, 1)"
>
{{
props
.
row
.
OrderId
}}
</div>
</q-td>
</
template
>
<
template
v-slot:body-cell-Income=
"props"
>
<q-td
:props=
"props"
>
<div
style=
"color:#f00;cursor:pointer;"
@
click=
"showOrderDetail(props.row,4)"
>
{{
props
.
row
.
Income
}}
<div
style=
"color: #f00; cursor: pointer"
@
click=
"showOrderDetail(props.row, 4)"
>
{{
props
.
row
.
Income
}}
</div>
</q-td>
</
template
>
<
template
v-slot:body-cell-Refund=
"props"
>
<q-td
:props=
"props"
>
<div
style=
"color:#f00;cursor:pointer;"
@
click=
"showOrderDetail(props.row,4)"
>
{{
props
.
row
.
Refund
}}
<div
style=
"color: #f00; cursor: pointer"
@
click=
"showOrderDetail(props.row, 4)"
>
{{
props
.
row
.
Refund
}}
</div>
</q-td>
</
template
>
<
template
v-slot:body-cell-CompleteHours=
"props"
>
<q-td
:props=
"props"
>
<div
style=
"color:#f00;cursor:pointer;"
@
click=
"seeStudentsClassUse(props.row)"
>
{{
props
.
row
.
CompleteHours
}}
<div
style=
"color: #f00; cursor: pointer"
@
click=
"seeStudentsClassUse(props.row)"
>
{{
props
.
row
.
CompleteHours
}}
</div>
</q-td>
</
template
>
<
template
v-slot:body-cell-MakeUpHours=
"props"
>
<q-td
:props=
"props"
>
<div
style=
"color:#f00;cursor:pointer;"
@
click=
"showList(props.row,1)"
>
{{
props
.
row
.
MakeUpHours
}}
<div
style=
"color: #f00; cursor: pointer"
@
click=
"showList(props.row, 1)"
>
{{
props
.
row
.
MakeUpHours
}}
</div>
</q-td>
</
template
>
<
template
v-slot:body-cell-AbsenceNum=
"props"
>
<q-td
:props=
"props"
>
<div
style=
"color:#f00;cursor:pointer;"
@
click=
"showList(props.row,2)"
>
{{
props
.
row
.
AbsenceNum
}}
<div
style=
"color: #f00; cursor: pointer"
@
click=
"showList(props.row, 2)"
>
{{
props
.
row
.
AbsenceNum
}}
</div>
</q-td>
</
template
>
<
template
v-slot:body-cell-LeaveNum=
"props"
>
<
template
v-slot:body-cell-LeaveNum=
"props"
>
<q-td
:props=
"props"
>
<div
style=
"color:#f00;cursor:pointer;"
@
click=
"showList(props.row,3)"
>
{{
props
.
row
.
LeaveNum
}}
<div
style=
"color: #f00; cursor: pointer"
@
click=
"showList(props.row, 3)"
>
{{
props
.
row
.
LeaveNum
}}
</div>
</q-td>
</
template
>
<
template
v-slot:body-cell-EventlogNum=
"props"
>
<q-td
:props=
"props"
>
<div
style=
"color:#f00;cursor:pointer;"
@
click=
"showEventLog(props.row)"
>
{{
props
.
row
.
EventlogNum
}}
<div
style=
"color: #f00; cursor: pointer"
@
click=
"showEventLog(props.row)"
>
{{
props
.
row
.
EventlogNum
}}
</div>
</q-td>
</
template
>
<
template
v-slot:body-cell-optioned=
"props"
>
<q-td
:props=
"props"
>
<div>
<q-btn
flat
size=
"xs"
color=
"accent"
style=
"font-weight:400"
label=
"停课"
v-if=
"props.row.GuestState===1"
@
click=
"ShowStopLesson(props.row)"
/>
<q-btn
flat
size=
"xs"
color=
"accent"
style=
"font-weight:400"
label=
"转班"
v-if=
"props.row.GuestState===1"
@
click=
"transferClass(props.row,1)"
/>
<q-btn-dropdown
flat
size=
"xs"
color=
"dark"
label=
"更多"
style=
"margin-left:10px;"
>
<q-btn
flat
size=
"xs"
color=
"accent"
style=
"font-weight: 400"
label=
"停课"
v-if=
"props.row.GuestState === 1"
@
click=
"ShowStopLesson(props.row)"
/>
<q-btn
flat
size=
"xs"
color=
"accent"
style=
"font-weight: 400"
label=
"转班"
v-if=
"props.row.GuestState === 1"
@
click=
"transferClass(props.row, 1)"
/>
<q-btn-dropdown
flat
size=
"xs"
color=
"dark"
label=
"更多"
style=
"margin-left: 10px"
>
<q-list>
<q-item
clickable
v-close-popup
@
click=
"showAddEvent(props.row)"
>
<q-item
clickable
v-close-popup
@
click=
"showAddEvent(props.row)"
>
<q-item-section>
<q-item-label>
添加事件
</q-item-label>
</q-item-section>
...
...
@@ -314,57 +428,100 @@
</q-td>
</
template
>
<
template
v-slot:bottom
>
<q-pagination
class=
"full-width justify-end"
v-model=
"msg.pageIndex"
color=
"primary"
:max=
"pageCount"
:input=
"true"
@
input=
"changePage"
/>
<q-pagination
class=
"full-width justify-end"
v-model=
"msg.pageIndex"
color=
"primary"
:max=
"pageCount"
:input=
"true"
@
input=
"changePage"
/>
</
template
>
</q-table>
</div>
<!-- 高级查询 -->
<MoreQuery
v-if=
"IsShowQuery"
:typeEnum=
"typeEnum"
:warnEnum=
"warnEnum"
:saveQuery=
"msg"
@
close=
"closeHandle"
@
success=
"morequery"
>
<MoreQuery
v-if=
"IsShowQuery"
:typeEnum=
"typeEnum"
:warnEnum=
"warnEnum"
:saveQuery=
"msg"
@
close=
"closeHandle"
@
success=
"morequery"
>
</MoreQuery>
<!-- 停课申请 -->
<StopLesson-form
v-if=
"isShowStopLesson"
:setObj=
"stuObj"
@
success=
"resetSearch"
@
close=
"closeHandle"
/>
<StopLesson-form
v-if=
"isShowStopLesson"
:setObj=
"stuObj"
@
success=
"resetSearch"
@
close=
"closeHandle"
/>
<!-- 转班申请 -->
<transferclass-form
v-if=
"isShowTransferClass"
:save-obj=
"orderObj"
:ChangeType=
"ChangeType"
@
close=
"closeHandle"
@
success=
"resetSearch"
></transferclass-form>
<transferclass-form
v-if=
"isShowTransferClass"
:save-obj=
"orderObj"
:ChangeType=
"ChangeType"
@
close=
"closeHandle"
@
success=
"resetSearch"
></transferclass-form>
<!-- 添加事件 -->
<AddEvent-form
v-if=
"isShowAddEvent"
:setObj=
"eventObj"
@
success=
"resetSearch"
@
close=
"closeHandle"
/>
<AddEvent-form
v-if=
"isShowAddEvent"
:setObj=
"eventObj"
@
success=
"resetSearch"
@
close=
"closeHandle"
/>
<!-- 班级详情 -->
<classinfo-form
v-if=
"isShowClassInfo"
:seting-obj=
"eventObj"
@
close=
"closeHandle"
@
success=
"refreshPage"
/>
<classinfo-form
v-if=
"isShowClassInfo"
:seting-obj=
"eventObj"
@
close=
"closeHandle"
@
success=
"refreshPage"
/>
<!-- 订单详情 -->
<myOrder-form
v-if=
"isShowmyorderForm"
:save-obj=
"eventObj"
@
close=
"closeHandle"
></myOrder-form>
<myOrder-form
v-if=
"isShowmyorderForm"
:save-obj=
"eventObj"
@
close=
"closeHandle"
></myOrder-form>
<!-- 可补课课时,缺勤次数,请假次数 -->
<list
v-if=
"isShowList"
:type=
"showType"
:set-obj=
"eventObj"
@
close=
"closeHandle"
/>
<list
v-if=
"isShowList"
:type=
"showType"
:set-obj=
"eventObj"
@
close=
"closeHandle"
/>
<!-- 事件记录 -->
<eventLog
v-if=
"isShowEventLog"
:set-obj=
"eventObj"
@
modify=
"modifyEvent"
@
close=
"closeHandle"
/>
<eventLog
v-if=
"isShowEventLog"
:set-obj=
"eventObj"
@
modify=
"modifyEvent"
@
close=
"closeHandle"
/>
</div>
</template>
<
script
>
import
{
import
{
getSchoolDropdown
,
getClassDropDownList
,
}
from
'../../api/school/index'
import
{
queryCourseDropdownList
}
from
'../../api/course/index'
import
{
}
from
"../../api/school/index"
;
import
{
queryCourseDropdownList
}
from
"../../api/course/index"
;
import
{
getStuList
,
getEarlyWarningEnum
,
getTypeEnum
,
}
from
'../../api/stuMan/index.js'
import
MoreQuery
from
'../../components/stuMan/moreQuery.vue'
import
StopLessonForm
from
'../../components/teacher/stopLessonForm'
import
transferclassForm
from
'../../components/sale/transferclass-form'
//转班信息
import
AddEventForm
from
'../../components/stuMan/addEvent-form.vue'
//转班信息
import
classinfoForm
from
'../../components/course/classinfo-form'
;
//班级详情
import
myOrderForm
from
'../../components/sale/myOrder-form'
;
//订单详情
import
list
from
'../../components/stuMan/makeUpHours.vue'
;
//可补课课时,缺勤次数,请假次数
import
eventLog
from
'../../components/stuMan/eventRecord.vue'
;
//事件记录
export
default
{
}
from
"../../api/stuMan/index.js"
;
import
MoreQuery
from
"../../components/stuMan/moreQuery.vue"
;
import
StopLessonForm
from
"../../components/teacher/stopLessonForm"
;
import
transferclassForm
from
"../../components/sale/transferclass-form"
;
//转班信息
import
AddEventForm
from
"../../components/stuMan/addEvent-form.vue"
;
//转班信息
import
classinfoForm
from
"../../components/course/classinfo-form"
;
//班级详情
import
myOrderForm
from
"../../components/sale/myOrder-form"
;
//订单详情
import
list
from
"../../components/stuMan/makeUpHours.vue"
;
//可补课课时,缺勤次数,请假次数
import
eventLog
from
"../../components/stuMan/eventRecord.vue"
;
//事件记录
export
default
{
meta
:
{
title
:
"学员名单"
title
:
"学员名单"
,
},
components
:
{
MoreQuery
,
...
...
@@ -388,8 +545,8 @@
School_Id
:
-
1
,
//校区
CourseId
:
0
,
//课程
ClassId
:
0
,
//班级
GuestName
:
''
,
//学生姓名
ClassNo
:
''
,
//班号
GuestName
:
""
,
//学生姓名
ClassNo
:
""
,
//班号
OrderId
:
0
,
//订单号
EnterID
:
0
,
//业务员
EffectStatus
:
""
,
//状态
...
...
@@ -399,7 +556,8 @@
EndOrderTime
:
""
,
//下单结束时间
},
pageCount
:
0
,
columns
:
[{
columns
:
[
{
name
:
"Id"
,
label
:
"编号"
,
field
:
"Id"
,
...
...
@@ -417,7 +575,7 @@
name
:
"Mobile"
,
label
:
"电话"
,
align
:
"left"
,
field
:
"Mobile"
field
:
"Mobile"
,
},
{
name
:
"ContractNo"
,
...
...
@@ -459,92 +617,92 @@
name
:
"EnterName"
,
label
:
"业务员"
,
field
:
"EnterName"
,
align
:
"left"
align
:
"left"
,
},
{
name
:
"PreferPrice"
,
label
:
"应收金额"
,
field
:
"PreferPrice"
,
align
:
"left"
align
:
"left"
,
},
{
name
:
"Income"
,
label
:
"实收金额"
,
field
:
"Income"
,
align
:
"left"
align
:
"left"
,
},
{
name
:
"Refund"
,
label
:
"退款金额"
,
field
:
"Refund"
,
align
:
"left"
align
:
"left"
,
},
{
name
:
"TotalHours"
,
label
:
"课程总课时"
,
field
:
"TotalHours"
,
align
:
"left"
align
:
"left"
,
},
{
name
:
"ValidClassHours"
,
label
:
"有效课时"
,
field
:
"ValidClassHours"
,
align
:
"left"
align
:
"left"
,
},
{
name
:
"CompleteHours"
,
label
:
"消耗课时"
,
field
:
"CompleteHours"
,
align
:
"left"
align
:
"left"
,
},
{
name
:
"SurplusHours"
,
label
:
"剩余课时"
,
field
:
"SurplusHours"
,
align
:
"left"
align
:
"left"
,
},
{
name
:
"MakeUpHours"
,
label
:
"可补课课时"
,
field
:
"MakeUpHours"
,
align
:
"left"
align
:
"left"
,
},
{
name
:
"AbsenceNum"
,
label
:
"缺勤次数"
,
field
:
"AbsenceNum"
,
align
:
"left"
align
:
"left"
,
},
{
name
:
"LeaveNum"
,
label
:
"请假次数"
,
field
:
"LeaveNum"
,
align
:
"left"
align
:
"left"
,
},
{
name
:
"EventlogNum"
,
label
:
"事件记录"
,
field
:
"EventlogNum"
,
align
:
"left"
align
:
"left"
,
},
{
name
:
"GuestStateStr"
,
label
:
"状态"
,
field
:
"GuestStateStr"
,
align
:
"left"
align
:
"left"
,
},
{
name
:
"JoinTypeStr"
,
label
:
"类型"
,
field
:
"JoinTypeStr"
,
align
:
"left"
align
:
"left"
,
},
{
name
:
'optioned'
,
label
:
'操作'
,
name
:
"optioned"
,
label
:
"操作"
,
required
:
true
,
align
:
"left"
}
align
:
"left"
,
},
],
SchoolList
:
[],
CourseList
:
[],
...
...
@@ -557,7 +715,7 @@
SchoolId
:
-
1
,
Teacher_Id
:
0
,
MoreStatus
:
"1,2,3"
,
IsQuerySurplusPlan
:
0
IsQuerySurplusPlan
:
0
,
},
typeEnum
:
[],
warnEnum
:
[],
...
...
@@ -569,12 +727,12 @@
ChangeType
:
1
,
//1-转班 2-分拆
isShowAddEvent
:
false
,
//是否显示添加事件
eventObj
:
{},
isShowClassInfo
:
false
,
//是否显示班级详情
isShowClassInfo
:
false
,
//是否显示班级详情
isShowmyorderForm
:
false
,
//是否显示订单详情
isShowList
:
false
,
//是否显示可补课课时,缺勤次数,请假次数
showType
:
1
,
isShowEventLog
:
false
,
//是否显示事件记录
}
isShowList
:
false
,
//是否显示可补课课时,缺勤次数,请假次数
showType
:
1
,
isShowEventLog
:
false
,
//是否显示事件记录
};
},
mounted
()
{
this
.
getSchool
();
...
...
@@ -587,20 +745,20 @@
methods
:
{
//获取校区下拉
getSchool
()
{
getSchoolDropdown
({}).
then
(
res
=>
{
getSchoolDropdown
({}).
then
((
res
)
=>
{
if
(
res
.
Code
==
1
)
{
this
.
SchoolList
=
res
.
Data
;
var
obj
=
{
SName
:
'不限'
,
SId
:
-
1
}
SName
:
"不限"
,
SId
:
-
1
,
};
this
.
SchoolList
.
unshift
(
obj
);
}
})
});
},
//获取课程
getCourseList
()
{
queryCourseDropdownList
({}).
then
(
res
=>
{
queryCourseDropdownList
({}).
then
((
res
)
=>
{
if
(
res
.
Code
==
1
)
{
var
tempArray
=
res
.
Data
;
if
(
!
tempArray
)
{
...
...
@@ -608,36 +766,38 @@
}
tempArray
.
unshift
({
CourseId
:
0
,
CourseName
:
"不限"
})
CourseName
:
"不限"
,
});
this
.
CourseList
=
tempArray
;
this
.
AllCourseList
=
tempArray
;
}
})
});
},
// 筛选课程
filterCourse
(
val
,
update
)
{
update
(()
=>
{
if
(
val
===
''
)
{
this
.
CourseList
=
JSON
.
parse
(
JSON
.
stringify
(
this
.
AllCourseList
))
if
(
val
===
""
)
{
this
.
CourseList
=
JSON
.
parse
(
JSON
.
stringify
(
this
.
AllCourseList
));
}
else
{
const
needle
=
val
.
toLowerCase
();
this
.
CourseList
=
this
.
AllCourseList
.
filter
(
v
=>
v
.
CourseName
.
toLowerCase
().
indexOf
(
needle
)
>
-
1
);
this
.
CourseList
=
this
.
AllCourseList
.
filter
(
(
v
)
=>
v
.
CourseName
.
toLowerCase
().
indexOf
(
needle
)
>
-
1
);
}
})
});
},
//获取班级
getClass
()
{
getClassDropDownList
(
this
.
queryClass
).
then
(
res
=>
{
getClassDropDownList
(
this
.
queryClass
).
then
((
res
)
=>
{
this
.
classList
=
[];
this
.
msg
.
ClassId
=
0
this
.
msg
.
ClassId
=
0
;
if
(
res
.
Code
==
1
)
{
this
.
classList
=
res
.
Data
;
this
.
AllClassList
=
res
.
Data
;
var
obj
=
{
ClassName
:
'不限'
,
ClassId
:
0
}
ClassName
:
"不限"
,
ClassId
:
0
,
};
this
.
classList
.
unshift
(
obj
);
}
});
...
...
@@ -645,54 +805,58 @@
//筛选班级
filterClass
(
val
,
update
)
{
update
(()
=>
{
if
(
val
===
''
)
{
this
.
classList
=
JSON
.
parse
(
JSON
.
stringify
(
this
.
AllClassList
))
if
(
val
===
""
)
{
this
.
classList
=
JSON
.
parse
(
JSON
.
stringify
(
this
.
AllClassList
));
}
else
{
const
needle
=
val
.
toLowerCase
();
this
.
classList
=
this
.
AllClassList
.
filter
(
v
=>
v
.
ClassName
.
toLowerCase
().
indexOf
(
needle
)
>
-
1
);
this
.
classList
=
this
.
AllClassList
.
filter
(
(
v
)
=>
v
.
ClassName
.
toLowerCase
().
indexOf
(
needle
)
>
-
1
);
}
})
});
},
changeSchool
(
val
)
{
this
.
queryClass
.
SchoolId
=
val
this
.
queryClass
.
SchoolId
=
val
;
this
.
getClass
();
this
.
resetSearch
();
},
changeCourse
(
val
)
{
this
.
queryClass
.
CourseId
=
val
this
.
queryClass
.
CourseId
=
val
;
this
.
getClass
();
this
.
resetSearch
();
},
getList
()
{
this
.
loading
=
true
;
getStuList
(
this
.
msg
).
then
(
res
=>
{
this
.
loading
=
false
getStuList
(
this
.
msg
)
.
then
((
res
)
=>
{
this
.
loading
=
false
;
if
(
res
.
Code
===
1
)
{
this
.
data
=
res
.
Data
.
PageData
this
.
pageCount
=
res
.
Data
.
PageCount
this
.
data
=
res
.
Data
.
PageData
;
this
.
pageCount
=
res
.
Data
.
PageCount
;
}
}).
catch
(
err
=>
{
this
.
loading
=
false
;
})
.
catch
((
err
)
=>
{
this
.
loading
=
false
;
});
},
//显示停课弹窗
ShowStopLesson
(
item
)
{
this
.
isShowStopLesson
=
true
;
this
.
stuObj
=
item
this
.
stuObj
=
item
;
},
// 高级查询
morequery
(
val
)
{
this
.
IsShowQuery
=
false
this
.
queryNum
=
val
.
chooseNum
this
.
msg
.
ClassNo
=
val
.
ClassNo
this
.
msg
.
OrderId
=
val
.
OrderId
this
.
msg
.
EnterID
=
val
.
EnterID
this
.
msg
.
EffectStatus
=
val
.
EffectStatus
this
.
msg
.
JoinType
=
val
.
JoinType
this
.
msg
.
EarlyWarning
=
val
.
EarlyWarning
this
.
msg
.
OrderTime
=
val
.
OrderTime
this
.
msg
.
EndOrderTime
=
val
.
EndOrderTime
this
.
IsShowQuery
=
false
;
this
.
queryNum
=
val
.
chooseNum
;
this
.
msg
.
ClassNo
=
val
.
ClassNo
;
this
.
msg
.
OrderId
=
val
.
OrderId
;
this
.
msg
.
EnterID
=
val
.
EnterID
;
this
.
msg
.
EffectStatus
=
val
.
EffectStatus
;
this
.
msg
.
JoinType
=
val
.
JoinType
;
this
.
msg
.
EarlyWarning
=
val
.
EarlyWarning
;
this
.
msg
.
OrderTime
=
val
.
OrderTime
;
this
.
msg
.
EndOrderTime
=
val
.
EndOrderTime
;
this
.
resetSearch
();
},
//重新查询
...
...
@@ -703,7 +867,7 @@
//翻页
changePage
(
val
)
{
this
.
msg
.
pageIndex
=
val
;
this
.
getList
()
this
.
getList
();
},
//关闭弹窗
closeHandle
()
{
...
...
@@ -711,11 +875,11 @@
this
.
isShowStopLesson
=
false
;
this
.
isShowTransferClass
=
false
;
this
.
isShowAddEvent
=
false
;
this
.
isShowClassInfo
=
false
;
this
.
isShowmyorderForm
=
false
;
this
.
isShowList
=
false
;
this
.
isShowEventLog
=
false
;
this
.
isShowEventLog
=
false
;
this
.
isShowClassInfo
=
false
;
this
.
isShowmyorderForm
=
false
;
this
.
isShowList
=
false
;
this
.
isShowEventLog
=
false
;
this
.
isShowEventLog
=
false
;
},
//刷新页面
refreshPage
()
{
...
...
@@ -727,16 +891,16 @@
this
.
$router
.
push
({
path
:
url
,
query
:
{
Id
:
item
.
Id
}
})
Id
:
item
.
Id
,
},
});
}
else
{
this
.
$router
.
push
({
path
:
url
,
query
:
{
Id
:
0
}
})
Id
:
0
,
},
});
}
},
goUrl1
(
url
,
item
)
{
...
...
@@ -744,27 +908,27 @@
path
:
url
,
query
:
{
Id
:
item
.
Id
,
name
:
item
.
ActivityName
}
})
name
:
item
.
ActivityName
,
},
});
},
getTypeEnum
()
{
getTypeEnum
({}).
then
(
res
=>
{
getTypeEnum
({}).
then
((
res
)
=>
{
if
(
res
.
Code
===
1
)
{
res
.
Data
.
unshift
({
Name
:
"不限"
,
Id
:
0
})
this
.
typeEnum
=
res
.
Data
Id
:
0
,
});
this
.
typeEnum
=
res
.
Data
;
}
})
});
},
getEarlyWarningEnum
()
{
getEarlyWarningEnum
({}).
then
(
res
=>
{
getEarlyWarningEnum
({}).
then
((
res
)
=>
{
if
(
res
.
Code
===
1
)
{
this
.
warnEnum
=
res
.
Data
this
.
warnEnum
=
res
.
Data
;
}
})
});
},
//转班
transferClass
(
item
,
type
)
{
...
...
@@ -774,55 +938,55 @@
},
//显示添加事件
showAddEvent
(
item
)
{
let
newitem
=
JSON
.
parse
(
JSON
.
stringify
(
item
))
newitem
.
Id
=
0
this
.
eventObj
=
newitem
let
newitem
=
JSON
.
parse
(
JSON
.
stringify
(
item
));
// Id和修改的Id冲突 自定义学生id=STUID
newitem
.
STUID
=
newitem
.
Id
;
newitem
.
Id
=
0
;
this
.
eventObj
=
newitem
;
this
.
isShowAddEvent
=
true
;
},
//查看合同
seeContract
(
item
)
{
this
.
OpenNewUrl
(
"/contractView"
,{
ContractId
:
item
.
ContractId
})
seeContract
(
item
)
{
this
.
OpenNewUrl
(
"/contractView"
,
{
ContractId
:
item
.
ContractId
});
},
//查看课时消耗
seeStudentsClassUse
(
item
)
{
let
obj
=
{
StudentId
:
item
.
Id
,
TeacherId
:
item
.
Teacher_Id
,
ClassId
:
item
.
ClassId
}
this
.
OpenNewUrl
(
"/teacher/studentsClassSee"
,
obj
)
seeStudentsClassUse
(
item
)
{
let
obj
=
{
StudentId
:
item
.
Id
,
TeacherId
:
item
.
Teacher_Id
,
ClassId
:
item
.
ClassId
,
};
this
.
OpenNewUrl
(
"/teacher/studentsClassSee"
,
obj
);
},
//查看班级详情
seeClassDetail
(
item
)
{
this
.
eventObj
=
item
this
.
isShowClassInfo
=
true
seeClassDetail
(
item
)
{
this
.
eventObj
=
item
;
this
.
isShowClassInfo
=
true
;
},
//查看订单详情
showOrderDetail
(
item
,
tab
)
{
item
.
tab
=
tab
this
.
eventObj
=
item
this
.
isShowmyorderForm
=
true
showOrderDetail
(
item
,
tab
)
{
item
.
tab
=
tab
;
this
.
eventObj
=
item
;
this
.
isShowmyorderForm
=
true
;
},
showList
(
item
,
type
)
{
this
.
eventObj
=
item
this
.
showType
=
type
this
.
isShowList
=
true
showList
(
item
,
type
)
{
this
.
eventObj
=
item
;
this
.
showType
=
type
;
this
.
isShowList
=
true
;
},
showEventLog
(
item
)
{
this
.
eventObj
=
item
this
.
isShowEventLog
=
true
showEventLog
(
item
)
{
this
.
eventObj
=
item
;
this
.
isShowEventLog
=
true
;
},
// 修改事件
modifyEvent
(
val
)
{
modifyEvent
(
val
)
{
this
.
closeHandle
();
this
.
eventObj
=
val
this
.
isShowAddEvent
=
true
}
}
}
this
.
eventObj
=
val
;
this
.
isShowAddEvent
=
true
;
},
},
};
</
script
>
<
style
lang=
"sass"
>
@import
url('~assets/css/table.sass')
@import
url('~assets/css/table.sass')
</
style
>
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