[update] 修改企标立项变更流程驳回后不可修改申请类型和项目类别,和企标更改流程修改单的提出部门提出人取值

This commit is contained in:
lideqin
2023-12-06 14:21:47 +08:00
parent 915a7afb0a
commit 6a282bd82b
2 changed files with 8 additions and 5 deletions
@@ -109,14 +109,14 @@ export default {
title: this.$t('workCenter.enStandardChange.proposingDepartment'),
align: 'center',
width: 180,
dataIndex: 'orgCode_dictText',
dataIndex: 'createUnit_dictText',
scopedSlots: { customRender: 'text' }
},
{ // 提出人
title: this.$t('workCenter.enStandardChange.introducer'),
align: 'center',
width: 180,
dataIndex: 'createBy_dictText',
dataIndex: 'createUser_dictText',
scopedSlots: { customRender: 'text' }
}
],
@@ -71,7 +71,7 @@
<!-- :triggerChange="false"-->
<!-- dictCode="esp_application_category" />-->
<a-select v-model="formInline.applicationCategory"
:disabled="disabled"
:disabled="disabled || categoryTypeDisabled"
@change="applicationCategoryChange"
:placeholder="$t('pleaseSelect')+$t('workCenter.enterpriseInitChangePlan.applicationType')">
<a-select-option :value="ApplicationCategory.INITIATION.value">{{ $t('workCenter.enterpriseInitChangePlan.standardProjectEstablishment') }}</a-select-option>
@@ -90,14 +90,14 @@
<a-form-model-item class="item-model" prop="projectType">
<a-select v-if="formInline.applicationCategory === ApplicationCategory.INITIATION.value"
v-model="formInline.projectType"
:disabled="disabled"
:disabled="disabled || categoryTypeDisabled"
:placeholder="$t('pleaseSelect')+$t('workCenter.enterpriseInitChangePlan.itemCategory')">
<a-select-option :value="ProjectType.ENACT.value">{{ $t('workCenter.enterpriseInitChangePlan.formulate') }}</a-select-option>
<a-select-option :value="ProjectType.MODIFY.value">{{ $t('workCenter.enterpriseInitChangePlan.revise') }}</a-select-option>
</a-select>
<a-select v-else-if="formInline.applicationCategory === ApplicationCategory.CHANGE.value"
v-model="formInline.projectType"
:disabled="disabled"
:disabled="disabled || categoryTypeDisabled"
@change="projectTypeChange"
:placeholder="$t('pleaseSelect')+$t('workCenter.enterpriseInitChangePlan.itemCategory')">
<a-select-option :value="ProjectType.COMPLETE_TIME_CHANGE.value">{{ $t('workCenter.enterpriseInitChangePlan.completionTimeChange') }}</a-select-option>
@@ -352,6 +352,8 @@ export default {
if (this.$route.query.taskId && !this.$route.query.draftId) {
// 有流程id说明是从流程中心来的,需要初始化数据
this.getProcessData('todo', { taskId: this.$route.query.taskId })
// 待办进来的节点1说明是被驳回的,不可修改申请类型和项目类别
this.categoryTypeDisabled = true
}
if (this.$route.query.draftId) {
// 有草稿id,说明是从流程中心-草稿来的,需要初始化数据
@@ -377,6 +379,7 @@ export default {
loading: false,
switchValue: 'base', // 头部tab选中值
disabled: false,
categoryTypeDisabled: false, // 申请类型和项目类别不可更改
onlyLook: false, // 是否仅查看
currentNode: 1, // 当前节点
currentNodeName: '', // 当前节点名称