From 893fc457a2daeb0aa33a5a9d0b32eef7db238c1f Mon Sep 17 00:00:00 2001
From: zhanghua <314079846@qq.com>
Date: 星期一, 23 十月 2023 21:58:07 +0800
Subject: [PATCH] bug修改

---
 src/views/operate/disposal/casepool/escalation/createUser/ill/index.vue |   33 ++++++++++++++++-----------------
 1 files changed, 16 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 d5d5793..33110a7 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,25 +386,27 @@
                 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/';
+            const baseUrl = '';
             this.ill.positive = baseUrl + res.data.url1;
 
         },
         handleSuccess2(res, file, filelist) {
-            const baseUrl = 'http://140.143.152.226:8410/';
+            const baseUrl = '';
             this.ill.negative = baseUrl + res.data.url1;
         }
     },
@@ -439,15 +438,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;
@@ -488,4 +487,4 @@
         flex: 1;
     }
 }
-</style>
\ No newline at end of file
+</style>

--
Gitblit v1.8.0