[update 流程审批信息] 备注调整为处理意见

This commit is contained in:
danshihao
2024-09-06 09:50:59 +08:00
parent 6c70244e85
commit 03e5a7ce82
6 changed files with 20 additions and 16 deletions
+2
View File
@@ -172,6 +172,7 @@ module.exports = {
mergeStandardInformation: 'Merge standard information', mergeStandardInformation: 'Merge standard information',
pleaseEnterPersonnelInfo: 'Please fill in the personnel information completely', pleaseEnterPersonnelInfo: 'Please fill in the personnel information completely',
pleaseEnterRemarks: 'Please fill in remarks', pleaseEnterRemarks: 'Please fill in remarks',
pleaseHandlingSuggestions: 'Please fill in the handling suggestion',
lookDetail: 'View Details', lookDetail: 'View Details',
batchReject: 'Batch Rejection', batchReject: 'Batch Rejection',
pleaseSelectDistributeData: 'Select the data you want to distribute', pleaseSelectDistributeData: 'Select the data you want to distribute',
@@ -253,6 +254,7 @@ module.exports = {
dataInfo: 'Data Information', dataInfo: 'Data Information',
updatePerson: 'Regenerator', updatePerson: 'Regenerator',
updateTime: 'Update Time', updateTime: 'Update Time',
handlingSuggestions: 'Handling Suggestions',
// 标准字段 // 标准字段
standardField: { standardField: {
standardEnglishName: 'Regulation English Name', standardEnglishName: 'Regulation English Name',
+2
View File
@@ -172,6 +172,7 @@ module.exports = {
mergeStandardInformation: '合并标准信息', mergeStandardInformation: '合并标准信息',
pleaseEnterPersonnelInfo: '请完整填写人员信息', pleaseEnterPersonnelInfo: '请完整填写人员信息',
pleaseEnterRemarks: '请填写备注', pleaseEnterRemarks: '请填写备注',
pleaseHandlingSuggestions: '请填写处理意见',
lookDetail: '查看详情', lookDetail: '查看详情',
batchReject: '批量驳回', batchReject: '批量驳回',
pleaseSelectDistributeData: '请选择要分发的数据', pleaseSelectDistributeData: '请选择要分发的数据',
@@ -253,6 +254,7 @@ module.exports = {
dataInfo: '数据信息', dataInfo: '数据信息',
updatePerson: '更新人', updatePerson: '更新人',
updateTime: '更新时间', updateTime: '更新时间',
handlingSuggestions: '处理意见',
// 标准字段 // 标准字段
standardField: { standardField: {
standardEnglishName: '标准英文名称', standardEnglishName: '标准英文名称',
@@ -130,8 +130,8 @@
<div class="process-part-title">{{ $t('processApprovalInformation') }}</div> <div class="process-part-title">{{ $t('processApprovalInformation') }}</div>
<a-form :form="approvalInfoForm"> <a-form :form="approvalInfoForm">
<!--备注--> <!--备注-->
<a-form-item :labelCol="longLabelCol" :wrapperCol="longWrapperCol" :label="$t('remarks')" :colon="formItemColon"> <a-form-item :labelCol="longLabelCol" :wrapperCol="longWrapperCol" :label="$t('handlingSuggestions')" :colon="formItemColon">
<a-textarea :placeholder="isLook ? '' : $t('pleaseEnter') + $t('remarks')" <a-textarea :placeholder="isLook ? '' : $t('pleaseEnter') + $t('handlingSuggestions')"
:maxLength="500" :maxLength="500"
:rows="4" :rows="4"
:disabled="isLook" :disabled="isLook"
@@ -342,7 +342,7 @@ export default {
}, },
handleText: { handleText: {
rules: [ rules: [
{ required: false, message: this.$t('pleaseEnter') + this.$t('remarks') } { required: false, message: this.$t('pleaseEnter') + this.$t('handlingSuggestions') }
], ],
validateTrigger: 'blur' validateTrigger: 'blur'
} }
@@ -659,7 +659,7 @@ export default {
if (this.loading) return if (this.loading) return
this.validatorRules.handleText.rules[0].required = true this.validatorRules.handleText.rules[0].required = true
if (!this.approvalInfoForm.getFieldValue('handleText')) { if (!this.approvalInfoForm.getFieldValue('handleText')) {
this.$message.warning(this.$t('pleaseEnterRemarks')) this.$message.warning(this.$t('pleaseHandlingSuggestions'))
this.switchValue = 'base' this.switchValue = 'base'
} }
this.$nextTick(() => { this.$nextTick(() => {
@@ -75,8 +75,8 @@
<div class="process-part-title">{{ $t('processApprovalInformation') }}</div> <div class="process-part-title">{{ $t('processApprovalInformation') }}</div>
<a-form :form="approvalInfoForm"> <a-form :form="approvalInfoForm">
<!--备注--> <!--备注-->
<a-form-item :labelCol="longLabelCol" :wrapperCol="longWrapperCol" :label="$t('remarks')" :colon="formItemColon"> <a-form-item :labelCol="longLabelCol" :wrapperCol="longWrapperCol" :label="$t('handlingSuggestions')" :colon="formItemColon">
<a-textarea :placeholder="isLook ? '' : $t('pleaseEnter') + $t('remarks')" <a-textarea :placeholder="isLook ? '' : $t('pleaseEnter') + $t('handlingSuggestions')"
:maxLength="500" :maxLength="500"
:rows="4" :rows="4"
:disabled="isLook" :disabled="isLook"
@@ -281,7 +281,7 @@ export default {
}, },
handleText: { handleText: {
rules: [ rules: [
{ required: false, message: this.$t('pleaseEnter') + this.$t('remarks') } { required: false, message: this.$t('pleaseEnter') + this.$t('handlingSuggestions') }
], ],
validateTrigger: 'blur' validateTrigger: 'blur'
} }
@@ -559,7 +559,7 @@ export default {
if (this.loading) return if (this.loading) return
this.validatorRules.handleText.rules[0].required = true this.validatorRules.handleText.rules[0].required = true
if (!this.approvalInfoForm.getFieldValue('handleText')) { if (!this.approvalInfoForm.getFieldValue('handleText')) {
this.$message.warning(this.$t('pleaseEnterRemarks')) this.$message.warning(this.$t('pleaseHandlingSuggestions'))
this.switchValue = 'base' this.switchValue = 'base'
} }
this.$nextTick(() => { this.$nextTick(() => {
@@ -106,8 +106,8 @@
<div class="process-part-title">{{ $t('processApprovalInformation') }}</div> <div class="process-part-title">{{ $t('processApprovalInformation') }}</div>
<a-form :form="approvalInfoForm"> <a-form :form="approvalInfoForm">
<!--备注--> <!--备注-->
<a-form-item :labelCol="longLabelCol" :wrapperCol="longWrapperCol" :label="$t('remarks')" :colon="formItemColon"> <a-form-item :labelCol="longLabelCol" :wrapperCol="longWrapperCol" :label="$t('handlingSuggestions')" :colon="formItemColon">
<a-textarea :placeholder="isLook ? '' : $t('pleaseEnter') + $t('remarks')" <a-textarea :placeholder="isLook ? '' : $t('pleaseEnter') + $t('handlingSuggestions')"
:maxLength="500" :maxLength="500"
:rows="4" :rows="4"
:disabled="isLook" :disabled="isLook"
@@ -391,7 +391,7 @@ export default {
}, },
handleText: { handleText: {
rules: [ rules: [
{ required: false, message: this.$t('pleaseEnter') + this.$t('remarks') } { required: false, message: this.$t('pleaseEnter') + this.$t('handlingSuggestions') }
], ],
validateTrigger: 'blur' validateTrigger: 'blur'
} }
@@ -748,7 +748,7 @@ export default {
if (this.loading) return if (this.loading) return
this.validatorRules.handleText.rules[0].required = true this.validatorRules.handleText.rules[0].required = true
if (!this.approvalInfoForm.getFieldValue('handleText')) { if (!this.approvalInfoForm.getFieldValue('handleText')) {
this.$message.warning(this.$t('pleaseEnterRemarks')) this.$message.warning(this.$t('pleaseHandlingSuggestions'))
this.switchValue = 'base' this.switchValue = 'base'
} }
this.$nextTick(() => { this.$nextTick(() => {
@@ -90,8 +90,8 @@
<div class="process-part-title">{{ $t('processApprovalInformation') }}</div> <div class="process-part-title">{{ $t('processApprovalInformation') }}</div>
<a-form :form="approvalInfoForm"> <a-form :form="approvalInfoForm">
<!--备注--> <!--备注-->
<a-form-item :labelCol="longLabelCol" :wrapperCol="longWrapperCol" :label="$t('remarks')" :colon="formItemColon"> <a-form-item :labelCol="longLabelCol" :wrapperCol="longWrapperCol" :label="$t('handlingSuggestions')" :colon="formItemColon">
<a-textarea :placeholder="(disabled) ? '' : ($t('pleaseEnter') + $t('remarks'))" <a-textarea :placeholder="(disabled) ? '' : ($t('pleaseEnter') + $t('handlingSuggestions'))"
:maxLength="500" :maxLength="500"
:rows="4" :rows="4"
:disabled="disabled" :disabled="disabled"
@@ -231,7 +231,7 @@ export default {
validateTrigger: 'blur' validateTrigger: 'blur'
}, },
commitText: { commitText: {
rules: [{ required: false, message: this.$t('pleaseEnter') + this.$t('remarks') }], rules: [{ required: false, message: this.$t('pleaseEnter') + this.$t('handlingSuggestions') }],
validateTrigger: 'blur' validateTrigger: 'blur'
} }
}, },
@@ -740,7 +740,7 @@ export default {
}) })
// 驳回需要填写备注 // 驳回需要填写备注
if (!this.approvalInfoForm.getFieldValue('commitText')) { if (!this.approvalInfoForm.getFieldValue('commitText')) {
this.$message.warn(this.$t('pleaseEnterRemarks')) this.$message.warn(this.$t('pleaseHandlingSuggestions'))
return return
} }
this.loading = true this.loading = true