Compare commits

..

No commits in common. "58a590bbb7efda4b8cfffaaf2efe3aa85df52b06" and "162b649c3cb987ff5d3f42f82780fa1982852751" have entirely different histories.

1 changed files with 4 additions and 5 deletions

View File

@ -108,7 +108,7 @@
<template slot-scope="scope"> <template slot-scope="scope">
<el-switch v-model="scope.row.IsAuthorization" @change="(val) => auth(false, scope.row, val)" <el-switch v-model="scope.row.IsAuthorization" @change="(val) => auth(false, scope.row, val)"
:active-value="true" :inactive-value="false" :active-text="$fd('YesOrNo', true)" :active-value="true" :inactive-value="false" :active-text="$fd('YesOrNo', true)"
class="IsAuthorization_swich" :inactive-text="$fd('YesOrNo', false)"> :inactive-text="$fd('YesOrNo', false)">
</el-switch> </el-switch>
</template> </template>
</el-table-column> </el-table-column>
@ -128,7 +128,8 @@
v-if="rowData.FileFormat && ['png', 'jpg', 'jpeg'].includes(rowData.FileFormat.toLowerCase())" v-if="rowData.FileFormat && ['png', 'jpg', 'jpeg'].includes(rowData.FileFormat.toLowerCase())"
:images="[`${OSSclientConfig.basePath}${rowData.FilePath}`]" :options="viewerOptions"> :images="[`${OSSclientConfig.basePath}${rowData.FilePath}`]" :options="viewerOptions">
<img v-show="false" :src="`${OSSclientConfig.basePath}${rowData.FilePath}`" alt="Image" /> <img v-show="false" crossorigin="anonymous" :src="`${OSSclientConfig.basePath}${rowData.FilePath}`"
alt="Image" />
</viewer> </viewer>
</div> </div>
</template> </template>
@ -965,9 +966,7 @@ export default {
// //
handleRowDblclick(row, column, event) { handleRowDblclick(row, column, event) {
// //
let isExpandButton = event.target.closest('.el-table__expand-icon'); const isExpandButton = event.target.closest('.el-table__expand-icon');
if (isExpandButton) return; //
isExpandButton = event.target.closest('.IsAuthorization_swich');
if (isExpandButton) return; // if (isExpandButton) return; //
if (!row.AuditDocumentTypeEnum) { if (!row.AuditDocumentTypeEnum) {
this.Id = row.Id this.Id = row.Id