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
959d78e6
Commit
959d78e6
authored
Dec 09, 2021
by
zhengke
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
9aac4bfd
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
110 additions
and
39 deletions
+110
-39
studentRight-form.vue
src/components/school/student/studentRight-form.vue
+110
-39
No files found.
src/components/school/student/studentRight-form.vue
View file @
959d78e6
...
...
@@ -101,9 +101,11 @@
</div>
<div
class=
"detail-travel"
>
<div
class=
"detail_first"
>
<q-tabs
v-model=
"ckedTab"
dense
align=
"left"
class=
"text-teal"
style=
"width:
2
00px;"
>
<q-tab
name=
"1"
label=
"
操作
记录"
/>
<q-tabs
v-model=
"ckedTab"
dense
align=
"left"
class=
"text-teal"
style=
"width:
3
00px;"
>
<q-tab
name=
"1"
label=
"记录"
/>
<q-tab
name=
"2"
label=
"操作"
/>
<q-tab
name=
"3"
label=
"订单"
/>
<q-tab
name=
"4"
label=
"合同"
/>
</q-tabs>
<div
style=
"flex:1;overflow:hidden;"
>
<div
class=
"detail_Main"
>
...
...
@@ -150,48 +152,81 @@
</template>
<
template
v-else
>
<template
v-if=
"secondType==1"
>
<div
class=
"row wrap"
style=
"margin-top:20px;"
>
<q-input
filled
class=
"col-6 q-pb-lg"
label=
"校区"
></q-input>
</div>
<div
class=
"row wrap"
>
<q-input
filled
class=
"col-6 q-pb-lg"
mask=
"date"
label=
"日期"
>
<template
v-slot:append
>
<q-icon
name=
"event"
class=
"cursor-pointer"
>
<q-popup-proxy
ref=
"qDateProxy1"
transition-show=
"scale"
transition-hide=
"scale"
>
<q-date
@
input=
"() => $refs.qDateProxy1.hide()"
/>
</q-popup-proxy>
</q-icon>
</
template
>
</q-input>
</div>
<div
class=
"row warp"
>
<q-input
filled
mask=
"time"
:rules=
"['time']"
class=
"col-6 q-pb-lg"
>
<
template
v-slot:append
>
<q-icon
name=
"access_time"
class=
"cursor-pointer"
>
<q-popup-proxy
transition-show=
"scale"
transition-hide=
"scale"
>
<q-time>
<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
>
</q-input>
</div>
<div
class=
"row wrap"
>
<q-input
filled
class=
"col-6 q-pb-lg"
label=
"接待人"
></q-input>
</div>
<div
class=
"row wrap"
>
<q-input
filled
type=
"textarea"
class=
"col-6 q-pb-lg"
label=
"备注"
></q-input>
<div
style=
"overflow:auto;margin-top:30px;"
>
<div
class=
"row wrap"
>
<q-select
filled
option-value=
"SId"
class=
"col-6 q-pb-lg"
option-label=
"SName"
v-model=
"VisitMsg.School_Id"
:options=
"schoolList"
emit-value
map-options
label=
"到访校区"
/>
</div>
<div
class=
"row wrap"
>
<q-input
filled
v-model=
"VisitMsg.Date"
class=
"col-6 q-pb-lg"
mask=
"date"
label=
"日期"
>
<template
v-slot:append
>
<q-icon
name=
"event"
class=
"cursor-pointer"
>
<q-popup-proxy
ref=
"qDateProxy1"
transition-show=
"scale"
transition-hide=
"scale"
>
<q-date
v-model=
"VisitMsg.Date"
@
input=
"() => $refs.qDateProxy1.hide()"
/>
</q-popup-proxy>
</q-icon>
</
template
>
</q-input>
</div>
<div
class=
"row warp"
>
<q-input
filled
mask=
"time"
v-model=
"VisitMsg.VisitTime"
:rules=
"['time']"
class=
"col-6 q-pb-lg"
>
<
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=
"VisitMsg.VisitTime"
>
<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
>
</q-input>
</div>
<div
class=
"row wrap"
>
<q-input
filled
v-model=
"VisitMsg.ReceptionPersion"
class=
"col-6 q-pb-lg"
label=
"接待人"
></q-input>
</div>
<div
class=
"row wrap"
>
<q-input
filled
v-model=
"VisitMsg.ReceptionPersion"
type=
"textarea"
class=
"col-6 q-pb-lg"
label=
"备注"
></q-input>
</div>
<div
class=
"row wrap"
>
<q-input
filled
v-model=
"VisitMsg.Feedback"
type=
"textarea"
class=
"col-6 q-pb-lg"
label=
"反馈"
></q-input>
</div>
<div
class=
"row wrap"
style=
"margin-bottom:10px;"
>
<q-btn
label=
"保存"
color=
"accent q-mb-lg"
style=
"width:200px;"
@
click=
"saveVisit()"
/>
</div>
</div>
</template>
<
template
v-if=
"secondType==2"
>
2
<div
style=
"margin-top:30px;"
>
<div
class=
"row wrap"
>
<q-input
filled
class=
"col-6 q-pb-lg"
label=
"地点"
></q-input>
</div>
<div
class=
"row wrap"
>
<q-input
filled
class=
"col-6 q-pb-lg"
mask=
"date"
label=
"日期"
>
<template
v-slot:append
>
<q-icon
name=
"event"
class=
"cursor-pointer"
>
<q-popup-proxy
ref=
"qDateProxy1"
transition-show=
"scale"
transition-hide=
"scale"
>
<q-date
@
input=
"() => $refs.qDateProxy1.hide()"
/>
</q-popup-proxy>
</q-icon>
</
template
>
</q-input>
</div>
<div
class=
"row wrap"
>
<q-input
filled
type=
"textarea"
class=
"col-6 q-pb-lg"
label=
"目的"
></q-input>
</div>
<div
class=
"row wrap"
>
<q-btn
label=
"保存"
color=
"accent q-mb-lg"
style=
"width:200px;"
@
click=
"saveYuefang()"
/>
</div>
</div>
</template>
<
template
v-if=
"secondType==3"
>
3
<div
style=
"margin-top:30px;"
>
<div
class=
"row wrap"
>
<q-input
filled
type=
"textarea"
class=
"col-6 q-pb-lg"
label=
"内容"
></q-input>
</div>
</div>
</
template
>
<
template
v-if=
"secondType==4"
>
4
...
...
@@ -210,6 +245,9 @@
</template>
<
script
>
import
{
getSchoolDropdown
,
//获取校区列表
}
from
'../../../api/school/index'
;
export
default
{
meta
:
{
title
:
"学员管理"
...
...
@@ -264,20 +302,53 @@
cusfrom
:
1
,
createBy
:
''
,
customState
:
1
},
schoolList
:[],
//到访校区下拉数据
//到访msg
VisitMsg
:{
Id
:
0
,
//到访编号
StuId
:
0
,
//学员编号
School_Id
:
0
,
//到访校区
Date
:
''
,
//日期
VisitTime
:
''
,
//到访时间
ReceptionPersion
:
''
,
//接待人
Remark
:
''
,
//备注
Feedback
:
''
//反馈
}
}
},
mounted
()
{
console
.
log
(
this
.
saveObj
,
'saveObj'
);
this
.
baseObj
=
this
.
saveObj
;
this
.
getSchool
();
},
methods
:
{
closeCutomer
()
{
this
.
$emit
(
'close'
)
},
//获取校区列表
getSchool
()
{
getSchoolDropdown
({}).
then
(
res
=>
{
if
(
res
.
Code
==
1
)
{
var
tempArray
=
res
.
Data
;
if
(
!
tempArray
)
{
tempArray
=
[];
}
this
.
schoolList
=
tempArray
;
}
})
},
//点击第二排
getckedType
(
obj
){
this
.
secondType
=
obj
.
Id
;
},
//保存到访
saveVisit
(){
},
//保存约访
saveYuefang
(){
}
},
}
...
...
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