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
c58b32a5
Commit
c58b32a5
authored
Aug 09, 2021
by
zhengke
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
xiugai
parent
ce4ebd3c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
22 additions
and
5 deletions
+22
-5
changestatus-form.vue
src/components/course/changestatus-form.vue
+22
-5
No files found.
src/components/course/changestatus-form.vue
View file @
c58b32a5
...
@@ -16,6 +16,11 @@
...
@@ -16,6 +16,11 @@
<q-select
filled
option-value=
"TId"
option-label=
"TeacherName"
class=
"q-pr-lg"
v-model=
"statusMsg.Teacher_Id"
<q-select
filled
option-value=
"TId"
option-label=
"TeacherName"
class=
"q-pr-lg"
v-model=
"statusMsg.Teacher_Id"
:options=
"TeacherList"
emit-value
map-options
label=
"带班老师"
/>
:options=
"TeacherList"
emit-value
map-options
label=
"带班老师"
/>
</div>
</div>
<div
class=
"col-12"
v-if=
"setingObj.ClassRoomId==0&&statusMsg.ClassStatus==2"
>
<q-select
filled
stack-label
option-value=
"RoomId"
option-label=
"RoomName"
v-model=
"statusMsg.ClassRoomId"
ref=
"ClassRoomId"
:options=
"ClassRoomList"
label=
"关联教室"
:dense=
"false"
class=
"col-6 q-pb-lg"
emit-value
map-options
/>
</div>
</div>
</div>
<q-separator
/>
<q-separator
/>
<q-card-actions
align=
"right"
class=
"bg-white"
>
<q-card-actions
align=
"right"
class=
"bg-white"
>
...
@@ -33,7 +38,8 @@
...
@@ -33,7 +38,8 @@
saveClassStatus
,
//修改班级状态
saveClassStatus
,
//修改班级状态
}
from
'../../api/course/class'
}
from
'../../api/course/class'
import
{
import
{
getTeacherDropDownList
getTeacherDropDownList
,
queryClassRoomList
,
}
from
'../../api/school/index'
;
}
from
'../../api/school/index'
;
export
default
{
export
default
{
...
@@ -50,10 +56,12 @@
...
@@ -50,10 +56,12 @@
statusMsg
:
{
statusMsg
:
{
ClassId
:
0
,
ClassId
:
0
,
ClassStatus
:
0
,
ClassStatus
:
0
,
Teacher_Id
:
0
Teacher_Id
:
0
,
ClassRoomId
:
0
},
},
classStatusList
:
[],
classStatusList
:
[],
TeacherList
:
[],
TeacherList
:
[],
ClassRoomList
:
[]
}
}
},
},
created
()
{
created
()
{
...
@@ -68,6 +76,7 @@
...
@@ -68,6 +76,7 @@
this
.
getClassStatus
();
this
.
getClassStatus
();
this
.
GetTeacherList
();
this
.
GetTeacherList
();
this
.
getClassRoomList
();
},
},
methods
:
{
methods
:
{
//获取班级状态列表
//获取班级状态列表
...
@@ -84,6 +93,14 @@
...
@@ -84,6 +93,14 @@
}
}
}).
catch
(()
=>
{})
}).
catch
(()
=>
{})
},
},
//获取教室下拉
getClassRoomList
()
{
queryClassRoomList
({}).
then
(
res
=>
{
if
(
res
.
Code
==
1
)
{
this
.
ClassRoomList
=
res
.
Data
;
}
})
},
//获取教师下拉
//获取教师下拉
GetTeacherList
()
{
GetTeacherList
()
{
getTeacherDropDownList
({}).
then
(
res
=>
{
getTeacherDropDownList
({}).
then
(
res
=>
{
...
@@ -133,14 +150,14 @@
...
@@ -133,14 +150,14 @@
ok
:
"查看名单"
,
ok
:
"查看名单"
,
cancel
:
"我知道了"
,
cancel
:
"我知道了"
,
}).
onOk
(()
=>
{
}).
onOk
(()
=>
{
this
.
OpenNewUrl
(
'/stuMan/unfinishedStudent'
,{
this
.
OpenNewUrl
(
'/stuMan/unfinishedStudent'
,
{
ClassId
:
this
.
statusMsg
.
ClassId
ClassId
:
this
.
statusMsg
.
ClassId
})
})
}).
onCancel
(()
=>
{
}).
onCancel
(()
=>
{
});
});
}
}
if
(
ClassStatus
==
2
&&
res
.
Data
)
{
if
(
ClassStatus
==
2
&&
res
.
Data
)
{
this
.
$q
.
notify
({
this
.
$q
.
notify
({
icon
:
'iconfont icon-chenggong'
,
icon
:
'iconfont icon-chenggong'
,
color
:
'accent'
,
color
:
'accent'
,
...
...
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