From a071b637e89fccbfde01bc9e4acbd9c6f7482194 Mon Sep 17 00:00:00 2001
From: ludc
Date: 星期四, 26 十月 2023 18:27:33 +0800
Subject: [PATCH] 前端代码打包

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

diff --git a/Source/UBCS-WEB/src/views/code/codeApply.vue b/Source/UBCS-WEB/src/views/code/codeApply.vue
index c9df49d..32ce26e 100644
--- a/Source/UBCS-WEB/src/views/code/codeApply.vue
+++ b/Source/UBCS-WEB/src/views/code/codeApply.vue
@@ -157,15 +157,6 @@
       // 杩涜琛ㄥ崟鏍¢獙
       const formValidate = await this.$refs.FormTemplate.validate();
       if (!formValidate) return;
-      let codeValidate = true;
-      // 杩涜鐮佸�肩敵璇锋牎楠�
-      // if (this.showCodeApply) {
-      //   codeValidate = await this.$refs.CodeApply.validate();
-      //   if (!codeValidate) {
-      //     this.activeName = "codeApply";
-      //     return false;
-      //   }
-      // }
       let resembleQueryList = [];
       if (this.showResembleQuery && this.$refs.resembleQueryRef) {
         // 杩涜鐩镐技椤规煡璇�
@@ -226,6 +217,7 @@
       resForm.codeRuleOid = this.codeRuleOid;
       resForm.templateOid = this.templateOid;
       // this.$emit("submit", resForm);
+      resForm.ts = resForm.ts.toISOString().replace("Z", "");
       addSaveCode(resForm).then(res => {
         this.$nextTick(() => {
           this.addvisible = false;
@@ -233,7 +225,7 @@
           this.onLoad()
         })
       })
-      console.log(resForm)
+      // console.log(resForm)
     },
     getDefaultValueAndFormValues(form) {
       let defaultValue = {};

--
Gitblit v1.9.3