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
5f42eb43
Commit
5f42eb43
authored
Dec 09, 2021
by
黄奎
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
http://gitlab.oytour.com/luochao/confucius
parents
e74e72ee
959d78e6
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 @
5f42eb43
...
@@ -101,9 +101,11 @@
...
@@ -101,9 +101,11 @@
</div>
</div>
<div
class=
"detail-travel"
>
<div
class=
"detail-travel"
>
<div
class=
"detail_first"
>
<div
class=
"detail_first"
>
<q-tabs
v-model=
"ckedTab"
dense
align=
"left"
class=
"text-teal"
style=
"width:
2
00px;"
>
<q-tabs
v-model=
"ckedTab"
dense
align=
"left"
class=
"text-teal"
style=
"width:
3
00px;"
>
<q-tab
name=
"1"
label=
"
操作
记录"
/>
<q-tab
name=
"1"
label=
"记录"
/>
<q-tab
name=
"2"
label=
"操作"
/>
<q-tab
name=
"2"
label=
"操作"
/>
<q-tab
name=
"3"
label=
"订单"
/>
<q-tab
name=
"4"
label=
"合同"
/>
</q-tabs>
</q-tabs>
<div
style=
"flex:1;overflow:hidden;"
>
<div
style=
"flex:1;overflow:hidden;"
>
<div
class=
"detail_Main"
>
<div
class=
"detail_Main"
>
...
@@ -150,48 +152,81 @@
...
@@ -150,48 +152,81 @@
</template>
</template>
<
template
v-else
>
<
template
v-else
>
<template
v-if=
"secondType==1"
>
<template
v-if=
"secondType==1"
>
<div
class=
"row wrap"
style=
"margin-top:20px;"
>
<div
style=
"overflow:auto;margin-top:30px;"
>
<q-input
filled
class=
"col-6 q-pb-lg"
label=
"校区"
></q-input>
<div
class=
"row wrap"
>
</div>
<q-select
filled
option-value=
"SId"
class=
"col-6 q-pb-lg"
option-label=
"SName"
<div
class=
"row wrap"
>
v-model=
"VisitMsg.School_Id"
:options=
"schoolList"
emit-value
map-options
label=
"到访校区"
/>
<q-input
filled
class=
"col-6 q-pb-lg"
mask=
"date"
label=
"日期"
>
</div>
<template
v-slot:append
>
<div
class=
"row wrap"
>
<q-icon
name=
"event"
class=
"cursor-pointer"
>
<q-input
filled
v-model=
"VisitMsg.Date"
class=
"col-6 q-pb-lg"
mask=
"date"
label=
"日期"
>
<q-popup-proxy
ref=
"qDateProxy1"
transition-show=
"scale"
transition-hide=
"scale"
>
<template
v-slot:append
>
<q-date
@
input=
"() => $refs.qDateProxy1.hide()"
/>
<q-icon
name=
"event"
class=
"cursor-pointer"
>
</q-popup-proxy>
<q-popup-proxy
ref=
"qDateProxy1"
transition-show=
"scale"
transition-hide=
"scale"
>
</q-icon>
<q-date
v-model=
"VisitMsg.Date"
@
input=
"() => $refs.qDateProxy1.hide()"
/>
</
template
>
</q-popup-proxy>
</q-input>
</q-icon>
</div>
</
template
>
<div
class=
"row warp"
>
</q-input>
<q-input
filled
mask=
"time"
:rules=
"['time']"
class=
"col-6 q-pb-lg"
>
</div>
<
template
v-slot:append
>
<div
class=
"row warp"
>
<q-icon
name=
"access_time"
class=
"cursor-pointer"
>
<q-input
filled
mask=
"time"
v-model=
"VisitMsg.VisitTime"
:rules=
"['time']"
class=
"col-6 q-pb-lg"
>
<q-popup-proxy
transition-show=
"scale"
transition-hide=
"scale"
>
<
template
v-slot:append
>
<q-time>
<q-icon
name=
"access_time"
class=
"cursor-pointer"
>
<div
class=
"row items-center justify-end"
>
<q-popup-proxy
transition-show=
"scale"
transition-hide=
"scale"
>
<q-btn
v-close-popup
label=
"Close"
color=
"primary"
flat
/>
<q-time
v-model=
"VisitMsg.VisitTime"
>
</div>
<div
class=
"row items-center justify-end"
>
</q-time>
<q-btn
v-close-popup
label=
"Close"
color=
"primary"
flat
/>
</q-popup-proxy>
</div>
</q-icon>
</q-time>
</
template
>
</q-popup-proxy>
</q-input>
</q-icon>
</div>
</
template
>
<div
class=
"row wrap"
>
</q-input>
<q-input
filled
class=
"col-6 q-pb-lg"
label=
"接待人"
></q-input>
</div>
</div>
<div
class=
"row wrap"
>
<div
class=
"row wrap"
>
<q-input
filled
v-model=
"VisitMsg.ReceptionPersion"
class=
"col-6 q-pb-lg"
label=
"接待人"
></q-input>
<q-input
filled
type=
"textarea"
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>
</div>
</template>
</template>
<
template
v-if=
"secondType==2"
>
<
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>
<
template
v-if=
"secondType==3"
>
<
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
>
<
template
v-if=
"secondType==4"
>
<
template
v-if=
"secondType==4"
>
4
4
...
@@ -210,6 +245,9 @@
...
@@ -210,6 +245,9 @@
</template>
</template>
<
script
>
<
script
>
import
{
getSchoolDropdown
,
//获取校区列表
}
from
'../../../api/school/index'
;
export
default
{
export
default
{
meta
:
{
meta
:
{
title
:
"学员管理"
title
:
"学员管理"
...
@@ -264,20 +302,53 @@
...
@@ -264,20 +302,53 @@
cusfrom
:
1
,
cusfrom
:
1
,
createBy
:
''
,
createBy
:
''
,
customState
:
1
customState
:
1
},
schoolList
:[],
//到访校区下拉数据
//到访msg
VisitMsg
:{
Id
:
0
,
//到访编号
StuId
:
0
,
//学员编号
School_Id
:
0
,
//到访校区
Date
:
''
,
//日期
VisitTime
:
''
,
//到访时间
ReceptionPersion
:
''
,
//接待人
Remark
:
''
,
//备注
Feedback
:
''
//反馈
}
}
}
}
},
},
mounted
()
{
mounted
()
{
console
.
log
(
this
.
saveObj
,
'saveObj'
);
console
.
log
(
this
.
saveObj
,
'saveObj'
);
this
.
baseObj
=
this
.
saveObj
;
this
.
baseObj
=
this
.
saveObj
;
this
.
getSchool
();
},
},
methods
:
{
methods
:
{
closeCutomer
()
{
closeCutomer
()
{
this
.
$emit
(
'close'
)
this
.
$emit
(
'close'
)
},
},
//获取校区列表
getSchool
()
{
getSchoolDropdown
({}).
then
(
res
=>
{
if
(
res
.
Code
==
1
)
{
var
tempArray
=
res
.
Data
;
if
(
!
tempArray
)
{
tempArray
=
[];
}
this
.
schoolList
=
tempArray
;
}
})
},
//点击第二排
//点击第二排
getckedType
(
obj
){
getckedType
(
obj
){
this
.
secondType
=
obj
.
Id
;
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