zhanghua
2024-01-21 e1aa0ecffbabd618c71e4ad94370fb8dffe6ee1c
src/views/operate/disposal/casepool/dispatch/updateUser/uploadResult/components/evidence/index.vue
@@ -134,6 +134,7 @@
import { deepClone, getTypeList } from '@/utils/helper'
import { validateName, validatePhone, validateCardId } from '@/utils/validate'
import MyUpload from "@/components/myUpload"
import { FILE_ORIGINAL_URL } from "@/utils";
export default {
    components: {
        MyUpload
@@ -284,7 +285,7 @@
    },
    methods: {
        handleSuccess2(res, file, filelist) {
            const baseUrl = 'http://140.143.152.226:8410/';
            const baseUrl = '';
            if (this.evidence.pic.length < 4) {
                this.evidence.pic.push(baseUrl + res.data.url1)
            }
@@ -300,6 +301,7 @@
        openDialog(e) {
            this.userFlag = true;
            this.userInfo = true;
            this.$set(this.user, 'illegalType', this.illegalType);
        },
        // 检验user
        checkUser() {
@@ -340,14 +342,14 @@
        },
         // 设置上传成功之后的图片地址
         setPicUrl({ url }) {
            const baseUrl = 'http://140.143.152.226:8410/';
            const baseUrl = '';
            if (this.evidence.pic.length < 4) {
                this.evidence.pic.push(baseUrl + url);
                this.evidence.pic.push(`${FILE_ORIGINAL_URL}sccg/API/img?fileUrl=${url}`)
            }
        },
        //删除图片
        delPicUrl({url}){
            const baseUrl = 'http://140.143.152.226:8410/';
            const baseUrl = '';
            this.evidence.pic.splice(this.evidence.pic.indexOf(baseUrl + url),1);
        }
    },
@@ -420,7 +422,7 @@
    position: absolute;
    top: 0;
    z-index: 3000;
    background-color: #06122c;
    background-color: #fff;
    .user-form-header {
        background-color: #fff;
@@ -458,23 +460,23 @@
        }
    }
    ::v-deep .el-textarea__inner {
        background-color: #09152f;
        border: 1px solid #17324c;
    }
    // ::v-deep .el-textarea__inner {
    //     // background-color: #09152f;
    //     border: 1px solid #17324c;
    // }
    ::v-deep .el-input__count {
        background-color: #09152f;
    }
    // ::v-deep .el-input__count {
    //     // background-color: #09152f;
    // }
    ::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;
    // }
}
.user-form-footer {
@@ -482,18 +484,18 @@
    justify-content: flex-end;
}
::v-deep .el-textarea__inner {
    background-color: #09152f;
    border: 1px solid #17324c;
}
// ::v-deep .el-textarea__inner {
//     // background-color: #09152f;
//     border: 1px solid #17324c;
// }
::v-deep .el-input__count {
    background-color: #09152f;
}
// ::v-deep .el-input__count {
//     // background-color: #09152f;
// }
::v-deep .el-form-item__label {
    color: #4b9bb7;
}
// ::v-deep .el-form-item__label {
//     color: #4b9bb7;
// }
::v-deep .el-dialog__header,
::v-deep .el-dialog__body {