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
155e0ae8
Commit
155e0ae8
authored
Dec 10, 2021
by
zhengke
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
c85a2d12
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
98 additions
and
34 deletions
+98
-34
student-genjin.vue
src/components/school/student/student-genjin.vue
+12
-2
student-visit.vue
src/components/school/student/student-visit.vue
+27
-14
student-yuefang.vue
src/components/school/student/student-yuefang.vue
+42
-17
studentRight-form.vue
src/components/school/student/studentRight-form.vue
+17
-1
No files found.
src/components/school/student/student-genjin.vue
View file @
155e0ae8
...
...
@@ -52,7 +52,10 @@
UeEditor
},
props
:
{
saveObj
:
{
type
:
Object
,
default
:
null
}
},
data
()
{
return
{
...
...
@@ -66,12 +69,19 @@
},
msg
:
{
pageIndex
:
1
,
pageSize
:
12
pageSize
:
12
,
StuId
:
0
},
dataList
:[],
page_Count
:
0
}
},
created
()
{
if
(
this
.
saveObj
&&
this
.
saveObj
.
StuId
)
{
this
.
msg
.
StuId
=
this
.
saveObj
.
StuId
;
}
},
mounted
()
{
this
.
getList
();
},
...
...
src/components/school/student/student-visit.vue
View file @
155e0ae8
...
...
@@ -53,27 +53,39 @@
<q-timeline-entry
v-for=
"(tItem,tIndex) in dataList"
:key=
"tIndex"
>
<
template
v-slot:title
>
<div
class=
"visit_Cont"
>
<div>
到访校区:
{{
tItem
.
SchoolName
}}
</div>
<div>
接待人:
{{
tItem
.
ReceptionPersionName
}}
</div>
<div>
备注:
{{
tItem
.
Remark
}}
</div>
<div>
反馈:
{{
tItem
.
Feedback
}}
<q-btn
flat
size=
"xs"
icon=
"edit"
color=
"accent"
style=
"font-weight:400;"
:label=
"tItem.Feedback==''?'添加反馈':'编辑反馈'"
@
click=
"clickItem(tItem)"
>
<div
class=
"Log_Content"
>
<div>
到访校区:
{{
tItem
.
SchoolName
}}
</div>
<div>
<span
style=
"display:inline-block;width:71px;text-align:right;"
>
接待人:
</span>
{{
tItem
.
ReceptionPersionName
}}
</div>
<div
class=
"StuCom_Remark"
>
<div
class=
"StuCom_Left"
>
备注:
</div>
<div
class=
"StuCom_Inner"
>
{{
tItem
.
Remark
}}
</div>
</div>
<div
class=
"StuCom_Remark"
>
<div
class=
"StuCom_Left"
>
反馈:
</div>
<div
class=
"StuCom_Inner"
>
{{
tItem
.
Feedback
}}
</div>
</div>
</div>
<div
style=
"display:flex;margin-top:10px;"
>
<div
@
click=
"delVisit(tItem.Id)"
class=
"visit_delete text-negative"
>
删除
</div>
<div
@
click=
"clickItem(tItem)"
class=
"stu_ComFeed"
>
{{
tItem
.
Feedback
==
null
||
tItem
.
Feedback
==
''
?
'添加反馈'
:
'编辑反馈'
}}
<q-popup-proxy>
<q-banner
v-if=
"isShowEdit"
>
<div
class=
"row wrap"
>
<div
class=
"row wrap"
style=
"margin-top:10px;width:300px;"
>
<q-input
filled
v-model=
"feedBackMsg.Feedback"
:rows=
"3"
type=
"textarea"
class=
"col-12 q-pb-lg"
label=
"反馈"
>
</q-input>
</div>
<div
class=
"row wrap"
style=
"margin-bottom:10px;"
>
<q-btn
label=
"保存"
color=
"accent
q-mb-lg"
size=
"md
"
@
click=
"SetFeedBack()"
/>
<div
class=
"row wrap"
style=
"
float:right;
margin-bottom:10px;"
>
<q-btn
label=
"保存"
color=
"accent
"
size=
"sm
"
@
click=
"SetFeedBack()"
/>
</div>
</q-banner>
</q-popup-proxy>
</
q-btn
>
</
div
>
</div>
<div
@
click=
"delVisit(tItem.Id)"
class=
"visit_delete"
>
删除
</div>
</div>
</
template
>
<
template
v-slot:subtitle
>
...
...
@@ -86,7 +98,7 @@
</q-timeline>
</div>
</div>
<div
style=
"margin
:20px 0
;"
>
<div
style=
"margin
-bottom:20px
;"
>
<q-pagination
class=
"full-width justify-end"
v-model=
"msg.pageIndex"
color=
"primary"
:max=
"page_Count"
input
@
input=
"changePage"
/>
</div>
...
...
@@ -163,7 +175,7 @@
//点击到访
clickItem
(
item
)
{
this
.
feedBackMsg
.
Id
=
item
.
Id
;
this
.
feedBackMsg
.
Feedback
=
item
.
Feedback
;
this
.
feedBackMsg
.
Feedback
=
item
.
Feedback
;
this
.
isShowEdit
=
true
;
},
SetFeedBack
()
{
...
...
@@ -284,4 +296,5 @@
}
},
}
</
script
>
\ No newline at end of file
</
script
>
src/components/school/student/student-yuefang.vue
View file @
155e0ae8
...
...
@@ -11,11 +11,26 @@
<template
v-if=
"isShowAdd"
>
<div
class=
"row wrap"
>
<q-input
filled
class=
"col-6 q-pb-lg q-pr-lg"
v-model=
"yueMsg.AppointmentPoint"
label=
"约访地点"
></q-input>
<q-input
filled
class=
"col-6 q-pb-lg"
v-model=
"yueMsg.AppointmentTime"
mask=
"date"
label=
"约访时间
"
>
<template
v-slot:
ap
pend
>
<q-input
filled
v-model=
"yueMsg.AppointmentTime
"
>
<template
v-slot:
pre
pend
>
<q-icon
name=
"event"
class=
"cursor-pointer"
>
<q-popup-proxy
ref=
"qDateProxy1"
transition-show=
"scale"
transition-hide=
"scale"
>
<q-date
v-model=
"yueMsg.AppointmentTime"
@
input=
"() => $refs.qDateProxy1.hide()"
/>
<q-popup-proxy
transition-show=
"scale"
transition-hide=
"scale"
>
<q-date
v-model=
"yueMsg.AppointmentTime"
mask=
"YYYY-MM-DD HH:mm"
>
<div
class=
"row items-center justify-end"
>
<q-btn
v-close-popup
label=
"Close"
color=
"primary"
flat
/>
</div>
</q-date>
</q-popup-proxy>
</q-icon>
</
template
>
<
template
v-slot:append
>
<q-icon
name=
"access_time"
class=
"cursor-pointer"
>
<q-popup-proxy
transition-show=
"scale"
transition-hide=
"scale"
>
<q-time
v-model=
"yueMsg.AppointmentTime"
mask=
"YYYY-MM-DD HH:mm"
format24h
>
<div
class=
"row items-center justify-end"
>
<q-btn
v-close-popup
label=
"Close"
color=
"primary"
flat
/>
</div>
</q-time>
</q-popup-proxy>
</q-icon>
</
template
>
...
...
@@ -35,27 +50,36 @@
<q-timeline-entry
v-for=
"(tItem,tIndex) in dataList"
:key=
"tIndex"
>
<
template
v-slot:title
>
<div
class=
"visit_Cont"
>
<div>
约访时间:
{{
tItem
.
AppointmentTime
}}
</div>
<div>
约访地点:
{{
tItem
.
AppointmentPoint
}}
</div>
<div>
备注:
{{
tItem
.
Remark
}}
</div>
<div>
反馈:
{{
tItem
.
Feedback
}}
<q-btn
flat
size=
"xs"
icon=
"edit"
color=
"accent"
style=
"font-weight:400;"
:label=
"tItem.Feedback==''?'添加反馈':'编辑反馈'"
@
click=
"clickItem(tItem)"
>
<div
class=
"Log_Content"
>
<div>
约访时间:
{{
tItem
.
AppointmentTime
}}
</div>
<div>
约访地点:
{{
tItem
.
AppointmentPoint
}}
</div>
<div
class=
"StuCom_Remark"
>
<div
class=
"StuCom_Left"
>
备注:
</div>
<div
class=
"StuCom_Inner"
>
{{
tItem
.
Remark
}}
</div>
</div>
<div
class=
"StuCom_Remark"
>
<div
class=
"StuCom_Left"
>
反馈:
</div>
<div
class=
"StuCom_Inner"
>
{{
tItem
.
Feedback
}}
</div>
</div>
</div>
<div
style=
"display:flex;margin-top:10px;"
>
<div
@
click=
"delVisit(tItem.Id)"
class=
"visit_delete text-negative"
>
删除
</div>
<div
@
click=
"clickItem(tItem)"
class=
"stu_ComFeed"
>
{{
tItem
.
Feedback
==
null
||
tItem
.
Feedback
==
''
?
'添加反馈'
:
'编辑反馈'
}}
<q-popup-proxy>
<q-banner
v-if=
"isShowEdit"
>
<div
class=
"row wrap"
>
<div
class=
"row wrap"
style=
"margin-top:10px;width:300px;"
>
<q-input
filled
v-model=
"feedBackMsg.Feedback"
:rows=
"3"
type=
"textarea"
class=
"col-12 q-pb-lg"
label=
"反馈"
>
</q-input>
</div>
<div
class=
"row wrap"
style=
"margin-bottom:10px;"
>
<q-btn
label=
"保存"
color=
"accent
q-mb-lg"
size=
"md
"
@
click=
"SetFeedBack()"
/>
<div
class=
"row wrap"
style=
"
float:right;
margin-bottom:10px;"
>
<q-btn
label=
"保存"
color=
"accent
"
size=
"sm
"
@
click=
"SetFeedBack()"
/>
</div>
</q-banner>
</q-popup-proxy>
</
q-btn
>
</
div
>
</div>
<div
@
click=
"delVisit(tItem.Id)"
class=
"visit_delete"
>
删除
</div>
</div>
</
template
>
<
template
v-slot:subtitle
>
...
...
@@ -68,7 +92,7 @@
</q-timeline>
</div>
</div>
<div
style=
"margin
:20px 0;
"
>
<div
style=
"margin
-bottom:20px
"
>
<q-pagination
class=
"full-width justify-end"
v-model=
"msg.pageIndex"
color=
"primary"
:max=
"page_Count"
input
@
input=
"changePage"
/>
</div>
...
...
@@ -223,4 +247,5 @@
}
}
}
</
script
>
\ No newline at end of file
</
script
>
src/components/school/student/studentRight-form.vue
View file @
155e0ae8
...
...
@@ -405,9 +405,9 @@
font-size
:
14px
;
}
.visit_delete
{
color
:
#3470ff
;
font-size
:
14px
;
cursor
:
pointer
;
width
:
30px
;
}
.operate_Content
{
overflow
:
auto
;
...
...
@@ -435,4 +435,20 @@
line-height
:
2
;
margin-top
:
10px
;
}
.stu_ComFeed
{
color
:
#3470ff
;
cursor
:
pointer
;
margin-left
:
20px
;
}
.StuCom_Remark
{
display
:
flex
;
}
.StuCom_Inner
{
width
:
100%
;
}
.StuCom_Left
{
flex-shrink
:
0
;
width
:
71px
;
text-align
:
right
;
}
</
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