|
@@ -1,6 +1,6 @@
|
|
|
<template>
|
|
|
<div>
|
|
|
- <el-dialog :visible.sync="dialogTableVisible" :width="width + 'px'">
|
|
|
+ <el-dialog :visible.sync="dialogTableVisible" :width="width + 'px'" :title="itemObj.name">
|
|
|
<!--<vue-qr
|
|
|
ref="qrCode"
|
|
|
:text="qrUrl"
|
|
@@ -74,7 +74,7 @@ export default {
|
|
|
}).then(async() => {
|
|
|
this.isLoading = true
|
|
|
// 使用a链接下载
|
|
|
- const downUrl = `${process.env.VUE_APP_BASE_API}/providers/download/image?ids=${this.itemObj.id}&type=1`
|
|
|
+ const downUrl = `${process.env.VUE_APP_BASE_API}/providers/download/image?ids=${this.itemObj.id}&type=2`
|
|
|
this.downloadWithUrl(downUrl, this.itemObj.name)
|
|
|
.catch((err) => {
|
|
|
console.log(err)
|
|
@@ -106,4 +106,7 @@ export default {
|
|
|
margin-top: 30px;
|
|
|
}
|
|
|
}
|
|
|
+::v-deep .el-dialog__header {
|
|
|
+ text-align: center;
|
|
|
+}
|
|
|
</style>
|