zhanghua
2022-11-16 cc9ddf2ecaf3ad935374f49c842227f7eb15779d
src/views/operate/disposal/casepool/pool/createUser/ill/index.vue
@@ -367,19 +367,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 +415,6 @@
                url: 'sccg/illegal_building/query/type_second'
            }).then(res => {
                this.bigKindList = res.data;
                // console.log(res);
            })
        },
        // 获取token
@@ -432,16 +427,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 +441,6 @@
                url: 'sccg/dict/query_type?level=1&typeCode=' + '10'
            })
                .then(res => {
                    console.log(res);
                })
        },
        // 获取街道信息