Commit fb33cf55 by crushh

update: dist

parent f02115f4
...@@ -54,12 +54,17 @@ ...@@ -54,12 +54,17 @@
<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 v-if="row.defaultWelcomeFlag">
<div>全体成员</div>
</div>
<div v-else>
<div class="wrapText" v-if="row.suitDepartmentName.join(',').length > 40"> <div class="wrapText" v-if="row.suitDepartmentName.join(',').length > 40">
{{ row.suitDepartmentName.join(',').slice(0, 40) + '...' }} {{ row.suitDepartmentName.join(',').slice(0, 40) + '...' }}
</div> </div>
<div class="wrapText" v-else> <div class="wrapText" v-else>
{{ row.suitDepartmentName.join(',') }} {{ row.suitDepartmentName.join(',') }}
</div> </div>
</div>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column label="操作" width="180"> <el-table-column label="操作" width="180">
......
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