From f879ddd80a2bd267a0a575ef03f76d3ec2ae1504 Mon Sep 17 00:00:00 2001
From: ludc
Date: 星期四, 04 一月 2024 11:42:22 +0800
Subject: [PATCH] bug列表269:集成日志查询bug修改。 270:关键属性校验,去掉多线程之后请求响应非常慢(之前报错线程阻塞的bug改成单线程导致非常慢,现在又改回ForJoinPool方式限制线程生成数量实现多线程并行,提升执行效率)。

---
 Source/UBCS-WEB/src/views/code/codeApply.vue |    7 +++++--
 1 files changed, 5 insertions(+), 2 deletions(-)

diff --git a/Source/UBCS-WEB/src/views/code/codeApply.vue b/Source/UBCS-WEB/src/views/code/codeApply.vue
index 32ce26e..30bf0f2 100644
--- a/Source/UBCS-WEB/src/views/code/codeApply.vue
+++ b/Source/UBCS-WEB/src/views/code/codeApply.vue
@@ -53,7 +53,7 @@
 
 <script>
 import {getAuthTree,getUsedTemplateByClassifyOid,getCodeRule,addSaveCode} from '@/api/code/codeApply.js'
-
+import func from '@/util/func';
 export default {
   name: "codeApply",
   components: { FormTemplate: () => import('@/components/FormTemplate/FormTemplate') },
@@ -217,7 +217,10 @@
       resForm.codeRuleOid = this.codeRuleOid;
       resForm.templateOid = this.templateOid;
       // this.$emit("submit", resForm);
-      resForm.ts = resForm.ts.toISOString().replace("Z", "");
+      if(func.notEmpty(resForm.ts)) {
+        resForm.ts = func.formattedDateTime(resForm.ts);
+        // resForm.ts = resForm.ts.toISOString().replace("Z", "");
+      }
       addSaveCode(resForm).then(res => {
         this.$nextTick(() => {
           this.addvisible = false;

--
Gitblit v1.9.3