|
|
@@ -20,13 +20,16 @@
|
|
|
>{{ scope.row.name }}</el-link>
|
|
|
</template>
|
|
|
|
|
|
+ <template #table-column-cover="{scope}">
|
|
|
+ <img :src="scope.row.cover" style="width:40px;height:40px;margin:0 auto;" />
|
|
|
+ </template>
|
|
|
+
|
|
|
<template #table-column-inTurn="{scope}">
|
|
|
<span v-if="!sort.status">{{ scope.row.inTurn }}</span>
|
|
|
<el-input ref="sort-input" focus size="mini" v-else v-model="scope.row.inTurn" @blur="changeSort(scope.row)">
|
|
|
</el-input>
|
|
|
</template>
|
|
|
|
|
|
- <!-- 排序 -->
|
|
|
<template #table-header-inTurn>
|
|
|
<div class="set-sort">
|
|
|
<span>排序</span>
|
|
|
@@ -34,7 +37,7 @@
|
|
|
</template>
|
|
|
|
|
|
<template #slot-item-list="{scope}">
|
|
|
- <el-button type="text" @click.native.stop="getItemList(scope.row)">花材列表</el-button>
|
|
|
+ <el-button type="text" @click.native.stop="getItemList(scope.row)">名下花材</el-button>
|
|
|
</template>
|
|
|
|
|
|
</x-crud>
|
|
|
@@ -88,6 +91,12 @@ export default {
|
|
|
label: 'ID',
|
|
|
align: 'center'
|
|
|
},
|
|
|
+ {
|
|
|
+ prop: 'cover',
|
|
|
+ label: '图片',
|
|
|
+ align: 'center',
|
|
|
+ minWidth: 100
|
|
|
+ },
|
|
|
{
|
|
|
prop: 'name',
|
|
|
label: '标题',
|
|
|
@@ -96,7 +105,7 @@ export default {
|
|
|
},
|
|
|
{
|
|
|
prop: 'num',
|
|
|
- label: '花材数量',
|
|
|
+ label: '数量',
|
|
|
align: 'center',
|
|
|
'min-width': 100
|
|
|
},
|