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
6f0d888d
Commit
6f0d888d
authored
Apr 19, 2022
by
黄奎
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
页面修改
parent
c181dc3c
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
200 additions
and
271 deletions
+200
-271
student-yuefang.vue
src/components/school/student/student-yuefang.vue
+200
-271
No files found.
src/components/school/student/student-yuefang.vue
View file @
6f0d888d
...
@@ -2,65 +2,30 @@
...
@@ -2,65 +2,30 @@
<
template
>
<
template
>
<div>
<div>
<div
class=
"row wrap"
>
<div
class=
"row wrap"
>
<q-btn
<q-btn
label=
"新增"
color=
"accent q-mb-lg"
size=
"sm"
label=
"新增"
v-if=
"!saveObj.IsHaveCurseManager || userInfo.IsCourseConsultant == 1"
@
click=
"isShowAdd = true"
/>
color=
"accent q-mb-lg"
size=
"sm"
v-if=
"!saveObj.IsHaveCurseManager || userInfo.IsCourseConsultant == 1"
@
click=
"isShowAdd = true"
/>
<span
v-else
class=
"text-grey-4"
>
学员已推送课程顾问,只能进行查看
</span>
<span
v-else
class=
"text-grey-4"
>
学员已推送课程顾问,只能进行查看
</span>
<q-btn
<q-btn
label=
"取消"
style=
"margin-left:20px;"
v-if=
"isShowAdd"
flat
color=
"grey-10 q-mb-lg"
size=
"sm"
label=
"取消"
@
click=
"isShowAdd = false"
/>
style=
"margin-left:20px;"
v-if=
"isShowAdd"
flat
color=
"grey-10 q-mb-lg"
size=
"sm"
@
click=
"isShowAdd = false"
/>
</div>
</div>
<template
v-if=
"isShowAdd"
>
<template
v-if=
"isShowAdd"
>
<div
class=
"row wrap studentDate"
>
<div
class=
"row wrap studentDate"
>
<q-input
<!--
<q-input
filled
class=
"col-6 q-pb-lg q-pr-lg"
dense
v-model=
"yueMsg.AppointmentPoint"
label=
"约访地点"
></q-input>
-->
filled
class=
"col-6 q-pb-lg q-pr-lg"
dense
v-model=
"yueMsg.AppointmentPoint"
label=
"约访地点"
></q-input>
<q-field
filled
class=
"q-pb-lg"
dense
>
<q-field
filled
class=
"q-pb-lg"
dense
>
<template
v-slot:control
>
<template
v-slot:control
>
<el-date-picker
<el-date-picker
v-model=
"yueMsg.AppointmentTime"
type=
"datetime"
size=
"mini"
style=
"width:228px"
v-model=
"yueMsg.AppointmentTime"
placeholder=
"选择约访日期时间!"
>
type=
"datetime"
size=
"mini"
style=
"width:228px"
placeholder=
"选择约访日期时间!"
>
</el-date-picker>
</el-date-picker>
</
template
>
</
template
>
</q-field>
</q-field>
</div>
</div>
<div
class=
"row wrap"
>
<div
class=
"row wrap"
>
<q-input
<q-input
filled
v-model=
"yueMsg.Remark"
dense
:rows=
"3"
type=
"textarea"
class=
"col-12 q-pb-lg q-pr-lg"
filled
label=
"备注"
>
v-model=
"yueMsg.Remark"
dense
:rows=
"3"
type=
"textarea"
class=
"col-12 q-pb-lg q-pr-lg"
label=
"备注"
>
</q-input>
</q-input>
</div>
</div>
<div
class=
"row wrap justify-end q-pr-lg"
style=
"margin-bottom:10px;"
>
<div
class=
"row wrap justify-end q-pr-lg"
style=
"margin-bottom:10px;"
>
<q-btn
<q-btn
label=
"保存"
color=
"accent q-mb-lg"
size=
"md"
@
click=
"savePoint()"
/>
label=
"保存"
color=
"accent q-mb-lg"
size=
"md"
@
click=
"savePoint()"
/>
</div>
</div>
</template>
</template>
<div
style=
"display:flex;flex:1;flex-direction: column;overflow:hidden;"
>
<div
style=
"display:flex;flex:1;flex-direction: column;overflow:hidden;"
>
...
@@ -71,7 +36,7 @@
...
@@ -71,7 +36,7 @@
<div
class=
"visit_Cont"
>
<div
class=
"visit_Cont"
>
<div
class=
"Log_Content"
>
<div
class=
"Log_Content"
>
<div>
约访时间:
{{
tItem
.
AppointmentTime
}}
</div>
<div>
约访时间:
{{
tItem
.
AppointmentTime
}}
</div>
<
div>
约访地点:
{{
tItem
.
AppointmentPoint
}}
</div
>
<
!--
<div>
约访地点:
{{
tItem
.
AppointmentPoint
}}
</div>
--
>
<div
class=
"StuCom_Remark"
>
<div
class=
"StuCom_Remark"
>
<div
class=
"StuCom_Left"
>
备注
</div>
<div
class=
"StuCom_Left"
>
备注
</div>
:
:
...
@@ -84,10 +49,7 @@
...
@@ -84,10 +49,7 @@
</div>
</div>
</div>
</div>
<div
style=
"display:flex;margin-top:10px;"
>
<div
style=
"display:flex;margin-top:10px;"
>
<div
<div
@
click=
"delVisit(tItem.Id)"
class=
"visit_delete text-negative"
>
@
click=
"delVisit(tItem.Id)"
class=
"visit_delete text-negative"
>
删除
删除
</div>
</div>
<div
@
click=
"clickItem(tItem)"
class=
"stu_ComFeed"
>
<div
@
click=
"clickItem(tItem)"
class=
"stu_ComFeed"
>
...
@@ -98,42 +60,15 @@
...
@@ -98,42 +60,15 @@
}}
}}
<q-popup-proxy>
<q-popup-proxy>
<q-banner
v-if=
"isShowEdit"
>
<q-banner
v-if=
"isShowEdit"
>
<div
<div
class=
"row wrap"
style=
"margin-top:10px;width:300px;"
>
class=
"row wrap"
<q-input
filled
v-model=
"feedBackMsg.Feedback"
:rows=
"3"
type=
"textarea"
style=
"margin-top:10px;width:300px;"
class=
"col-12 q-pb-sm"
label=
"请输入反馈内容"
>
>
<q-input
filled
v-model=
"feedBackMsg.Feedback"
:rows=
"3"
type=
"textarea"
class=
"col-12 q-pb-sm"
label=
"请输入反馈内容"
>
</q-input>
</q-input>
<q-select
<q-select
filled
v-model=
"stuStageId"
dense
:options=
"cusStateList"
option-label=
"Name"
filled
option-value=
"Id"
emit-value
map-options
label=
"客户状态"
class=
"col-12 q-pb-sm"
/>
v-model=
"stuStageId"
dense
:options=
"cusStateList"
option-label=
"Name"
option-value=
"Id"
emit-value
map-options
label=
"客户状态"
class=
"col-12 q-pb-sm"
/>
</div>
</div>
<div
<div
class=
"row wrap"
style=
"float:right;margin-bottom:10px;"
>
class=
"row wrap"
<q-btn
label=
"保存"
color=
"accent"
size=
"sm"
@
click=
"SetFeedBack()"
/>
style=
"float:right;margin-bottom:10px;"
>
<q-btn
label=
"保存"
color=
"accent"
size=
"sm"
@
click=
"SetFeedBack()"
/>
</div>
</div>
</q-banner>
</q-banner>
</q-popup-proxy>
</q-popup-proxy>
...
@@ -152,27 +87,21 @@
...
@@ -152,27 +87,21 @@
</div>
</div>
</div>
</div>
<div
style=
"margin-bottom:20px"
>
<div
style=
"margin-bottom:20px"
>
<q-pagination
<q-pagination
class=
"full-width justify-end"
v-model=
"msg.pageIndex"
color=
"primary"
:max=
"page_Count"
input
class=
"full-width justify-end"
@
input=
"changePage"
/>
v-model=
"msg.pageIndex"
color=
"primary"
:max=
"page_Count"
input
@
input=
"changePage"
/>
</div>
</div>
</div>
</div>
</template>
</template>
<
script
>
<
script
>
import
{
import
{
saveStudentAppointment
,
saveStudentAppointment
,
queryStudentAppointmentPage
,
queryStudentAppointmentPage
,
deleteStudentAppointment
,
deleteStudentAppointment
,
saveStudentAppointmentFeedBack
,
saveStudentAppointmentFeedBack
,
SetStuStage
SetStuStage
}
from
"../../../api/customerstudent/customerstudent"
;
}
from
"../../../api/customerstudent/customerstudent"
;
export
default
{
export
default
{
meta
:
{
meta
:
{
title
:
""
title
:
""
},
},
...
@@ -265,15 +194,15 @@ export default {
...
@@ -265,15 +194,15 @@ export default {
//保存约访
//保存约访
savePoint
()
{
savePoint
()
{
this
.
yueMsg
.
StuId
=
this
.
saveObj
.
StuId
;
this
.
yueMsg
.
StuId
=
this
.
saveObj
.
StuId
;
if
(
this
.
yueMsg
.
AppointmentPoint
==
""
)
{
//
if (this.yueMsg.AppointmentPoint == "") {
this
.
$q
.
notify
({
//
this.$q.notify({
type
:
"negative"
,
//
type: "negative",
position
:
"top"
,
//
position: "top",
timeout
:
2000
,
//
timeout: 2000,
message
:
"请输入约访地点!"
//
message: "请输入约访地点!"
});
//
});
return
;
//
return;
}
//
}
if
(
this
.
yueMsg
.
AppointmentTime
==
""
)
{
if
(
this
.
yueMsg
.
AppointmentTime
==
""
)
{
this
.
$q
.
notify
({
this
.
$q
.
notify
({
type
:
"negative"
,
type
:
"negative"
,
...
@@ -361,5 +290,5 @@ export default {
...
@@ -361,5 +290,5 @@ export default {
});
});
}
}
}
}
};
};
</
script
>
</
script
>
\ No newline at end of file
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