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