From 426d3d33f23bd04e7cafda728cdcc82f11d5baa3 Mon Sep 17 00:00:00 2001 From: odc.xiaohui <xiaohui@Q1> Date: 星期二, 21 二月 2023 17:09:07 +0800 Subject: [PATCH] Merge branch 'dev1.0' of http://42.193.1.25:9521/r/sccg_ui into dev1.0 --- src/views/operate/disposal/casepool/pool/createUser/ill/index.vue | 47 +++++++++++++++++------------------------------ 1 files changed, 17 insertions(+), 30 deletions(-) diff --git a/src/views/operate/disposal/casepool/pool/createUser/ill/index.vue b/src/views/operate/disposal/casepool/pool/createUser/ill/index.vue index 78e13a9..c01be2c 100644 --- a/src/views/operate/disposal/casepool/pool/createUser/ill/index.vue +++ b/src/views/operate/disposal/casepool/pool/createUser/ill/index.vue @@ -109,7 +109,7 @@ </el-form-item> <el-form-item class="optionItems" label-width='0px' prop="buildingWidth"> <el-input placeholder="鍗曚綅绫�" v-model="ill.buildingWidth"></el-input> - </el-form-item> + </el-form-item> <el-form-item class="optionItems" label-width='0px' prop="buildingHigh"> <el-input placeholder="鍗曚綅绫�" v-model="ill.buildingHigh"></el-input> </el-form-item> @@ -133,7 +133,8 @@ </div> </template> <script> -import MyMap from '@/components/map' +// import MyMap from "@/components/map"; +import MyMap from "@/components/map/leafletMap.vue"; import {parseTime} from '@/utils/index' import { validateName, validatePhone, validateCardId, validateNum } from '@/utils/validate' export default { @@ -359,7 +360,7 @@ created() { const { getBigKind, getCommityList,getStreetList } = this; getStreetList(0); - + // this.ill.category = this.mytype + 1; getBigKind(); getCommityList(); @@ -367,19 +368,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', @@ -419,7 +416,6 @@ url: 'sccg/illegal_building/query/type_second' }).then(res => { this.bigKindList = res.data; - // console.log(res); }) }, // 鑾峰彇token @@ -432,16 +428,11 @@ }, handleSuccess(res, file, filelist) { const baseUrl = 'http://140.143.152.226:8410/'; - // if(res.code === 500){ - // console.log('err'); - // return; - // } 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; }, // 鏌ヨ绀惧尯 @@ -451,7 +442,6 @@ url: 'sccg/dict/query_type?level=1&typeCode=' + '10' }) .then(res => { - console.log(res); }) }, // 鑾峰彇琛楅亾淇℃伅 @@ -470,15 +460,12 @@ }, // 琛楅亾鏇存敼 handleStreet(id) { - console.log(id); this.ill.communityId = ''; - // this.communityList = getcommunityList(1,'11') this.$axios({ method: 'get', url: `sccg/sccg_region/getChildren/${id}` }) .then(res => { - console.log(res.data) this.communityList = res.data; }) }, @@ -534,23 +521,23 @@ } } .el-form { - &::v-deep .el-form-item__label { - color: #4b9bb7; - } + // &::v-deep .el-form-item__label { + // color: #4b9bb7; + // } - &::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; + // } } .input-form { - + .upload-demo { position: relative; margin-right: 20px; @@ -590,4 +577,4 @@ flex: 2; } } -</style> \ No newline at end of file +</style> -- Gitblit v1.8.0