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
f14b70f1
Commit
f14b70f1
authored
Dec 10, 2021
by
黄奎
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
页面修改
parent
241b960f
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
399 additions
and
13 deletions
+399
-13
mystu.vue
src/pages/sale/mystu.vue
+360
-0
student.vue
src/pages/school/student.vue
+34
-13
routes.js
src/router/routes.js
+5
-0
No files found.
src/pages/sale/mystu.vue
0 → 100644
View file @
f14b70f1
This diff is collapsed.
Click to expand it.
src/pages/school/student.vue
View file @
f14b70f1
...
...
@@ -3,18 +3,14 @@
<div
class=
"page-search row items-center"
>
<div
class=
"col row wrap q-mr-lg q-col-gutter-md"
>
<div
class=
"col-3"
>
<q-input
@
input=
"resetSearch"
clearable
filled
v-model=
"msg.StuName"
label=
"
学员
名称"
maxlength=
"20"
/>
<q-input
@
input=
"resetSearch"
clearable
filled
v-model=
"msg.StuName"
label=
"名称"
maxlength=
"20"
/>
</div>
<div
class=
"col-3"
>
<q-input
@
input=
"resetSearch"
clearable
filled
v-model=
"msg.StuTel"
label=
"
学员
电话"
maxlength=
"20"
/>
<q-input
@
input=
"resetSearch"
clearable
filled
v-model=
"msg.StuTel"
label=
"电话"
maxlength=
"20"
/>
</div>
<div
class=
"col-3"
>
<q-select
@
input=
"resetSearch"
clearable
filled
stack-label
option-value=
"SId"
option-label=
"SName"
v-model=
"schoolTemp"
ref=
"School_Id"
:options=
"schoolList"
label=
"所属校区"
:dense=
"false"
/>
</div>
<div
class=
"col-3"
>
<q-select
@
input=
"resetSearch"
filled
v-model=
"msg.Status"
:options=
"AuditOpts"
emit-value
map-options
label=
"状态"
/>
<q-select
filled
v-model=
"msg.CreateBy"
@
filter=
"filterEmployee"
use-input
:options=
"myEmployeeList"
option-label=
"EmployeeName"
option-value=
"Id"
emit-value
map-options
label=
"负责人"
/>
</div>
</div>
<div
class=
"page-option"
>
...
...
@@ -23,7 +19,7 @@
</div>
<div
class=
"page-content"
>
<q-table
:pagination=
"msg"
:loading=
"loading"
no-data-label=
"暂无相关数据"
flat
class=
"sticky-right-column-table sticky-tow-column-table"
separator=
"none"
title=
"客户管理
(学员)
"
:data=
"data"
class=
"sticky-right-column-table sticky-tow-column-table"
separator=
"none"
title=
"客户管理"
:data=
"data"
:columns=
"columns"
row-key=
"name"
>
<template
v-slot:body-cell-StuIcon=
"props"
>
<q-td
auto-width
:props=
"props"
>
...
...
@@ -69,6 +65,9 @@
deleteStudent
,
createStudentAccount
}
from
'../../api/school/index'
import
{
queryEmployee
}
from
'../../api/users/user'
import
{
resetPassword
}
from
'../../api/users/user.js'
...
...
@@ -77,7 +76,7 @@
export
default
{
meta
:
{
title
:
"客户管理
(学员)
"
title
:
"客户管理"
},
components
:
{
studentForm
,
...
...
@@ -164,7 +163,7 @@
StuName
:
""
,
StuTel
:
""
,
Status
:
"-1"
,
School_Id
:
0
CreateBy
:
""
},
schoolTemp
:
""
,
pageCount
:
0
,
...
...
@@ -172,15 +171,37 @@
schoolList
:
[],
isShowStuForm
:
false
,
resetLoading
:
false
,
isShowStuRight
:
false
isShowStuRight
:
false
,
employeeList
:
[],
myEmployeeList
:
[],
}
},
created
()
{
this
.
getEmployeeList
();
this
.
getSchool
()
},
mounted
()
{
this
.
currentUrl
=
this
.
$route
.
path
this
.
getSchool
()
this
.
getStudent
()
},
methods
:
{
//获取员工列表
getEmployeeList
()
{
queryEmployee
({
IsLeave
:
1
}).
then
(
res
=>
{
this
.
employeeList
=
res
.
Data
;
this
.
myEmployeeList
=
res
.
Data
;
})
},
//筛选员工
filterEmployee
(
val
,
update
,
abort
)
{
update
(()
=>
{
this
.
myEmployeeList
=
this
.
employeeList
.
filter
(
v
=>
v
.
EmployeeName
.
indexOf
(
val
)
>
-
1
);
});
},
resetSearch
()
{
this
.
msg
.
pageIndex
=
1
;
if
(
this
.
schoolTemp
)
{
...
...
src/router/routes.js
View file @
f14b70f1
...
...
@@ -930,6 +930,11 @@ const routes = [{
component
:
()
=>
import
(
"pages/sale/activeOrderStatistics.vue"
)
},
{
path
:
"/sale/mystu"
,
//我的客户
component
:
()
=>
import
(
"pages/sale/mystu.vue"
)
},
{
path
:
"/activity/activeType"
,
//活动 活动类型
component
:
()
=>
...
...
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