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
8552561e
Commit
8552561e
authored
Feb 23, 2022
by
黄奎
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
页面修改
parent
e012c224
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
42 additions
and
19 deletions
+42
-19
channelDetail.vue
src/pages/sale/channelDetail.vue
+39
-16
mystu.vue
src/pages/sale/mystu.vue
+1
-1
student.vue
src/pages/school/student.vue
+2
-2
No files found.
src/pages/sale/channelDetail.vue
View file @
8552561e
...
@@ -54,7 +54,7 @@
...
@@ -54,7 +54,7 @@
</el-table-column>
</el-table-column>
<el-table-column
prop=
"ChannelName"
label=
"渠道名"
>
<el-table-column
prop=
"ChannelName"
label=
"渠道名"
>
<
template
slot-scope=
"scope"
>
<
template
slot-scope=
"scope"
>
<div
class=
"CustomerName"
style=
"text-decoration:underline;"
v-if=
"scope.row.C
ustomerType||scope.row.ChannelType==1
"
<div
class=
"CustomerName"
style=
"text-decoration:underline;"
v-if=
"scope.row.C
hannelType>0
"
@
click=
"showDetail(scope.row)"
>
@
click=
"showDetail(scope.row)"
>
{{
scope
.
row
.
ChannelName
}}
{{
scope
.
row
.
ChannelName
}}
</div>
</div>
...
@@ -231,24 +231,47 @@
...
@@ -231,24 +231,47 @@
},
},
//客户详情
//客户详情
showDetail
(
row
)
{
showDetail
(
row
)
{
var
params
=
{
ChannelId
:
0
,
CategoryId
:
0
,
CreateType
:
0
,
CategoryId
:
0
,
StuSourceId
:
0
,
startTime
:
this
.
msg
.
startTime
,
endTime
:
this
.
msg
.
endTime
,
empList
:
this
.
msg
.
empList
.
toString
(),
};
//个人创建
if
(
row
.
ChannelType
==
1
)
{
if
(
row
.
ChannelType
==
1
)
{
var
url
=
"/sale/mystu"
;
params
.
ChannelId
=
row
.
ChannelId
;
if
(
this
.
CurrentUserInfo
&&
(
this
.
CurrentUserInfo
.
IsMarket
==
1
||
this
.
CurrentUserInfo
.
IsCourseConsultant
==
}
1
))
{
//同行介绍
url
=
"/sale/mystu"
;
if
(
row
.
ChannelType
==
2
)
{
}
else
{
params
.
CategoryId
=
row
.
ChannelId
;
url
=
'/school/student'
;
}
}
//内部介绍
this
.
OpenNewUrl
(
url
,
{
if
(
row
.
ChannelType
==
3
)
{
ChannelId
:
row
.
ChannelId
,
params
.
CreateType
=
3
;
startTime
:
this
.
msg
.
startTime
,
params
.
StuSourceId
=
row
.
ChannelId
;
endTime
:
this
.
msg
.
endTime
,
}
empList
:
this
.
msg
.
empList
.
toString
(),
//学员转介绍
})
if
(
row
.
ChannelType
==
4
)
{
params
.
CreateType
=
4
;
params
.
StuSourceId
=
row
.
ChannelId
;
}
var
url
=
"/sale/mystu"
;
if
(
this
.
CurrentUserInfo
&&
(
this
.
CurrentUserInfo
.
IsMarket
==
1
||
this
.
CurrentUserInfo
.
IsCourseConsultant
==
1
))
{
url
=
"/sale/mystu"
;
}
else
{
}
else
{
this
.
curRowId
=
row
.
ChannelId
;
url
=
'/school/student'
;
this
.
isShowDetailForm
=
true
;
}
}
this
.
OpenNewUrl
(
url
,
params
)
// else {
// this.curRowId = row.ChannelId;
// this.isShowDetailForm = true;
// }
},
},
//关闭弹窗
//关闭弹窗
closeCustomForm
()
{
closeCustomForm
()
{
...
...
src/pages/sale/mystu.vue
View file @
8552561e
...
@@ -218,7 +218,7 @@
...
@@ -218,7 +218,7 @@
this
.
msg
.
EndTime
=
this
.
$route
.
query
.
endTime
;
this
.
msg
.
EndTime
=
this
.
$route
.
query
.
endTime
;
}
}
if
(
this
.
$route
.
query
.
ChannelId
)
{
if
(
this
.
$route
.
query
.
ChannelId
)
{
this
.
msg
.
StuChannel
=
this
.
$route
.
query
.
ChannelId
;
this
.
msg
.
StuChannel
=
Number
(
this
.
$route
.
query
.
ChannelId
)
;
}
}
if
(
this
.
$route
.
query
.
CategoryId
)
{
if
(
this
.
$route
.
query
.
CategoryId
)
{
this
.
msg
.
CategoryId
=
this
.
$route
.
query
.
CategoryId
;
this
.
msg
.
CategoryId
=
this
.
$route
.
query
.
CategoryId
;
...
...
src/pages/school/student.vue
View file @
8552561e
...
@@ -138,7 +138,7 @@
...
@@ -138,7 +138,7 @@
CreateIds
:
[],
CreateIds
:
[],
CreateType
:
""
,
//来源类型
CreateType
:
""
,
//来源类型
StuSourceId
:
""
,
//来源人编号
StuSourceId
:
""
,
//来源人编号
CategoryId
:
""
,
//同行编号
CategoryId
:
""
,
//同行编号
},
},
dateArray
:
[],
//日期数组
dateArray
:
[],
//日期数组
pageCount
:
0
,
pageCount
:
0
,
...
@@ -175,7 +175,7 @@
...
@@ -175,7 +175,7 @@
this
.
msg
.
EndTime
=
this
.
$route
.
query
.
endTime
;
this
.
msg
.
EndTime
=
this
.
$route
.
query
.
endTime
;
}
}
if
(
this
.
$route
.
query
.
ChannelId
)
{
if
(
this
.
$route
.
query
.
ChannelId
)
{
this
.
msg
.
StuChannel
=
this
.
$route
.
query
.
ChannelId
;
this
.
msg
.
StuChannel
=
Number
(
this
.
$route
.
query
.
ChannelId
)
;
}
}
if
(
this
.
$route
.
query
.
createBy
)
{
if
(
this
.
$route
.
query
.
createBy
)
{
this
.
msg
.
CreateBy
=
Number
(
this
.
$route
.
query
.
createBy
);
this
.
msg
.
CreateBy
=
Number
(
this
.
$route
.
query
.
createBy
);
...
...
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