Commit c3b961fa by 黑潮

update: 样式调整

parent a1610959
......@@ -4,6 +4,6 @@ root = true
charset = utf-8
indent_style = space
indent_size = 2
end_of_line = lf
end_of_line = crlf
insert_final_newline = true
trim_trailing_whitespace = true
......@@ -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 '单次(立即执行)';
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment