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
5c47088f
Commit
5c47088f
authored
Dec 04, 2020
by
zhengke
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改
parent
868ebd84
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
41 additions
and
10 deletions
+41
-10
class-form.vue
src/components/course/class-form.vue
+33
-2
classManage.vue
src/pages/course/classManage.vue
+7
-7
sysuser.vue
src/pages/school/sysuser.vue
+1
-1
No files found.
src/components/course/class-form.vue
View file @
5c47088f
...
...
@@ -58,7 +58,7 @@
<q-dialog
v-model=
"persistent"
persistent
transition-show=
"scale"
transition-hide=
"scale"
>
<q-card
style=
"width: 800px;max-width:900px;"
class=
"CLM-Form"
>
<q-card-section>
<div
class=
"text-h6"
>
{{
o
bjOption
.
ClassId
==
0
?
'新开班级'
:
'修改班级'
}}
</div>
<div
class=
"text-h6"
>
{{
o
ptionTitle
}}
</div>
</q-card-section>
<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>
...
...
@@ -144,11 +144,12 @@
<div
class=
"col-6"
>
<q-input
filled
stack-label
maxlength=
"20"
v-model=
"item.PersionNum"
:dense=
"false"
class=
"col-6 q-pr-lg q-pb-lg"
label=
"人"
/>
<el-input
v-model=
"input"
placeholder=
"请输入内容"
></el-input>
</div>
<div
class=
"col-6"
style=
"position:relative;"
>
<q-input
filled
stack-label
maxlength=
"20"
v-model=
"item.PersionPrice"
:dense=
"false"
class=
"col-6 q-pr-lg q-pb-lg"
label=
"价格"
/>
<q-btn
style=
"position:absolute;right:-8px;top:14px;"
size=
"
10
px"
@
click=
"delStepPrice(index)"
round
<q-btn
style=
"position:absolute;right:-8px;top:14px;"
size=
"
6
px"
@
click=
"delStepPrice(index)"
round
color=
"red"
icon=
"iconfont icon-guanbi1"
/>
</div>
</div>
...
...
@@ -355,10 +356,39 @@
methods
:
{
//初始化表单
initObj
()
{
console
.
log
(
this
.
saveObj
,
'saveObj'
);
if
(
this
.
saveObj
&&
this
.
saveObj
.
ClassId
>
0
)
{
getClassInfo
({
ClassId
:
this
.
saveObj
.
ClassId
}).
then
(
res
=>
{
var
TempData
=
res
.
Data
;
this
.
objOption
.
ClassName
=
TempData
.
ClassName
;
this
.
objOption
.
CouseId
=
TempData
.
CouseId
;
this
.
objOption
.
Teacher_Id
=
TempData
.
Teacher_Id
;
this
.
objOption
.
Assist_Id
=
TempData
.
Assist_Id
;
this
.
objOption
.
Group_Id
=
TempData
.
Group_Id
;
this
.
objOption
.
School_Id
=
TempData
.
School_Id
;
this
.
objOption
.
CreateBy
=
TempData
.
CreateBy
;
this
.
objOption
.
CreateTime
=
TempData
.
CreateTime
;
this
.
objOption
.
UpdateBy
=
TempData
.
UpdateBy
;
this
.
objOption
.
UpdateTime
=
TempData
.
UpdateTime
;
this
.
objOption
.
Status
=
TempData
.
Status
;
this
.
objOption
.
ClassPersion
=
TempData
.
ClassPersion
;
this
.
objOption
.
OpenTime
=
TempData
.
OpenTime
;
//暂无
this
.
objOption
.
EndOrderTime
=
TempData
.
EndOrderTime
;
this
.
objOption
.
OriginalPrice
=
TempData
.
OriginalPrice
;
this
.
objOption
.
SellPrice
=
TempData
.
SellPrice
;
this
.
objOption
.
IsStepPrice
=
TempData
.
IsStepPrice
;
this
.
objOption
.
ClassRoomId
=
TempData
.
ClassRoomId
;
this
.
objOption
.
IsOpenCommission
=
TempData
.
IsOpenCommission
;
this
.
objOption
.
CommissionType
=
TempData
.
CommissionType
;
this
.
objOption
.
CommissionValue
=
TempData
.
CommissionValue
;
this
.
objOption
.
ClassHours
=
TempData
.
ClassHours
;
this
.
objOption
.
ClassStyle
=
TempData
.
ClassStyle
;
this
.
objOption
.
ClassStatus
=
TempData
.
ClassStatus
;
if
(
TempData
.
ClassStepPriceList
&&
TempData
.
ClassStepPriceList
.
length
>
0
){
this
.
ladderPriceList
=
TempData
.
ClassStepPriceList
;
}
console
.
log
(
"rees"
,
res
.
Data
);
})
this
.
optionTitle
=
"修改班级信息"
...
...
@@ -374,6 +404,7 @@
//保存班级
saveCourse
()
{
this
.
saveCourseLoading
=
true
this
.
objOption
.
ClassStepPriceList
=
this
.
ladderPriceList
;
saveClass
(
this
.
objOption
).
then
(
res
=>
{
this
.
saveCourseLoading
=
false
this
.
$q
.
notify
({
...
...
src/pages/course/classManage.vue
View file @
5c47088f
...
...
@@ -43,7 +43,7 @@
<q-td
:props=
"props"
>
<q-btn
flat
size=
"xs"
icon=
"edit"
color=
"accent"
style=
"font-weight:400"
label=
"订单中心"
></q-btn>
<q-btn
flat
size=
"xs"
icon=
"edit"
color=
"accent"
style=
"font-weight:400"
label=
"收支明细"
></q-btn>
<q-btn
flat
size=
"xs"
icon=
"edit"
color=
"accent"
style=
"font-weight:400"
label=
"编辑"
@
click=
"EditCourse()"
/>
<q-btn
flat
size=
"xs"
icon=
"edit"
color=
"accent"
style=
"font-weight:400"
label=
"编辑"
@
click=
"EditCourse(
props.row
)"
/>
</q-td>
</
template
>
</q-table>
...
...
@@ -200,16 +200,16 @@
},
//新增修改菜单
EditCourse
(
obj
)
{
//
if (obj) {
//
this.classObjOption = obj
//
} else {
//
this.classObjOption = null
//
}
if
(
obj
)
{
this
.
classObjOption
=
obj
}
else
{
this
.
classObjOption
=
null
}
this
.
isShowClassForm
=
true
},
//关闭弹窗
closeClassSaveForm
()
{
//
this.isShowClassForm = false
this
.
isShowClassForm
=
false
}
}
}
...
...
src/pages/school/sysuser.vue
View file @
5c47088f
...
...
@@ -57,7 +57,7 @@
range-separator=
"至"
start-placeholder=
"离职开始日期"
end-placeholder=
"离职结束日期"
>
</el-date-picker>
</
template
>
</q-field>
</q-field>
</div>
<div
class=
"col-3 Sysuser_Date"
>
<q-field
filled
class=
"col-6 q-pr-lg q-pb-lg"
>
...
...
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