修改禅道已知bug

This commit is contained in:
qq787203167
2022-08-11 09:50:14 +08:00
parent f7f1c15ca0
commit 2e3c94de2a
4 changed files with 25 additions and 10 deletions
@@ -391,8 +391,8 @@
this.formInline = { ...this.formInline } this.formInline = { ...this.formInline }
} else { } else {
this.formInline = {} this.formInline = {}
this.formInline.lawsContact = this.userInfo().username this.formInline.lawsContact = this.userInfo().id
this.formInline.lawsContactName = this.userInfo().id this.formInline.lawsContactName = this.userInfo().username
this.formInline = { ...this.formInline } this.formInline = { ...this.formInline }
} }
}) })
@@ -384,4 +384,16 @@
height: 38px; height: 38px;
margin-top: 4px; margin-top: 4px;
} }
::v-deep .ant-select-tree-treenode-switcher-close {
width: 255px;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
::v-deep .ant-select-tree-node-content-wrapper{
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
</style> </style>
@@ -84,12 +84,13 @@
title: this.$t('chineseTitle'), title: this.$t('chineseTitle'),
align: 'center', align: 'center',
dataIndex: 'titleCn', dataIndex: 'titleCn',
width: 210 ellipsis: true,
width: 320
}, },
{ {
title: this.$t('englishTitle'), title: this.$t('englishTitle'),
align: 'center', align: 'center',
width: 210, width: 320,
ellipsis: true, ellipsis: true,
dataIndex: 'titleEn' dataIndex: 'titleEn'
}, },
@@ -100,8 +100,8 @@
v-if="record.createBy == userInfoQuery.username && record.releaseCondition == 'draft'" v-if="record.createBy == userInfoQuery.username && record.releaseCondition == 'draft'"
@click="deleteData(record)">{{$t('delete')}}</a> @click="deleteData(record)">{{$t('delete')}}</a>
</span> </span>
<span slot="title" slot-scope="text,record" :title="text"> <span slot="standardTitle" slot-scope="text,record" :title="text">
{{ text && text.length > 15 ? text.slice(0, 14) + '...' : text }} {{ text}}
</span> </span>
<span slot="translationLanguage" slot-scope="text,record" <span slot="translationLanguage" slot-scope="text,record"
:title="record.sourceLanguage_dictText +' -- '+record.targetLanguage_dictText"> :title="record.sourceLanguage_dictText +' -- '+record.targetLanguage_dictText">
@@ -150,7 +150,7 @@
}, },
toggleSearchStatus: false, toggleSearchStatus: false,
loading: false, loading: false,
dataSource: [{}], dataSource: [],
selectedRowKeys: [], selectedRowKeys: [],
total: 0, total: 0,
pageSize: 10, pageSize: 10,
@@ -164,14 +164,16 @@
align: 'center', align: 'center',
dataIndex: 'serialNumber', dataIndex: 'serialNumber',
width: 170, width: 170,
scopedSlots: { customRender: 'title' } ellipsis: true,
scopedSlots: { customRender: 'standardTitle' }
}, },
{ {
title: this.$t('title'), title: this.$t('title'),
align: 'center', align: 'center',
dataIndex: 'title', dataIndex: 'title',
width: 170, width: 170,
scopedSlots: { customRender: 'title' } ellipsis: true,
scopedSlots: { customRender: 'standardTitle' }
}, },
{ {
title: this.$t('TextStatus'), title: this.$t('TextStatus'),
@@ -254,7 +256,7 @@
this.pageNo = page this.pageNo = page
this.getList() this.getList()
}, },
SizeChange(page,pageSize) { SizeChange(page, pageSize) {
this.pageNo = 1 this.pageNo = 1
this.pageSize = pageSize this.pageSize = pageSize
this.getList() this.getList()