From ad37a12a5d995369ee0568525160f5b9e624b7c0 Mon Sep 17 00:00:00 2001 From: odc.xiaohui <xiaohui@Q1> Date: 星期四, 30 三月 2023 11:02:34 +0800 Subject: [PATCH] 修改报警图片地址 --- src/views/operate/disposal/casepool/escalation/createUser/ill/index.vue | 34 +++++++++++++++++++--------------- 1 files changed, 19 insertions(+), 15 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..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,19 +386,26 @@ 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) { +<<<<<<< HEAD + console.log(res); +======= + console.log(res) +>>>>>>> 948cca39e334dde8a3ef04c030f8d691edf30bf8 const baseUrl = 'http://140.143.152.226:8410/'; this.ill.positive = baseUrl + res.data.url1; @@ -439,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; @@ -488,4 +492,4 @@ flex: 1; } } -</style> \ No newline at end of file +</style> -- Gitblit v1.8.0