|
|
|
@ -18,7 +18,7 @@ |
|
|
|
|
>{{ item.name }}</a-select-option> |
|
|
|
|
</a-select> |
|
|
|
|
</a-form-item> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<a-form-item class="search-btn"> |
|
|
|
|
<a-button type="primary" icon="search" html-type="submit">搜索</a-button> |
|
|
|
|
</a-form-item> |
|
|
|
@ -41,6 +41,11 @@ |
|
|
|
|
<span slot="name" slot-scope="text"> |
|
|
|
|
<p class="twoline-hide">{{ text }}</p> |
|
|
|
|
</span> |
|
|
|
|
<span slot="img_url" slot-scope="text"> |
|
|
|
|
<a v-if="text" title="点击查看原图" :href="text" target="_blank"> |
|
|
|
|
<img height="50" :src="text" alt="分类图片" /> |
|
|
|
|
</a> |
|
|
|
|
</span> |
|
|
|
|
<!-- 所属分类 --> |
|
|
|
|
<span slot="category" slot-scope="text">{{ text.name }}</span> |
|
|
|
|
<!-- 状态 --> |
|
|
|
@ -71,6 +76,11 @@ const columns = [ |
|
|
|
|
title: 'ID', |
|
|
|
|
dataIndex: 'id' |
|
|
|
|
}, |
|
|
|
|
{ |
|
|
|
|
title: '维修图片', |
|
|
|
|
dataIndex: 'img_url', |
|
|
|
|
scopedSlots: { customRender: 'img_url' } |
|
|
|
|
}, |
|
|
|
|
{ |
|
|
|
|
title: '维修名称', |
|
|
|
|
dataIndex: 'name' |
|
|
|
|