[update] 修改企标计划立项/变更流程

This commit is contained in:
lideqin
2023-10-08 09:38:45 +08:00
parent 416edb095f
commit f35eb47a33
2 changed files with 37 additions and 27 deletions
+1 -1
View File
@@ -137,7 +137,7 @@ module.exports = {
standardName: '标准名称', standardName: '标准名称',
standardNumOrName: '标准编号/标准名称', standardNumOrName: '标准编号/标准名称',
fileImportError: '文件导入错误', fileImportError: '文件导入错误',
flowCenter: '流程中心', flowCenter: '流程中心——',
processInformation: '流程信息', processInformation: '流程信息',
basicServiceInformation: '业务基本信息', basicServiceInformation: '业务基本信息',
processApprovalInformation: '流程审批信息', processApprovalInformation: '流程审批信息',
@@ -1,27 +1,37 @@
<template> <template>
<internal-detail-page :title="pageTitle"> <internal-detail-page :title="pageTitle">
<a-form :form="form"> <div class="scroll-content">
<div class="process-part-title">{{ $t('processInformation') }}</div> <div class="process-part-title">{{ $t('processInformation') }}</div>
<!-- 流程名称 --> <a-form :form="processInfoForm">
<a-form-item :labelCol="labelCol" :wrapperCol="wrapperCol" :label="$t('processName')"> <a-row>
<a-input :placeholder="$t('pleaseEnter') + $t('processName')" <a-col :span="12">
@change="event => event.target.value = event.target.value.trim()" <!-- 流程名称 -->
:maxLength="50" <a-form-item :labelCol="labelCol" :wrapperCol="wrapperCol" :label="$t('processName')">
v-decorator="['processName']" /> <a-input :placeholder="$t('pleaseEnter') + $t('processName')"
</a-form-item> @change="event => event.target.value = event.target.value.trim()"
<!-- 截止日期 --> :maxLength="50"
<a-form-item :labelCol="labelCol" :wrapperCol="wrapperCol" :label="$t('expirationDate')"> v-decorator="['processName']" />
<a-date-picker :placeholder="$t('pleaseSelect') + $t('expirationDate')" </a-form-item>
value-format="YYYY-MM-DD" </a-col>
v-decorator="['expirationDate']" /> <a-col :span="12">
</a-form-item> <!-- 截止日期 -->
<!-- 流程说明 --> <a-form-item :labelCol="labelCol" :wrapperCol="wrapperCol" :label="$t('expirationDate')">
<a-form-item :labelCol="labelCol" :wrapperCol="wrapperCol" :label="$t('processExplain')"> <a-date-picker :placeholder="$t('pleaseSelect') + $t('expirationDate')"
<a-textarea :placeholder="$t('pleaseSelect') + $t('processExplain')" value-format="YYYY-MM-DD"
maxLength="500" v-decorator="['expirationDate']" />
:rows="4" </a-form-item>
v-decorator="['processExplain']" /> </a-col>
</a-form-item> <a-col :span="12">
<!-- 流程说明 -->
<a-form-item :labelCol="labelCol" :wrapperCol="wrapperCol" :label="$t('processExplain')">
<a-textarea :placeholder="$t('pleaseSelect') + $t('processExplain')"
maxLength="500"
:rows="4"
v-decorator="['processExplain']" />
</a-form-item>
</a-col>
</a-row>
</a-form>
<div class="process-part-title">{{ $t('basicServiceInformation') }}</div> <div class="process-part-title">{{ $t('basicServiceInformation') }}</div>
<a-form-model :model="formInline" v-if="isFormInline" class="form-add" :rules="rules" ref="ruleForm"> <a-form-model :model="formInline" v-if="isFormInline" class="form-add" :rules="rules" ref="ruleForm">
@@ -181,7 +191,7 @@
<a-form-model-item class="item-model" prop="enterpriseStandardNum"> <a-form-model-item class="item-model" prop="enterpriseStandardNum">
<standard-selection :source="StandardSource.ENTERPRISE.value" <standard-selection :source="StandardSource.ENTERPRISE.value"
:disabledSourceSearch="true" :disabledSourceSearch="true"
changeType="radio" type="radio"
v-model="formInline.enterpriseStandardNum" v-model="formInline.enterpriseStandardNum"
@nameChange="nameChange"/> @nameChange="nameChange"/>
</a-form-model-item> </a-form-model-item>
@@ -614,7 +624,7 @@
:maxLength="500" :maxLength="500"
v-model="remark" :rows="4" /> v-model="remark" :rows="4" />
<j-upload v-model="attach" return-id/> <j-upload v-model="attach" return-id/>
</a-form> </div>
<!-- 操作按钮 --> <!-- 操作按钮 -->
<div class="bottom-operate-box"> <div class="bottom-operate-box">
<!-- 委托 --> <!-- 委托 -->
@@ -650,7 +660,7 @@ export default {
}, },
computed: { computed: {
pageTitle () { pageTitle () {
return this.$t('flowCenter') + '——' + this.$route.meta.title return this.$t('flowCenter') + this.$route.meta.title
}, },
yearNumberDefaultValue () { yearNumberDefaultValue () {
return new Date().getFullYear() + '' return new Date().getFullYear() + ''
@@ -670,7 +680,7 @@ export default {
return { return {
StandardSource, StandardSource,
loading: false, loading: false,
form: this.$form.createForm(this), processInfoForm: this.$form.createForm(this),
labelCol: { labelCol: {
xs: { span: 24 }, xs: { span: 24 },
sm: { span: 4 } sm: { span: 4 }