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
a87c7849
Commit
a87c7849
authored
Jul 22, 2021
by
zhengke
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改
parent
bb1b1bb1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
25 additions
and
8 deletions
+25
-8
course-form.vue
src/components/course/course-form.vue
+21
-4
orderlist.vue
src/components/sale/orderlist.vue
+4
-4
No files found.
src/components/course/course-form.vue
View file @
a87c7849
...
...
@@ -81,7 +81,7 @@
</div>
<div
class=
"row wrap"
>
<div
class=
"col-6"
>
<q-input
filled
stack-label
@
keyup
.
native=
"checkPrice(objOption, 'ClassHours')"
reverse-fill-mask
<q-input
filled
stack-label
:disable=
"!isHaveCourseHoursEdit"
@
keyup
.
native=
"checkPrice(objOption, 'ClassHours')"
reverse-fill-mask
v-model=
"objOption.ClassHours"
ref=
"ClassHours"
class=
"col-6 q-pr-lg q-pb-lg"
label=
"课时数量"
:rules=
"[val => !!val || '请填写课时信息']"
/>
</div>
...
...
@@ -130,6 +130,9 @@
UploadSelfFile
}
from
"../../api/common/common"
;
import
extEditor
from
"../common/ext-editor"
;
import
{
mapState
}
from
"vuex"
;
export
default
{
components
:
{
...
...
@@ -172,17 +175,31 @@
SaleplatList
:
[],
//销售端口
choosePlat
:
[],
//选择的平台
chooseTeacher
:
[],
//选择老师
isShowPrice
:
0
//是否显示价格【hk2021-03-05新增】
isShowPrice
:
0
,
//是否显示价格【hk2021-03-05新增】
};
},
created
()
{
this
.
GetTeacherList
();
this
.
getSaleplat
();
},
computed
:
mapState
({
isHaveCourseHoursEdit
(
state
)
{
if
(
state
.
user
.
userInfo
&&
state
.
user
.
userInfo
.
ActionMenuList
&&
state
.
user
.
userInfo
.
ActionMenuList
.
length
>
0
)
{
let
action
=
state
.
user
.
userInfo
.
ActionMenuList
.
find
(
x
=>
{
if
(
x
.
FunctionCode
==
"Edit_CourseClassHours"
)
{
return
x
;
}
});
if
(
action
){
return
true
}
}
return
false
;
}
}),
mounted
()
{
this
.
initObj
();
},
methods
:
{
//获取教师下拉
...
...
src/components/sale/orderlist.vue
View file @
a87c7849
...
...
@@ -287,22 +287,22 @@
<q-item-label>
取消订单
</q-item-label>
</q-item-section>
</q-item>
<q-item
clickable
v-close-popup
v-
close-popup
v-
if=
"AuthorityObj.isShowBackClass"
>
<q-item
clickable
v-close-popup
v-if=
"AuthorityObj.isShowBackClass"
>
<q-item-section>
<q-item-label
@
click=
"showBackClassForm(item)"
>
退课
</q-item-label>
</q-item-section>
</q-item>
<q-item
clickable
v-close-popup
v-
close-popup
v-
if=
"AuthorityObj.isShowRenewClass"
>
<q-item
clickable
v-close-popup
v-if=
"AuthorityObj.isShowRenewClass"
>
<q-item-section>
<q-item-label
@
click=
"showContinueClass(item)"
>
续课
</q-item-label>
</q-item-section>
</q-item>
<q-item
clickable
v-close-popup
v-
close-popup
v-
if=
"AuthorityObj.isShowTransClassOrder"
>
<q-item
clickable
v-close-popup
v-if=
"AuthorityObj.isShowTransClassOrder"
>
<q-item-section>
<q-item-label
@
click=
"transferClass(item,1)"
>
转班
</q-item-label>
</q-item-section>
</q-item>
<q-item
clickable
v-close-popup
v-if=
"AuthorityObj.isShowSeparater"
style=
"display:none"
>
<q-item
clickable
v-close-popup
v-if=
"AuthorityObj.isShowSeparater"
>
<q-item-section>
<q-item-label
@
click=
"transferClass(item,2)"
>
分拆
</q-item-label>
</q-item-section>
...
...
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