修改禅道bug
This commit is contained in:
@@ -755,4 +755,5 @@ module.exports = {
|
|||||||
standardInformation:'standardInformation',
|
standardInformation:'standardInformation',
|
||||||
VirtualList:'VirtualList',
|
VirtualList:'VirtualList',
|
||||||
importTemplate:'import template',
|
importTemplate:'import template',
|
||||||
|
verificationConfirmationDeadline:'Verification compliance confirmation deadline',
|
||||||
}
|
}
|
||||||
@@ -760,4 +760,5 @@ module.exports = {
|
|||||||
Characters:'个字符',
|
Characters:'个字符',
|
||||||
standardInformation:'标准信息',
|
standardInformation:'标准信息',
|
||||||
importTemplate:'导入模板',
|
importTemplate:'导入模板',
|
||||||
|
verificationConfirmationDeadline:'验证符合性确认截止时间',
|
||||||
}
|
}
|
||||||
@@ -74,15 +74,14 @@
|
|||||||
:title="$t('scopeOfApplication')">{{$t('scopeOfApplication')}}</span>
|
:title="$t('scopeOfApplication')">{{$t('scopeOfApplication')}}</span>
|
||||||
</div>
|
</div>
|
||||||
<a-form-model-item class="itemModel">
|
<a-form-model-item class="itemModel">
|
||||||
<a-input class="box-input"
|
<!-- <a-input class="box-input"-->
|
||||||
:disabled="true"
|
<!-- :disabled="true"-->
|
||||||
v-model="formInline.shi4Yong4Fan4Wei2_dictText"/>
|
<!-- v-model="formInline.shi4Yong4Fan4Wei2_dictText"/>-->
|
||||||
<!-- <j-multi-select-tag class="box-input" v-model="formInline.shi4Yong4Fan4Wei2"-->
|
<j-multi-select-tag class="box-input" v-model="formInline.shi4Yong4Fan4Wei2"
|
||||||
<!-- :disabled="true"-->
|
@input="handleInput('shi4Yong4Fan4Wei2')"
|
||||||
<!-- @input="handleInput('shi4Yong4Fan4Wei2')"-->
|
:placeholder="$t('PleaseSelect')+$t('scopeOfApplication')"
|
||||||
<!-- :placeholder="$t('PleaseSelect')+$t('scopeOfApplication')"-->
|
:type="'select'"
|
||||||
<!-- :type="'select'"-->
|
:triggerChange="false" :dictCode="'apply_scope'"/>
|
||||||
<!-- :triggerChange="false" :dictCode="'apply_scope'"/>-->
|
|
||||||
</a-form-model-item>
|
</a-form-model-item>
|
||||||
</div>
|
</div>
|
||||||
</a-col>
|
</a-col>
|
||||||
@@ -248,14 +247,13 @@
|
|||||||
:title="$t('zoneOfApplication')">{{$t('zoneOfApplication')}}</span>
|
:title="$t('zoneOfApplication')">{{$t('zoneOfApplication')}}</span>
|
||||||
</div>
|
</div>
|
||||||
<a-form-model-item class="itemModel" prop="region">
|
<a-form-model-item class="itemModel" prop="region">
|
||||||
<a-input class="box-input"
|
<!-- <a-input class="box-input"-->
|
||||||
:disabled="true"
|
<!-- :disabled="true"-->
|
||||||
v-model="formInline.region_dictText"/>
|
<!-- v-model="formInline.region_dictText"/>-->
|
||||||
<!-- <j-multi-select-tag class="box-input" v-model="formInline.region"-->
|
<j-multi-select-tag class="box-input" v-model="formInline.region"
|
||||||
<!-- :disabled="true"-->
|
:placeholder="$t('PleaseSelect')+$t('zoneOfApplication')"
|
||||||
<!-- :placeholder="$t('PleaseSelect')+$t('zoneOfApplication')"-->
|
:type="'select'"
|
||||||
<!-- :type="'select'"-->
|
:triggerChange="false" :dictCode="'region'"/>
|
||||||
<!-- :triggerChange="false" :dictCode="'region'"/>-->
|
|
||||||
</a-form-model-item>
|
</a-form-model-item>
|
||||||
</div>
|
</div>
|
||||||
</a-col>
|
</a-col>
|
||||||
|
|||||||
@@ -39,14 +39,14 @@
|
|||||||
<a-icon type="container"/>
|
<a-icon type="container"/>
|
||||||
{{$t('taskList')}}
|
{{$t('taskList')}}
|
||||||
</div>
|
</div>
|
||||||
<div class="Virtual-detail-left-text" :title="$t('TaskParameterCollection')" @click="textClick(3,'认证参数收集')">
|
<div class="Virtual-detail-left-text" :title="$t('nonConformance')" @click="textClick(3,'未符合项')">
|
||||||
<a-icon type="container"/>
|
|
||||||
{{$t('TaskParameterCollection')}}
|
|
||||||
</div>
|
|
||||||
<div class="Virtual-detail-left-text" :title="$t('nonConformance')" @click="textClick(4,'未符合项')">
|
|
||||||
<a-icon type="container"/>
|
<a-icon type="container"/>
|
||||||
{{$t('nonConformance')}}
|
{{$t('nonConformance')}}
|
||||||
</div>
|
</div>
|
||||||
|
<div class="Virtual-detail-left-text" :title="$t('TaskParameterCollection')" @click="textClick(4,'认证参数收集')">
|
||||||
|
<a-icon type="container"/>
|
||||||
|
{{$t('TaskParameterCollection')}}
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="Virtual-detail-right">
|
<div class="Virtual-detail-right">
|
||||||
<ProjectDetailsName v-if="textTitle === '项目详情'"/>
|
<ProjectDetailsName v-if="textTitle === '项目详情'"/>
|
||||||
|
|||||||
@@ -98,23 +98,6 @@
|
|||||||
</a-form-model-item>
|
</a-form-model-item>
|
||||||
</div>
|
</div>
|
||||||
</a-col>
|
</a-col>
|
||||||
<a-col :span="12">
|
|
||||||
<div class="box-title-text">
|
|
||||||
<div class="title-text">
|
|
||||||
<span class="title-text-text" :title="$t('IPDInformation')">{{$t('IPDInformation')}}</span>
|
|
||||||
</div>
|
|
||||||
<a-form-model-item class="itemModel" prop="ipdInfo">
|
|
||||||
<a-input class="box-input"
|
|
||||||
:disabled="disabled"
|
|
||||||
v-model="formInline.ipdInfo"
|
|
||||||
:placeholder="$t('PleaseEnter')+$t('IPDInformation')"/>
|
|
||||||
</a-form-model-item>
|
|
||||||
</div>
|
|
||||||
<!-- ^(ht|f)tp(s?)\:\/\/[0-9a-zA-Z]([-.\w]*[0-9a-zA-Z])*(:(0-9)*)*(\/?)([a-zA-Z0-9\-\.\?\,\'\/\\\+&%\$#_]*)?$
|
|
||||||
-->
|
|
||||||
</a-col>
|
|
||||||
</a-row>
|
|
||||||
<a-row :gutter="24">
|
|
||||||
<a-col :span="12">
|
<a-col :span="12">
|
||||||
<div class="box-title-text">
|
<div class="box-title-text">
|
||||||
<div class="title-text">
|
<div class="title-text">
|
||||||
@@ -130,6 +113,8 @@
|
|||||||
</a-form-model-item>
|
</a-form-model-item>
|
||||||
</div>
|
</div>
|
||||||
</a-col>
|
</a-col>
|
||||||
|
</a-row>
|
||||||
|
<a-row :gutter="24">
|
||||||
<a-col :span="12">
|
<a-col :span="12">
|
||||||
<div class="box-title-text">
|
<div class="box-title-text">
|
||||||
<div class="title-text">
|
<div class="title-text">
|
||||||
@@ -145,6 +130,21 @@
|
|||||||
</a-form-model-item>
|
</a-form-model-item>
|
||||||
</div>
|
</div>
|
||||||
</a-col>
|
</a-col>
|
||||||
|
<a-col :span="12">
|
||||||
|
<div class="box-title-text">
|
||||||
|
<div class="title-text">
|
||||||
|
<span class="title-text-text" :title="$t('IPDInformation')">{{$t('IPDInformation')}}</span>
|
||||||
|
</div>
|
||||||
|
<a-form-model-item class="itemModel" prop="ipdInfo">
|
||||||
|
<a-input class="box-input"
|
||||||
|
:disabled="disabled"
|
||||||
|
v-model="formInline.ipdInfo"
|
||||||
|
:placeholder="$t('PleaseEnter')+$t('IPDInformation')"/>
|
||||||
|
</a-form-model-item>
|
||||||
|
</div>
|
||||||
|
<!-- ^(ht|f)tp(s?)\:\/\/[0-9a-zA-Z]([-.\w]*[0-9a-zA-Z])*(:(0-9)*)*(\/?)([a-zA-Z0-9\-\.\?\,\'\/\\\+&%\$#_]*)?$
|
||||||
|
-->
|
||||||
|
</a-col>
|
||||||
</a-row>
|
</a-row>
|
||||||
<a-row :gutter="24">
|
<a-row :gutter="24">
|
||||||
<a-col :span="12">
|
<a-col :span="12">
|
||||||
@@ -204,18 +204,33 @@
|
|||||||
{
|
{
|
||||||
pattern: /(ht|f)tp(s?)\:\/\/[0-9a-zA-Z]([-.\w]*[0-9a-zA-Z])*(:(0-9)*)*(\/?)([a-zA-Z0-9\-\.\?\,\'\/\\\+&%$#_]*)?/,
|
pattern: /(ht|f)tp(s?)\:\/\/[0-9a-zA-Z]([-.\w]*[0-9a-zA-Z])*(:(0-9)*)*(\/?)([a-zA-Z0-9\-\.\?\,\'\/\\\+&%$#_]*)?/,
|
||||||
message: this.$t('pleaseEnterTheCorrectWebAddress')
|
message: this.$t('pleaseEnterTheCorrectWebAddress')
|
||||||
|
},
|
||||||
|
{
|
||||||
|
max: 300,
|
||||||
|
message: this.$t('IPDInformation') + this.$t('cannotExceed') + 300 + this.$t('Characters'),
|
||||||
|
trigger: 'blur'
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
vehicleDevelopmentPlan: [
|
vehicleDevelopmentPlan: [
|
||||||
{
|
{
|
||||||
pattern: /(ht|f)tp(s?)\:\/\/[0-9a-zA-Z]([-.\w]*[0-9a-zA-Z])*(:(0-9)*)*(\/?)([a-zA-Z0-9\-\.\?\,\'\/\\\+&%$#_]*)?/,
|
pattern: /(ht|f)tp(s?)\:\/\/[0-9a-zA-Z]([-.\w]*[0-9a-zA-Z])*(:(0-9)*)*(\/?)([a-zA-Z0-9\-\.\?\,\'\/\\\+&%$#_]*)?/,
|
||||||
message: this.$t('pleaseEnterTheCorrectWebAddress')
|
message: this.$t('pleaseEnterTheCorrectWebAddress')
|
||||||
|
},
|
||||||
|
{
|
||||||
|
max: 300,
|
||||||
|
message: this.$t('dehicleDevelopmentPlan') + this.$t('cannotExceed') + 300 + this.$t('Characters'),
|
||||||
|
trigger: 'blur'
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
attestationPlan: [
|
attestationPlan: [
|
||||||
{
|
{
|
||||||
pattern: /(ht|f)tp(s?)\:\/\/[0-9a-zA-Z]([-.\w]*[0-9a-zA-Z])*(:(0-9)*)*(\/?)([a-zA-Z0-9\-\.\?\,\'\/\\\+&%$#_]*)?/,
|
pattern: /(ht|f)tp(s?)\:\/\/[0-9a-zA-Z]([-.\w]*[0-9a-zA-Z])*(:(0-9)*)*(\/?)([a-zA-Z0-9\-\.\?\,\'\/\\\+&%$#_]*)?/,
|
||||||
message: this.$t('pleaseEnterTheCorrectWebAddress')
|
message: this.$t('pleaseEnterTheCorrectWebAddress')
|
||||||
|
},
|
||||||
|
{
|
||||||
|
max: 300,
|
||||||
|
message: this.$t('certificationProgram') + this.$t('cannotExceed') + 300 + this.$t('Characters'),
|
||||||
|
trigger: 'blur'
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
projectNameId: [
|
projectNameId: [
|
||||||
|
|||||||
@@ -251,6 +251,25 @@
|
|||||||
</div>
|
</div>
|
||||||
</a-col>
|
</a-col>
|
||||||
</a-row>
|
</a-row>
|
||||||
|
<a-row :gutter="24">
|
||||||
|
<a-col :span="12">
|
||||||
|
<div class="box-title-text">
|
||||||
|
<div class="title-text">
|
||||||
|
<span class="title-text-text"
|
||||||
|
:title="$t('zoneOfApplication')">{{$t('zoneOfApplication')}}</span>
|
||||||
|
</div>
|
||||||
|
<a-form-model-item class="itemModel" prop="region">
|
||||||
|
<!-- <a-input class="box-input"-->
|
||||||
|
<!-- :disabled="true"-->
|
||||||
|
<!-- v-model="formInline.region_dictText"/>-->
|
||||||
|
<j-multi-select-tag class="box-input" v-model="formInline.region"
|
||||||
|
:placeholder="$t('PleaseSelect')+$t('zoneOfApplication')"
|
||||||
|
:type="'select'"
|
||||||
|
:triggerChange="false" :dictCode="'region'"/>
|
||||||
|
</a-form-model-item>
|
||||||
|
</div>
|
||||||
|
</a-col>
|
||||||
|
</a-row>
|
||||||
<a-row :gutter="24">
|
<a-row :gutter="24">
|
||||||
<a-col :span="24">
|
<a-col :span="24">
|
||||||
<div class="box-title-text">
|
<div class="box-title-text">
|
||||||
@@ -760,15 +779,15 @@
|
|||||||
},
|
},
|
||||||
editModel(item) {
|
editModel(item) {
|
||||||
this.visible = true
|
this.visible = true
|
||||||
this.regulatoryEngineerList= []
|
this.regulatoryEngineerList = []
|
||||||
this.engineeringInterfacePersonList= []
|
this.engineeringInterfacePersonList = []
|
||||||
this.certificationEngineerList= []
|
this.certificationEngineerList = []
|
||||||
this.designInitiatorList= []
|
this.designInitiatorList = []
|
||||||
this.designDutyList= []
|
this.designDutyList = []
|
||||||
this.prehomoInitiatorList= []
|
this.prehomoInitiatorList = []
|
||||||
this.verifyInitiatorList= []
|
this.verifyInitiatorList = []
|
||||||
this.verifyDutyList= []
|
this.verifyDutyList = []
|
||||||
this.prehomoDutyList= []
|
this.prehomoDutyList = []
|
||||||
if (item.dutyTerritory) {
|
if (item.dutyTerritory) {
|
||||||
this.queryPersonByProject(item)
|
this.queryPersonByProject(item)
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
@@ -322,6 +322,12 @@
|
|||||||
// align: 'center',
|
// align: 'center',
|
||||||
// dataIndex: 'taskReleaseStatus'
|
// dataIndex: 'taskReleaseStatus'
|
||||||
// },
|
// },
|
||||||
|
{
|
||||||
|
title: this.$t('zoneOfApplication'),
|
||||||
|
align: 'center',
|
||||||
|
ellipsis: true,
|
||||||
|
dataIndex: 'region_dictText'
|
||||||
|
},
|
||||||
{
|
{
|
||||||
title: this.$t('correspondingStandard'),
|
title: this.$t('correspondingStandard'),
|
||||||
align: 'center',
|
align: 'center',
|
||||||
@@ -346,12 +352,6 @@
|
|||||||
ellipsis: true,
|
ellipsis: true,
|
||||||
dataIndex: 'implementTime'
|
dataIndex: 'implementTime'
|
||||||
},
|
},
|
||||||
{
|
|
||||||
title: 'WVTA ID',
|
|
||||||
align: 'center',
|
|
||||||
dataIndex: 'wvtaId',
|
|
||||||
ellipsis: true
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
title: this.$t('certificationType'),
|
title: this.$t('certificationType'),
|
||||||
align: 'center',
|
align: 'center',
|
||||||
@@ -364,7 +364,12 @@
|
|||||||
ellipsis: true,
|
ellipsis: true,
|
||||||
dataIndex: 'attestationRank_dictText'
|
dataIndex: 'attestationRank_dictText'
|
||||||
},
|
},
|
||||||
//
|
{
|
||||||
|
title: 'WVTA ID',
|
||||||
|
align: 'center',
|
||||||
|
dataIndex: 'wvtaId',
|
||||||
|
ellipsis: true
|
||||||
|
},
|
||||||
{
|
{
|
||||||
title: this.$t('areaOfResponsibility'),
|
title: this.$t('areaOfResponsibility'),
|
||||||
align: 'center',
|
align: 'center',
|
||||||
|
|||||||
@@ -13,10 +13,11 @@
|
|||||||
<a-col :span="12">
|
<a-col :span="12">
|
||||||
<div class="box-title-text">
|
<div class="box-title-text">
|
||||||
<div class="title-text">
|
<div class="title-text">
|
||||||
|
<span class="Required">*</span>
|
||||||
<span class="title-text-text" :title="$t('confirmationOfRegulationsList')">
|
<span class="title-text-text" :title="$t('confirmationOfRegulationsList')">
|
||||||
{{$t('confirmationOfRegulationsList')}}</span>
|
{{$t('confirmationOfRegulationsList')}}</span>
|
||||||
</div>
|
</div>
|
||||||
<a-form-model-item class="itemModel">
|
<a-form-model-item class="itemModel" prop="listConfirmation">
|
||||||
<a-date-picker class="box-input"
|
<a-date-picker class="box-input"
|
||||||
:placeholder="$t('PleaseSelect')+$t('confirmationOfRegulationsList')"
|
:placeholder="$t('PleaseSelect')+$t('confirmationOfRegulationsList')"
|
||||||
@change="dateChange({db_field_name:'listConfirmation'})"
|
@change="dateChange({db_field_name:'listConfirmation'})"
|
||||||
@@ -30,10 +31,11 @@
|
|||||||
<a-col :span="12">
|
<a-col :span="12">
|
||||||
<div class="box-title-text">
|
<div class="box-title-text">
|
||||||
<div class="title-text">
|
<div class="title-text">
|
||||||
|
<span class="Required">*</span>
|
||||||
<span class="title-text-text" :title="$t('regulatoryTaskConfirmation')">
|
<span class="title-text-text" :title="$t('regulatoryTaskConfirmation')">
|
||||||
{{$t('regulatoryTaskConfirmation')}}</span>
|
{{$t('regulatoryTaskConfirmation')}}</span>
|
||||||
</div>
|
</div>
|
||||||
<a-form-model-item class="itemModel">
|
<a-form-model-item class="itemModel" prop="legalTaskConfirmation">
|
||||||
<a-date-picker class="box-input"
|
<a-date-picker class="box-input"
|
||||||
:placeholder="$t('PleaseSelect')+$t('regulatoryTaskConfirmation')"
|
:placeholder="$t('PleaseSelect')+$t('regulatoryTaskConfirmation')"
|
||||||
@change="dateChange({db_field_name:'legalTaskConfirmation'})"
|
@change="dateChange({db_field_name:'legalTaskConfirmation'})"
|
||||||
@@ -47,10 +49,11 @@
|
|||||||
<a-col :span="12">
|
<a-col :span="12">
|
||||||
<div class="box-title-text">
|
<div class="box-title-text">
|
||||||
<div class="title-text">
|
<div class="title-text">
|
||||||
|
<span class="Required">*</span>
|
||||||
<span class="title-text-text" :title="$t('confirmationOfDesignConformity')">
|
<span class="title-text-text" :title="$t('confirmationOfDesignConformity')">
|
||||||
{{$t('confirmationOfDesignConformity')}}</span>
|
{{$t('confirmationOfDesignConformity')}}</span>
|
||||||
</div>
|
</div>
|
||||||
<a-form-model-item class="itemModel">
|
<a-form-model-item class="itemModel" prop="designDeadline">
|
||||||
<a-date-picker class="box-input"
|
<a-date-picker class="box-input"
|
||||||
:placeholder="$t('PleaseSelect')+$t('confirmationOfDesignConformity')"
|
:placeholder="$t('PleaseSelect')+$t('confirmationOfDesignConformity')"
|
||||||
@change="dateChange({db_field_name:'designDeadline'})"
|
@change="dateChange({db_field_name:'designDeadline'})"
|
||||||
@@ -64,10 +67,11 @@
|
|||||||
<a-col :span="12">
|
<a-col :span="12">
|
||||||
<div class="box-title-text">
|
<div class="box-title-text">
|
||||||
<div class="title-text">
|
<div class="title-text">
|
||||||
|
<span class="Required">*</span>
|
||||||
<span class="title-text-text" :title="$t('PrehomoConfirmation')">
|
<span class="title-text-text" :title="$t('PrehomoConfirmation')">
|
||||||
{{$t('PrehomoConfirmation')}}</span>
|
{{$t('PrehomoConfirmation')}}</span>
|
||||||
</div>
|
</div>
|
||||||
<a-form-model-item class="itemModel">
|
<a-form-model-item class="itemModel" prop="prehomoDeadline">
|
||||||
<a-date-picker class="box-input"
|
<a-date-picker class="box-input"
|
||||||
:placeholder="$t('PleaseSelect')+$t('PrehomoConfirmation')"
|
:placeholder="$t('PleaseSelect')+$t('PrehomoConfirmation')"
|
||||||
@change="dateChange({db_field_name:'prehomoDeadline'})"
|
@change="dateChange({db_field_name:'prehomoDeadline'})"
|
||||||
@@ -81,10 +85,11 @@
|
|||||||
<a-col :span="12">
|
<a-col :span="12">
|
||||||
<div class="box-title-text">
|
<div class="box-title-text">
|
||||||
<div class="title-text">
|
<div class="title-text">
|
||||||
|
<span class="Required">*</span>
|
||||||
<span class="title-text-text" :title="$t('certificationStart')">
|
<span class="title-text-text" :title="$t('certificationStart')">
|
||||||
{{$t('certificationStart')}}</span>
|
{{$t('certificationStart')}}</span>
|
||||||
</div>
|
</div>
|
||||||
<a-form-model-item class="itemModel">
|
<a-form-model-item class="itemModel" prop="attestationStartTime">
|
||||||
<a-date-picker class="box-input"
|
<a-date-picker class="box-input"
|
||||||
:placeholder="$t('PleaseSelect')+$t('certificationStart')"
|
:placeholder="$t('PleaseSelect')+$t('certificationStart')"
|
||||||
@change="dateChange({db_field_name:'attestationStartTime'})"
|
@change="dateChange({db_field_name:'attestationStartTime'})"
|
||||||
@@ -98,10 +103,11 @@
|
|||||||
<a-col :span="12">
|
<a-col :span="12">
|
||||||
<div class="box-title-text">
|
<div class="box-title-text">
|
||||||
<div class="title-text">
|
<div class="title-text">
|
||||||
|
<span class="Required">*</span>
|
||||||
<span class="title-text-text" :title="$t('certificationEnd')">
|
<span class="title-text-text" :title="$t('certificationEnd')">
|
||||||
{{$t('certificationEnd')}}</span>
|
{{$t('certificationEnd')}}</span>
|
||||||
</div>
|
</div>
|
||||||
<a-form-model-item class="itemModel">
|
<a-form-model-item class="itemModel" prop="attestationEndTime">
|
||||||
<a-date-picker class="box-input"
|
<a-date-picker class="box-input"
|
||||||
:placeholder="$t('PleaseSelect')+$t('certificationEnd')"
|
:placeholder="$t('PleaseSelect')+$t('certificationEnd')"
|
||||||
@change="dateChange({db_field_name:'attestationEndTime'})"
|
@change="dateChange({db_field_name:'attestationEndTime'})"
|
||||||
@@ -115,12 +121,13 @@
|
|||||||
<a-col :span="12">
|
<a-col :span="12">
|
||||||
<div class="box-title-text">
|
<div class="box-title-text">
|
||||||
<div class="title-text">
|
<div class="title-text">
|
||||||
<span class="title-text-text" :title="$t('deadlineForConfirmationOfDesignCompliance')">
|
<span class="Required">*</span>
|
||||||
{{$t('deadlineForConfirmationOfDesignCompliance')}}</span>
|
<span class="title-text-text" :title="$t('verificationConfirmationDeadline')">
|
||||||
|
{{$t('verificationConfirmationDeadline')}}</span>
|
||||||
</div>
|
</div>
|
||||||
<a-form-model-item class="itemModel">
|
<a-form-model-item class="itemModel" prop="verifyDeadline">
|
||||||
<a-date-picker class="box-input"
|
<a-date-picker class="box-input"
|
||||||
:placeholder="$t('PleaseSelect')+$t('deadlineForConfirmationOfDesignCompliance')"
|
:placeholder="$t('PleaseSelect')+$t('verificationConfirmationDeadline')"
|
||||||
@change="dateChange({db_field_name:'verifyDeadline'})"
|
@change="dateChange({db_field_name:'verifyDeadline'})"
|
||||||
format="YYYY-MM-DD"
|
format="YYYY-MM-DD"
|
||||||
v-model="formInline.verifyDeadline"
|
v-model="formInline.verifyDeadline"
|
||||||
@@ -146,7 +153,57 @@
|
|||||||
visible: false,
|
visible: false,
|
||||||
confirmLoading: false,
|
confirmLoading: false,
|
||||||
formInline: {},
|
formInline: {},
|
||||||
rules: {},
|
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('PrehomoConfirmation') + 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: []
|
ids: []
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@@ -155,6 +212,9 @@
|
|||||||
methods: {
|
methods: {
|
||||||
edit() {
|
edit() {
|
||||||
this.visible = true
|
this.visible = true
|
||||||
|
this.$nextTick(() => {
|
||||||
|
this.$refs.ruleForm.clearValidate()
|
||||||
|
})
|
||||||
this.settingQueryForm()
|
this.settingQueryForm()
|
||||||
},
|
},
|
||||||
settingQueryForm() {
|
settingQueryForm() {
|
||||||
@@ -167,29 +227,33 @@
|
|||||||
})
|
})
|
||||||
},
|
},
|
||||||
handleOk() {
|
handleOk() {
|
||||||
let query = {
|
this.$refs.ruleForm.validate(valid => {
|
||||||
...this.formInline,
|
if (valid) {
|
||||||
projectId: this.$route.query.id
|
let query = {
|
||||||
}
|
...this.formInline,
|
||||||
let url = ''
|
projectId: this.$route.query.id
|
||||||
let Action
|
}
|
||||||
if (this.formInline.id) {
|
let url = ''
|
||||||
url = this.url.editSettingUrl
|
let Action
|
||||||
Action = putAction
|
if (this.formInline.id) {
|
||||||
} else {
|
url = this.url.editSettingUrl
|
||||||
url = this.url.addSettingUrl
|
Action = putAction
|
||||||
Action = postAction
|
} else {
|
||||||
}
|
url = this.url.addSettingUrl
|
||||||
this.confirmLoading = true
|
Action = postAction
|
||||||
Action(url, query).then((res) => {
|
}
|
||||||
if (res.success) {
|
this.confirmLoading = true
|
||||||
this.$message.success(this.$t('OperationSuccessful'))
|
Action(url, query).then((res) => {
|
||||||
this.visible = false
|
if (res.success) {
|
||||||
this.confirmLoading = false
|
this.$message.success(this.$t('OperationSuccessful'))
|
||||||
this.$emit('settingListForm')
|
this.visible = false
|
||||||
} else {
|
this.confirmLoading = false
|
||||||
this.$message.warning(this.$t('operationFailed'))
|
this.$emit('settingListForm')
|
||||||
this.confirmLoading = false
|
} else {
|
||||||
|
this.$message.warning(this.$t('operationFailed'))
|
||||||
|
this.confirmLoading = false
|
||||||
|
}
|
||||||
|
})
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
@@ -260,7 +324,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.title-text {
|
.title-text {
|
||||||
width: 174px;
|
width: 194px;
|
||||||
text-align: right;
|
text-align: right;
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
font-weight: 500;
|
font-weight: 500;
|
||||||
@@ -292,4 +356,9 @@
|
|||||||
.formAdd {
|
.formAdd {
|
||||||
margin-bottom: 40px;
|
margin-bottom: 40px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.Required {
|
||||||
|
color: red;
|
||||||
|
margin-right: 3px;
|
||||||
|
}
|
||||||
</style>
|
</style>
|
||||||
Reference in New Issue
Block a user