+6
-3
@@ -209,9 +209,12 @@ export default {
|
||||
[],
|
||||
this.arr.filter(
|
||||
(v) =>
|
||||
~v.Code.toLowerCase().indexOf(this.key.toLowerCase()) ||
|
||||
~v.Value.toLowerCase().indexOf(this.key.toLowerCase()) ||
|
||||
~v.ValueCN.toLowerCase().indexOf(this.key.toLowerCase())
|
||||
(v.Code &&
|
||||
~v.Code.toLowerCase().indexOf(this.key.toLowerCase())) ||
|
||||
(v.Value &&
|
||||
~v.Value.toLowerCase().indexOf(this.key.toLowerCase())) ||
|
||||
(v.ValueCN &&
|
||||
~v.ValueCN.toLowerCase().indexOf(this.key.toLowerCase()))
|
||||
)
|
||||
)
|
||||
} else {
|
||||
|
||||
+2
-2
@@ -129,7 +129,7 @@
|
||||
v-if="hasDownLoad && isManage && !viewStatus"
|
||||
@click.stop="downLoad"
|
||||
>
|
||||
{{ $t('trials:trialDocument:fileRecord:button:downLoad') }}
|
||||
{{ $t('trials:trialDocument:fileRecord:button:downLoadFile') }}
|
||||
</el-button>
|
||||
<el-button
|
||||
type="primary"
|
||||
@@ -317,7 +317,7 @@
|
||||
<el-button
|
||||
v-if="hasDownLoad && isManage && !viewStatus"
|
||||
icon="el-icon-download"
|
||||
:title="$t('trials:trialDocument:fileRecord:button:download')"
|
||||
:title="$t('trials:trialDocument:fileRecord:button:downLoadFile')"
|
||||
circle
|
||||
@click.stop="downLoad(false, scope.row.TrialFileRecord, 'file')"
|
||||
/>
|
||||
|
||||
+2
-2
@@ -111,7 +111,7 @@
|
||||
v-if="hasDownLoad && isManage && !viewStatus"
|
||||
@click.stop="downLoad"
|
||||
>
|
||||
{{ $t('trials:trialDocument:temp:button:downLoad') }}
|
||||
{{ $t('trials:trialDocument:temp:button:downLoadFile') }}
|
||||
</el-button>
|
||||
<el-button
|
||||
type="primary"
|
||||
@@ -272,7 +272,7 @@
|
||||
<el-button
|
||||
v-if="hasDownLoad && isManage && !viewStatus"
|
||||
icon="el-icon-download"
|
||||
:title="$t('trials:trialDocument:temp:button:download')"
|
||||
:title="$t('trials:trialDocument:temp:button:downLoadFile')"
|
||||
circle
|
||||
@click.stop="downLoad(false, scope.row.TrialFileRecord, 'file')"
|
||||
/>
|
||||
|
||||
+2
-2
@@ -171,7 +171,7 @@
|
||||
v-if="hasDownLoad && isManage && !viewStatus"
|
||||
@click.stop="downLoad"
|
||||
>
|
||||
{{ $t('trials:trialDocument:trainRecord:button:downLoad') }}
|
||||
{{ $t('trials:trialDocument:trainRecord:button:downLoadFile') }}
|
||||
</el-button>
|
||||
</el-form-item>
|
||||
</el-form>
|
||||
@@ -376,7 +376,7 @@
|
||||
<el-button
|
||||
v-if="hasDownLoad && isManage && !viewStatus"
|
||||
icon="el-icon-download"
|
||||
:title="$t('trials:trialDocument:trainRecord:button:download')"
|
||||
:title="$t('trials:trialDocument:trainRecord:button:downLoadFileFileFile')"
|
||||
circle
|
||||
@click.stop="downLoad(false, scope.row.TrialFileRecord, 'file')"
|
||||
/>
|
||||
|
||||
Reference in New Issue
Block a user