|
@@ -121,7 +121,7 @@
|
|
|
<a-form-model-item style="margin-bottom:10px" label="附件" :label-col="{span:2}" :wrapper-col="{span:22}">
|
|
|
<div style="line-height:26px;">
|
|
|
<div v-for="item in form.attachmentList" :key="item.id">
|
|
|
- <a :href="item.filePath" target="_blank" dowload>{{ item.fileName }}</a>
|
|
|
+ <a href="javascript:;" @click="openLink(item.filePath)">{{ item.fileName }}</a>
|
|
|
</div>
|
|
|
</div>
|
|
|
</a-form-model-item>
|
|
@@ -242,6 +242,9 @@ export default {
|
|
|
}
|
|
|
},
|
|
|
methods: {
|
|
|
+ openLink (url) {
|
|
|
+ window.open(url)
|
|
|
+ },
|
|
|
// 打印预览/快捷打印
|
|
|
handlePrint (type) {
|
|
|
const _this = this
|