From d0390d0ee24683cee74b1ff9c223acef77675b3f Mon Sep 17 00:00:00 2001 From: "youhong.ai" Date: Thu, 6 Jul 2023 10:08:21 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9rs=E6=A3=80=E6=9F=A5=E5=91=A8?= =?UTF-8?q?=E6=9C=9F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../youhong.ai/pcn/workflow_code_block.js | 24 +++++++++++++++++++ .../utils/recordset/RsThreadLocalManager.java | 2 +- 2 files changed, 25 insertions(+), 1 deletion(-) diff --git a/javascript/youhong.ai/pcn/workflow_code_block.js b/javascript/youhong.ai/pcn/workflow_code_block.js index feae264..ec6a589 100644 --- a/javascript/youhong.ai/pcn/workflow_code_block.js +++ b/javascript/youhong.ai/pcn/workflow_code_block.js @@ -910,3 +910,27 @@ $(() => { }, 500) }) /* ******************* youhong.ai 主表选择框自定义渲染为进度条 end ******************* */ + + +/* ******************* youhong.ai 限制考试按钮点击 start ******************* */ + +$(() => { + let config = { + conditions: {}, + tableName: "", + } + + function pxlx() { + let datas = ModeList.getTableDatas(); + if (datas && datas.length >= 1) { + let obj = datas[0]; + let value = obj.lx + console.log(obj) + let url = "/spa/workflow/index_form.jsp#/main/workflow/req?iscreate=1&workflowid=306&field24498=" + value; + window.open(url); + } + + } +}) + +/* ******************* youhong.ai 限制考试按钮点击 end ******************* */ diff --git a/src/main/java/aiyh/utils/recordset/RsThreadLocalManager.java b/src/main/java/aiyh/utils/recordset/RsThreadLocalManager.java index 333eaa4..c46e835 100644 --- a/src/main/java/aiyh/utils/recordset/RsThreadLocalManager.java +++ b/src/main/java/aiyh/utils/recordset/RsThreadLocalManager.java @@ -38,7 +38,7 @@ public class RsThreadLocalManager { * @author youHong.ai ****************************************** */ private void startMonitor() { - executor.scheduleAtFixedRate(this::checkExpireRs, 0, 2, TimeUnit.MINUTES); + executor.scheduleAtFixedRate(this::checkExpireRs, 0, 10, TimeUnit.MINUTES); } /**