Commit fb33cf55 by crushh

update: dist

parent f02115f4
...@@ -54,11 +54,16 @@ ...@@ -54,11 +54,16 @@
<el-table-column prop="operatorName" label="操作人" width="120" show-overflow-tooltip> </el-table-column> <el-table-column prop="operatorName" label="操作人" width="120" show-overflow-tooltip> </el-table-column>
<el-table-column prop="suitDepartmentName" label="适用范围" width="300"> <el-table-column prop="suitDepartmentName" label="适用范围" width="300">
<template slot-scope="{ row }"> <template slot-scope="{ row }">
<div class="wrapText" v-if="row.suitDepartmentName.join(',').length > 40"> <div v-if="row.defaultWelcomeFlag">
{{ row.suitDepartmentName.join(',').slice(0, 40) + '...' }} <div>全体成员</div>
</div> </div>
<div class="wrapText" v-else> <div v-else>
{{ row.suitDepartmentName.join(',') }} <div class="wrapText" v-if="row.suitDepartmentName.join(',').length > 40">
{{ row.suitDepartmentName.join(',').slice(0, 40) + '...' }}
</div>
<div class="wrapText" v-else>
{{ row.suitDepartmentName.join(',') }}
</div>
</div> </div>
</template> </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