[update] 联调企标的部分导出,解决table中每个columns都设置dataIndex会有横向滚动条的问题
This commit is contained in:
@@ -300,7 +300,8 @@ export default {
|
||||
],
|
||||
url: {
|
||||
list: '/enterprise/inspect/page',
|
||||
exportPostponeDataUrl: '', // 导出延期数据
|
||||
exportXlsUrl: '/enterprise/inspect/exportData',
|
||||
exportPostponeDataUrl: '/enterprise/inspect/exportDataWithDelay', // 导出延期数据
|
||||
exportRectificationPlanUrl: '' // 导出整改计划
|
||||
},
|
||||
operationList: [
|
||||
|
||||
@@ -396,7 +396,8 @@ export default {
|
||||
}
|
||||
],
|
||||
url: {
|
||||
list: '/enterprise/plan/page'
|
||||
list: '/enterprise/plan/page',
|
||||
exportXlsUrl: '/enterprise/plan/exportData'
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
@@ -178,7 +178,8 @@ export default {
|
||||
}
|
||||
],
|
||||
url: {
|
||||
list: '/enterprise/declare/page'
|
||||
list: '/enterprise/declare/page',
|
||||
exportXlsUrl: '/enterprise/declare/exportData'
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
@@ -53,9 +53,9 @@
|
||||
<!-- 标题字段 -->
|
||||
<template v-slot:titleSlot="{text, record}">
|
||||
<a-tooltip overlay-class-name="tooltip-style">
|
||||
<template slot="title">{{ record.title || record.title === 0 ? record.title : global.emptyLine }}</template>
|
||||
<a v-if="record.title && record.source !== '4'" class="link-a" @click="handleGoDetail(record)">{{ record.title }}</a>
|
||||
<div v-else class="table-text">{{ record.title || record.title === 0 ? record.title : global.emptyLine }}</div>
|
||||
<template slot="title">{{ text || text === 0 ? text : global.emptyLine }}</template>
|
||||
<a v-if="text && record.source !== '4'" class="link-a" @click="handleGoDetail(record)">{{ text }}</a>
|
||||
<div v-else class="table-text">{{ text || text === 0 ? text : global.emptyLine }}</div>
|
||||
</a-tooltip>
|
||||
</template>
|
||||
|
||||
@@ -93,6 +93,7 @@ export default {
|
||||
title: this.$t('personalCenter.receivedShare.title'),
|
||||
align: 'center',
|
||||
width: 180,
|
||||
dataIndex: 'rubric',
|
||||
scopedSlots: { customRender: 'titleSlot' }
|
||||
},
|
||||
{
|
||||
|
||||
@@ -53,9 +53,9 @@
|
||||
<!-- 标题字段 -->
|
||||
<template v-slot:titleSlot="{text, record}">
|
||||
<a-tooltip overlay-class-name="tooltip-style">
|
||||
<template slot="title">{{ record.title || record.title === 0 ? record.title : global.emptyLine }}</template>
|
||||
<a v-if="record.title && record.source !== '4'" class="link-a" @click="handleGoDetail(record)">{{ record.title }}</a>
|
||||
<div v-else class="table-text">{{ record.title || record.title === 0 ? record.title : global.emptyLine }}</div>
|
||||
<template slot="title">{{ text || text === 0 ? text : global.emptyLine }}</template>
|
||||
<a v-if="text && record.source !== '4'" class="link-a" @click="handleGoDetail(record)">{{ text }}</a>
|
||||
<div v-else class="table-text">{{ text || text === 0 ? text : global.emptyLine }}</div>
|
||||
</a-tooltip>
|
||||
</template>
|
||||
|
||||
@@ -93,6 +93,7 @@ export default {
|
||||
title: this.$t('personalCenter.sentShare.title'),
|
||||
align: 'center',
|
||||
width: 180,
|
||||
dataIndex: 'rubric',
|
||||
scopedSlots: { customRender: 'titleSlot' }
|
||||
},
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user