odc.xiaohui
2023-03-08 d24c9dde20cba23b96082b4db81b5223c75e4ea9
src/views/operate/disposal/casepool/escalation/createUser/ill/index.vue
@@ -48,7 +48,7 @@
                        </el-select>
                    </el-form-item>
                    <!-- 身份证正反面照片 -->
                    <el-form-item class="optionItems" label="身份证正反面照片:" prop="positive">
                    <el-form-item class="optionItems" label="身份证正、反面照片:" prop="positive">
                        <template>
                            <div class="idcard">
                                <el-upload class="upload-demo" :show-file-list="false"
@@ -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,7 +386,6 @@
                url: 'sccg/illegal_building/query/type_second'
            }).then(res => {
                this.bigKindList = res.data;
                // console.log(res);
            })
        },
        // 获取行政区域
@@ -400,16 +396,16 @@
            if (token && tokenHead) {
                return { Authorization: tokenHead + token };
            }
          console.log'(666666666666)'
        },
        handleSuccess(res, file, filelist) {
          console.log(res)
            const baseUrl = 'http://140.143.152.226:8410/';
            console.log(res);
            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 +437,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 +486,4 @@
        flex: 1;
    }
}
</style>
</style>