Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas_plus
/
dj-car-life-system
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 576be6da
authored
Apr 28, 2026
by
Lin
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
feat: 在短课程组件中添加处罚开关修改条件注释,提升代码可读性
1 parent
d38dd3f4
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
0 deletions
src/views/serviceCentre/shortCourse/lightChange.vue
src/views/serviceCentre/shortCourse/lightChange.vue
View file @
576be6d
...
@@ -270,6 +270,7 @@ export default {
...
@@ -270,6 +270,7 @@ export default {
&&
this
.
$refs
.
lightTable
.
refreshTable
(
first
,
second
);
&&
this
.
$refs
.
lightTable
.
refreshTable
(
first
,
second
);
},
},
handlePenalty
(
row
)
{
handlePenalty
(
row
)
{
// taskStatus = 1 && completeTime = null && punishType = 1 满足三个条件方可修改处罚开关
const
taskStatusOk
=
Number
(
row
?.
taskStatus
)
===
1
;
const
taskStatusOk
=
Number
(
row
?.
taskStatus
)
===
1
;
const
completeTimeEmpty
const
completeTimeEmpty
=
row
?.
completeTime
===
null
=
row
?.
completeTime
===
null
...
...
Write
Preview
Markdown
is supported
Attach a file
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 post a comment