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
a37da23f
Commit
a37da23f
authored
Dec 10, 2021
by
黄奎
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
页面修改
parent
34a594d9
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
35 additions
and
8 deletions
+35
-8
student-shiting.vue
src/components/school/student/student-shiting.vue
+34
-7
stulist.vue
src/components/school/student/stulist.vue
+1
-1
No files found.
src/components/school/student/student-shiting.vue
View file @
a37da23f
...
@@ -63,13 +63,43 @@
...
@@ -63,13 +63,43 @@
<q-btn
label=
"新增"
color=
"accent q-mb-lg"
size=
"md"
@
click=
"saveAppointForm()"
/>
<q-btn
label=
"新增"
color=
"accent q-mb-lg"
size=
"md"
@
click=
"saveAppointForm()"
/>
</div>
</div>
</template>
</template>
<div
style=
"display:flex;flex:1;flex-direction: column;overflow:hidden;"
>
<div
class=
"TimeLineDiv"
>
<q-timeline
color=
"primary"
>
<q-timeline-entry
v-for=
"(tItem,tIndex) in dataList"
:key=
"tIndex"
>
<
template
v-slot:title
>
<div
class=
"visit_Cont"
>
<div>
预约时间
{{
tItem
.
ClassDateStr
}}
{{
tItem
.
ClassTime
}}
-
{{
tItem
.
EndTime
}}
</div>
<div>
主讲内容:
{{
tItem
.
ClassContent
}}
</div>
<div>
主讲老师:
{{
tItem
.
TeacherName
}}
</div>
<div>
教室:
{{
tItem
.
RoomName
}}
</div>
<div
@
click=
"delFollow(tItem.Id)"
class=
"visit_delete"
>
删除
</div>
</div>
</
template
>
<
template
v-slot:subtitle
>
<div
class=
"Time_TopList"
>
<div>
{{
tItem
.
CreateTimeStr2
}}
</div>
<div>
{{
tItem
.
CreateByName
}}
</div>
</div>
</
template
>
</q-timeline-entry>
</q-timeline>
</div>
</div>
<div
style=
"margin:20px 0;"
>
<q-pagination
class=
"full-width justify-end"
v-model=
"qMsg.pageIndex"
color=
"primary"
:max=
"page_Count"
input
@
input=
"changePage"
/>
</div>
<audition-form
v-if=
"isShowTeacher"
@
close=
"closeAuditForm"
@
getchildInfo=
"getchildInfo"
></audition-form>
<audition-form
v-if=
"isShowTeacher"
@
close=
"closeAuditForm"
@
getchildInfo=
"getchildInfo"
></audition-form>
</div>
</div>
</template>
</template>
<
script
>
<
script
>
import
{
import
{
SetVisitorReserve
SetVisitorReserve
,
queryVisitorReservePage
,
RemoveVisitorReserve
}
from
"../../../api/scheduling/schedu"
;
}
from
"../../../api/scheduling/schedu"
;
import
{
import
{
getTeacherDropDownList
,
getTeacherDropDownList
,
queryClassRoomList
queryClassRoomList
...
@@ -143,7 +173,6 @@
...
@@ -143,7 +173,6 @@
methods
:
{
methods
:
{
//保存
//保存
saveAppointForm
()
{
saveAppointForm
()
{
this
.
$refs
.
ClassDate
.
validate
();
this
.
$refs
.
ClassDate
.
validate
();
this
.
$refs
.
ClassContent
.
validate
();
this
.
$refs
.
ClassContent
.
validate
();
if
(
this
.
addMsg
.
ClassTime
==
''
)
{
if
(
this
.
addMsg
.
ClassTime
==
''
)
{
...
@@ -174,7 +203,7 @@
...
@@ -174,7 +203,7 @@
message
:
res
.
Message
,
message
:
res
.
Message
,
position
:
'top'
position
:
'top'
})
})
this
.
$emit
(
'success'
);
this
.
getList
(
);
}
else
{
}
else
{
this
.
$q
.
notify
({
this
.
$q
.
notify
({
type
:
'negative'
,
type
:
'negative'
,
...
@@ -190,13 +219,11 @@
...
@@ -190,13 +219,11 @@
},
},
//获取试听列表
//获取试听列表
getList
()
{
getList
()
{
query
StudentFollow
Page
(
this
.
qMsg
).
then
(
res
=>
{
query
VisitorReserve
Page
(
this
.
qMsg
).
then
(
res
=>
{
if
(
res
.
Code
==
1
)
{
if
(
res
.
Code
==
1
)
{
this
.
dataList
=
res
.
Data
.
PageData
;
this
.
dataList
=
res
.
Data
.
PageData
;
this
.
page_Count
=
res
.
Data
.
PageCount
;
this
.
page_Count
=
res
.
Data
.
PageCount
;
}
}
}).
catch
(()
=>
{
})
})
},
},
//清除
//清除
...
@@ -211,7 +238,7 @@
...
@@ -211,7 +238,7 @@
this
.
addMsg
.
ClassContent
=
''
;
this
.
addMsg
.
ClassContent
=
''
;
},
},
changePage
(
val
)
{
changePage
(
val
)
{
this
.
m
sg
.
pageIndex
=
val
;
this
.
qM
sg
.
pageIndex
=
val
;
this
.
getList
();
this
.
getList
();
},
},
//删除试听
//删除试听
...
...
src/components/school/student/stulist.vue
View file @
a37da23f
...
@@ -227,7 +227,7 @@
...
@@ -227,7 +227,7 @@
obj
.
Status
=
obj
.
Status
==
1
?
0
:
1
;
obj
.
Status
=
obj
.
Status
==
1
?
0
:
1
;
});
});
},
},
refresh
Stu
()
{
refresh
Page
()
{
this
.
$emit
(
'success'
);
this
.
$emit
(
'success'
);
},
},
EditStudent
(
obj
)
{
EditStudent
(
obj
)
{
...
...
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