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
050c9865
Commit
050c9865
authored
Sep 04, 2024
by
吴春
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
27bb5c1d
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
68 additions
and
2 deletions
+68
-2
sale.js
src/api/sale/sale.js
+8
-0
order-form.vue
src/components/school/student/transfer-order/order-form.vue
+60
-2
No files found.
src/api/sale/sale.js
View file @
050c9865
...
...
@@ -435,6 +435,14 @@ export function GetStudentAssistList(data) {
});
}
// 获取协助老师信息 2024-09-04 add by:W
export
function
GetVisitorReserveTeacherList
(
data
)
{
return
request
({
url
:
'/VisitorReserve/GetVisitorReserveTeacherList'
,
method
:
'post'
,
data
});
}
// 保存协助数据
export
function
SetStudentAssist
(
data
)
{
return
request
({
...
...
src/components/school/student/transfer-order/order-form.vue
View file @
050c9865
...
...
@@ -173,7 +173,8 @@
GetSelectClassOrderList
//获取前置下拉
}
from
"../../../../api/sale/sale"
;
import
{
GetStudentAssistList
GetStudentAssistList
,
GetVisitorReserveTeacherList
}
from
"../../../../api/sale/sale"
;
//获取协助人员
import
{
queryEmployee
...
...
@@ -307,7 +308,7 @@
SId
:
-
1
});
this
.
initData
();
this
.
get
Assist
List
();
this
.
get
VisitorReserveTeacher
List
();
this
.
OrderMsg
.
EnterId
=
this
.
stuData
.
EnterId
;
this
.
EnterName
=
this
.
stuData
.
EnterName
;
...
...
@@ -466,6 +467,63 @@
}
})
},
//获取协助人员
getVisitorReserveTeacherList() {
this.AssistList=[];
this.AllAssistList=[];
const ids = this.stuData.StuList.map(e => e.StuId).toString();
GetVisitorReserveTeacherList({
StuId: ids
}).then(res => {
if (res.Code == 1) {
console.log(" res.Data", res.Data);
res.Data.map(e => {
console.log("e",e);
this.AssistList .push({
Id: e.TeacherId,
EmployeeName: e.TeacherName
});
this.AllAssistList.push({
Id: e.TeacherId,
EmployeeName: e.TeacherName
});
this.HelpEnterDisable = true;
});
this.getQueryEmployee();
}
else{
this.getQueryEmployee();
}
});
},
getQueryEmployee(){
if (this.AssistList.length == 0) {
var qMsg = {
IsLeave: 1,
UserRole: 0,
AccountType:2,
};
queryEmployee(qMsg).then(res => {
if (res.Code == 1) {
console.log("this.AssistList2221",this.AssistList);
res.Data.map(e => {
console.log("e1",e);
this.AssistList.push({
Id: e.Id,
EmployeeName: e.EmployeeName
});
this.AllAssistList.push({
Id: e.Id,
EmployeeName: e.EmployeeName
});
});
}
});
}
},
//获取协助人员
getAssistList() {
const ids = this.stuData.StuList.map(e => e.StuId).toString();
...
...
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