update 调整设计器请求uri 调整待办状态

This commit is contained in:
gssong 2024-11-16 00:34:30 +08:00
parent d678c54b1a
commit 090b22295c
3 changed files with 12 additions and 6 deletions

View File

@ -7,11 +7,10 @@
<script setup name="WarmFlow">
const { proxy } = getCurrentInstance();
import { onMounted } from 'vue';
// definitionIdid
// disabled,
const iframeUrl = ref('');
const disabled = ref(false);
const baseUrl = import.meta.env.VITE_APP_BASE_API;
const iframeLoaded = () => {
// iframe
window.onmessage = (event) => {
@ -23,8 +22,7 @@ const iframeLoaded = () => {
};
};
const open = async (definitionId) => {
iframeUrl.value = `http://localhost:8080/warm-flow-ui/${definitionId}`;
console.log(iframeUrl.value);
iframeUrl.value = baseUrl + `/warm-flow-ui/index.html?id=${definitionId}&disabled=false`;
};
/** 关闭按钮 */
function close() {

View File

@ -62,7 +62,11 @@
</template>
</template>
</el-table-column>
<el-table-column align="center" label="流程状态" prop="flowStatusName" min-width="70"> </el-table-column>
<el-table-column align="center" label="流程状态" prop="flowStatusName" min-width="70">
<template #default="scope">
<dict-tag :options="wf_business_status" :value="scope.row.flowStatus"></dict-tag>
</template>
</el-table-column>
<el-table-column align="center" prop="createTime" label="创建时间" width="160"></el-table-column>
<el-table-column label="操作" align="center" :width="tab === 'finish' ? '80' : '151'">
<template #default="scope">

View File

@ -46,7 +46,11 @@
</template>
</template>
</el-table-column>
<el-table-column align="center" label="流程状态" prop="flowStatusName" min-width="70"> </el-table-column>
<el-table-column align="center" label="流程状态" prop="flowStatusName" min-width="70">
<template #default="scope">
<dict-tag :options="wf_business_status" :value="scope.row.flowStatus"></dict-tag>
</template>
</el-table-column>
<el-table-column align="center" prop="createTime" label="创建时间" width="160"></el-table-column>
<el-table-column label="操作" align="center" width="200">
<template #default="scope">