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
264b2547
Commit
264b2547
authored
Aug 05, 2021
by
黄奎
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
页面修改
parent
7765a43c
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
38 additions
and
7 deletions
+38
-7
dropSchoolManage.vue
src/pages/administration/dropSchoolManage.vue
+38
-2
registContractManage.vue
src/pages/administration/registContractManage.vue
+0
-5
No files found.
src/pages/administration/dropSchoolManage.vue
View file @
264b2547
...
...
@@ -20,6 +20,11 @@
<q-input
@
change=
"resetSearch"
clearable
standout=
"bg-primary text-white"
v-model=
"msg.PartyAName"
label=
"学生姓名"
@
clear=
"resetSearch"
maxlength=
"30"
/>
</div>
<div
class=
"col-3"
>
<q-select
@
input=
"resetSearch"
standout=
"bg-primary text-white"
option-value=
"Id"
option-label=
"EmployeeName"
v-model=
"msg.QCreateBy"
:options=
"EmployeeList"
emit-value
map-options
label=
"业务员"
use-input
@
filter=
"filterFn2"
clearable
/>
</div>
</div>
</div>
<courserefund-form
:loading=
"loading"
:dataList=
"dataList"
></courserefund-form>
...
...
@@ -31,6 +36,9 @@
import
{
GetBackClassProtocolPage
}
from
"../../api/sale/contract"
;
import
{
queryEmployee
}
from
'../../api/users/user'
;
import
courserefundForm
from
"../../components/course/courserefund-form"
export
default
{
meta
:
{
...
...
@@ -49,7 +57,8 @@
AuditStatus
:
-
1
,
QOrderId
:
''
,
ProtocolNum
:
''
,
IsQueryAll
:
1
IsQueryAll
:
1
,
QCreateBy
:
""
,
//业务员
},
pageCount
:
0
,
dataList
:
[],
...
...
@@ -83,15 +92,42 @@
Name
:
"生效"
,
},
],
EmployeeList
:
[],
//业务员
AllemployeeList
:
[],
};
},
created
()
{
this
.
getEmployee
()
},
mounted
()
{
this
.
getList
();
},
methods
:
{
//业务员
getEmployee
()
{
var
qMsg
=
{
Dept_Id
:
0
}
queryEmployee
(
qMsg
).
then
(
res
=>
{
if
(
res
.
Code
==
1
)
{
this
.
EmployeeList
=
res
.
Data
;
this
.
AllemployeeList
=
JSON
.
parse
(
JSON
.
stringify
(
this
.
EmployeeList
));
}
}).
catch
(()
=>
{
})
},
//筛选业务员
filterFn2
(
val
,
update
)
{
update
(()
=>
{
if
(
val
===
''
)
{
this
.
EmployeeList
=
JSON
.
parse
(
JSON
.
stringify
(
this
.
AllemployeeList
))
}
else
{
const
needle
=
val
.
toLowerCase
()
this
.
EmployeeList
=
this
.
AllemployeeList
.
filter
(
v
=>
v
.
EmployeeName
.
toLowerCase
().
indexOf
(
needle
)
>
-
1
)
}
})
},
//获取校区列表
getList
()
{
this
.
loading
=
true
;
...
...
src/pages/administration/registContractManage.vue
View file @
264b2547
...
...
@@ -252,11 +252,6 @@
queryEmployee
(
qMsg
).
then
(
res
=>
{
if
(
res
.
Code
==
1
)
{
this
.
EmployeeList
=
res
.
Data
;
let
obj
=
{
Id
:
""
,
EmployeeName
:
"不限"
}
this
.
EmployeeList
.
unshift
(
obj
)
this
.
AllemployeeList
=
JSON
.
parse
(
JSON
.
stringify
(
this
.
EmployeeList
));
}
}).
catch
(()
=>
{
...
...
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