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
94f07920
Commit
94f07920
authored
Jul 29, 2021
by
zhengke
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改
parent
1a29f945
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
27 additions
and
8 deletions
+27
-8
index.js
src/api/school/index.js
+11
-0
classconflict-form.vue
src/components/course/classconflict-form.vue
+16
-8
No files found.
src/api/school/index.js
View file @
94f07920
...
@@ -633,3 +633,14 @@ export function BatchUpdateClassPlan(data) {
...
@@ -633,3 +633,14 @@ export function BatchUpdateClassPlan(data) {
data
data
});
});
}
}
/**
* 忽略上课调整
*/
export
function
IgnoreClassPlan
(
data
)
{
return
request
({
url
:
'/Class/IgnoreClassPlan'
,
method
:
'post'
,
data
});
}
\ No newline at end of file
src/components/course/classconflict-form.vue
View file @
94f07920
...
@@ -28,7 +28,7 @@
...
@@ -28,7 +28,7 @@
<q-card-section
class=
"q-pt-none scroll"
style=
"max-height: 70vh"
>
<q-card-section
class=
"q-pt-none scroll"
style=
"max-height: 70vh"
>
<q-table
:pagination=
"showMsg"
:loading=
"loading"
no-data-label=
"暂无相关数据"
selection=
"multiple"
flat
<q-table
:pagination=
"showMsg"
:loading=
"loading"
no-data-label=
"暂无相关数据"
selection=
"multiple"
flat
:selected
.
sync=
"selectedAll"
class=
"sticky-column-table sticky-header-column-table"
separator=
"none"
:selected
.
sync=
"selectedAll"
class=
"sticky-column-table sticky-header-column-table"
separator=
"none"
style=
"max-height: 4
5
0px"
:data=
"dataList"
:columns=
"columns"
row-key=
"ClassPlanId"
hide-bottom
>
style=
"max-height: 4
0
0px"
:data=
"dataList"
:columns=
"columns"
row-key=
"ClassPlanId"
hide-bottom
>
<template
v-slot:top=
"props"
>
<template
v-slot:top=
"props"
>
<div
class=
"text-caption q-my-lg q-px-md text-grey-6 col"
>
<div
class=
"text-caption q-my-lg q-px-md text-grey-6 col"
>
变更内容 注意:需要对变更的内容进行打钩
变更内容 注意:需要对变更的内容进行打钩
...
@@ -199,7 +199,7 @@
...
@@ -199,7 +199,7 @@
<div
style=
"display:flex;justify-content:flex-end;margin-bottom:20px;"
>
<div
style=
"display:flex;justify-content:flex-end;margin-bottom:20px;"
>
<q-btn
@
click=
"addStepOne(postMsg)"
size=
"10px"
round
color=
"primary"
icon=
"iconfont icon-img_haha"
/>
<q-btn
@
click=
"addStepOne(postMsg)"
size=
"10px"
round
color=
"primary"
icon=
"iconfont icon-img_haha"
/>
</div>
</div>
<div
class=
"row wrap"
style=
"position:relative;"
v-for=
"(subItem,subIndex) in postMsg.TimeList"
<div
class=
"row wrap"
style=
"position:relative;"
v-for=
"(subItem,subIndex) in postMsg.
Plan
TimeList"
:key=
"subIndex"
>
:key=
"subIndex"
>
<div
class=
"col-4"
>
<div
class=
"col-4"
>
<q-input
filled
v-model=
"subItem.StartTime"
class=
"col-6 q-pr-lg q-pb-lg"
placeholder=
"开始时间"
<q-input
filled
v-model=
"subItem.StartTime"
class=
"col-6 q-pr-lg q-pb-lg"
placeholder=
"开始时间"
...
@@ -248,7 +248,7 @@
...
@@ -248,7 +248,7 @@
</q-card-section>
</q-card-section>
<q-separator
/>
<q-separator
/>
<q-card-actions
align=
"right"
class=
"bg-white"
>
<q-card-actions
align=
"right"
class=
"bg-white"
>
<q-btn
label=
"忽略冲突"
flat
color=
"grey-10"
style=
"font-weight:400 !important"
@
click=
"
closeCourseForm
"
/>
<q-btn
label=
"忽略冲突"
flat
color=
"grey-10"
style=
"font-weight:400 !important"
@
click=
"
IgnoreClass
"
/>
<q-btn
label=
"提交调整"
color=
"accent q-px-md"
style=
"font-weight:400 !important"
:loading=
"saveLoading"
<q-btn
label=
"提交调整"
color=
"accent q-px-md"
style=
"font-weight:400 !important"
:loading=
"saveLoading"
@
click=
"saveClass"
>
@
click=
"saveClass"
>
</q-btn>
</q-btn>
...
@@ -263,7 +263,8 @@
...
@@ -263,7 +263,8 @@
getTeacherDropDownList
,
getTeacherDropDownList
,
queryClassRoomList
,
queryClassRoomList
,
UpdateClassPlanSingle
,
UpdateClassPlanSingle
,
BatchUpdateClassPlan
BatchUpdateClassPlan
,
IgnoreClassPlan
}
from
"../../api/school/index"
;
}
from
"../../api/school/index"
;
export
default
{
export
default
{
props
:
{
props
:
{
...
@@ -399,10 +400,17 @@
...
@@ -399,10 +400,17 @@
}
}
return
tName
;
return
tName
;
},
},
//关闭弹窗
//忽略上课调整
closeCourseForm
()
{
IgnoreClass
()
{
this
.
$emit
(
'close'
);
IgnoreClassPlan
({
this
.
persistent
=
false
;
ClassId
:
this
.
ClassId
}).
then
(
res
=>
{
this
.
loading
=
false
;
if
(
res
.
Code
==
1
)
{
this
.
$emit
(
'success'
);
this
.
$emit
(
'close'
);
}
})
},
},
//获取冲突的数据列表
//获取冲突的数据列表
getList
()
{
getList
()
{
...
...
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