修改已知问题

This commit is contained in:
qq787203167
2022-06-01 14:05:24 +08:00
parent d4a8855af3
commit 3adff7c3eb
6 changed files with 80 additions and 41 deletions
@@ -134,7 +134,7 @@
ref="table"
:loading="loading"
:pagination="false"
:scroll="{x: '100%',y:'calc(100vh - 400px)'}"
:scroll="{x: '100%',y:'calc(100vh - 200px)'}"
rowKey="id"
:data-source="dataSource"
:row-selection="{ selectedRowKeys: selectedRowKeys, onChange: onSelectChange }"
@@ -157,7 +157,9 @@
</a>
</span>
<span slot="titleName" slot-scope="text,record" :title="text">
{{ text && text.length > 10 ? text.slice(0, 9) + '...' : text }}
<span class="textName">
{{text}}
</span>
</span>
<span slot="designDeliverableTemplateName" slot-scope="text,record">
<span>{{ record.designDeliverableTypeName }}</span><br v-if="record.designDeliverableTypeName">
@@ -1559,6 +1561,19 @@
height: 42px;
line-height: 48px;
}
.textName {
width: 100%;
overflow: hidden;
display: -webkit-box;
text-overflow: ellipsis;
/*! autoprefixer: off */
text-justify: inter-ideograph;
-webkit-line-clamp: 2;
/*! autoprefixer: on;*/
-webkit-box-orient: vertical;
word-break: break-all
}
</style>
<style>
.box-input .ant-select-selection {
@@ -130,12 +130,12 @@
<div class="box-title-text">
<div class="title-text">
<span class="Required">*</span>
<span class="title-text-text" :title="$t('verificationConfirmationDeadline')">
{{$t('verificationConfirmationDeadline')}}</span>
<span class="title-text-text" :title="$t('verificationAndConformityconfirmation')">
{{$t('verificationAndConformityconfirmation')}}</span>
</div>
<a-form-model-item class="itemModel" prop="verifyDeadline">
<a-date-picker class="box-input"
:placeholder="$t('PleaseSelect')+$t('verificationConfirmationDeadline')"
:placeholder="$t('PleaseSelect')+$t('verificationAndConformityconfirmation')"
@change="dateChange({db_field_name:'verifyDeadline'})"
format="YYYY-MM-DD"
:getCalendarContainer="(trigger) => trigger.parentNode"
@@ -219,19 +219,19 @@
mounted() {
},
methods: {
disabledRegistrationEndDate(endDate){
const { attestationStartTime,attestationEndTime } = this.formInline;
if(attestationEndTime && endDate.valueOf() > attestationEndTime.valueOf()){
return true;
disabledRegistrationEndDate(endDate) {
const { attestationStartTime, attestationEndTime } = this.formInline
if (attestationEndTime && endDate.valueOf() > attestationEndTime.valueOf()) {
return true
}
return endDate < moment(attestationStartTime).add( 'days');
return endDate < moment(attestationStartTime).add('days')
},
disabledRegistrationStartDate(StartDate){
const { attestationStartTime,attestationEndTime } = this.formInline;
if(attestationEndTime && StartDate.valueOf() > attestationEndTime.valueOf()){
return true;
disabledRegistrationStartDate(StartDate) {
const { attestationStartTime, attestationEndTime } = this.formInline
if (attestationEndTime && StartDate.valueOf() > attestationEndTime.valueOf()) {
return true
}
return StartDate > moment(attestationEndTime).add( 'days');
return StartDate > moment(attestationEndTime).add('days')
},
edit() {
this.visible = true
@@ -347,7 +347,7 @@
}
.title-text {
width: 194px;
width: 144px;
text-align: right;
display: inline-block;
font-weight: 500;