医学审核优化
parent
de40cb6ec5
commit
5859102225
|
@ -340,7 +340,6 @@ export default {
|
||||||
var file = await this.fileToBlob(param.file)
|
var file = await this.fileToBlob(param.file)
|
||||||
var trialId = this.$route.query.trialId
|
var trialId = this.$route.query.trialId
|
||||||
const res = await this.OSSclient.put(`/${trialId}/MedicalReview/${param.file.name}`, file)
|
const res = await this.OSSclient.put(`/${trialId}/MedicalReview/${param.file.name}`, file)
|
||||||
console.log(res)
|
|
||||||
this.fileList.push({ name: param.file.name, url: this.$getObjectName(res.url) })
|
this.fileList.push({ name: param.file.name, url: this.$getObjectName(res.url) })
|
||||||
this.loading = false
|
this.loading = false
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
|
|
Loading…
Reference in New Issue