简历预览文件方式变更
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
parent
bff239179f
commit
ff97099c3f
|
@ -648,7 +648,7 @@
|
|||
<i
|
||||
class="el-icon-view"
|
||||
:title="$t('common:button:preview')"
|
||||
@click.stop="handlePreview(item)"
|
||||
@click.stop="handlePreview(item, true)"
|
||||
/>
|
||||
</div>
|
||||
</template>
|
||||
|
@ -674,7 +674,7 @@
|
|||
<i
|
||||
class="el-icon-view"
|
||||
:title="$t('common:button:preview')"
|
||||
@click.stop="handlePreview(item)"
|
||||
@click.stop="handlePreview(item, true)"
|
||||
/>
|
||||
</div>
|
||||
</template>
|
||||
|
@ -910,10 +910,14 @@ export default {
|
|||
}
|
||||
})
|
||||
},
|
||||
handlePreview(row) {
|
||||
if (row.FullPath || row.FilePath) {
|
||||
let path = row.FullPath || row.FilePath
|
||||
window.open(this.OSSclientConfig.basePath + path, '_blank')
|
||||
handlePreview(row, isPreview = false) {
|
||||
if (isPreview) {
|
||||
this.preview(row)
|
||||
} else {
|
||||
if (row.FullPath || row.FilePath) {
|
||||
let path = row.FullPath || row.FilePath
|
||||
window.open(this.OSSclientConfig.basePath + path, '_blank')
|
||||
}
|
||||
}
|
||||
},
|
||||
preview(row) {
|
||||
|
|
Loading…
Reference in New Issue