项目详情 时间非必填 时间为空外面页面不展示

This commit is contained in:
zyx.net
2023-01-13 11:38:48 +08:00
parent ebf3bc186e
commit db636ead95
@@ -13,7 +13,7 @@
<a-col :span="12">
<div class="box-title-text">
<div class="title-text">
<span class="Required">*</span>
<!-- <span class="Required">*</span>-->
<span class="title-text-text" :title="$t('confirmationOfRegulationsList')">
{{$t('confirmationOfRegulationsList')}}</span>
</div>
@@ -32,7 +32,7 @@
<a-col :span="12">
<div class="box-title-text">
<div class="title-text">
<span class="Required">*</span>
<!-- <span class="Required">*</span>-->
<span class="title-text-text" :title="$t('regulatoryTaskConfirmation')">
{{$t('regulatoryTaskConfirmation')}}</span>
</div>
@@ -51,7 +51,7 @@
<a-col :span="12">
<div class="box-title-text">
<div class="title-text">
<span class="Required">*</span>
<!-- <span class="Required">*</span>-->
<span class="title-text-text" :title="$t('confirmationOfDesignConformity')">
{{$t('confirmationOfDesignConformity')}}</span>
</div>
@@ -70,7 +70,7 @@
<a-col :span="12">
<div class="box-title-text">
<div class="title-text">
<span class="Required">*</span>
<!-- <span class="Required">*</span>-->
<span class="title-text-text" :title="$t('preHomoCompletion')">
{{$t('preHomoCompletion')}}</span>
</div>
@@ -89,7 +89,7 @@
<a-col :span="12">
<div class="box-title-text">
<div class="title-text">
<span class="Required">*</span>
<!-- <span class="Required">*</span>-->
<span class="title-text-text" :title="$t('certificationStart')">
{{$t('certificationStart')}}</span>
</div>
@@ -109,7 +109,7 @@
<a-col :span="12">
<div class="box-title-text">
<div class="title-text">
<span class="Required">*</span>
<!-- <span class="Required">*</span>-->
<span class="title-text-text" :title="$t('certificationEnd')">
{{$t('certificationEnd')}}</span>
</div>
@@ -129,7 +129,7 @@
<a-col :span="12">
<div class="box-title-text">
<div class="title-text">
<span class="Required">*</span>
<!-- <span class="Required">*</span>-->
<span class="title-text-text" :title="$t('verificationAndConformityconfirmation')">
{{$t('verificationAndConformityconfirmation')}}</span>
</div>
@@ -163,55 +163,55 @@
confirmLoading: false,
formInline: {},
rules: {
listConfirmation: [
{
required: true,
message: this.$t('confirmationOfRegulationsList') + this.$t('cannotEmpty'),
trigger: 'change'
}
],
legalTaskConfirmation: [
{
required: true,
message: this.$t('regulatoryTaskConfirmation') + this.$t('cannotEmpty'),
trigger: 'change'
}
],
designDeadline: [
{
required: true,
message: this.$t('confirmationOfDesignConformity') + this.$t('cannotEmpty'),
trigger: 'change'
}
],
prehomoDeadline: [
{
required: true,
message: this.$t('preHomoCompletion') + this.$t('cannotEmpty'),
trigger: 'change'
}
],
attestationStartTime: [
{
required: true,
message: this.$t('certificationStart') + this.$t('cannotEmpty'),
trigger: 'change'
}
],
attestationEndTime: [
{
required: true,
message: this.$t('certificationEnd') + this.$t('cannotEmpty'),
trigger: 'change'
}
],
verifyDeadline: [
{
required: true,
message: this.$t('verificationConfirmationDeadline') + this.$t('cannotEmpty'),
trigger: 'change'
}
]
// listConfirmation: [
// {
// required: true,
// message: this.$t('confirmationOfRegulationsList') + this.$t('cannotEmpty'),
// trigger: 'change'
// }
// ],
// legalTaskConfirmation: [
// {
// required: true,
// message: this.$t('regulatoryTaskConfirmation') + this.$t('cannotEmpty'),
// trigger: 'change'
// }
// ],
// designDeadline: [
// {
// required: true,
// message: this.$t('confirmationOfDesignConformity') + this.$t('cannotEmpty'),
// trigger: 'change'
// }
// ],
// prehomoDeadline: [
// {
// required: true,
// message: this.$t('preHomoCompletion') + this.$t('cannotEmpty'),
// trigger: 'change'
// }
// ],
// attestationStartTime: [
// {
// required: true,
// message: this.$t('certificationStart') + this.$t('cannotEmpty'),
// trigger: 'change'
// }
// ],
// attestationEndTime: [
// {
// required: true,
// message: this.$t('certificationEnd') + this.$t('cannotEmpty'),
// trigger: 'change'
// }
// ],
// verifyDeadline: [
// {
// required: true,
// message: this.$t('verificationConfirmationDeadline') + this.$t('cannotEmpty'),
// trigger: 'change'
// }
// ]
},
ids: []
}