|
|
@@ -8,23 +8,13 @@
|
|
|
default-expand-all
|
|
|
size="small"
|
|
|
:tree-props="{children: 'children', hasChildren: 'hasChildren'}">
|
|
|
- <el-table-column
|
|
|
- width="35">
|
|
|
- </el-table-column>
|
|
|
- <el-table-column width="35">
|
|
|
- <template #header>
|
|
|
- <span></span>
|
|
|
- </template>
|
|
|
- <template #default="{ row }">
|
|
|
- <el-checkbox v-model="row.selected" :checked="row.selected" @change="onRowSelect(row)" :disabled="row.disabled"></el-checkbox>
|
|
|
- </template>
|
|
|
- </el-table-column>
|
|
|
<el-table-column
|
|
|
prop="itemclassname"
|
|
|
show-overflow-tooltip
|
|
|
:label="$t(`类别名称`)"
|
|
|
- width="200">
|
|
|
+ width="300">
|
|
|
<template slot-scope="scope">
|
|
|
+ <el-checkbox v-model="scope.row.selected" :checked="scope.row.selected" @change="onRowSelect(scope.row)" :disabled="scope.row.disabled" style="margin-right: 5px"></el-checkbox>
|
|
|
<span style="color:#3874f6"><b>{{scope.row.itemclassname}}</b></span>
|
|
|
</template>
|
|
|
</el-table-column>
|