[update] 修改企标立项流程

This commit is contained in:
lideqin
2023-11-24 18:08:11 +08:00
parent 407be20fdd
commit 1dea3b2eb6
5 changed files with 32 additions and 11 deletions
@@ -336,10 +336,12 @@ export default {
// 查询流程定义列表,通过查出的数据获取到流程定义id,如果已经发起过流程,用这个id和流程实例id去查人员信息数据
this.getPersonInfoStructure(ProcessKey.ES_INIT_CHANGE.value)
// 根据流程节点初始化是否可以编辑
if (this.currentNode === 1) {
this.disabled = false
} else {
this.disabled = true
if (this.$route.query.processInstanceId) {
if (this.currentNode === 1) {
this.disabled = false
} else {
this.disabled = true
}
}
if (this.$route.query.taskId) {
// 有流程id说明是从流程中心来的,需要初始化数据
@@ -541,11 +543,14 @@ export default {
// 变更的责任部门变更
this.resetPersonInfoStructure('3')
}
if (this.currentNode === 1) {
this.initPersonInfoData(true)
} else {
// 如果不是第一个节点,人员信息全部不可选
this.initPersonInfoData(false)
// 对人员信息进行处理
if (this.$route.query.processInstanceId) {
if (this.currentNode === 1) {
this.initPersonInfoData(true)
} else {
// 如果不是第一个节点,人员信息全部不可选
this.initPersonInfoData(false)
}
}
// 初始化业务基本信息中组件内容
if (this.formInline.applicationCategory === ApplicationCategory.INITIATION.value) {