Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
marketing
Overview
Overview
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
marketing-web
marketing
Commits
c3b961fa
Commit
c3b961fa
authored
May 06, 2021
by
黑潮
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update: 样式调整
parent
a1610959
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
.editorconfig
.editorconfig
+1
-1
list.vue
src/views/ecm/list.vue
+2
-2
No files found.
.editorconfig
View file @
c3b961fa
...
...
@@ -4,6 +4,6 @@ root = true
charset = utf-8
indent_style = space
indent_size = 2
end_of_line = lf
end_of_line =
cr
lf
insert_final_newline = true
trim_trailing_whitespace = true
src/views/ecm/list.vue
View file @
c3b961fa
...
...
@@ -18,7 +18,7 @@
<el-table
tooltipEffect=
"light"
:data=
"tableList"
style=
"width: 100%"
element-loading-text=
"拼命加载中"
>
<el-table-column
v-for=
"(v, i) in tableHeader"
:fixed=
"v.fixed"
:show-overflow-tooltip=
"v.tooltip"
:width=
"v.width"
:min-width=
"v.minWidth"
:align=
"v.align"
:key=
"i"
:prop=
"v.prop"
:label=
"v.label"
:formatter=
"v.formatter"
>
<template
slot-scope=
"scope"
>
<span
v-if=
"v.formatter"
v-html=
"v.formatter(scope.row)"
></span>
<span
class=
"vertical-middle"
v-if=
"v.formatter"
v-html=
"v.formatter(scope.row)"
></span>
<span
v-else
>
{{
scope
.
row
[
v
.
prop
]
}}
</span>
</
template
>
</el-table-column>
...
...
@@ -104,7 +104,7 @@ export default {
}
else
if
(
row
.
effectType
==
2
)
{
/** '单次执行类型(1:立即执行; 0:定时执行)' **/
if
(
row
.
execType
==
0
)
{
return
`
单次(<i class="el-icon-time fz18 vertical-middle"></i>
${
formatDateTimeByType
(
row
.
execTime
,
'yyyy-MM-dd HH:mm:ss'
)}
)
`
;
return
`
<span class="vertical-middle">单次(</span><i class="el-icon-time fz16 vertical-middle" style="margin-right:2px"></i><span class="vertical-middle">
${
formatDateTimeByType
(
row
.
execTime
,
'yyyy-MM-dd HH:mm:ss'
)}
)</span>
`
;
}
else
{
return
'单次(立即执行)'
;
}
...
...
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