修改禅道已知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 }
} else {
this.formInline = {}
this.formInline.lawsContact = this.userInfo().username
this.formInline.lawsContactName = this.userInfo().id
this.formInline.lawsContact = this.userInfo().id
this.formInline.lawsContactName = this.userInfo().username
this.formInline = { ...this.formInline }
}
})
@@ -384,4 +384,16 @@
height: 38px;
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>
@@ -84,12 +84,13 @@
title: this.$t('chineseTitle'),
align: 'center',
dataIndex: 'titleCn',
width: 210
ellipsis: true,
width: 320
},
{
title: this.$t('englishTitle'),
align: 'center',
width: 210,
width: 320,
ellipsis: true,
dataIndex: 'titleEn'
},
@@ -100,8 +100,8 @@
v-if="record.createBy == userInfoQuery.username && record.releaseCondition == 'draft'"
@click="deleteData(record)">{{$t('delete')}}</a>
</span>
<span slot="title" slot-scope="text,record" :title="text">
{{ text && text.length > 15 ? text.slice(0, 14) + '...' : text }}
<span slot="standardTitle" slot-scope="text,record" :title="text">
{{ text}}
</span>
<span slot="translationLanguage" slot-scope="text,record"
:title="record.sourceLanguage_dictText +' -- '+record.targetLanguage_dictText">
@@ -150,7 +150,7 @@
},
toggleSearchStatus: false,
loading: false,
dataSource: [{}],
dataSource: [],
selectedRowKeys: [],
total: 0,
pageSize: 10,
@@ -164,14 +164,16 @@
align: 'center',
dataIndex: 'serialNumber',
width: 170,
scopedSlots: { customRender: 'title' }
ellipsis: true,
scopedSlots: { customRender: 'standardTitle' }
},
{
title: this.$t('title'),
align: 'center',
dataIndex: 'title',
width: 170,
scopedSlots: { customRender: 'title' }
ellipsis: true,
scopedSlots: { customRender: 'standardTitle' }
},
{
title: this.$t('TextStatus'),
@@ -254,7 +256,7 @@
this.pageNo = page
this.getList()
},
SizeChange(page,pageSize) {
SizeChange(page, pageSize) {
this.pageNo = 1
this.pageSize = pageSize
this.getList()