【ui】样式调整
This commit is contained in:
@@ -93,30 +93,7 @@
|
||||
class="j-table-force-nowrap"
|
||||
@change="handleTableChange">
|
||||
|
||||
<template slot="htmlSlot" slot-scope="text">
|
||||
<div v-html="text"></div>
|
||||
</template>
|
||||
<template slot="imgSlot" slot-scope="text">
|
||||
<span v-if="!text" style="font-size: 12px;font-style: italic;">无图片</span>
|
||||
<img
|
||||
v-else
|
||||
:src="getImgView(text)"
|
||||
height="25px"
|
||||
alt=""
|
||||
style="max-width:80px;font-size: 12px;font-style: italic;"/>
|
||||
</template>
|
||||
<template slot="fileSlot" slot-scope="text">
|
||||
<span v-if="!text" style="font-size: 12px;font-style: italic;">无文件</span>
|
||||
<a-button
|
||||
v-else
|
||||
:ghost="true"
|
||||
type="primary"
|
||||
icon="download"
|
||||
size="small"
|
||||
@click="uploadFile(text)">
|
||||
下载
|
||||
</a-button>
|
||||
</template>
|
||||
|
||||
|
||||
<span slot="action" class="action-span-cell" slot-scope="text, record">
|
||||
<!-- v-if="$store.getters.userInfo.roleCode !== '3'"-->
|
||||
@@ -289,7 +266,7 @@ export default {
|
||||
{
|
||||
title: '单位全称',
|
||||
align: 'center',
|
||||
width: 160,
|
||||
width: 200,
|
||||
dataIndex: 'companyName',
|
||||
fixed: 'left'
|
||||
},
|
||||
@@ -317,12 +294,12 @@ export default {
|
||||
title: '发证时间',
|
||||
align: 'center',
|
||||
dataIndex: 'certificationDate',
|
||||
width: 170
|
||||
width: 200
|
||||
},
|
||||
{
|
||||
title: '生效日期',
|
||||
align: 'center',
|
||||
width: 170,
|
||||
width: 200,
|
||||
dataIndex: 'effectDate',
|
||||
customRender: function (text) {
|
||||
return !text ? '' : (text.length > 10 ? text.substr(0, 10) : text)
|
||||
@@ -355,7 +332,7 @@ export default {
|
||||
dataIndex: 'action',
|
||||
align: 'center',
|
||||
fixed: 'right',
|
||||
width: 147,
|
||||
width: 150,
|
||||
scopedSlots: {customRender: 'action'}
|
||||
}
|
||||
],
|
||||
|
||||
Reference in New Issue
Block a user