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
09912617
Commit
09912617
authored
Jan 13, 2022
by
Mac
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
新增跟进组件
parent
7f5b7dfc
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
498 additions
and
50 deletions
+498
-50
studentFU-form.vue
src/components/school/student/studentFU-form.vue
+470
-0
guestConsultation.vue
src/pages/sale/guestConsultation.vue
+28
-50
No files found.
src/components/school/student/studentFU-form.vue
0 → 100644
View file @
09912617
<
template
>
<q-dialog
v-model=
"persistent"
full-height
maximized
position=
"right"
persistent
@
hide=
"closeCutomer"
transition-show=
"slide-left"
>
<div
class=
"customMain"
>
<div
class=
"custom_Top"
>
<div
class=
"custom_HLeft"
>
<div
class=
"nameplate_avatar"
>
<img
v-if=
"baseObj.StuIcon"
style=
"width:100%;height:100%;"
:src=
"baseObj.StuIcon"
alt
/>
<div
class=
"student_Name"
v-else
>
<span
v-if=
"baseObj.StuName"
>
{{
baseObj
.
StuName
.
substring
(
0
,
1
)
}}
</span>
</div>
</div>
<div
class=
"Name_List"
>
<div
class=
"F_16"
>
{{
baseObj
.
StuName
}}
</div>
</div>
</div>
</div>
<div
class=
"custom_Bottom"
>
<div
class=
"detail-travel"
>
<div
class=
"detail_first"
>
<div
class=
"operate_Content"
style=
"flex:1;"
>
<div
class=
"detail_Main"
>
<!-- 操作 -->
<template
>
<div
class=
"operate_Content"
style=
"margin-top:20px;"
>
<div
style=
"display:flex;flex:1;flex-direction: column;overflow:hidden;"
>
<div
class=
"TimeLineDiv"
>
<q-timeline
color=
"primary"
>
<q-timeline-entry
v-for=
"(tItem, tIndex) in dataList"
:key=
"tIndex"
>
<template
v-slot:title
>
<div
class=
"visit_Cont"
>
<div
class=
"Log_Content"
v-html=
"tItem.Remark"
></div>
<div
@
click=
"delFollow(tItem.Id)"
style=
"margin-top:10px;"
class=
"visit_delete text-negative"
>
删除
</div>
</div>
</
template
>
<
template
v-slot:subtitle
>
<div
class=
"Time_TopList"
>
<div>
{{
tItem
.
CreateTime
}}
</div>
<div>
{{
tItem
.
CreateByName
}}
</div>
</div>
</
template
>
</q-timeline-entry>
</q-timeline>
</div>
</div>
<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>
</div>
</template>
</div>
</div>
</div>
</div>
</div>
<div
class=
"dialog-out-close"
@
click=
"closeCutomer"
>
<i
class=
"iconfont icon-close"
style=
"font-size:26px;"
/>
</div>
</div>
</q-dialog>
</template>
<
script
>
import
{
queryEmployee
}
from
"../../../api/users/user"
;
import
{
ForwardStudent
,
queryStudentFollowPage
}
from
"../../../api/customerstudent/customerstudent"
;
import
{
getStudentInfo
,
//获取学员客户信息
queryStuStageList
//获取客户阶段列表
}
from
"../../../api/school/index"
;
import
studentGenjin
from
"../student/student-genjin"
;
import
{
SetStudentAssistBatch
}
from
"../../../api/sale/sale"
;
export
default
{
meta
:
{
title
:
"学员管理"
},
components
:
{
studentGenjin
,
},
props
:
{
saveObj
:
{
type
:
Object
,
default
:
null
},
isJudgeTrans
:
{
type
:
Number
,
default
:
null
},
BelongType
:
{
type
:
Number
,
default
:
null
}
},
data
()
{
return
{
persistent
:
true
,
ckedTab
:
"1"
,
secondType
:
1
,
pushing
:
false
,
msg
:
{
pageIndex
:
1
,
pageSize
:
12
,
StuId
:
0
},
baseObj
:
{},
transMsg
:
{
StuId
:
1
,
CreateBy
:
""
},
//员工列表
employeeList
:
[],
myEmployeeList
:
[],
isShowTrans
:
false
,
customStateList
:
[],
stateId
:
0
,
stuData
:
{},
userInfo
:
{},
dataList
:
[],
};
},
created
()
{
this
.
msg
.
StuId
=
this
.
saveObj
.
StuId
;
this
.
getList
()
this
.
userInfo
=
this
.
getLocalStorage
();
},
mounted
()
{
this
.
baseObj
=
this
.
saveObj
;
this
.
baseObj
.
IsHaveCurseManager
=
false
;
if
(
this
.
baseObj
.
AssistList
&&
this
.
baseObj
.
AssistList
.
length
>
0
)
{
this
.
baseObj
.
AssistList
.
forEach
(
x
=>
{
if
(
x
.
AssistType
==
2
)
{
this
.
baseObj
.
IsHaveCurseManager
=
true
;
}
});
}
},
methods
:
{
getList
()
{
queryStudentFollowPage
(
this
.
msg
)
.
then
(
res
=>
{
if
(
res
.
Code
==
1
)
{
this
.
dataList
=
res
.
Data
.
PageData
;
this
.
page_Count
=
res
.
Data
.
PageCount
;
}
})
.
catch
(()
=>
{});
},
changePage
(
val
)
{
this
.
msg
.
pageIndex
=
val
;
this
.
getList
();
},
closeCutomer
()
{
this
.
$emit
(
"close"
);
},
}
};
</
script
>
<
style
scoped
>
.custom_RModel
{
width
:
500px
;
height
:
100%
;
}
.customMain
{
width
:
600px
!important
;
display
:
flex
;
flex-direction
:
column
;
height
:
100
vh
;
padding
:
15px
17px
0
17px
;
background-color
:
#f4f4f6
;
}
.custom_Top
{
width
:
100%
;
padding
:
22px
;
background
:
#fff
;
border-radius
:
8px
;
display
:
flex
;
justify-content
:
space-between
;
align-items
:
center
;
}
.custom_HLeft
{
display
:
flex
;
}
.nameplate_avatar
{
width
:
60px
;
height
:
60px
;
flex-shrink
:
0
;
margin-right
:
14px
;
border-radius
:
5px
;
overflow
:
hidden
;
}
.F_16
{
font-size
:
16px
;
}
.Name_List
{
display
:
flex
;
flex-direction
:
column
;
justify-content
:
space-around
;
overflow
:
hidden
;
}
.wechat_Name
{
color
:
#9999a8
;
display
:
flex
;
font-size
:
14px
;
}
.custom_Bottom
{
margin-top
:
17px
;
flex
:
1
;
display
:
flex
;
margin-top
:
17px
;
overflow
:
hidden
;
}
.detail-info
{
flex-shrink
:
0
;
box-sizing
:
border-box
;
display
:
flex
;
flex-direction
:
column
;
width
:
350px
;
height
:
100%
;
padding
:
28px
0
;
margin-right
:
13px
;
background
:
#fff
;
border-radius
:
8px
8px
0
0
;
overflow
:
auto
;
}
.detail-info
::-webkit-scrollbar
{
display
:
none
;
}
.detail-travel
{
width
:
100%
;
flex-grow
:
1
;
display
:
flex
;
flex-direction
:
column
;
padding-top
:
28px
;
background
:
#fff
;
border-radius
:
8px
8px
0
0
;
overflow
:
hidden
;
}
.edit_bar
{
display
:
flex
;
justify-content
:
space-between
;
align-items
:
center
;
padding
:
12px
22px
;
}
.edit_info_wrap
{
padding
:
0
22px
12px
;
}
.custom_Line
{
width
:
calc
(
100%
-
44px
);
margin
:
16px
22px
;
border-bottom
:
1px
solid
#d7d7d7
;
}
.custom_Edit
{
display
:
flex
;
justify-content
:
center
;
align-items
:
center
;
width
:
78px
;
height
:
26px
;
margin-right
:
3px
;
border
:
1px
dashed
#858598
;
border-radius
:
4px
;
font-size
:
12px
;
cursor
:
pointer
;
}
.tripTypeContent
{
display
:
flex
;
overflow-x
:
auto
;
white-space
:
nowrap
;
}
.StuCkedType
{
color
:
#3470ff
;
font-weight
:
700
;
}
.tripTypeContent
div
{
margin-right
:
20px
;
cursor
:
pointer
;
}
.q-timeline__title
{
margin-bottom
:
5px
;
}
.customUpdateTime
{
display
:
flex
;
justify-content
:
space-between
;
font-size
:
14px
;
color
:
#9696a6
;
}
.q-timeline__subtitle
{
opacity
:
1
;
font-weight
:
normal
;
}
.follow_Component
{
padding
:
0
22px
;
margin-top
:
10px
;
width
:
100%
;
background-color
:
#f6f6f6
;
border-radius
:
5px
;
}
.detail_first
{
margin
:
0
22px
;
display
:
flex
;
flex-direction
:
column
;
height
:
100%
;
}
.detail_Main
{
display
:
flex
;
flex-direction
:
column
;
width
:
100%
;
height
:
100%
;
}
.student_Name
{
width
:
100%
;
height
:
100%
;
background
:
#004d40
;
color
:
#fff
;
text-align
:
center
;
line-height
:
60px
;
font-size
:
20px
;
}
.TimeLineDiv
{
height
:
620px
;
flex
:
1
;
height
:
100%
;
padding-right
:
20px
;
}
.Time_TopList
{
display
:
flex
;
justify-content
:
space-between
;
}
.visit_Cont
{
font-size
:
14px
;
}
.visit_delete
{
font-size
:
14px
;
cursor
:
pointer
;
width
:
30px
;
}
.operate_Content
{
overflow
:
auto
;
/* padding-right: 20px; */
}
.operate_Content
::-webkit-scrollbar
{
width
:
6px
;
height
:
8px
;
}
.operate_Content
::-webkit-scrollbar-thumb
{
border-radius
:
4px
;
-webkit-box-shadow
:
inset
0
0
2px
rgba
(
0
,
0
,
0
,
0.2
);
background
:
#c9c9c9
;
}
.operate_Content
::-webkit-scrollbar-thumb
{
-webkit-box-shadow
:
inset
0
0
2px
rgba
(
0
,
0
,
0
,
0.2
);
border-radius
:
4px
;
background
:
#ededed
;
}
.Log_Content
{
padding
:
10px
;
border-radius
:
5px
;
background-color
:
#f4f4f6
;
color
:
#818194
;
line-height
:
2
;
margin-top
:
10px
;
word-break
:
break-all
;
}
.stu_ComFeed
{
color
:
#3470ff
;
cursor
:
pointer
;
margin-left
:
20px
;
}
.StuCom_Remark
{
display
:
flex
;
}
.StuCom_Inner
{
width
:
100%
;
}
.StuCom_Left
{
flex-shrink
:
0
;
width
:
57px
;
text-align-last
:
justify
;
}
.Stu_OrderId
{
color
:
#2961fe
;
font-weight
:
bold
;
text-decoration
:
underline
;
cursor
:
pointer
;
}
.Stu_HtLeft
{
width
:
57px
;
display
:
inline-block
;
text-align-last
:
justify
;
}
.fullscreen
{
z-index
:
3000
;
}
</
style
>
src/pages/sale/guestConsultation.vue
View file @
09912617
...
...
@@ -53,16 +53,9 @@ th:first-child{position: sticky;left:0px;}
</div>
</div>
</div>
<div
class=
"page-content"
>
<q-table
:pagination=
"
pageM
sg"
:loading=
"loading"
no-data-label=
"暂无相关数据"
flat
<q-table
:pagination=
"
m
sg"
:loading=
"loading"
no-data-label=
"暂无相关数据"
flat
class=
"sticky-right-column-table sticky-tow-column-table"
separator=
"none"
:data=
"dataList"
:columns=
"columns"
row-key=
"StuId"
hide-bottom
>
...
...
@@ -76,48 +69,16 @@ th:first-child{position: sticky;left:0px;}
</
template
>
<
template
v-slot:body-cell-EnrollState=
"props"
>
<q-td
:props=
"props"
>
<q-badge
:color=
"props.value == 1 ? 'negative' : 'primary'"
:label=
"props.value == 1 ? '已报名' : '未成交'"
/>
</q-td>
</
template
>
<
template
v-slot:body-cell-AssistList=
"props"
>
<q-td
auto-width
:props=
"props"
>
<template
v-if=
"props.row.AssistList"
>
<template
v-if=
"props.row.AssistList.length==1"
>
{{
props
.
row
.
AssistList
[
0
].
AssistName
}}
</
template
>
<
template
v-if=
"props.row.AssistList.length>1"
>
{{
props
.
row
.
AssistList
[
0
].
AssistName
}}
:
<span
class=
"stulistNum"
>
{{
props
.
row
.
AssistList
.
length
}}
<q-popup-proxy>
<q-banner>
<div
style=
"max-height:600px;overflow-y:auto;"
>
<table
class=
"stuListTable"
style=
"border-collapse:collapse;"
>
<tr>
<th>
角色
</th>
<th>
协同人
</th>
</tr>
<tr
v-for=
"(sItem,sIndex) in props.row.AssistList"
style=
"border-bottom:1px dashed #d1d1d1;"
:key=
"sIndex"
>
<td>
{{
sItem
.
AssistTypeName
}}
</td>
<td>
{{
sItem
.
AssistName
}}
</td>
</tr>
</table>
</div>
</q-banner>
</q-popup-proxy>
</span>
</
template
>
<
template
v-if=
"props.row.AssistList.length==0"
>
无
</
template
>
</template>
<q-badge
:color=
"props.row.EnrollState == 1 ? 'negative' : 'primary'"
:label=
"props.row.EnrollState == 1 ? '已报名' : '未成交'"
/>
</q-td>
</
template
>
<!-- <template v-slot:body-cell-CustomerName="props">
<
template
v-slot:body-cell-FURemark=
"props"
>
<q-td>
<span v-if="props.row.BelongType!=3">{{props.row.CustomerName}}</span>
<span
v-if=
"props.row.FURemark"
v-html=
"props.row.FURemark"
></span>
<span
style=
"text-decoration: underline;cursor: pointer;color: #2961fe ;"
v-if=
"props.row.FURemark"
@
click=
"lookgengduo(props.row)"
>
查看更多
</span>
</q-td>
</template>
-->
</
template
>
</q-table>
</div>
<q-pagination
class=
"full-width justify-end"
v-model=
"msg.pageIndex"
color=
"primary"
:max=
"PageCount"
...
...
@@ -131,7 +92,14 @@ th:first-child{position: sticky;left:0px;}
@
success=
"getList"
@
reload=
"getList"
>
</studentRight-form>
</studentRight-form>
<studentFUForm
v-if=
"isShowStuFU"
:save-obj=
"stuOption"
@
close=
"closeStuForm"
>
</studentFUForm>
</div>
</template>
<
script
>
...
...
@@ -146,7 +114,7 @@ import {
}
from
"../../api/school/index"
;
import
studentRightForm
from
"../../components/school/student/studentRight-form"
;
// import studentRightForm from "../../c/studentRight
-form";
import
studentFUForm
from
"../../components/school/student/studentFu
-form"
;
export
default
{
meta
:
{
...
...
@@ -154,7 +122,8 @@ export default {
},
props
:
{},
components
:
{
studentRightForm
studentRightForm
,
studentFUForm
},
data
()
{
return
{
...
...
@@ -284,6 +253,7 @@ export default {
BelongType
:
1
,
isShowStuRight
:
false
,
isJudgeTrans
:
1
,
isShowStuFU
:
false
,
}
...
...
@@ -350,8 +320,16 @@ export default {
},
closeStuForm
()
{
this
.
isShowStuRight
=
false
;
this
.
isShowStuFU
=
false
},
lookgengduo
(
obj
){
//跟进备注
if
(
obj
)
{
this
.
stuOption
=
obj
;
this
.
BelongType
=
obj
.
BelongType
;
}
this
.
isShowStuFU
=
true
;
}
},
...
...
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