nbcio-boot的flowable流程流程模型查询时间长,el-table开始显示无数据的问题解决

本文主要是介绍nbcio-boot的flowable流程流程模型查询时间长,el-table开始显示无数据的问题解决,希望对大家解决编程问题提供一定的参考价值,需要的开发者们随着小编来一起学习吧!

更多nbcio-boot功能请看演示系统

gitee源代码地址

后端代码: https://gitee.com/nbacheng/nbcio-boot

前端代码:https://gitee.com/nbacheng/nbcio-vue.git

在线演示(包括H5) : http://122.227.135.243:9888
 

      之前流程模型查询经过时间调整后,查询的时间更长了,但e-table在发布平台上显示无数据,但本地好像是会显示加载图标的,不知道为什么发布了反而不行了。

      但不修正这个,用户以为是空的呢?那只能想其它办法了。

     如下: 增加:empty-text="loadInfo"  和这个变量

<el-table v-loading="flowLoading" :data="definitionList" :empty-text="loadInfo" border><el-table-column label="流程定义id" align="center" prop="id" /><el-table-column label="流程标识Key" align="center" prop="key" /><el-table-column label="流程分类" align="center"><template slot-scope="scope"><span>{{ getCategoryName(scope.row.category) }}</span></template></el-table-column><el-table-column label="流程名称" align="center" :show-overflow-tooltip="true"><template slot-scope="scope"><el-button type="text" @click="handleProcessView(scope.row.deploymentId)"><span>{{ scope.row.name }}</span></el-button></template></el-table-column><el-table-column  label="表单名称" align="center" :show-overflow-tooltip="true"><template slot-scope="scope"><el-button v-if="(scope.row.formId) && (scope.row.category == 'zdyyw')" type="text" @click="handleCustomForm(scope.row.formId)"><span>{{ scope.row.formName }}</span></el-button><el-button v-if="(scope.row.formId) && (scope.row.category == 'online')" type="text" @click="handleOnlineForm(scope.row.formId,scope.row.formName)"><span>{{ scope.row.formName }}</span></el-button><el-button v-else-if="scope.row.formId" type="text" @click="handleForm(scope.row.formId)"><span>{{ scope.row.formName }}</span></el-button><label v-else>暂无表单</label></template></el-table-column><el-table-column label="流程版本" align="center"><template slot-scope="scope"><el-tag size="medium">v{{ scope.row.version }}</el-tag></template></el-table-column><el-table-column label="状态" align="center"><template slot-scope="scope"><el-tag type="success" v-if="scope.row.suspensionState === 1">激活</el-tag><el-tag type="warning" v-if="scope.row.suspensionState === 2">挂起</el-tag></template></el-table-column><el-table-column label="部署时间" sortable align="center" prop="deploymentTime" width="180" /><el-table-column label="操作" align="center" class-name="small-padding fixed-width"><template slot-scope="scope"><el-dropdown><span class="el-dropdown-link">更多操作<i class="el-icon-arrow-down el-icon--right"></i></span><el-dropdown-menu slot="dropdown"><el-dropdown-item icon="el-icon-edit-outline" @click.native="handleLoadXml(scope.row)">编辑</el-dropdown-item><el-dropdown-item icon="el-icon-connection" @click.native="handleAddForm(scope.row)" v-if="scope.row.formId == null && (scope.row.category == 'oa' || scope.row.category == 'cw')">配置表单</el-dropdown-item><!--<el-dropdown-item icon="el-icon-connection" @click.native="handleAddCustomForm(scope.row)"v-if="scope.row.formId == null && (scope.row.category == 'zdyyw')">配置自定义业务表单</el-dropdown-item> --><el-dropdown-item icon="el-icon-connection" @click.native="handleAddOnlineForm(scope.row)"v-if="scope.row.formId == null && (scope.row.category == 'online')">配置online表单</el-dropdown-item><el-dropdown-item icon="el-icon-connection" @click.native="SubmitApplication(scope.row)" v-if="(scope.row.formId != null && (scope.row.category == 'oa' || scope.row.category == 'cw' ))   || (scope.row.formId != null && (scope.row.category == 'online'))|| (scope.row.formId == null && (scope.row.category == 'ddxz' || scope.row.category == 'ddcw'))">发起申请</el-dropdown-item><el-dropdown-item icon="el-icon-video-pause" @click.native="handleUpdateSuspensionState(scope.row)"v-if="scope.row.suspensionState === 1">挂起</el-dropdown-item><el-dropdown-item icon="el-icon-video-play" @click.native="handleUpdateSuspensionState(scope.row)"v-if="scope.row.suspensionState === 2">激活</el-dropdown-item><el-dropdown-item icon="el-icon-delete" @click.native="handleDelete(scope.row)">删除</el-dropdown-item></el-dropdown-menu></el-dropdown></template></el-table-column></el-table>

在取数据的时候进行更新

 /** 查询流程定义列表 */getList() {this.flowLoading = true;this.loadInfo = "数据加载中..."listDefinition(this.queryParams).then(response => {console.log("getList response=",response);if(response.code == 200) {this.loadInfo = "";this.definitionList = response.result.records;this.total = response.result.total;this.flowLoading = false;}});},

效果图:

   

这篇关于nbcio-boot的flowable流程流程模型查询时间长,el-table开始显示无数据的问题解决的文章就介绍到这儿,希望我们推荐的文章对编程师们有所帮助!



http://www.chinasem.cn/article/523551

相关文章

mybatis和mybatis-plus设置值为null不起作用问题及解决

《mybatis和mybatis-plus设置值为null不起作用问题及解决》Mybatis-Plus的FieldStrategy主要用于控制新增、更新和查询时对空值的处理策略,通过配置不同的策略类型... 目录MyBATis-plusFieldStrategy作用FieldStrategy类型每种策略的作

Linux流媒体服务器部署流程

《Linux流媒体服务器部署流程》文章详细介绍了流媒体服务器的部署步骤,包括更新系统、安装依赖组件、编译安装Nginx和RTMP模块、配置Nginx和FFmpeg,以及测试流媒体服务器的搭建... 目录流媒体服务器部署部署安装1.更新系统2.安装依赖组件3.解压4.编译安装(添加RTMP和openssl模块

linux下多个硬盘划分到同一挂载点问题

《linux下多个硬盘划分到同一挂载点问题》在Linux系统中,将多个硬盘划分到同一挂载点需要通过逻辑卷管理(LVM)来实现,首先,需要将物理存储设备(如硬盘分区)创建为物理卷,然后,将这些物理卷组成... 目录linux下多个硬盘划分到同一挂载点需要明确的几个概念硬盘插上默认的是非lvm总结Linux下多

在 Spring Boot 中使用 @Autowired和 @Bean注解的示例详解

《在SpringBoot中使用@Autowired和@Bean注解的示例详解》本文通过一个示例演示了如何在SpringBoot中使用@Autowired和@Bean注解进行依赖注入和Bean... 目录在 Spring Boot 中使用 @Autowired 和 @Bean 注解示例背景1. 定义 Stud

Python Jupyter Notebook导包报错问题及解决

《PythonJupyterNotebook导包报错问题及解决》在conda环境中安装包后,JupyterNotebook导入时出现ImportError,可能是由于包版本不对应或版本太高,解决方... 目录问题解决方法重新安装Jupyter NoteBook 更改Kernel总结问题在conda上安装了

pip install jupyterlab失败的原因问题及探索

《pipinstalljupyterlab失败的原因问题及探索》在学习Yolo模型时,尝试安装JupyterLab但遇到错误,错误提示缺少Rust和Cargo编译环境,因为pywinpty包需要它... 目录背景问题解决方案总结背景最近在学习Yolo模型,然后其中要下载jupyter(有点LSVmu像一个

Goland debug失效详细解决步骤(合集)

《Golanddebug失效详细解决步骤(合集)》今天用Goland开发时,打断点,以debug方式运行,发现程序并没有断住,程序跳过了断点,直接运行结束,网上搜寻了大量文章,最后得以解决,特此在这... 目录Bug:Goland debug失效详细解决步骤【合集】情况一:Go或Goland架构不对情况二:

0基础租个硬件玩deepseek,蓝耘元生代智算云|本地部署DeepSeek R1模型的操作流程

《0基础租个硬件玩deepseek,蓝耘元生代智算云|本地部署DeepSeekR1模型的操作流程》DeepSeekR1模型凭借其强大的自然语言处理能力,在未来具有广阔的应用前景,有望在多个领域发... 目录0基础租个硬件玩deepseek,蓝耘元生代智算云|本地部署DeepSeek R1模型,3步搞定一个应

SQL 中多表查询的常见连接方式详解

《SQL中多表查询的常见连接方式详解》本文介绍SQL中多表查询的常见连接方式,包括内连接(INNERJOIN)、左连接(LEFTJOIN)、右连接(RIGHTJOIN)、全外连接(FULLOUTER... 目录一、连接类型图表(ASCII 形式)二、前置代码(创建示例表)三、连接方式代码示例1. 内连接(I

解决jupyterLab打开后出现Config option `template_path`not recognized by `ExporterCollapsibleHeadings`问题

《解决jupyterLab打开后出现Configoption`template_path`notrecognizedby`ExporterCollapsibleHeadings`问题》在Ju... 目录jupyterLab打开后出现“templandroidate_path”相关问题这是 tensorflo