Commit f4808be0 by crushh

udpate: ui

parent 48abbe1f
......@@ -54,16 +54,16 @@
<el-table-column prop="operatorName" label="操作人" width="120" show-overflow-tooltip> </el-table-column>
<el-table-column prop="suitDepartmentName" label="适用范围" min-width="80">
<template slot-scope="{ row }">
<el-popover placement="top-start" trigger="hover" v-if="row.suitDepartmentName.join(',').length > 40">
<el-popover placement="top-start" trigger="hover" v-if="row.suitDepartmentName.join('').length > 40">
<div class="popoverBox">
{{ row.suitDepartmentName.join(',') }}
{{ row.suitDepartmentName.join('') }}
</div>
<div slot="reference">
{{ row.suitDepartmentName.join(',').slice(0, 40) + '...' }}
{{ row.suitDepartmentName.join('').slice(0, 40) + '...' }}
</div>
</el-popover>
<div v-else>
{{ row.suitDepartmentName.join(',') }}
{{ row.suitDepartmentName.join('') }}
</div>
</template>
</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