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
d96c12bc
Commit
d96c12bc
authored
Apr 29, 2021
by
黄奎
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
页面修改
parent
6005b58d
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
44 additions
and
46 deletions
+44
-46
schedu.js
src/api/scheduling/schedu.js
+10
-0
courseprice-form.vue
src/components/course/courseprice-form.vue
+3
-3
mySchedule.vue
src/pages/scheduling/mySchedule.vue
+31
-43
No files found.
src/api/scheduling/schedu.js
View file @
d96c12bc
...
...
@@ -37,3 +37,13 @@ export function queryDutyPlanInfo(data) {
data
})
}
//获取我的排班计划
export
function
queryMyDutyPlanPage
(
data
)
{
return
request
({
url
:
'/DutyPlan/GetMyDutyPlanPage'
,
method
:
'post'
,
data
})
}
\ No newline at end of file
src/components/course/courseprice-form.vue
View file @
d96c12bc
...
...
@@ -6,7 +6,7 @@
transition-show=
"scale"
transition-hide=
"scale"
>
<q-card
style=
"width: 8
00px;max-width:90
0px;"
>
<q-card
style=
"width: 8
50px;max-width:95
0px;"
>
<q-card-section>
<div
class=
"text-h6"
>
设置课程价格
</div>
</q-card-section>
...
...
@@ -60,7 +60,7 @@
<td
style=
"width:200px"
>
优惠类型
</td>
<td
style=
"width:
15
0px"
>
<td
style=
"width:
20
0px"
>
优惠条件
</td>
<td
style=
"width:140px"
>
...
...
@@ -203,7 +203,7 @@
dense
v-model=
"item.EduCommissionMoney"
ref=
"EduCommissionMoney"
label=
"
销售返佣
"
label=
"
教育同行
"
@
keyup
.
native=
"checkPrice(item, 'EduCommissionMoney')"
class=
"q-pr-none"
style=
"width:100px"
...
...
src/pages/scheduling/mySchedule.vue
View file @
d96c12bc
<
template
>
<div
class=
"page-body"
>
<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
@
change=
"resetSearch"
clearable
standout=
"bg-primary text-white"
v-model=
"msg.RoomName"
label=
"教室名称"
@
clear=
"resetSearch"
maxlength=
"30"
/>
</div>
</div>
-->
</div>
<div
class=
"page-content"
>
<q-table
:pagination=
"msg"
:loading=
"loading"
no-data-label=
"暂无相关数据"
flat
class=
"sticky-column-table"
separator=
"none"
title=
"我的排班计划"
:data=
"dataList"
:columns=
"columns"
row-key=
"name"
>
<!--
<template
v-slot:top=
"props"
>
<div
class=
"col-2 q-table__title"
>
教室信息
</div>
<q-space
/>
<div
class=
"page-option"
>
<q-btn
color=
"accent"
size=
"sm"
icon=
"add"
label=
"新增教室"
@
click=
"EditClassRoom(null)"
/>
</div>
</
template
>
-->
<q-table
:pagination=
"msg"
:loading=
"loading"
no-data-label=
"暂无相关数据"
flat
class=
"sticky-column-table"
separator=
"none"
title=
"我的排班计划"
:data=
"dataList"
:columns=
"columns"
row-key=
"name"
>
<template
v-slot:bottom
>
<q-pagination
class=
"full-width justify-end"
v-model=
"msg.pageIndex"
color=
"primary"
:max=
"pageCount"
:input=
"true"
@
input=
"changePage"
/>
...
...
@@ -36,23 +24,22 @@
</div>
</template>
<
script
>
//
import {
// queryClassRoom
Page,
// } from '../../api/school/index
'
import
{
queryMyDutyPlan
Page
,
}
from
'../../api/scheduling/schedu
'
export
default
{
meta
:
{
title
:
"我的排班计划"
},
components
:
{
},
components
:
{},
data
()
{
return
{
currentUrl
:
""
,
columns
:
[{
name
:
'
RoomNam
e'
,
name
:
'
PlanDat
e'
,
label
:
'日期'
,
align
:
'left'
,
field
:
'
RoomNam
e'
,
field
:
'
PlanDat
e'
,
},
{
name
:
'SchoolName'
,
...
...
@@ -61,39 +48,39 @@
align
:
'left'
},
{
name
:
'S
tatusStr
'
,
name
:
'S
hiftName
'
,
label
:
'时间(班次)'
,
align
:
'left'
,
field
:
'S
tatusStr
'
field
:
'S
hiftName
'
},
{
name
:
'
UpdateByName
'
,
name
:
'
PlanList
'
,
label
:
'任务清单'
,
align
:
'left'
,
field
:
'
UpdateByName
'
field
:
'
PlanList
'
},
{
name
:
'
UpdateTimeStr
'
,
name
:
'
ReciveMan
'
,
label
:
'接班对象'
,
align
:
'left'
,
field
:
'
UpdateTimeStr
'
field
:
'
ReciveMan
'
},
{
name
:
'
UpdateTimeStr
'
,
name
:
'
GiveMan
'
,
label
:
'交班对象'
,
align
:
'left'
,
field
:
'
UpdateTimeStr
'
field
:
'
GiveMan
'
},
{
name
:
'
UpdateTimeStr
'
,
name
:
'
CreateByName
'
,
label
:
'排班人'
,
align
:
'left'
,
field
:
'
UpdateTimeStr
'
field
:
'
CreateByName
'
},
{
name
:
'optioned'
,
label
:
'操作'
,
field
:
'
Room
Id'
field
:
'Id'
}
],
dataList
:
[],
...
...
@@ -102,33 +89,34 @@
pageIndex
:
1
,
pageSize
:
12
,
rowsPerPage
:
12
,
RoomName
:
""
,
School_Id
:
0
,
//校区编号
Status
:
'-1'
,
//状态
},
pageCount
:
0
,
}
},
created
()
{
//this.getSchool();
},
mounted
()
{
this
.
getMyDutyPage
();
},
methods
:
{
//获取校区列表
getSchool
()
{
getSchoolDropdown
({}
).
then
(
res
=>
{
getMyDutyPage
()
{
this
.
loading
=
true
;
queryMyDutyPlanPage
(
this
.
msg
).
then
(
res
=>
{
if
(
res
.
Code
==
1
)
{
this
.
dataList
=
res
.
Data
.
PageData
;
this
.
pageCount
=
res
.
Data
.
Count
;
}
this
.
loading
=
false
;
console
.
log
(
"res"
,
res
);
})
},
//分页改变
changePage
(
val
)
{
this
.
msg
.
pageIndex
=
val
;
this
.
getClassRoomPage
();
},
//开始值班
StartSchedule
(){
StartSchedule
()
{
}
},
...
...
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