update 调整流程设计溢出问题,优化流程图,流程实例按钮
This commit is contained in:
@ -1,26 +1,14 @@
|
||||
<template>
|
||||
<div ref="container" class="container">
|
||||
<iframe ref="iframe" :src="iframeUrl" frameborder="0" :width="sidebarStatusWidth()" height="100%"></iframe>
|
||||
<iframe ref="iframe" :src="iframeUrl" frameborder="0" style="height: 100%; width: inherit"></iframe>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script setup name="WarmFlow">
|
||||
|
||||
const { proxy } = getCurrentInstance();
|
||||
import { onMounted } from 'vue';
|
||||
import { getToken } from '@/utils/auth';
|
||||
|
||||
const sidebarStatus = useStorage('sidebarStatus', '1');
|
||||
|
||||
console.log(sidebarStatus.value)
|
||||
|
||||
const sidebarStatusWidth = () => {
|
||||
if (sidebarStatus.value === '0') {
|
||||
return "115%";
|
||||
}
|
||||
return "104%";
|
||||
}
|
||||
|
||||
// definitionId为需要查询的流程定义id,
|
||||
// disabled为是否可编辑, 例如:查看的时候不可编辑,不可保存
|
||||
const iframeUrl = ref('');
|
||||
|
@ -93,7 +93,7 @@
|
||||
</el-table-column>
|
||||
<el-table-column align="center" prop="createTime" label="启动时间" width="160"></el-table-column>
|
||||
<el-table-column v-if="tab === 'finish'" align="center" prop="updateTime" label="结束时间" width="160"></el-table-column>
|
||||
<el-table-column label="操作" align="center" :width="162">
|
||||
<el-table-column label="操作" align="center" :width="165">
|
||||
<template #default="scope">
|
||||
<el-row v-if="tab === 'running'" :gutter="10" class="mb8">
|
||||
<el-col :span="1.5">
|
||||
|
Reference in New Issue
Block a user