修改参数上报库清单
This commit is contained in:
@@ -1,22 +1,22 @@
|
|||||||
<template>
|
<template>
|
||||||
<a-table
|
<a-table
|
||||||
:components="drag(columnshistory,'columnshistory')"
|
:components="drag(columnshistory,'columnshistory')"
|
||||||
class="table"
|
class="table"
|
||||||
:columns="columnshistory"
|
:columns="columnshistory"
|
||||||
:pagination="false"
|
:pagination="false"
|
||||||
:scroll="{x: '100%',y: 400}"
|
:scroll="{x: '100%',y: 400}"
|
||||||
:data-source="dataSourcehistory"
|
:data-source="dataSourcehistory"
|
||||||
:loading="loading"
|
:loading="loading"
|
||||||
>
|
>
|
||||||
<span slot="content" slot-scope="text,record">
|
<span slot="content" slot-scope="text,record">
|
||||||
<a-tooltip placement="topLeft">
|
<a-tooltip overlayClassName="columnshistory" placement="topLeft">
|
||||||
<template slot="title">
|
<template slot="title">
|
||||||
<span v-html="text"></span>
|
<span v-html="text"></span>
|
||||||
</template>
|
</template>
|
||||||
<span v-html="text"></span>
|
<span v-html="text"></span>
|
||||||
</a-tooltip>
|
</a-tooltip>
|
||||||
</span>
|
</span>
|
||||||
<span slot="detailText" slot-scope="text,record">
|
<span slot="detailText" slot-scope="text,record">
|
||||||
<span class="text" :title="text">
|
<span class="text" :title="text">
|
||||||
{{text && text.length > 10?text.slice(0,9)+'...':text}}
|
{{text && text.length > 10?text.slice(0,9)+'...':text}}
|
||||||
</span>
|
</span>
|
||||||
@@ -26,14 +26,20 @@
|
|||||||
|
|
||||||
<script>
|
<script>
|
||||||
|
|
||||||
import { ResizeHeader, ResizeColumnProvide } from '@/mixins/header'
|
import { ResizeHeader, ResizeColumnProvide } from '@/mixins/header'
|
||||||
export default {
|
|
||||||
name: 'historyTable.vue',
|
export default {
|
||||||
props:['columnshistory','dataSourcehistory'],
|
name: 'historyTable.vue',
|
||||||
mixins:[ResizeHeader, ResizeColumnProvide],
|
props: ['columnshistory', 'dataSourcehistory'],
|
||||||
}
|
mixins: [ResizeHeader, ResizeColumnProvide]
|
||||||
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style scoped>
|
<style scoped>
|
||||||
|
|
||||||
|
</style>
|
||||||
|
<style>
|
||||||
|
.columnshistory .ant-tooltip-inner {
|
||||||
|
color: #333!important;
|
||||||
|
}
|
||||||
</style>
|
</style>
|
||||||
Reference in New Issue
Block a user