Compare commits
No commits in common. "58a590bbb7efda4b8cfffaaf2efe3aa85df52b06" and "162b649c3cb987ff5d3f42f82780fa1982852751" have entirely different histories.
58a590bbb7
...
162b649c3c
|
@ -108,7 +108,7 @@
|
|||
<template slot-scope="scope">
|
||||
<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)"
|
||||
class="IsAuthorization_swich" :inactive-text="$fd('YesOrNo', false)">
|
||||
:inactive-text="$fd('YesOrNo', false)">
|
||||
</el-switch>
|
||||
</template>
|
||||
</el-table-column>
|
||||
|
@ -128,7 +128,8 @@
|
|||
v-if="rowData.FileFormat && ['png', 'jpg', 'jpeg'].includes(rowData.FileFormat.toLowerCase())"
|
||||
: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>
|
||||
</div>
|
||||
</template>
|
||||
|
@ -965,9 +966,7 @@ export default {
|
|||
// 单行左键双击(进入文件夹或者预览文件)
|
||||
handleRowDblclick(row, column, event) {
|
||||
// 判断点击目标是否为展开按钮
|
||||
let isExpandButton = event.target.closest('.el-table__expand-icon');
|
||||
if (isExpandButton) return; // 阻止触发
|
||||
isExpandButton = event.target.closest('.IsAuthorization_swich');
|
||||
const isExpandButton = event.target.closest('.el-table__expand-icon');
|
||||
if (isExpandButton) return; // 阻止触发
|
||||
if (!row.AuditDocumentTypeEnum) {
|
||||
this.Id = row.Id
|
||||
|
|
Loading…
Reference in New Issue