Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
Z
zhengyuan-danger-chemistry-manage
Project
Project
Details
Activity
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
耿迪迪
zhengyuan-danger-chemistry-manage
Commits
d8519ddc
Commit
d8519ddc
authored
Feb 03, 2023
by
zhangjianqian
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
隐患台账添加修改,我的课程课程类型图标改为代码。
parent
83a6b852
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
48 additions
and
4 deletions
+48
-4
LearnItem.vue
...iews/educationPlanExam/myLessons/components/LearnItem.vue
+28
-3
index.vue
danger-manage-web/src/views/system/book/index.vue
+20
-1
No files found.
danger-manage-web/src/views/educationPlanExam/myLessons/components/LearnItem.vue
View file @
d8519ddc
...
...
@@ -9,9 +9,11 @@
<
template
>
<div
class=
"item flex"
>
<div
class=
"title"
style=
"text-align: center"
>
{{
itemData
.
courseType
||
'-'
}}
</div>
<div
class=
"allone"
>
<img
v-if=
"itemData.dataKind==0"
style=
"height: 18px"
src=
"@/assets/img/ykao.png"
/>
<img
v-if=
"itemData.dataKind==1"
style=
"height: 18px"
src=
"@/assets/img/skao.png"
/>
<div
class=
"allone"
style=
"position:relative"
>
<!--
<img
v-if=
"itemData.dataKind==0"
style=
"height: 18px"
src=
"@/assets/img/ykao.png"
/>
-->
<!--
<img
v-if=
"itemData.dataKind==1"
style=
"height: 18px"
src=
"@/assets/img/skao.png"
/>
-->
<div
class=
"content"
>
{{
itemData
.
dataKind
==
0
?
"培训课程"
:
"随机考试"
}}
</div>
<div
class=
"border"
></div>
<div
class=
"lesson zzz"
style=
"width: 75%"
:title=
"itemData.courseName"
>
{{
itemData
.
courseName
}}
</div>
</div>
<div
class=
"time"
>
发布时间:
{{
itemData
.
createTime
}}
</div>
...
...
@@ -222,4 +224,27 @@ export default {
}
}
}
.border
{
width
:
0
;
height
:
0
;
border
:
10px
solid
;
border-color
:
transparent
transparent
transparent
#1d84ff
;
}
.border
:after
{
content
:
''
;
border-style
:
solid
;
border-width
:
10px
;
border-color
:
transparent
transparent
transparent
#fff
;
position
:
absolute
;
top
:
0px
;
left
:
49px
;
}
.content
{
border
:
1
.5px
solid
#1d84ff
;
height
:
20px
;
font-size
:
10px
;
color
:
#1d84ff
;
line-height
:
18px
;
}
</
style
>
danger-manage-web/src/views/system/book/index.vue
View file @
d8519ddc
...
...
@@ -97,6 +97,14 @@
</el-table-column>
<el-table-column
label=
"操作"
align=
"center"
class-name=
"small-padding fixed-width"
>
<
template
slot-scope=
"scope"
>
<el-button
v-if=
"scope.row.state==0&&(scope.row.escalation == user.userId||scope.row.createId == user.userId)"
size=
"mini"
type=
"text"
icon=
"el-icon-edit"
@
click=
"handleEdit(scope.row)"
v-hasPermi=
"['system:book:edit']"
>
修改
</el-button>
<el-button
v-if=
"scope.row.state==0&&scope.row.rectification == user.userId"
size=
"mini"
...
...
@@ -1084,7 +1092,18 @@ export default {
this
.
zhong
=
3
;
this
.
staffList2
=
this
.
staffList
;
},
handleEdit
(
book
){
this
.
zhong
=
0
;
this
.
fast
=
false
;
this
.
reset
();
this
.
open
=
true
;
this
.
title
=
"添加隐患台账"
;
this
.
staffList2
=
this
.
staffList
;
this
.
form
=
book
;
this
.
fileList
.
push
({
url
:
this
.
form
.
picture
,
});
},
/** 修改按钮操作 */
handleUpdate
(
row
)
{
this
.
reset
();
...
...
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