From 68270bc858a465bc482820586a7ccb534b6c3565 Mon Sep 17 00:00:00 2001
From: “dzb” <2632970487@qq.com>
Date: 星期一, 17 十月 2022 18:40:57 +0800
Subject: [PATCH] 新增日志管理

---
 src/views/operate/disposal/casepool/pool/createUser/vio/index.vue |    8 ++++++--
 1 files changed, 6 insertions(+), 2 deletions(-)

diff --git a/src/views/operate/disposal/casepool/pool/createUser/vio/index.vue b/src/views/operate/disposal/casepool/pool/createUser/vio/index.vue
index b6d8f0c..853168f 100644
--- a/src/views/operate/disposal/casepool/pool/createUser/vio/index.vue
+++ b/src/views/operate/disposal/casepool/pool/createUser/vio/index.vue
@@ -142,6 +142,7 @@
 import MyMap from '@/components/map'
 import { validateName, validatePhone, validateCarNum, validateCardId } from '@/utils/validate'
 import {getTypeList} from '@/utils/helper'
+import {parseTime} from "@/utils/index"
 export default {
     components: {
         MyMap
@@ -454,13 +455,16 @@
             this.$refs.user.validate((valid) => {
                 if (valid) {
                     const { vio } = this;
-                    console.log(vio);
                     this.$axios({
                         method: 'post',
                         url: 'sccg/base_case/addition_violation',
-                        data: vio
+                        data: {
+                            ...vio,
+                            alarmTime:parseTime(vio.alarmTime),
+                        }
                     })
                         .then(res => {
+                            console.log(res);
                             if (res.code === 200) {
                                 this.$message({
                                     type: 'success',

--
Gitblit v1.8.0