修改认证清单截止时间名称

This commit is contained in:
范强强
2023-10-26 09:40:28 +08:00
parent d4f94c67bb
commit a676b546db
5 changed files with 41 additions and 37 deletions
+1
View File
@@ -1712,6 +1712,7 @@ module.exports = {
returntofill: 'Return to fill', returntofill: 'Return to fill',
thereAreCurrentlyNoRegulationsToHandle: 'No regulations to be processed now', thereAreCurrentlyNoRegulationsToHandle: 'No regulations to be processed now',
certificationSubmission: 'Application Submitted', certificationSubmission: 'Application Submitted',
certificationSubmissionEndTime: 'Application Submitted End Time',
upgradecompletion: 'Upgrade completion', upgradecompletion: 'Upgrade completion',
implementedupgrade: 'Whether the implemented upgrade is consistent with the record', implementedupgrade: 'Whether the implemented upgrade is consistent with the record',
numberofvehicles: 'Number of vehicles that have completed upgrades', numberofvehicles: 'Number of vehicles that have completed upgrades',
+1
View File
@@ -1812,6 +1812,7 @@ module.exports = {
expeditionProcess: '催办流程', expeditionProcess: '催办流程',
thereAreCurrentlyNoRegulationsToHandle: '当前没有可处理的法规', thereAreCurrentlyNoRegulationsToHandle: '当前没有可处理的法规',
certificationSubmission: '认证提交', certificationSubmission: '认证提交',
certificationSubmissionEndTime:'认证提交截止时间',
upgradecompletion: '升级完成情况', upgradecompletion: '升级完成情况',
implementedupgrade: '实施的升级是否和备案一致', implementedupgrade: '实施的升级是否和备案一致',
numberofvehicles: '完成升级的车辆数', numberofvehicles: '完成升级的车辆数',
@@ -303,14 +303,14 @@
<div class="box-title-text"> <div class="box-title-text">
<div class="title-text"> <div class="title-text">
<span class="Required" v-if="item.deliverableType != '1635545748968783874'">*</span> <span class="Required" v-if="item.deliverableType != '1635545748968783874'">*</span>
<span class="title-text-text" :title="$t('closingDate')">{{$t('closingDate')}}</span> <span class="title-text-text" :title="$t('certificationSubmissionEndTime')">{{$t('certificationSubmissionEndTime')}}</span>
</div> </div>
<a-form-model-item class="itemModel" <a-form-model-item class="itemModel"
:prop="item.deliverableType == '1635545748968783874'?'':'dataList.'+index+'.endTime'" :prop="item.deliverableType == '1635545748968783874'?'':'dataList.'+index+'.endTime'"
:rules="[{ required: item.deliverableType == '1635545748968783874'?false:true, message: $t('closingDate') + $t('cannotEmpty'), trigger: 'change'},]" :rules="[{ required: item.deliverableType == '1635545748968783874'?false:true, message: $t('certificationSubmissionEndTime') + $t('cannotEmpty'), trigger: 'change'},]"
> >
<a-date-picker class="box-input" <a-date-picker class="box-input"
:placeholder="$t('PleaseSelect')+$t('closingDate')" :placeholder="$t('PleaseSelect')+$t('certificationSubmissionEndTime')"
@change="dateChange({db_field_name:'endTime'},index)" @change="dateChange({db_field_name:'endTime'},index)"
format="YYYY-MM-DD" format="YYYY-MM-DD"
:disabledDate="disabledDate" :disabledDate="disabledDate"
@@ -617,16 +617,16 @@
<div class="box-title-text"> <div class="box-title-text">
<div class="title-text"> <div class="title-text">
<span class="Required" v-if="formInline.deliverableType != '1635545748968783874'">*</span> <span class="Required" v-if="formInline.deliverableType != '1635545748968783874'">*</span>
<span class="title-text-text" :title="$t('closingDate')">{{$t('closingDate')}}</span> <span class="title-text-text" :title="$t('certificationSubmissionEndTime')">{{$t('certificationSubmissionEndTime')}}</span>
</div> </div>
<a-form-model-item class="itemModel" <a-form-model-item class="itemModel"
:prop="formInline.deliverableType == '1635545748968783874'?'':'endTime'" :prop="formInline.deliverableType == '1635545748968783874'?'':'endTime'"
:rules="[{ required: formInline.deliverableType == '1635545748968783874'?false:true, :rules="[{ required: formInline.deliverableType == '1635545748968783874'?false:true,
message: $t('closingDate') + $t('cannotEmpty'), trigger: 'change'}]" message: $t('certificationSubmissionEndTime') + $t('cannotEmpty'), trigger: 'change'}]"
> >
<a-date-picker class="box-input" <a-date-picker class="box-input"
:disabled="flowdisabled" :disabled="flowdisabled"
:placeholder="$t('PleaseSelect')+$t('closingDate')" :placeholder="$t('PleaseSelect')+$t('certificationSubmissionEndTime')"
@change="dateChange({db_field_name:'endTime'})" @change="dateChange({db_field_name:'endTime'})"
format="YYYY-MM-DD" format="YYYY-MM-DD"
:disabledDate="disabledDate" :disabledDate="disabledDate"
@@ -655,22 +655,6 @@
</div> </div>
</a-col> </a-col>
</a-row> </a-row>
<a-row :gutter="24">
<a-col :span="24">
<div class="box-title-text">
<div class="title-text">
<span class="title-text-text"
:title="$t('remarks')">{{$t('remarks')}}</span>
</div>
<a-form-model-item class="itemModel-text" :prop="'remark'">
<a-textarea
style="width: 100%"
:placeholder="$t('PleaseEnter')+$t('remarks')"
v-model="formInline.remark" :rows="4"/>
</a-form-model-item>
</div>
</a-col>
</a-row>
<a-row :gutter="24"> <a-row :gutter="24">
<a-col :span="12" v-if="formInline.taskConfirmEndTime"> <a-col :span="12" v-if="formInline.taskConfirmEndTime">
<div class="box-title-text"> <div class="box-title-text">
@@ -690,6 +674,22 @@
</div> </div>
</a-col> </a-col>
</a-row> </a-row>
<a-row :gutter="24">
<a-col :span="24">
<div class="box-title-text">
<div class="title-text">
<span class="title-text-text"
:title="$t('remarks')">{{$t('remarks')}}</span>
</div>
<a-form-model-item class="itemModel-text" :prop="'remark'">
<a-textarea
style="width: 100%"
:placeholder="$t('PleaseEnter')+$t('remarks')"
v-model="formInline.remark" :rows="4"/>
</a-form-model-item>
</div>
</a-col>
</a-row>
</div> </div>
<!-- <a-row :gutter="24">--> <!-- <a-row :gutter="24">-->
<!-- <a-col :span="24">--> <!-- <a-col :span="24">-->
@@ -1222,7 +1222,7 @@
} }
.title-text { .title-text {
width: 114px; width: 124px;
text-align: right; text-align: right;
display: inline-block; display: inline-block;
font-weight: 500; font-weight: 500;
@@ -1242,7 +1242,7 @@
} }
.itemModel { .itemModel {
width: calc(100% - 130px); width: calc(100% - 140px);
display: inline-block; display: inline-block;
margin-top: 2px; margin-top: 2px;
height: 40px; height: 40px;
@@ -13,16 +13,16 @@
<a-row :gutter="24"> <a-row :gutter="24">
<a-col :span="24"> <a-col :span="24">
<div class="box-title-text-index"> <div class="box-title-text-index">
<div class="title-text-index" style="width: 100px"> <div class="title-text-index" style="width: 140px">
<span class="Required">*</span> <span class="Required">*</span>
<span class="title-text-text" <span class="title-text-text"
:title="$t('cutoffTime')"> :title="titleName">
{{ $t('cutoffTime') }} {{ titleName }}
</span> </span>
</div> </div>
<a-form-model-item class="itemModel" style="width: calc(100% - 120px)" :prop="queryData.dutyDueDate"> <a-form-model-item class="itemModel" style="width: calc(100% - 120px)" :prop="queryData.dutyDueDate">
<a-date-picker class="box-input" <a-date-picker class="box-input"
:placeholder="$t('PleaseSelect')+$t('cutoffTime')" :placeholder="$t('PleaseSelect')+titleName"
@change="dateChange({'db_field_name':queryData.dutyDueDate})" @change="dateChange({'db_field_name':queryData.dutyDueDate})"
format="YYYY-MM-DD" format="YYYY-MM-DD"
:disabledDate="disabledDate" :disabledDate="disabledDate"
@@ -50,13 +50,15 @@
confirmLoading: false, confirmLoading: false,
formInline: {}, formInline: {},
rules: {}, rules: {},
queryData:{}, queryData: {},
titleName: ''
} }
}, },
methods: { methods: {
getData(val) { getData(val, title) {
this.queryData = val this.queryData = val
this.title = val.title this.title = val.title
this.titleName = title || this.$t('cutoffTime')
this.visible = true this.visible = true
this.formInline = {} this.formInline = {}
this.confirmLoading = false this.confirmLoading = false
@@ -65,16 +67,16 @@
this.rules[val.dutyDueDate] = [ this.rules[val.dutyDueDate] = [
{ {
required: true, required: true,
message: this.$t('cutoffTime') + this.$t('cannotEmpty'), message: this.titleName + this.$t('cannotEmpty'),
trigger: 'change' trigger: 'change'
}, }
] ]
}) })
}, },
handleOk() { handleOk() {
this.$refs.ruleForm.validate(valid => { this.$refs.ruleForm.validate(valid => {
if (valid) { if (valid) {
this.$emit('deadlineDataForm', this.queryData,this.formInline) this.$emit('deadlineDataForm', this.queryData, this.formInline)
this.confirmLoading = true this.confirmLoading = true
} }
}) })
@@ -843,10 +843,10 @@
scopedSlots: { customRender: 'DeliverablesResult' } scopedSlots: { customRender: 'DeliverablesResult' }
}, },
{ {
title: this.$t('closingDate'), title: this.$t('certificationSubmissionEndTime'),
align: 'left', align: 'left',
dataIndex: 'endTime', dataIndex: 'endTime',
width: 130, width: 150,
sorter: true, sorter: true,
ellipsis: true ellipsis: true
}, },
@@ -1424,7 +1424,7 @@
dutyDueDate: 'inventoryVerifyEndTime', dutyDueDate: 'inventoryVerifyEndTime',
title: this.$t('release') title: this.$t('release')
} }
this.$refs.deadlineFormRef.getData(JSON.parse(JSON.stringify(query))) this.$refs.deadlineFormRef.getData(JSON.parse(JSON.stringify(query)),this.$t('inventoryVerifyEndTime'))
} else { } else {
this.failedMessage(data) this.failedMessage(data)
} }
@@ -2070,7 +2070,7 @@
title: this.$t('initiateTask'), title: this.$t('initiateTask'),
NAId: NAId NAId: NAId
} }
this.$refs.deadlineFormRef.getData(JSON.parse(JSON.stringify(query))) this.$refs.deadlineFormRef.getData(JSON.parse(JSON.stringify(query)),this.$t('taskConfirmEndTime'))
// this.submitTask(value, prompt, ids, notConditions, data, NAId) // this.submitTask(value, prompt, ids, notConditions, data, NAId)
} else { } else {
this.failedMessage(data) this.failedMessage(data)