fix(流程模型和部署): 修改流程模型设计方案,模型信息和流程图分开操作,表单在开始节点设置。

This commit is contained in:
konbai
2022-07-19 20:59:32 +08:00
parent 0ae300919d
commit 8acdf651a9
20 changed files with 609 additions and 571 deletions

View File

@@ -14,8 +14,7 @@
</template>
<script>
import { getFormByDeployId } from '@/api/workflow/deploy'
import { startProcess } from '@/api/workflow/process'
import { getProcessForm, startProcess } from '@/api/workflow/process'
import Parser from '@/utils/generator/parser'
export default {
@@ -40,7 +39,10 @@ export default {
initData() {
this.definitionId = this.$route.query && this.$route.query.definitionId;
this.deployId = this.$route.query && this.$route.query.deployId;
getFormByDeployId(this.deployId).then(res => {
getProcessForm({
definitionId: this.definitionId,
deployId: this.deployId
}).then(res => {
if (res.data) {
this.formData = res.data;
this.formOpen = true