[update] 修改企标立项流程
This commit is contained in:
@@ -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) {
|
||||
|
||||
@@ -199,11 +199,13 @@ export default {
|
||||
handleAdd () {
|
||||
this.modalType = 'add'
|
||||
this.$refs.changeBaseInfoDrawer.add()
|
||||
this.$refs.changeBaseInfoDrawer.title = this.$t('newlyAdded')
|
||||
},
|
||||
// 编辑
|
||||
handleEdit (record, index) {
|
||||
this.modalType = 'edit' + index
|
||||
this.$refs.changeBaseInfoDrawer.edit(record)
|
||||
this.$refs.changeBaseInfoDrawer.title = this.$t('edit')
|
||||
},
|
||||
// 删除
|
||||
handleDelete (id, index) {
|
||||
|
||||
+12
-1
@@ -1,6 +1,6 @@
|
||||
<template>
|
||||
<a-drawer
|
||||
:title="$t('standardSelect.standardSelection')"
|
||||
:title="title"
|
||||
:maskClosable="false"
|
||||
:width="1000"
|
||||
placement="right"
|
||||
@@ -213,6 +213,7 @@ export default {
|
||||
},
|
||||
data () {
|
||||
return {
|
||||
title: '',
|
||||
visible: false,
|
||||
confirmLoading: false,
|
||||
model: {},
|
||||
@@ -359,5 +360,15 @@ export default {
|
||||
|
||||
.form-flex-item-long {
|
||||
width: 100%;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
.box-title-text {
|
||||
.title-text {
|
||||
width: 200px;
|
||||
}
|
||||
.item-model {
|
||||
width: clac(100% - 220px)
|
||||
}
|
||||
}
|
||||
</style>
|
||||
|
||||
@@ -163,11 +163,13 @@ export default {
|
||||
handleAdd () {
|
||||
this.modalType = 'add'
|
||||
this.$refs.jobEndBaseInfoDrawer.add()
|
||||
this.$refs.changeBaseInfoDrawer.title = this.$t('newlyAdded')
|
||||
},
|
||||
// 编辑
|
||||
handleEdit (record, index) {
|
||||
this.modalType = 'edit' + index
|
||||
this.$refs.jobEndBaseInfoDrawer.edit(record)
|
||||
this.$refs.changeBaseInfoDrawer.title = this.$t('edit')
|
||||
},
|
||||
// 删除
|
||||
handleDelete (id, index) {
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<template>
|
||||
<a-drawer
|
||||
:title="$t('standardSelect.standardSelection')"
|
||||
:title="title"
|
||||
:maskClosable="false"
|
||||
:width="1000"
|
||||
placement="right"
|
||||
@@ -118,6 +118,7 @@ export default {
|
||||
},
|
||||
data () {
|
||||
return {
|
||||
title: '',
|
||||
visible: false,
|
||||
confirmLoading: false,
|
||||
model: {},
|
||||
|
||||
Reference in New Issue
Block a user