[update 拆分&解读流程] 字段长度调整

This commit is contained in:
danshihao
2024-08-27 14:35:37 +08:00
parent 29312df710
commit 4dca929f60
2 changed files with 18 additions and 15 deletions
@@ -55,10 +55,10 @@ export default {
form: {},
rules: {
name: [
// { required: true, message: this.$t('PleaseEnter') + this.$t('clauseNo'), trigger: 'blur' },
{ required: true, message: this.$t('pleaseEnter') + this.$t('clauseNo'), trigger: 'blur' }
],
itemName: [
{ required: true, message: this.$t('pleaseEnter') + this.$t('docTool.split.clauseName'), trigger: 'blur' }
// { required: true, message: this.$t('pleaseEnter') + this.$t('docTool.split.clauseName'), trigger: 'blur' }
],
displaySeq: [
{ required: true, message: this.$t('pleaseEnter') + this.$t('serialNumber'), trigger: 'blur' }
@@ -106,6 +106,9 @@ export default {
} else {
submitFunc = addClauseTreeNode
}
if (!params.itemName) {
params.itemName = ''
}
this.confirmLoading = true
submitFunc(params).then(res => {
if (res.success) {
@@ -32,13 +32,13 @@
<!--相对上一版变化点说明-->
<a-form-item :label="$t('workCenter.standardInterpretationProcess.explanationOfChangePoints')" :colon="false">
<a-input :placeholder="$t('pleaseEnter') + $t('workCenter.standardInterpretationProcess.explanationOfChangePoints')"
:maxLength="50"
:maxLength="500"
:disabled="disabled"
v-decorator="['changeDescription']" />
</a-form-item>
<!--法规注解-->
<a-form-item :label="$t('workCenter.standardInterpretationProcess.regulatoryAnnotations')" :colon="false">
<a-input :max-length="50"
<a-input :max-length="1000"
:disabled="disabled"
:placeholder="$t('pleaseEnter')+$t('workCenter.standardInterpretationProcess.regulatoryAnnotations')"
v-decorator="['regulatoryNotes']"/>
@@ -176,56 +176,56 @@
</a-form-item>
<!--技术规范/设计指南-->
<a-form-item :label="$t('workCenter.standardInterpretationProcess.technicalSpecificationsDesignGuidelines')" :colon="false">
<a-input :max-length="50"
<a-input :max-length="500"
:disabled="disabled"
:placeholder="$t('pleaseEnter')+$t('workCenter.standardInterpretationProcess.technicalSpecificationsDesignGuidelines')"
v-decorator="['technicalSpecificationDesignGuide']"/>
</a-form-item>
<!--图纸模板-->
<a-form-item :label="$t('workCenter.standardInterpretationProcess.drawingTemplate')" :colon="false">
<a-input :max-length="50"
<a-input :max-length="500"
:disabled="disabled"
:placeholder="$t('pleaseEnter')+$t('workCenter.standardInterpretationProcess.drawingTemplate')"
v-decorator="['drawingTemplate']"/>
</a-form-item>
<!--技术协议模板-->
<a-form-item :label="$t('workCenter.standardInterpretationProcess.technicalAgreementTemplate')" :colon="false">
<a-input :max-length="50"
<a-input :max-length="500"
:disabled="disabled"
:placeholder="$t('pleaseEnter')+$t('workCenter.standardInterpretationProcess.technicalAgreementTemplate')"
v-decorator="['technicalAgreementTemplate']"/>
</a-form-item>
<!--校核报告模板/checklist-->
<a-form-item :label="$t('workCenter.standardInterpretationProcess.verificationReportTemplate')" :colon="false">
<a-input :max-length="50"
<a-input :max-length="500"
:disabled="disabled"
:placeholder="$t('pleaseEnter')+$t('workCenter.standardInterpretationProcess.verificationReportTemplate')"
v-decorator="['verificationReportTemplateChecklist']"/>
</a-form-item>
<!--DVP模板-->
<a-form-item :label="$t('workCenter.standardInterpretationProcess.dvpTemplate')" :colon="false">
<a-input :max-length="50"
<a-input :max-length="500"
:disabled="disabled"
:placeholder="$t('pleaseEnter')+$t('workCenter.standardInterpretationProcess.dvpTemplate')"
v-decorator="['dvpTemplate']"/>
</a-form-item>
<!--DFEMA-->
<a-form-item :label="$t('workCenter.standardInterpretationProcess.dfema')" :colon="false">
<a-input :max-length="50"
<a-input :max-length="500"
:disabled="disabled"
:placeholder="$t('pleaseEnter')+$t('workCenter.standardInterpretationProcess.dfema')"
v-decorator="['dfema']"/>
</a-form-item>
<!--关键技术分解表-->
<a-form-item :label="$t('workCenter.standardInterpretationProcess.specialListTemplate')" :colon="false">
<a-input :max-length="50"
<a-input :max-length="500"
:disabled="disabled"
:placeholder="$t('pleaseEnter')+$t('workCenter.standardInterpretationProcess.specialListTemplate')"
v-decorator="['keyTechnologyDecompositionTable']"/>
</a-form-item>
<!--其他文件或模板-->
<a-form-item :label="$t('workCenter.standardInterpretationProcess.otherFilesOrTemplates')" :colon="false">
<a-input :max-length="50"
<a-input :max-length="500"
:disabled="disabled"
:placeholder="$t('pleaseEnter')+$t('workCenter.standardInterpretationProcess.otherFilesOrTemplates')"
v-decorator="['otherDocumentsTemplates']"/>
@@ -240,14 +240,14 @@
</a-form-item>
<!--P3证明符合性的交付物名称-->
<a-form-item :label="$t('workCenter.standardInterpretationProcess.pThree')" :colon="false">
<a-input :max-length="200"
<a-input :max-length="500"
:disabled="disabled"
:placeholder="$t('pleaseEnter')+$t('workCenter.standardInterpretationProcess.pThree')"
v-decorator="['p3']"/>
</a-form-item>
<!--P5证明符合性的交付物名称-->
<a-form-item :label="$t('workCenter.standardInterpretationProcess.pFive')" :colon="false">
<a-input :max-length="200"
<a-input :max-length="500"
:disabled="disabled"
:placeholder="$t('pleaseEnter')+$t('workCenter.standardInterpretationProcess.pFive')"
v-decorator="['p5']"/>
@@ -255,7 +255,7 @@
<!--备注-->
<a-form-item :label="$t('workCenter.standardInterpretationProcess.notes')" :colon="false">
<a-textarea :placeholder="$t('pleaseEnter') + $t('workCenter.standardInterpretationProcess.notes')"
:maxLength="2000"
:maxLength="500"
:rows="4"
:disabled="disabled"
v-decorator="['remarks']" />