Commit 6c47ba6d by caoyanzhi

update: 样式调整

parent fe9c181c
...@@ -14,7 +14,7 @@ ...@@ -14,7 +14,7 @@
</div> </div>
<div class="app-info"> <div class="app-info">
<p class="app-name">{{ el.applicationName }}</p> <p class="app-name">{{ el.applicationName }}</p>
<p class="to-buy" @click="toBuy">去订购&nbsp;<i class="iconfont iconjiantouxiangyou"></i></p> <el-button class="to-buy" type="text" @click="toBuy">去订购&nbsp;<i class="iconfont iconjiantouxiangyou"></i></el-button>
</div> </div>
<span class="out-time-tip">已过期</span> <span class="out-time-tip">已过期</span>
</div> </div>
...@@ -156,12 +156,7 @@ export default { ...@@ -156,12 +156,7 @@ export default {
white-space: nowrap; white-space: nowrap;
} }
.to-buy { .to-buy {
display: flex;
justify-content: flex-start;
align-items: center;
font-size: 12px; font-size: 12px;
font-weight: 400;
color: @blue;
line-height: 17px; line-height: 17px;
} }
} }
......
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
<el-button type="primary" @click="toCreateGroup()">新建审核组</el-button> <el-button type="primary" @click="toCreateGroup()">新建审核组</el-button>
</div> </div>
<el-table :data="groupList"> <el-table :data="groupList">
<el-table-column label="审核组" prop="auditGroupName" :formatter="(row, col, val) => val || '--'"></el-table-column> <el-table-column label="审核组" prop="auditGroupName" :formatter="(row, col, val) => val || '--'" show-overflow-tooltip></el-table-column>
<el-table-column label="管理员" show-overflow-tooltip> <el-table-column label="管理员" show-overflow-tooltip>
<template slot-scope="{ row }">{{ row.auditPerson | formatAuditer }}</template> <template slot-scope="{ row }">{{ row.auditPerson | formatAuditer }}</template>
</el-table-column> </el-table-column>
...@@ -61,7 +61,7 @@ export default { ...@@ -61,7 +61,7 @@ export default {
formatAuditer(auditerlist) { formatAuditer(auditerlist) {
if (!Array.isArray(auditerlist)) return '--'; if (!Array.isArray(auditerlist)) return '--';
const result = auditerlist.map(el => el.staffName || '--'); const result = auditerlist.map(el => el.staffName || '--');
return result.join('、'); return result.length > 0 ? result.join('、') : '--';
} }
} }
}; };
......
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
<el-button type="primary" @click="toCreateItem()">新建事项</el-button> <el-button type="primary" @click="toCreateItem()">新建事项</el-button>
</div> </div>
<el-table :data="auditItemList"> <el-table :data="auditItemList">
<el-table-column label="审核组" prop="auditGroupName" :formatter="(row, col, val) => val || '--'"></el-table-column> <el-table-column label="审核组" prop="auditGroupName" :formatter="(row, col, val) => val || '--'" show-overflow-tooltip></el-table-column>
<el-table-column label="审核事项" prop="auditTypes" show-overflow-tooltip> <el-table-column label="审核事项" prop="auditTypes" show-overflow-tooltip>
<template slot-scope="{ row }">{{ row.auditTypes | formatAuditTypes(auditTypes) }}</template> <template slot-scope="{ row }">{{ row.auditTypes | formatAuditTypes(auditTypes) }}</template>
</el-table-column> </el-table-column>
......
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