| | |
| | | <template> |
| | | <div class="idcard"> |
| | | <el-upload class="upload-demo" :show-file-list="false" |
| | | action="http://42.193.1.25:8082/sccg/file/medias" :headers="getToken()" multiple |
| | | action="/sccg/file/medias" :headers="getToken()" multiple |
| | | :limit="50" :on-success="handleSuccess"> |
| | | <img v-if="ill.positive === ''" |
| | | src="https://axure-file.lanhuapp.com/90466432-c999-4bf0-80b8-ee3f96a2099e__15f765432d579a14b8f6591c100d30e3.svg" |
| | |
| | | <img :src="ill.positive" alt="" class="img" v-else> |
| | | </el-upload> |
| | | <el-upload class="upload-demo" :show-file-list="false" |
| | | action="http://42.193.1.25:8082/sccg/file/medias" :headers="getToken()" multiple |
| | | action="/sccg/file/medias" :headers="getToken()" multiple |
| | | :limit="50" :on-success="handleSuccess2"> |
| | | <img v-if="ill.negative === '' " |
| | | src="https://axure-file.lanhuapp.com/90466432-c999-4bf0-80b8-ee3f96a2099e__15f765432d579a14b8f6591c100d30e3.svg" |
| | |
| | | }, |
| | | handleSuccess(res, file, filelist) { |
| | | const baseUrl = 'http://140.143.152.226:8410/'; |
| | | console.log(res); |
| | | // if(res.code === 500){ |
| | | // console.log('err'); |
| | | // return; |
| | | // } |
| | | this.ill.positive = baseUrl + res.data.url1; |
| | | |
| | | }, |