zhanghua
2023-09-11 f96e393e62b4c7496f7ace44b6aa5abb69ae58df
src/views/operate/disposal/casepool/dispatch/updateUser/uploadResult/components/arrive/index.vue
@@ -104,7 +104,7 @@
  },
  methods: {
        handleSuccess(res, file, filelist) {
            const baseUrl = 'http://140.143.152.226:8410/';
            const baseUrl = '';
            if (this.arrive.situationPic.length < 4) {
                this.arrive.situationPic.push(baseUrl + res.data.url1)
            }
@@ -127,14 +127,14 @@
        },
        // 设置上传成功之后的图片地址
        setPicUrl({ url }) {
            const baseUrl = 'http://140.143.152.226:8410/';
            const baseUrl = '';
            if (this.arrive.situationPic.length < 4) {
                this.arrive.situationPic.push(baseUrl + url)
            }
        },
        //删除图片
        delPicUrl({url}){
            const baseUrl = 'http://140.143.152.226:8410/';
            const baseUrl = '';
            this.arrive.situationPic.splice(this.arrive.situationPic.indexOf(baseUrl + url),1);
        }
    }
@@ -153,7 +153,7 @@
.upImg {
    display: flex;
    overflow: auto;
    .tip {
        position: absolute;
        bottom: 0;
@@ -208,4 +208,4 @@
// ::v-deep .el-form-item__label {
//     color: #4b9bb7;
// }
</style>
</style>