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
4f990b4e
Commit
4f990b4e
authored
Jul 29, 2021
by
zhengke
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
48446fa6
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
classconflict-form.vue
src/components/course/classconflict-form.vue
+6
-6
No files found.
src/components/course/classconflict-form.vue
View file @
4f990b4e
...
...
@@ -118,7 +118,7 @@
</
template
>
</q-input>
<div
style=
"display:flex;justify-content:flex-end;margin-bottom:20px;"
>
<q-btn
@
click=
"addStep(props.row)"
size=
"10px"
round
color=
"primary"
<q-btn
@
click=
"addStep
One
(props.row)"
size=
"10px"
round
color=
"primary"
icon=
"iconfont icon-img_haha"
/>
</div>
<div
class=
"row wrap"
style=
"position:relative;"
...
...
@@ -159,7 +159,7 @@
:rules=
"[val => !!val || '请填写消耗课时']"
@
keyup
.
native=
"checkPrice(subItem,'TimeHour')"
/>
</div>
<div
class=
"delBtnStyle"
>
<i
@
click=
"delStep(props.row,subIndex)"
class=
"iconfont icon-guanbi"
></i>
<i
@
click=
"delStep
One
(props.row,subIndex)"
class=
"iconfont icon-guanbi"
></i>
</div>
</div>
<q-card-actions
align=
"right"
class=
"bg-white"
>
...
...
@@ -387,18 +387,18 @@
},
methods
:
{
//点击新增
addStep
(
item
)
{
addStep
One
(
item
)
{
console
.
log
(
item
,
'item'
);
var
obj
=
{
StartTime
:
""
,
//开始时间
EndTime
:
""
,
//结束时间
TimeHour
:
0
,
//消耗课时
}
item
.
TimeList
.
push
(
obj
);
item
.
Plan
TimeList
.
push
(
obj
);
},
//删除
delStep
(
item
,
index
)
{
item
.
TimeList
.
splice
(
index
,
1
);
delStep
One
(
item
,
index
)
{
item
.
Plan
TimeList
.
splice
(
index
,
1
);
},
//新增
addStepTwo
()
{
...
...
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