Compare commits
2 Commits
162b649c3c
...
58a590bbb7
Author | SHA1 | Date |
---|---|---|
|
58a590bbb7 | |
|
b331b43b28 |
|
@ -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)"
|
||||||
:inactive-text="$fd('YesOrNo', false)">
|
class="IsAuthorization_swich" :inactive-text="$fd('YesOrNo', false)">
|
||||||
</el-switch>
|
</el-switch>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
|
@ -128,8 +128,7 @@
|
||||||
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" crossorigin="anonymous" :src="`${OSSclientConfig.basePath}${rowData.FilePath}`"
|
<img v-show="false" :src="`${OSSclientConfig.basePath}${rowData.FilePath}`" alt="Image" />
|
||||||
alt="Image" />
|
|
||||||
</viewer>
|
</viewer>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
@ -966,7 +965,9 @@ export default {
|
||||||
// 单行左键双击(进入文件夹或者预览文件)
|
// 单行左键双击(进入文件夹或者预览文件)
|
||||||
handleRowDblclick(row, column, event) {
|
handleRowDblclick(row, column, event) {
|
||||||
// 判断点击目标是否为展开按钮
|
// 判断点击目标是否为展开按钮
|
||||||
const isExpandButton = event.target.closest('.el-table__expand-icon');
|
let 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
|
||||||
|
|
Loading…
Reference in New Issue