This commit is contained in:
+6
@@ -318,6 +318,9 @@
|
|||||||
icon="el-icon-download"
|
icon="el-icon-download"
|
||||||
:title="$t('trials:trialDocument:fileRecord:button:downLoadFile')"
|
:title="$t('trials:trialDocument:fileRecord:button:downLoadFile')"
|
||||||
circle
|
circle
|
||||||
|
:disabled="
|
||||||
|
!scope.row.TrialFileRecord || !scope.row.TrialFileRecord.FilePath
|
||||||
|
"
|
||||||
@click.stop="downLoad(false, scope.row.TrialFileRecord, 'file')"
|
@click.stop="downLoad(false, scope.row.TrialFileRecord, 'file')"
|
||||||
/>
|
/>
|
||||||
<el-button
|
<el-button
|
||||||
@@ -489,6 +492,9 @@ export default {
|
|||||||
if (confirm !== 'confirm') return false
|
if (confirm !== 'confirm') return false
|
||||||
let data = deepClone(row)
|
let data = deepClone(row)
|
||||||
data[`${key}FileRecord`] = null
|
data[`${key}FileRecord`] = null
|
||||||
|
if (key === 'Trial') {
|
||||||
|
data.IsAuthorizedView = false
|
||||||
|
}
|
||||||
this.loading = true
|
this.loading = true
|
||||||
let res = await addOrUpdateTrialNormalRecord(data)
|
let res = await addOrUpdateTrialNormalRecord(data)
|
||||||
this.loading = false
|
this.loading = false
|
||||||
|
|||||||
Reference in New Issue
Block a user