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
0e1aaa13
Commit
0e1aaa13
authored
Dec 29, 2021
by
zhengke
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
9fcf748f
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
104 additions
and
4 deletions
+104
-4
schedul-visit.vue
src/components/schedul/schedul-visit.vue
+17
-3
student-audition.vue
src/components/school/student/student-audition.vue
+86
-0
student-shiting.vue
src/components/school/student/student-shiting.vue
+1
-1
No files found.
src/components/schedul/schedul-visit.vue
View file @
0e1aaa13
...
@@ -203,7 +203,7 @@
...
@@ -203,7 +203,7 @@
class=
"sticky-right-column-table sticky-column-table"
separator=
"none"
>
class=
"sticky-right-column-table sticky-column-table"
separator=
"none"
>
<
template
v-slot:body-cell-StuName=
"props"
>
<
template
v-slot:body-cell-StuName=
"props"
>
<q-td
:props=
"props"
>
<q-td
:props=
"props"
>
<div
class=
"text-blue cursor-pointer"
@
click=
"getStu
Right
(props.row)"
>
<div
class=
"text-blue cursor-pointer"
@
click=
"getStu
Audition
(props.row)"
>
{{
props
.
value
}}
{{
props
.
value
}}
</div>
</div>
</q-td>
</q-td>
...
@@ -287,10 +287,13 @@
...
@@ -287,10 +287,13 @@
</q-dialog>
</q-dialog>
<studentRight-form
v-if=
"isShowStuRight"
:save-obj=
"stuOption"
@
close=
"closeStuForm"
@
success=
"refreshStuList"
>
<studentRight-form
v-if=
"isShowStuRight"
:save-obj=
"stuOption"
@
close=
"closeStuForm"
@
success=
"refreshStuList"
>
</studentRight-form>
</studentRight-form>
<student-audition
v-if=
"isShowStuAudition"
:save-obj=
"stuOption"
@
close=
"closeStuForm"
@
success=
"refreshStuList"
>
</student-audition>
</div>
</div>
</template>
</template>
<
script
>
<
script
>
import
studentRightForm
from
"../school/student/studentRight-form"
;
import
studentRightForm
from
"../school/student/studentRight-form"
;
import
studentAudition
from
"../school/student/student-audition"
import
{
import
{
getTodayVisitList
getTodayVisitList
}
from
"../../api/stuMan/index"
;
}
from
"../../api/stuMan/index"
;
...
@@ -328,7 +331,8 @@
...
@@ -328,7 +331,8 @@
components
:
{
components
:
{
schedulFanke
,
schedulFanke
,
studentAddForm
,
studentAddForm
,
studentRightForm
studentRightForm
,
studentAudition
},
},
computed
:
{
computed
:
{
...
mapGetters
([
"userInfo"
])
...
mapGetters
([
"userInfo"
])
...
@@ -336,6 +340,7 @@
...
@@ -336,6 +340,7 @@
data
()
{
data
()
{
return
{
return
{
isShowStuRight
:
false
,
isShowStuRight
:
false
,
isShowStuAudition
:
false
,
isShowModelInfo
:
true
,
isShowModelInfo
:
true
,
visitModel
:
null
,
visitModel
:
null
,
tabCheck
:
"first"
,
tabCheck
:
"first"
,
...
@@ -675,7 +680,15 @@
...
@@ -675,7 +680,15 @@
}
}
this
.
isShowStuRight
=
true
;
this
.
isShowStuRight
=
true
;
},
},
//点击预约到访的姓名
getStuAudition
(
obj
){
if
(
obj
)
{
this
.
stuOption
=
obj
;
}
else
{
this
.
stuOption
=
null
;
}
this
.
isShowStuAudition
=
true
;
},
addFinishHandler
(
m
,
t
)
{
addFinishHandler
(
m
,
t
)
{
console
.
log
(
m
,
t
);
console
.
log
(
m
,
t
);
if
(
m
&&
m
.
StuId
)
{
if
(
m
&&
m
.
StuId
)
{
...
@@ -772,6 +785,7 @@
...
@@ -772,6 +785,7 @@
},
},
closeStuForm
(){
closeStuForm
(){
this
.
isShowStuRight
=
false
;
this
.
isShowStuRight
=
false
;
this
.
isShowStuAudition
=
false
;
},
},
//获取访客列表
//获取访客列表
getVisitoryPage
()
{
getVisitoryPage
()
{
...
...
src/components/school/student/student-audition.vue
0 → 100644
View file @
0e1aaa13
<
style
>
.stuAudition
{
width
:
586px
!important
;
display
:
flex
;
flex-direction
:
column
;
height
:
100
vh
;
padding
:
15px
17px
0
17px
;
background-color
:
#f4f4f6
;
}
.stuaudition_Bottom
{
margin-top
:
17px
;
flex
:
1
;
display
:
flex
;
overflow
:
auto
;
}
.stuaudition_Bottom
::-webkit-scrollbar
{
width
:
6px
;
height
:
8px
;
}
.stuaudition_Bottom
::-webkit-scrollbar-track
{
border-radius
:
4px
;
-webkit-box-shadow
:
inset
0
0
2px
rgba
(
0
,
0
,
0
,
0.2
);
background
:
#c9c9c9
;
}
.stuaudition_Bottom
::-webkit-scrollbar-thumb
{
-webkit-box-shadow
:
inset
0
0
2px
rgba
(
0
,
0
,
0
,
0.2
);
border-radius
:
4px
;
background
:
#EDEDED
;
}
</
style
>
<
template
>
<q-dialog
v-model=
"persistent"
full-height
maximized
position=
"right"
persistent
@
hide=
"closeCutomer"
transition-show=
"slide-left"
>
<div
class=
"stuAudition"
>
<div
class=
"stuaudition_Bottom"
>
<student-shiting
:save-obj=
"baseObj"
@
success=
"refreshStudentPage"
></student-shiting>
</div>
<div
class=
"dialog-out-close"
@
click=
"closeCutomer"
>
<i
class=
"iconfont icon-close"
style=
"font-size:26px;"
/>
</div>
</div>
</q-dialog>
</
template
>
<
script
>
import
studentShiting
from
'../student/student-shiting'
;
export
default
{
meta
:
{
title
:
"试听"
},
components
:
{
studentShiting
},
props
:
{
saveObj
:
{
type
:
Object
,
default
:
null
}
},
data
()
{
return
{
persistent
:
true
,
baseObj
:
{},
}
},
created
()
{},
mounted
()
{
this
.
baseObj
=
this
.
saveObj
;
},
methods
:
{
closeCutomer
()
{
this
.
$emit
(
'close'
)
},
//刷新列表
refreshStudentPage
()
{
this
.
$emit
(
'success'
);
}
}
}
</
script
>
<
style
>
</
style
>
src/components/school/student/student-shiting.vue
View file @
0e1aaa13
...
@@ -18,7 +18,7 @@
...
@@ -18,7 +18,7 @@
<q-field
filled
class=
"q-pb-lg q-pr-lg"
dense
>
<q-field
filled
class=
"q-pb-lg q-pr-lg"
dense
>
<template
v-slot:control
>
<template
v-slot:control
>
<el-date-picker
v-model=
"addMsg.ClassDate"
ref=
"ClassDate"
:rules=
"[val => !!val || '请选择预约日期']"
<el-date-picker
v-model=
"addMsg.ClassDate"
ref=
"ClassDate"
:rules=
"[val => !!val || '请选择预约日期']"
style=
"width:22
8
px"
size=
"mini"
type=
"date"
placeholder=
"预约日期"
>
style=
"width:22
5
px"
size=
"mini"
type=
"date"
placeholder=
"预约日期"
>
</el-date-picker>
</el-date-picker>
</
template
>
</
template
>
</q-field>
</q-field>
...
...
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