修改禅道已知bug

This commit is contained in:
qq787203167
2022-08-11 16:22:48 +08:00
parent ed63a91585
commit 9f6367d4fe
5 changed files with 44 additions and 28 deletions
@@ -122,6 +122,11 @@
required: true,
message: this.$t('publishComment') + this.$t('cannotEmpty'),
trigger: 'blur'
},
{
max: 500,
message: this.$t('publishComment') + this.$t('cannotExceed') + 500 + this.$t('Characters'),
trigger: 'blur'
}
],
replyContent: [
@@ -129,6 +134,11 @@
required: true,
message: this.$t('replyToComments') + this.$t('cannotEmpty'),
trigger: 'blur'
},
{
max: 500,
message: this.$t('replyToComments') + this.$t('cannotExceed') + 500 + this.$t('Characters'),
trigger: 'blur'
}
]
}
@@ -286,6 +296,7 @@
display: inline-block;
margin-top: 22px;
margin-left: 40px;
word-break: break-word;
}
.title-text {
@@ -28,10 +28,12 @@
style="margin-left: 20px;float: left"></a-checkbox>
<div class="detail-content-header-content">
<div class="detail-content-header-content-left"
:title="resultData.serialNumberLeft + resultData.fileNameLeft"
:class="{'detail-content-header-content-left-active':isDisplay}">
{{$t('selectedStandard')}}{{resultData.serialNumberLeft}} {{resultData.fileNameLeft}}
</div>
<div class="detail-content-header-content-content"
:title="resultData.serialNumberRight + resultData.fileNameRight"
:class="{'detail-content-header-content-left-active':isDisplay}">
{{$t('selectedStandard')}}{{resultData.serialNumberRight}} {{resultData.fileNameRight}}
</div>
@@ -87,8 +89,8 @@
<div class="detail-content-content-text">
<div class="detail-content-content-text-left"
:class="{'detail-content-content-text-dis':isDisplay}">
<div class="detail-content-content-text-left-text">
{{$t('fullTextComments')}}: {{resultData.comments}}
<div class="detail-content-content-text-left-text" :title="resultData.comments">
<span>{{$t('fullTextComments')}}:</span> {{resultData.comments}}
</div>
</div>
<div class="detail-content-content-text-right" v-if="!isDisplay">
@@ -307,8 +309,8 @@
this.rulesText = {
comment: [
{
max: 300,
message: this.$t('fullTextComments') + this.$t('cannotExceed') + 300 + this.$t('Characters'),
max: 500,
message: this.$t('fullTextComments') + this.$t('cannotExceed') + 500 + this.$t('Characters'),
trigger: 'blur'
}
]
@@ -326,8 +328,8 @@
this.rulesText = {
comment: [
{
max: 300,
message: this.$t('comparativeComments') + this.$t('cannotExceed') + 300 + this.$t('Characters'),
max: 500,
message: this.$t('comparativeComments') + this.$t('cannotExceed') + 500 + this.$t('Characters'),
trigger: 'blur'
}
]
@@ -572,6 +574,7 @@
font-size: 14px;
font-weight: 400;
color: #040B29;
word-break: break-word;
}
.detail-content-content-text-left-text {
@@ -586,8 +589,7 @@
-webkit-box-orient: vertical;
-webkit-line-clamp: 3;
/*! autoprefixer: on;*/
text-justify: inter-ideograph;
word-break: break-all
word-break: break-word;
}
.box-title-text-Remarks {
@@ -30,7 +30,7 @@
<div class="detail-content" style="padding-bottom: 20px">
<div style="width: 100%;height: auto;overflow: hidden">
<div class="detail-content-left">
<div class="detail-content-left-header">
<div class="detail-content-left-header" :title="resultData.serialNumberLeft + resultData.fileNameLeft">
{{this.resultData.serialNumberLeft}}&nbsp;
{{this.resultData.fileNameLeft}}
</div>
@@ -56,14 +56,15 @@
</div>
<div class="detail-content-right">
<div class="detail-content-left-header">
<span class="detail-content-left-header-text">
<span class="detail-content-left-header-text"
:title="resultData.serialNumberRight + resultData.fileNameRight">
{{this.resultData.serialNumberRight}}&nbsp;
{{this.resultData.fileNameRight}}
</span>
<span class="detail-content-left-header-text-right">
<!-- <span style="color: #9B9DA9">相似度:</span>-->
<!-- <span style="color: #E83030">98%</span>-->
</span>
<!-- <span class="detail-content-left-header-text-right">-->
<!-- <span style="color: #9B9DA9">相似度:</span>-->
<!-- <span style="color: #E83030">98%</span>-->
<!-- </span>-->
</div>
<div class="detail-content-content-left">
<a-tree
@@ -154,8 +155,8 @@
rules: {
comment: [
{
max: 300,
message: this.$t('comparativeComments') + this.$t('cannotExceed') + 300 + this.$t('Characters'),
max: 500,
message: this.$t('comparativeComments') + this.$t('cannotExceed') + 500 + this.$t('Characters'),
trigger: 'blur'
}
]
@@ -163,8 +164,8 @@
rulesText: {
comment: [
{
max: 300,
message: this.$t('fullTextComments') + this.$t('cannotExceed') + 300 + this.$t('Characters'),
max: 500,
message: this.$t('fullTextComments') + this.$t('cannotExceed') + 500 + this.$t('Characters'),
trigger: 'blur'
}
]
@@ -578,7 +579,7 @@
}
.detail-content-left-header-text {
width: calc(100% - 200px);
width: 100%;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
@@ -20,8 +20,8 @@
<div class="title-text" :title="$t('standard')">
<span>{{$t('standard')}}</span>
</div>
<j-input class="box-input" :placeholder="$t('PleaseEnter')+$t('standard')"
v-model="queryParamLeft.serialNumber"></j-input>
<a-input class="box-input" :placeholder="$t('PleaseEnter')+$t('standard')"
v-model="queryParamLeft.serialNumber"></a-input>
</div>
</a-col>
<a-col :md="8" :sm="8">
@@ -29,8 +29,8 @@
<div class="title-text" :title="$t('title')">
<span>{{$t('title')}}</span>
</div>
<j-input class="box-input" :placeholder="$t('PleaseEnter')+$t('title')"
v-model="queryParamLeft.title"></j-input>
<a-input class="box-input" :placeholder="$t('PleaseEnter')+$t('title')"
v-model="queryParamLeft.title"></a-input>
</div>
</a-col>
<span style="text-align:right;overflow: hidden;" class="table-page-search-submitButtons">
@@ -84,8 +84,8 @@
<div class="title-text" :title="$t('standard')">
<span>{{$t('standard')}}</span>
</div>
<j-input class="box-input" :placeholder="$t('PleaseEnter')+$t('standard')"
v-model="queryParamRight.serialNumber"></j-input>
<a-input class="box-input" :placeholder="$t('PleaseEnter')+$t('standard')"
v-model="queryParamRight.serialNumber"></a-input>
</div>
</a-col>
<a-col :md="8" :sm="8">
@@ -93,8 +93,8 @@
<div class="title-text" :title="$t('title')">
<span>{{$t('title')}}</span>
</div>
<j-input class="box-input" :placeholder="$t('PleaseEnter')+$t('title')"
v-model="queryParamRight.title"></j-input>
<a-input class="box-input" :placeholder="$t('PleaseEnter')+$t('title')"
v-model="queryParamRight.title"></a-input>
</div>
</a-col>
<span style="text-align:right;overflow: hidden;" class="table-page-search-submitButtons">
@@ -348,6 +348,7 @@
let query = {
pageNo: this.pageNoLeft,
pageSize: this.pageSizeLeft,
fileId:'1',
...queryParam
}
this.loadingLeft = true
@@ -371,6 +372,7 @@
let query = {
pageNo: this.pageNoRight,
pageSize: this.pageSizeRight,
fileId:'1',
...queryParam
}
this.loadingRight = true
@@ -57,7 +57,7 @@
size="middle"
:loading="loading"
:pagination="false"
:scroll="{x: '100%'}"
:scroll="{x: '100%',y:'calc(100vh - 280px)'}"
rowKey="id"
:data-source="dataSource"
:row-selection="{ selectedRowKeys: selectedRowKeys, onChange: onSelectChange }"