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
c7884d55
Commit
c7884d55
authored
Dec 29, 2020
by
黄奎
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
新增页面验证
parent
da423870
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
13 changed files
with
2820 additions
and
2719 deletions
+2820
-2719
class-form.vue
src/components/course/class-form.vue
+11
-11
classFee.vue
src/components/course/classFee.vue
+575
-555
studentFee.vue
src/components/course/studentFee.vue
+576
-555
assistant-form.vue
src/components/school/assistant/assistant-form.vue
+1
-1
classroom-form.vue
src/components/school/classroom/classroom-form.vue
+8
-7
teacher-form.vue
src/components/school/teacher/teacher-form.vue
+15
-14
baseSet.vue
src/pages/course/baseSet.vue
+34
-29
classHourReward.vue
src/pages/course/classHourReward.vue
+465
-449
classManage.vue
src/pages/course/classManage.vue
+3
-3
course.vue
src/pages/course/course.vue
+2
-2
socialclass.vue
src/pages/course/socialclass.vue
+560
-544
studentClass.vue
src/pages/course/studentClass.vue
+563
-542
assistant.vue
src/pages/school/assistant.vue
+7
-7
No files found.
src/components/course/class-form.vue
View file @
c7884d55
...
@@ -97,8 +97,8 @@
...
@@ -97,8 +97,8 @@
emit-value
map-options
/>
emit-value
map-options
/>
</div>
</div>
<div
class=
"col-6"
>
<div
class=
"col-6"
>
<q-input
filled
stack-label
maxlength=
"
20
"
:dense=
"false"
v-model=
"objOption.ClassPersion"
<q-input
filled
stack-label
maxlength=
"
3
"
:dense=
"false"
v-model=
"objOption.ClassPersion"
ref=
"ClassPersion"
class=
"col-6 q-pr-lg q-pb-lg"
label=
"招生人数"
:rules=
"[val => !!val || '请填写招生人数']"
/>
ref=
"ClassPersion"
class=
"col-6 q-pr-lg q-pb-lg"
label=
"招生人数"
@
keyup
.
native=
"checkInteger(objOption,'ClassPersion')"
:rules=
"[val => !!val || '请填写招生人数']"
/>
</div>
</div>
</div>
</div>
<div
class=
"row wrap"
>
<div
class=
"row wrap"
>
...
@@ -127,12 +127,12 @@
...
@@ -127,12 +127,12 @@
</div>
</div>
<div
class=
"row wrap"
>
<div
class=
"row wrap"
>
<div
class=
"col-6"
>
<div
class=
"col-6"
>
<q-input
filled
stack-label
maxlength=
"
20
"
:dense=
"false"
v-model=
"objOption.OriginalPrice"
<q-input
filled
stack-label
maxlength=
"
8
"
:dense=
"false"
v-model=
"objOption.OriginalPrice"
ref=
"OriginalPrice"
class=
"col-6 q-pr-lg q-pb-lg"
label=
"原价"
:rules=
"[val => !!val || '请填写原价']"
/>
ref=
"OriginalPrice"
class=
"col-6 q-pr-lg q-pb-lg"
label=
"原价"
@
keyup
.
native=
"checkPrice(objOption,'OriginalPrice')"
:rules=
"[val => !!val || '请填写原价']"
/>
</div>
</div>
<div
class=
"col-6"
>
<div
class=
"col-6"
>
<q-input
filled
stack-label
maxlength=
"
20
"
:dense=
"false"
v-model=
"objOption.SellPrice"
ref=
"SellPrice"
<q-input
filled
stack-label
maxlength=
"
8
"
:dense=
"false"
v-model=
"objOption.SellPrice"
ref=
"SellPrice"
class=
"col-6 q-pr-lg q-pb-lg"
label=
"卖价"
:rules=
"[val => !!val || '请填写卖价']"
/>
class=
"col-6 q-pr-lg q-pb-lg"
label=
"卖价"
@
keyup
.
native=
"checkPrice(objOption,'SellPrice')"
:rules=
"[val => !!val || '请填写卖价']"
/>
</div>
</div>
</div>
</div>
<div
class=
"row wrap"
>
<div
class=
"row wrap"
>
...
@@ -159,11 +159,11 @@
...
@@ -159,11 +159,11 @@
<
template
v-if=
"objOption.IsStepPrice==1"
>
<
template
v-if=
"objOption.IsStepPrice==1"
>
<div
class=
"row wrap"
v-for=
"(item,index) in ladderPriceList"
:key=
"index"
>
<div
class=
"row wrap"
v-for=
"(item,index) in ladderPriceList"
:key=
"index"
>
<div
class=
"col-6"
>
<div
class=
"col-6"
>
<q-input
filled
stack-label
maxlength=
"
20"
v-model=
"item.PersionNum
"
:dense=
"false"
<q-input
filled
stack-label
maxlength=
"
3"
v-model=
"item.PersionNum"
@
keyup
.
native=
"checkInteger(item,'PersionNum')
"
:dense=
"false"
class=
"col-6 q-pr-lg q-pb-lg"
label=
"人"
/>
class=
"col-6 q-pr-lg q-pb-lg"
label=
"人"
/>
</div>
</div>
<div
class=
"col-6"
style=
"position:relative;"
>
<div
class=
"col-6"
style=
"position:relative;"
>
<q-input
filled
stack-label
maxlength=
"
20"
v-model=
"item.PersionPrice
"
:dense=
"false"
<q-input
filled
stack-label
maxlength=
"
8"
v-model=
"item.PersionPrice"
@
keyup
.
native=
"checkPrice(item,'PersionPrice')
"
:dense=
"false"
class=
"col-6 q-pr-lg q-pb-lg"
label=
"价格"
/>
class=
"col-6 q-pr-lg q-pb-lg"
label=
"价格"
/>
<q-btn
style=
"position:absolute;right:-5px;top:20px;"
size=
"6px"
@
click=
"delStepPrice(index)"
round
<q-btn
style=
"position:absolute;right:-5px;top:20px;"
size=
"6px"
@
click=
"delStepPrice(index)"
round
color=
"red"
icon=
"iconfont icon-guanbi1"
/>
color=
"red"
icon=
"iconfont icon-guanbi1"
/>
...
@@ -185,7 +185,7 @@
...
@@ -185,7 +185,7 @@
<div
class=
"col-12"
>
<div
class=
"col-12"
>
<q-field
filled
class=
"col-6 q-pr-lg q-pb-lg"
>
<q-field
filled
class=
"col-6 q-pr-lg q-pb-lg"
>
<
template
v-slot:control
>
<
template
v-slot:control
>
<el-input
placeholder=
"数值"
v-model=
"objOption.CommissionValue
"
>
<el-input
placeholder=
"数值"
maxlength=
"8"
v-model=
"objOption.CommissionValue"
@
keyup
.
native=
"checkPrice(objOption,'CommissionValue')
"
>
<template
slot=
"append"
>
<template
slot=
"append"
>
<span
v-if=
"objOption.CommissionType==1"
>
人
</span>
<span
v-if=
"objOption.CommissionType==1"
>
人
</span>
<span
v-if=
"objOption.CommissionType==2"
>
%
</span>
<span
v-if=
"objOption.CommissionType==2"
>
%
</span>
...
@@ -269,8 +269,8 @@
...
@@ -269,8 +269,8 @@
</
template
>
</
template
>
<div
class=
"row wrap"
style=
"margin-top:30px;"
>
<div
class=
"row wrap"
style=
"margin-top:30px;"
>
<div
class=
"col-6"
>
<div
class=
"col-6"
>
<q-input
filled
stack-label
maxlength=
"
20
"
v-model=
"objOption.ClassHours"
:dense=
"false"
<q-input
filled
stack-label
maxlength=
"
6
"
v-model=
"objOption.ClassHours"
:dense=
"false"
class=
"col-6 q-pr-lg q-pb-lg"
label=
"学习课时"
/>
class=
"col-6 q-pr-lg q-pb-lg"
label=
"学习课时"
@
keyup
.
native=
"checkInteger(objOption,'ClassHours')"
/>
</div>
</div>
<div
class=
"col-6"
>
<div
class=
"col-6"
>
<q-select
filled
stack-label
option-value=
"CTypeId"
option-label=
"CTypeName"
v-model=
"objOption.ClassType"
<q-select
filled
stack-label
option-value=
"CTypeId"
option-label=
"CTypeName"
v-model=
"objOption.ClassType"
...
...
src/components/course/classFee.vue
View file @
c7884d55
This diff is collapsed.
Click to expand it.
src/components/course/studentFee.vue
View file @
c7884d55
This diff is collapsed.
Click to expand it.
src/components/school/assistant/assistant-form.vue
View file @
c7884d55
...
@@ -12,7 +12,7 @@
...
@@ -12,7 +12,7 @@
<q-select
filled
stack-label
option-value=
"SId"
option-label=
"SName"
v-model=
"objOption.School_Id"
<q-select
filled
stack-label
option-value=
"SId"
option-label=
"SName"
v-model=
"objOption.School_Id"
ref=
"School_Id"
:options=
"schoolList"
label=
"所属校区"
:dense=
"false"
class=
"col-6 q-pb-lg"
emit-value
ref=
"School_Id"
:options=
"schoolList"
label=
"所属校区"
:dense=
"false"
class=
"col-6 q-pb-lg"
emit-value
map-options
:rules=
"[val => !!val || '请选择所属校区']"
@
input=
"schoolChagne"
/>
map-options
:rules=
"[val => !!val || '请选择所属校区']"
@
input=
"schoolChagne"
/>
<q-input
type=
"tel"
filled
stack-label
maxlength=
"
10
0"
:dense=
"false"
v-model=
"objOption.AssistTel"
<q-input
type=
"tel"
filled
stack-label
maxlength=
"
2
0"
:dense=
"false"
v-model=
"objOption.AssistTel"
ref=
"AssistTel"
class=
"col-6 q-pr-lg q-pb-lg"
label=
"联系电话"
:rules=
"[val => !!val || '请填写助教联系电话']"
/>
ref=
"AssistTel"
class=
"col-6 q-pr-lg q-pb-lg"
label=
"联系电话"
:rules=
"[val => !!val || '请填写助教联系电话']"
/>
<selectTree
v-if=
"DeptList&&DeptList.length>0"
:treeData=
'DeptList'
:defaultArray=
"returnString"
<selectTree
v-if=
"DeptList&&DeptList.length>0"
:treeData=
'DeptList'
:defaultArray=
"returnString"
nodeKey=
"DeptId"
:multiple=
"false"
labelKey=
"DeptName"
childrenKey=
"ChildList"
tipText=
"选择部门"
nodeKey=
"DeptId"
:multiple=
"false"
labelKey=
"DeptName"
childrenKey=
"ChildList"
tipText=
"选择部门"
...
...
src/components/school/classroom/classroom-form.vue
View file @
c7884d55
<
template
>
<
template
>
<q-dialog
v-model=
"persistent"
content-class=
"bg-grey-1"
persistent
transition-show=
"scale"
transition-hide=
"scale"
>
<q-dialog
v-model=
"persistent"
content-class=
"bg-grey-1"
persistent
transition-show=
"scale"
transition-hide=
"scale"
>
<q-card
style=
"width:
800px;max-width:9
00px;"
>
<q-card
style=
"width:
500px;max-width:6
00px;"
>
<q-card-section>
<q-card-section>
<div
class=
"text-h6"
>
{{
objOption
.
TId
==
0
?
'新增教室信息'
:
'修改教室信息'
}}
</div>
<div
class=
"text-h6"
>
{{
objOption
.
TId
==
0
?
'新增教室信息'
:
'修改教室信息'
}}
</div>
</q-card-section>
</q-card-section>
...
@@ -8,10 +8,12 @@
...
@@ -8,10 +8,12 @@
<div
class=
"text-caption q-mb-lg q-px-md text-grey-6"
>
教室信息
</div>
<div
class=
"text-caption q-mb-lg q-px-md text-grey-6"
>
教室信息
</div>
<div
class=
"row wrap"
>
<div
class=
"row wrap"
>
<q-select
filled
stack-label
option-value=
"SId"
option-label=
"SName"
v-model=
"objOption.School_Id"
<q-select
filled
stack-label
option-value=
"SId"
option-label=
"SName"
v-model=
"objOption.School_Id"
ref=
"School_Id"
:options=
"schoolList"
label=
"所属校区"
:dense=
"false"
class=
"col-
6
q-pb-lg q-pr-lg"
emit-value
ref=
"School_Id"
:options=
"schoolList"
label=
"所属校区"
:dense=
"false"
class=
"col-
12
q-pb-lg q-pr-lg"
emit-value
map-options
:rules=
"[val => !!val || '请选择所属校区']"
/>
map-options
:rules=
"[val => !!val || '请选择所属校区']"
/>
</div>
<div
class=
"row wrap"
>
<q-input
filled
stack-label
maxlength=
"20"
:dense=
"false"
v-model=
"objOption.RoomName"
ref=
"RoomName"
<q-input
filled
stack-label
maxlength=
"20"
:dense=
"false"
v-model=
"objOption.RoomName"
ref=
"RoomName"
class=
"col-
6
q-pr-lg"
label=
"教室名称"
:rules=
"[val => !!val || '请填写教室名称']"
/>
class=
"col-
12
q-pr-lg"
label=
"教室名称"
:rules=
"[val => !!val || '请填写教室名称']"
/>
</div>
</div>
</q-card-section>
</q-card-section>
<q-separator
/>
<q-separator
/>
...
@@ -45,7 +47,7 @@
...
@@ -45,7 +47,7 @@
RoomId
:
0
,
RoomId
:
0
,
RoomName
:
""
,
//教室名称
RoomName
:
""
,
//教室名称
School_Id
:
0
,
//校区编号
School_Id
:
0
,
//校区编号
Status
:
-
1
,
//状态
Status
:
-
1
,
//状态
},
},
optionTitle
:
""
,
optionTitle
:
""
,
schoolList
:
[],
schoolList
:
[],
...
@@ -82,9 +84,8 @@
...
@@ -82,9 +84,8 @@
getSchool
()
{
getSchool
()
{
getSchoolDropdown
({}).
then
(
res
=>
{
getSchoolDropdown
({}).
then
(
res
=>
{
var
tempArray
=
res
.
Data
;
var
tempArray
=
res
.
Data
;
if
(
!
tempArray
)
if
(
!
tempArray
)
{
{
tempArray
=
[];
tempArray
=
[];
}
}
var
obj
=
{
var
obj
=
{
SName
:
'不限'
,
SName
:
'不限'
,
...
...
src/components/school/teacher/teacher-form.vue
View file @
c7884d55
...
@@ -7,12 +7,12 @@
...
@@ -7,12 +7,12 @@
<q-card-section
class=
"q-pt-none scroll"
style=
"max-height: 70vh"
>
<q-card-section
class=
"q-pt-none scroll"
style=
"max-height: 70vh"
>
<div
class=
"text-caption q-mb-lg q-px-md text-grey-6"
>
基本资料
</div>
<div
class=
"text-caption q-mb-lg q-px-md text-grey-6"
>
基本资料
</div>
<div
class=
"row wrap"
>
<div
class=
"row wrap"
>
<q-input
filled
stack-label
maxlength=
"
20
"
:dense=
"false"
v-model=
"objOption.TeacherName"
ref=
"TeacherName"
<q-input
filled
stack-label
maxlength=
"
15
"
:dense=
"false"
v-model=
"objOption.TeacherName"
ref=
"TeacherName"
class=
"col-6 q-pr-lg q-pb-lg"
label=
"教师名称"
:rules=
"[val => !!val || '请填写教师姓名']"
/>
class=
"col-6 q-pr-lg q-pb-lg"
label=
"教师名称"
:rules=
"[val => !!val || '请填写教师姓名']"
/>
<q-select
filled
stack-label
option-value=
"SId"
option-label=
"SName"
v-model=
"objOption.School_Id"
<q-select
filled
stack-label
option-value=
"SId"
option-label=
"SName"
v-model=
"objOption.School_Id"
ref=
"School_Id"
:options=
"schoolList"
label=
"所属校区"
:dense=
"false"
class=
"col-6 q-pb-lg"
emit-value
ref=
"School_Id"
:options=
"schoolList"
label=
"所属校区"
:dense=
"false"
class=
"col-6 q-pb-lg"
emit-value
map-options
:rules=
"[val => !!val || '请选择所属校区']"
@
input=
"schoolChagne"
/>
map-options
:rules=
"[val => !!val || '请选择所属校区']"
@
input=
"schoolChagne"
/>
<q-input
type=
"tel"
filled
stack-label
maxlength=
"
10
0"
:dense=
"false"
v-model=
"objOption.TeacherTel"
<q-input
type=
"tel"
filled
stack-label
maxlength=
"
2
0"
:dense=
"false"
v-model=
"objOption.TeacherTel"
ref=
"TeacherTel"
class=
"col-6 q-pr-lg q-pb-lg"
label=
"联系电话"
:rules=
"[val => !!val || '请填写教师联系电话']"
/>
ref=
"TeacherTel"
class=
"col-6 q-pr-lg q-pb-lg"
label=
"联系电话"
:rules=
"[val => !!val || '请填写教师联系电话']"
/>
<q-input
filled
stack-label
maxlength=
"100"
:dense=
"false"
v-model=
"objOption.TeacherSay"
ref=
"TeacherSay"
<q-input
filled
stack-label
maxlength=
"100"
:dense=
"false"
v-model=
"objOption.TeacherSay"
ref=
"TeacherSay"
class=
"col-6 q-pb-lg"
label=
"教师营销语"
/>
class=
"col-6 q-pb-lg"
label=
"教师营销语"
/>
...
@@ -23,9 +23,9 @@
...
@@ -23,9 +23,9 @@
ref=
"Post_Id"
:options=
"PostList"
label=
"岗位"
:dense=
"false"
class=
"col-6 q-pr-lg q-pb-lg"
emit-value
ref=
"Post_Id"
:options=
"PostList"
label=
"岗位"
:dense=
"false"
class=
"col-6 q-pr-lg q-pb-lg"
emit-value
map-options
/>
map-options
/>
<q-input
filled
stack-label
maxlength=
"5"
:dense=
"false"
v-model=
"objOption.BaseStuNum"
ref=
"BaseStuNum"
<q-input
filled
stack-label
maxlength=
"5"
:dense=
"false"
v-model=
"objOption.BaseStuNum"
ref=
"BaseStuNum"
class=
"col-6 q-pr-lg q-pb-lg"
label=
"带班基础人数"
/>
class=
"col-6 q-pr-lg q-pb-lg"
label=
"带班基础人数"
@
keyup
.
native=
"checkInteger(objOption,'BaseStuNum')"
/>
<q-input
filled
stack-label
maxlength=
"5"
:dense=
"false"
v-model=
"objOption.BaseHourFee"
ref=
"BaseHourFee"
<q-input
filled
stack-label
maxlength=
"5"
:dense=
"false"
v-model=
"objOption.BaseHourFee"
ref=
"BaseHourFee"
class=
"col-6 q-pb-lg"
label=
"基础课时费"
/>
class=
"col-6 q-pb-lg"
label=
"基础课时费"
@
keyup
.
native=
"checkPrice(objOption,'BaseHourFee')"
/>
</div>
</div>
<div
class=
"row wrap"
>
<div
class=
"row wrap"
>
<div
class=
"col-6 q-pr-lg q-pb-lg"
>
<div
class=
"col-6 q-pr-lg q-pb-lg"
>
...
@@ -44,17 +44,18 @@
...
@@ -44,17 +44,18 @@
</div>
</div>
</div>
</div>
<ext-editor
:defaultMsg=
"objOption.TeacherIntro"
classStr=
"col-12"
@
getEditValue=
"getEditValue"
></ext-editor>
<ext-editor
:defaultMsg=
"objOption.TeacherIntro"
classStr=
"col-12"
@
getEditValue=
"getEditValue"
></ext-editor>
<div
class=
"col-6 q-pr-lg q-pb-lg q-pt-lg"
>
<div
class=
"row wrap"
>
<q-toggle
size=
"md"
label=
"是否显示"
color=
"primary"
:false-value=
"0"
:true-value=
"1"
<div
class=
"col-6 q-pr-lg q-pb-lg"
>
v-model=
"objOption.IsShow"
/>
<q-toggle
size=
"md"
label=
"是否显示"
color=
"primary"
:false-value=
"0"
:true-value=
"1"
<div
class=
"text-grey-6 text-caption"
>
注意:隐藏后,教师将在其他任何地方无法显示
</div>
v-model=
"objOption.IsShow"
/>
</div>
<div
class=
"text-grey-6 text-caption"
>
注意:隐藏后,教师将在其他任何地方无法显示
</div>
<div
class=
"col-6 q-pb-lg q-pt-lg"
>
</div>
<q-toggle
size=
"md"
label=
"是否推荐"
color=
"primary"
:false-value=
"0"
:true-value=
"1"
<div
class=
"col-6 q-pb-lg"
>
v-model=
"objOption.IsRecommend"
/>
<q-toggle
size=
"md"
label=
"是否推荐"
color=
"primary"
:false-value=
"0"
:true-value=
"1"
<div
class=
"text-grey-6 text-caption"
>
注意:推荐后教师将在营销端呈现
</div>
v-model=
"objOption.IsRecommend"
/>
<div
class=
"text-grey-6 text-caption"
>
注意:推荐后教师将在营销端呈现
</div>
</div>
</div>
</div>
<div
class=
"col-12 q-pb-lg"
>
<div
class=
"col-12 q-pb-lg"
>
<q-field
filled
label=
"教师标签"
bg-color=
"white"
stack-label
>
<q-field
filled
label=
"教师标签"
bg-color=
"white"
stack-label
>
<template
v-slot:control
>
<template
v-slot:control
>
...
...
src/pages/course/baseSet.vue
View file @
c7884d55
...
@@ -18,8 +18,8 @@
...
@@ -18,8 +18,8 @@
基础课时费:
基础课时费:
</div>
</div>
<div
class=
"col-3"
>
<div
class=
"col-3"
>
<q-input
filled
stack-label
:dense=
"false"
v-model=
"msg.BasicHourFee"
ref=
"BasicHourFee"
class=
"q-pb-lg"
<q-input
filled
stack-label
maxlength=
"8"
:dense=
"false"
v-model=
"msg.BasicHourFee"
ref=
"BasicHourFee"
class=
"q-pb-lg"
:rules=
"[val => !!val || '请填写基础课时费']"
/>
@
keyup
.
native=
"checkPrice(msg,'BasicHourFee')"
:rules=
"[val => !!val || '请填写基础课时费']"
/>
</div>
</div>
</div>
</div>
<div
class=
"col row wrap"
>
<div
class=
"col row wrap"
>
...
@@ -27,8 +27,8 @@
...
@@ -27,8 +27,8 @@
基础带班人数:
基础带班人数:
</div>
</div>
<div
class=
"col-3"
>
<div
class=
"col-3"
>
<q-input
filled
stack-label
:dense=
"false"
v-model=
"msg.BasicClassNum"
ref=
"BasicClassNum"
class=
"q-pb-lg"
<q-input
filled
stack-label
maxlength=
"6"
:dense=
"false"
v-model=
"msg.BasicClassNum"
ref=
"BasicClassNum"
class=
"q-pb-lg"
:rules=
"[val => !!val || '请填写基础带班人数']"
/>
@
keyup
.
native=
"checkInteger(msg,'BasicClassNum')"
:rules=
"[val => !!val || '请填写基础带班人数']"
/>
</div>
</div>
</div>
</div>
<div
class=
"col row wrap"
>
<div
class=
"col row wrap"
>
...
@@ -36,8 +36,8 @@
...
@@ -36,8 +36,8 @@
课时分钟数:
课时分钟数:
</div>
</div>
<div
class=
"col-3"
>
<div
class=
"col-3"
>
<q-input
filled
stack-label
:dense=
"false"
v-model=
"msg.BasicMinutes"
ref=
"BasicMinutes"
class=
"q-pb-lg"
<q-input
filled
stack-label
maxlength=
"6"
:dense=
"false"
v-model=
"msg.BasicMinutes"
ref=
"BasicMinutes"
class=
"q-pb-lg"
:rules=
"[val => !!val || '请填写课时分钟数']"
/>
@
keyup
.
native=
"checkInteger(msg,'BasicMinutes')"
:rules=
"[val => !!val || '请填写课时分钟数']"
/>
</div>
</div>
<div
class=
"col-3"
style=
"padding:18px 0 0 10px;color:gray"
>
<div
class=
"col-3"
style=
"padding:18px 0 0 10px;color:gray"
>
每节课的分钟数,单位为分钟计算
每节课的分钟数,单位为分钟计算
...
@@ -45,7 +45,6 @@
...
@@ -45,7 +45,6 @@
</div>
</div>
<div
class=
"col row wrap"
>
<div
class=
"col row wrap"
>
<div
class=
"col-2 baseSet_Title"
>
<div
class=
"col-2 baseSet_Title"
>
</div>
</div>
<div
class=
"col-3"
>
<div
class=
"col-3"
>
<q-btn
label=
"保存"
color=
"accent q-px-md"
style=
"font-weight:400 !important;margin-top:20px;width:100%;"
<q-btn
label=
"保存"
color=
"accent q-px-md"
style=
"font-weight:400 !important;margin-top:20px;width:100%;"
...
@@ -59,7 +58,7 @@
...
@@ -59,7 +58,7 @@
<template
v-slot:top=
"props"
>
<template
v-slot:top=
"props"
>
<q-space
/>
<q-space
/>
<div
class=
"page-option"
>
<div
class=
"page-option"
>
<q-btn
color=
"accent"
size=
"sm"
icon=
"add"
@
click=
"clearInfo()"
ref=
"addBtn"
label=
"新增"
/>
<q-btn
color=
"accent"
size=
"sm"
icon=
"add"
@
click=
"clearInfo()"
ref=
"addBtn"
label=
"新增"
/>
</div>
</div>
</
template
>
</
template
>
<
template
v-slot:body-cell-AddHourFee=
"props"
>
<
template
v-slot:body-cell-AddHourFee=
"props"
>
...
@@ -71,12 +70,14 @@
...
@@ -71,12 +70,14 @@
</
template
>
</
template
>
<
template
v-slot:body-cell-TotalClassNum=
"props"
>
<
template
v-slot:body-cell-TotalClassNum=
"props"
>
<q-td
:props=
"props"
>
<q-td
:props=
"props"
>
<span
style=
"color:blue;cursor:pointer"
@
click=
"goUrlT('classManage',props.row)"
>
{{
props
.
row
.
TotalClassNum
}}
</span>
<span
style=
"color:blue;cursor:pointer"
@
click=
"goUrlT('classManage',props.row)"
>
{{
props
.
row
.
TotalClassNum
}}
</span>
</q-td>
</q-td>
</
template
>
</
template
>
<
template
v-slot:body-cell-CompleteClassNum=
"props"
>
<
template
v-slot:body-cell-CompleteClassNum=
"props"
>
<q-td
:props=
"props"
>
<q-td
:props=
"props"
>
<span
style=
"color:blue;cursor:pointer"
@
click=
"goUrlT('classManage',props.row)"
>
{{
props
.
row
.
CompleteClassNum
}}
</span>
<span
style=
"color:blue;cursor:pointer"
@
click=
"goUrlT('classManage',props.row)"
>
{{
props
.
row
.
CompleteClassNum
}}
</span>
</q-td>
</q-td>
</
template
>
</
template
>
<
template
v-slot:bottom
>
<
template
v-slot:bottom
>
...
@@ -98,17 +99,15 @@
...
@@ -98,17 +99,15 @@
<q-card-section>
<q-card-section>
<div
class=
"text-h6"
>
{{commonTitle}}
</div>
<div
class=
"text-h6"
>
{{commonTitle}}
</div>
</q-card-section>
</q-card-section>
<q-input
filled
stack-label
:dense=
"false"
v-model=
"addMsg.CTypeName"
label=
"类型名称"
ref=
"CTypeName"
<q-input
filled
stack-label
maxlength=
"20"
:dense=
"false"
v-model=
"addMsg.CTypeName"
label=
"类型名称"
ref=
"CTypeName"
class=
"q-pb-lg"
:rules=
"[val => !!val || '请填写类型名称']"
/>
class=
"q-pb-lg"
:rules=
"[val => !!val || '请填写类型名称']"
/>
<q-input
filled
stack-label
:dense=
"false"
style=
"margin:20px 0;"
v-model=
"addMsg.AddHourFee"
label=
"基础课时费"
ref=
"AddHourFee
"
<q-input
filled
stack-label
:dense=
"false"
maxlength=
"6"
style=
"margin:20px 0;"
v-model=
"addMsg.AddHourFee"
label=
"基础课时费
"
class=
"q-pb-lg
"
:rules=
"[val => !!val || '请填写基础课时费']"
/>
ref=
"AddHourFee"
class=
"q-pb-lg"
@
keyup
.
native=
"checkPrice(addMsg,'AddHourFee')
"
:rules=
"[val => !!val || '请填写基础课时费']"
/>
<q-input
filled
stack-label
:dense=
"false"
v-model=
"addMsg.DefaultClassNum"
label=
"默认班级人数
"
<q-input
filled
stack-label
:dense=
"false"
maxlength=
"8"
v-model=
"addMsg.DefaultClassNum"
label=
"默认班级人数"
ref=
"DefaultClassNum
"
ref=
"DefaultClassNum"
class=
"q-pb-lg
"
:rules=
"[val => !!val || '请填写默认班级人数']"
/>
class=
"q-pb-lg"
@
keyup
.
native=
"checkInteger(addMsg,'DefaultClassNum')
"
:rules=
"[val => !!val || '请填写默认班级人数']"
/>
<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"
<q-btn
label=
"取消"
flat
color=
"grey-10"
style=
"font-weight:400 !important"
@
click=
"persistent=false"
/>
@
click=
"persistent=false"
/>
<q-btn
label=
"确认"
color=
"accent q-px-md"
style=
"font-weight:400 !important"
@
click=
"saveClassType()"
/>
<q-btn
label=
"确认"
color=
"accent q-px-md"
style=
"font-weight:400 !important"
@
click=
"saveClassType()"
/>
</q-card-actions>
</q-card-actions>
</q-card>
</q-card>
</q-dialog>
</q-dialog>
...
@@ -187,7 +186,7 @@
...
@@ -187,7 +186,7 @@
},
},
pageCount
:
0
,
pageCount
:
0
,
persistent
:
false
,
persistent
:
false
,
commonTitle
:
''
commonTitle
:
''
}
}
},
},
created
()
{},
created
()
{},
...
@@ -226,7 +225,7 @@
...
@@ -226,7 +225,7 @@
},
},
//保存班级类型
//保存班级类型
saveClassType
()
{
saveClassType
()
{
if
(
this
.
addMsg
.
CTypeName
==
''
)
{
if
(
this
.
addMsg
.
CTypeName
==
''
)
{
this
.
$q
.
notify
({
this
.
$q
.
notify
({
type
:
'negative'
,
type
:
'negative'
,
position
:
"top"
,
position
:
"top"
,
...
@@ -234,7 +233,7 @@
...
@@ -234,7 +233,7 @@
})
})
return
;
return
;
}
}
if
(
this
.
addMsg
.
AddHourFee
==
''
)
{
if
(
this
.
addMsg
.
AddHourFee
==
''
)
{
this
.
$q
.
notify
({
this
.
$q
.
notify
({
type
:
'negative'
,
type
:
'negative'
,
position
:
"top"
,
position
:
"top"
,
...
@@ -242,7 +241,7 @@
...
@@ -242,7 +241,7 @@
})
})
return
;
return
;
}
}
if
(
this
.
addMsg
.
DefaultClassNum
==
''
)
{
if
(
this
.
addMsg
.
DefaultClassNum
==
''
)
{
this
.
$q
.
notify
({
this
.
$q
.
notify
({
type
:
'negative'
,
type
:
'negative'
,
position
:
"top"
,
position
:
"top"
,
...
@@ -282,7 +281,7 @@
...
@@ -282,7 +281,7 @@
},
},
clearInfo
()
{
clearInfo
()
{
this
.
commonTitle
=
'新增班级类型'
;
this
.
commonTitle
=
'新增班级类型'
;
this
.
persistent
=
true
;
this
.
persistent
=
true
;
this
.
addMsg
.
CTypeId
=
0
;
this
.
addMsg
.
CTypeId
=
0
;
this
.
addMsg
.
CTypeName
=
''
;
this
.
addMsg
.
CTypeName
=
''
;
this
.
addMsg
.
AddHourFee
=
''
;
this
.
addMsg
.
AddHourFee
=
''
;
...
@@ -291,7 +290,7 @@
...
@@ -291,7 +290,7 @@
//编辑班级类型
//编辑班级类型
EditClassType
(
obj
)
{
EditClassType
(
obj
)
{
this
.
commonTitle
=
'修改班级类型'
;
this
.
commonTitle
=
'修改班级类型'
;
this
.
persistent
=
true
;
this
.
persistent
=
true
;
this
.
addMsg
.
CTypeId
=
obj
.
CTypeId
;
this
.
addMsg
.
CTypeId
=
obj
.
CTypeId
;
this
.
addMsg
.
CTypeName
=
obj
.
CTypeName
;
this
.
addMsg
.
CTypeName
=
obj
.
CTypeName
;
this
.
addMsg
.
AddHourFee
=
obj
.
AddHourFee
;
this
.
addMsg
.
AddHourFee
=
obj
.
AddHourFee
;
...
@@ -323,11 +322,17 @@
...
@@ -323,11 +322,17 @@
});
});
},
},
//跳转
//跳转
goUrlT
:
function
(
path
,
obj
){
goUrlT
:
function
(
path
,
obj
)
{
this
.
$router
.
push
({
path
:
path
,
query
:{
"CTypeId"
:
obj
.
CTypeId
,
blank
:
'y'
}})
this
.
$router
.
push
({
path
:
path
,
query
:
{
"CTypeId"
:
obj
.
CTypeId
,
blank
:
'y'
}
})
},
},
closeSetForm
(){
closeSetForm
()
{
this
.
persistent
=
false
;
this
.
persistent
=
false
;
}
}
},
},
}
}
...
...
src/pages/course/classHourReward.vue
View file @
c7884d55
This diff is collapsed.
Click to expand it.
src/pages/course/classManage.vue
View file @
c7884d55
...
@@ -4,7 +4,7 @@
...
@@ -4,7 +4,7 @@
<div
class=
"col row wrap q-mr-lg q-col-gutter-md"
>
<div
class=
"col row wrap q-mr-lg q-col-gutter-md"
>
<div
class=
"col-3"
>
<div
class=
"col-3"
>
<q-input
@
change=
"getClassList"
clearable
standout=
"bg-primary text-white"
v-model=
"msg.ClassName"
<q-input
@
change=
"getClassList"
clearable
standout=
"bg-primary text-white"
v-model=
"msg.ClassName"
label=
"班级名称"
@
clear=
"getClassList"
/>
label=
"班级名称"
@
clear=
"getClassList"
maxlength=
"20"
/>
</div>
</div>
<div
class=
"col-3"
>
<div
class=
"col-3"
>
<q-select
@
input=
"getClassList"
standout=
"bg-primary text-white"
option-value=
"Id"
option-label=
"Name"
<q-select
@
input=
"getClassList"
standout=
"bg-primary text-white"
option-value=
"Id"
option-label=
"Name"
...
@@ -12,11 +12,11 @@
...
@@ -12,11 +12,11 @@
</div>
</div>
<div
class=
"col-3"
>
<div
class=
"col-3"
>
<q-input
@
change=
"getClassList"
clearable
standout=
"bg-primary text-white"
v-model=
"msg.TeacherName"
<q-input
@
change=
"getClassList"
clearable
standout=
"bg-primary text-white"
v-model=
"msg.TeacherName"
label=
"带班老师"
@
clear=
"getClassList"
/>
label=
"带班老师"
@
clear=
"getClassList"
maxlength=
"20"
/>
</div>
</div>
<div
class=
"col-3"
>
<div
class=
"col-3"
>
<q-input
@
change=
"getClassList"
clearable
standout=
"bg-primary text-white"
v-model=
"msg.CourseName"
<q-input
@
change=
"getClassList"
clearable
standout=
"bg-primary text-white"
v-model=
"msg.CourseName"
label=
"学习课程"
@
clear=
"getClassList"
/>
label=
"学习课程"
@
clear=
"getClassList"
maxlength=
"20"
/>
</div>
</div>
<div
class=
"col-3"
>
<div
class=
"col-3"
>
<q-select
@
input=
"getClassList"
standout=
"bg-primary text-white"
option-value=
"SId"
option-label=
"SName"
<q-select
@
input=
"getClassList"
standout=
"bg-primary text-white"
option-value=
"SId"
option-label=
"SName"
...
...
src/pages/course/course.vue
View file @
c7884d55
...
@@ -3,8 +3,8 @@
...
@@ -3,8 +3,8 @@
<div
class=
"page-search row items-center"
>
<div
class=
"page-search row items-center"
>
<div
class=
"col row wrap q-mr-lg q-col-gutter-md"
>
<div
class=
"col row wrap q-mr-lg q-col-gutter-md"
>
<div
class=
"col-3"
>
<div
class=
"col-3"
>
<q-input
@
change
=
"resetSearch"
clearable
standout=
"bg-primary text-white"
v-model=
"msg.CourseName"
<q-input
@
input
=
"resetSearch"
clearable
standout=
"bg-primary text-white"
v-model=
"msg.CourseName"
label=
"课程名称"
/>
label=
"课程名称"
@
clear=
"resetSearch"
maxlength=
"20"
/>
</div>
</div>
<div
class=
"col-3"
>
<div
class=
"col-3"
>
<select-tree
:treeData=
'TreeCategoryList'
<select-tree
:treeData=
'TreeCategoryList'
...
...
src/pages/course/socialclass.vue
View file @
c7884d55
This diff is collapsed.
Click to expand it.
src/pages/course/studentClass.vue
View file @
c7884d55
This diff is collapsed.
Click to expand it.
src/pages/school/assistant.vue
View file @
c7884d55
...
@@ -14,7 +14,7 @@
...
@@ -14,7 +14,7 @@
<q-select
@
input=
"resetSearch"
clearable
filled
stack-label
option-value=
"SId"
option-label=
"SName"
<q-select
@
input=
"resetSearch"
clearable
filled
stack-label
option-value=
"SId"
option-label=
"SName"
v-model=
"schoolTemp"
ref=
"School_Id"
:options=
"schoolList"
label=
"所属校区"
:dense=
"false"
/>
v-model=
"schoolTemp"
ref=
"School_Id"
:options=
"schoolList"
label=
"所属校区"
:dense=
"false"
/>
</div>
</div>
<div
class=
"col-3"
>
<div
class=
"col-3"
style=
"display:none;"
>
<q-select
@
input=
"resetSearch"
standout=
"bg-primary text-white"
v-model=
"msg.AuditStatus"
:options=
"AuditOpts"
<q-select
@
input=
"resetSearch"
standout=
"bg-primary text-white"
v-model=
"msg.AuditStatus"
:options=
"AuditOpts"
emit-value
map-options
label=
"审核状态"
/>
emit-value
map-options
label=
"审核状态"
/>
</div>
</div>
...
@@ -163,12 +163,12 @@
...
@@ -163,12 +163,12 @@
field
:
'PostName'
,
field
:
'PostName'
,
align
:
'left'
,
align
:
'left'
,
},
},
{
//
{
name
:
'AuditStatus'
,
//
name: 'AuditStatus',
label
:
'审核状态'
,
//
label: '审核状态',
align
:
'left'
,
//
align: 'left',
field
:
'AuditStatus'
//
field: 'AuditStatus'
},
//
},
{
{
name
:
'ClassCount'
,
name
:
'ClassCount'
,
label
:
'带班数量'
,
label
:
'带班数量'
,
...
...
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