no message
This commit is contained in:
parent
54f15f1504
commit
e242e86acd
@ -49,7 +49,7 @@
|
||||
|
||||
<p v-else-if="item.columntype=='tag' || item.columntype=='time'" @click="handleClick(row, item)" v-time.tip="row[item.name]"></p>
|
||||
|
||||
<slot v-else :name="item.name" v-bind="scope">
|
||||
<slot v-else :name="item.name">
|
||||
{{ item.columntype=='select' && item.options && item.options.items ? getNameByValue( row[item.name], item.options.items ) : row[item.name] }}
|
||||
</slot>
|
||||
</div>
|
||||
|
@ -6,14 +6,14 @@
|
||||
<template v-for="(item, index) in column" :key="index">
|
||||
<el-table-column :align="item.align || 'left'" :label="item.label" v-if="item.column && item.column.length>0">
|
||||
<el-table-column v-for="(items, indexs) in item.column" :key="indexs" :align="items.align || 'left'" :column-key="items.prop||items.name" :label="items.label" :prop="items.prop||items.name" :width="items.width || 'auto'" :min-width="items.minWidth || 'auto'" :sortable="items.sortable" :fixed="items.fixed" :filters="items.filters" :filter-method="remoteFilter||!items.filters?null:filterHandler" :show-overflow-tooltip="items.showOverflowTooltip">
|
||||
<template #default="scope">
|
||||
<columnItem :row="scope.row" :item="items" @xtableupdate="xtableupdate"> </columnItem>
|
||||
<template #default="{ row }">
|
||||
<columnItem :row="row" :item="items" @xtableupdate="xtableupdate"> </columnItem>
|
||||
</template>
|
||||
</el-table-column>
|
||||
</el-table-column>
|
||||
<el-table-column v-else-if="!item.hide && (item.name || item.prop)" :align="item.align || 'left'" :column-key="item.prop||item.name" :label="item.label" :prop="item.prop||item.name" :width="item.width || 'auto'" :min-width="item.minWidth || 'auto'" :sortable="item.sortable" :fixed="item.fixed" :filters="item.filters" :filter-method="remoteFilter||!item.filters?null:filterHandler" :show-overflow-tooltip="item.showOverflowTooltip">
|
||||
<template #default="scope">
|
||||
<columnItem :row="scope.row" :item="item" @xtableupdate="xtableupdate"> </columnItem>
|
||||
<template #default="{ row }">
|
||||
<columnItem :row="row" :item="item" @xtableupdate="xtableupdate"> </columnItem>
|
||||
</template>
|
||||
</el-table-column>
|
||||
</template>
|
||||
@ -85,7 +85,7 @@
|
||||
props: {
|
||||
name: { type: String, default: "" },
|
||||
tableColumn: { type: Object, default: () => {} },
|
||||
api: { type: Object, default: () => {} },
|
||||
api: { type: String, default: () => {} },
|
||||
apiObj: { type: Object, default: () => {} },
|
||||
params: { type: Object, default: () => ({}) },
|
||||
data: { type: Object, default: () => {} },
|
||||
|
@ -68,7 +68,7 @@
|
||||
import xFilterBar from '@/components/xFilterBar';
|
||||
import xEcharts from '@/components/xEcharts'
|
||||
export default {
|
||||
name: 'propertyAuth',
|
||||
name: 'systemTable',
|
||||
components: {
|
||||
xStat,
|
||||
xEcharts,
|
||||
|
Loading…
Reference in New Issue
Block a user