修改禅道已知bug

This commit is contained in:
qq787203167
2022-05-23 15:02:47 +08:00
parent cda1c6596e
commit 398ff89fcd
4 changed files with 16 additions and 2 deletions
@@ -1,6 +1,10 @@
<template> <template>
<div class="list-table"> <div class="list-table">
<a-table :data-source="tableData" :columns="columns" rowKey="id" :row-selection="{ selectedRowKeys: selectedRowKeys, onChange: onSelectChange }" :pagination="false" class="tag-con-table"> <a-table :data-source="tableData" :scroll="{x: 900}"
:columns="columns" rowKey="id"
:row-selection="{ selectedRowKeys: selectedRowKeys, onChange: onSelectChange }"
:pagination="false"
class="tag-con-table">
<template slot="action" slot-scope="text, record"> <template slot="action" slot-scope="text, record">
<a class="action-edit" href="javascript:;" @click="actionEdit(record)" v-has="'bqnrzdpzxlbj'">{{$t('edit')}}</a> <a class="action-edit" href="javascript:;" @click="actionEdit(record)" v-has="'bqnrzdpzxlbj'">{{$t('edit')}}</a>
@@ -45,18 +49,21 @@
dataIndex: 'itemText', dataIndex: 'itemText',
key: 'itemText', key: 'itemText',
align: "center", align: "center",
ellipsis: true,
width: 100, width: 100,
}, },
{ {
title: this.$t('enName'), title: this.$t('enName'),
align: "center", align: "center",
width: 100, width: 100,
ellipsis: true,
dataIndex: 'enName', dataIndex: 'enName',
}, },
{ {
title: this.$t('describe'), title: this.$t('describe'),
align: "center", align: "center",
width: 100, width: 100,
ellipsis: true,
dataIndex: 'description', dataIndex: 'description',
}, },
{ {
@@ -6,6 +6,7 @@
:columns="columns" :columns="columns"
:data-source="tabData" :data-source="tabData"
rowKey="id" rowKey="id"
:scroll="{x: 900}"
:pagination="false" :pagination="false"
:loading="loading" :loading="loading"
:rowClassName='setRowClassName' :rowClassName='setRowClassName'
@@ -50,16 +51,19 @@
title: this.$t('name'), title: this.$t('name'),
dataIndex: 'name', dataIndex: 'name',
key: 'name', key: 'name',
ellipsis: true,
}, },
{ {
title: this.$t('enName'), title: this.$t('enName'),
dataIndex: 'enName', dataIndex: 'enName',
key: 'enName', key: 'enName',
ellipsis: true,
}, },
{ {
title: this.$t('describe'), title: this.$t('describe'),
dataIndex: 'description', dataIndex: 'description',
key: 'description', key: 'description',
ellipsis: true,
}, },
{ {
title: this.$t('operation'), title: this.$t('operation'),
@@ -55,7 +55,9 @@
</a-form-model> </a-form-model>
</a-modal> </a-modal>
<a-table :data-source="tableData" rowKey="id" :columns="columns" :row-selection="{ selectedRowKeys: selectedRowKeys, onChange: onSelectChange }" :pagination="false" :loading="loading" class="tag-con-table"> <a-table :data-source="tableData" rowKey="id" :columns="columns"
:scroll="{x: true}"
:row-selection="{ selectedRowKeys: selectedRowKeys, onChange: onSelectChange }" :pagination="false" :loading="loading" class="tag-con-table">
<template slot="action" slot-scope="text, record"> <template slot="action" slot-scope="text, record">
<a class="action-dict" @click="handleDicPop(record)">{{$t('DictionaryConfiguration')}}</a> <a class="action-dict" @click="handleDicPop(record)">{{$t('DictionaryConfiguration')}}</a>
@@ -53,6 +53,7 @@
ref="table" ref="table"
rowKey="id" rowKey="id"
size="middle" size="middle"
:scroll="{x: 900}"
:columns="columns" :columns="columns"
:dataSource="dataSource" :dataSource="dataSource"
:pagination="ipagination" :pagination="ipagination"