BUG修改

This commit is contained in:
a0049873 2022-07-01 19:02:49 +08:00
parent 6550188e13
commit d50b0a0dca
1 changed files with 6 additions and 19 deletions

View File

@ -1,7 +1,7 @@
<template> <template>
<div class="form-container"> <div class="form-container">
<div class="title">基础信息</div> <!-- <div class="title">基础信息</div> -->
<a-form <!-- <a-form
v-if="props.processDefinitionName == '能力申请流程'" v-if="props.processDefinitionName == '能力申请流程'"
ref="formRef" ref="formRef"
:model="formName" :model="formName"
@ -56,19 +56,6 @@
</a-form-item> </a-form-item>
</div> </div>
<!-- <a-form-item
label="所在地区"
name="area"
:rules="[{ required: true, message: '请输入所在地区' }]"
>
<a-input
disabled="true"
style="width: 230px"
placeholder="请输入所在地区"
v-model:value="formName.area"
/>
</a-form-item> -->
<div class="title">更多申请信息</div> <div class="title">更多申请信息</div>
<a-form-item <a-form-item
@ -503,7 +490,7 @@
></a-input> ></a-input>
</a-form-item> </a-form-item>
</div> </div>
</a-form> </a-form> -->
<div class="title">流程图</div> <div class="title">流程图</div>
<div> <div>
<img :src="getResourceURL()" alt="" /> <img :src="getResourceURL()" alt="" />
@ -612,9 +599,9 @@
const getInfo = () => { const getInfo = () => {
console.log(props.processInstanceId, '============================') console.log(props.processInstanceId, '============================')
if (props.processDefinitionName == '能力申请') { if (props.processDefinitionName == '能力申请') {
getTaskVariables({ taskId: props.processInstanceId }).then((res) => { // getTaskVariables({ taskId: props.processInstanceId }).then((res) => {
console.log('获取数据====================>', res.data.data) // console.log('====================>', res.data.data)
}) // })
} }
if (props.processDefinitionName == '能力申请流程') { if (props.processDefinitionName == '能力申请流程') {
getApplyForm(props.businessKey).then((res) => { getApplyForm(props.businessKey).then((res) => {