From 8c13ea1b45fbeed9d7111f5d492e4745c91925b1 Mon Sep 17 00:00:00 2001
From: zhanghua <314079846@qq.com>
Date: 星期五, 14 四月 2023 15:12:45 +0800
Subject: [PATCH] bug修改

---
 src/views/operate/disposal/casepool/escalation/createUser/ill/index.vue |   36 +++++++++++++++++++-----------------
 1 files changed, 19 insertions(+), 17 deletions(-)

diff --git a/src/views/operate/disposal/casepool/escalation/createUser/ill/index.vue b/src/views/operate/disposal/casepool/escalation/createUser/ill/index.vue
index 7cc5f93..5f771fc 100644
--- a/src/views/operate/disposal/casepool/escalation/createUser/ill/index.vue
+++ b/src/views/operate/disposal/casepool/escalation/createUser/ill/index.vue
@@ -114,7 +114,8 @@
     </div>
 </template>
 <script>
-import MyMap from '@/components/map'
+// import MyMap from "@/components/map";
+import MyMap from "@/components/map/leafletMap.vue";
 export default {
     components: {
         MyMap
@@ -338,19 +339,15 @@
     methods: {
         handleUser() {
             const that = this;
-            // console.log(this.$refs);
             this.$refs.user.validate((valid) => {
-                console.log(valid)
                 if (valid) {
                     that.$refs.condition.validate((flag) => {
-                        console.log(flag);
                         if (flag) {
                             const { ill } = this;
                             ill.buildingLength = parseFloat(ill.buildingLength);
                             ill.buildingHigh = parseFloat(ill.buildingHigh);
                             ill.buildingWidth = parseFloat(ill.buildingWidth);
                             ill.buildingArea = parseFloat(ill.buildingArea);
-                            console.log(ill);
                             that.$axios({
                                 method: 'post',
                                 url: 'sccg/base-case/addition_illegal_building',
@@ -389,27 +386,32 @@
                 url: 'sccg/illegal_building/query/type_second'
             }).then(res => {
                 this.bigKindList = res.data;
-                // console.log(res);
             })
         },
         // 鑾峰彇琛屾斂鍖哄煙
         // 鑾峰彇token
         getToken() {
+          console.log('666666666666')
             const token = sessionStorage.getItem('token');
             const tokenHead = sessionStorage.getItem('tokenHead');
+            this.handleSuccess()
             if (token && tokenHead) {
                 return { Authorization: tokenHead + token };
             }
+
         },
         handleSuccess(res, file, filelist) {
-            const baseUrl = 'http://140.143.152.226:8410/';
+<<<<<<< HEAD
             console.log(res);
+=======
+          console.log(res)
+>>>>>>> 948cca39e334dde8a3ef04c030f8d691edf30bf8
+            const baseUrl = 'http://140.143.152.226:8410/';
             this.ill.positive = baseUrl + res.data.url1;
 
         },
         handleSuccess2(res, file, filelist) {
             const baseUrl = 'http://140.143.152.226:8410/';
-            console.log(res);
             this.ill.negative = baseUrl + res.data.url1;
         }
     },
@@ -441,15 +443,15 @@
 
         .input-form {
 
-            &::v-deep .el-input__inner {
-                background-color: #09152f;
-                border: 1px solid #17324c;
-            }
+            // &::v-deep .el-input__inner {
+            //     background-color: #09152f;
+            //     border: 1px solid #17324c;
+            // }
 
-            &::v-deep .el-textarea__inner {
-                background-color: #09152f;
-                border: 1px solid #17324c;
-            }
+            // &::v-deep .el-textarea__inner {
+            //     background-color: #09152f;
+            //     border: 1px solid #17324c;
+            // }
 
             .upload-demo {
                 position: relative;
@@ -490,4 +492,4 @@
         flex: 1;
     }
 }
-</style>
\ No newline at end of file
+</style>

--
Gitblit v1.8.0