|
|
@ -59,7 +59,7 @@ |
|
|
|
>删除</el-button |
|
|
|
> |
|
|
|
</el-col> |
|
|
|
<!-- <el-col :span="1.5"> |
|
|
|
<el-col :span="1.5"> |
|
|
|
<el-button |
|
|
|
type="warning" |
|
|
|
plain |
|
|
@ -68,7 +68,7 @@ |
|
|
|
@click="handleExport" |
|
|
|
>导出</el-button |
|
|
|
> |
|
|
|
</el-col> --> |
|
|
|
</el-col> |
|
|
|
<right-toolbar |
|
|
|
:showSearch.sync="showSearch" |
|
|
|
@queryTable="getList" |
|
|
@ -338,14 +338,16 @@ export default { |
|
|
|
.catch(() => {}); |
|
|
|
}, |
|
|
|
/** 导出按钮操作 */ |
|
|
|
handleExport() { |
|
|
|
handleExport(row) { |
|
|
|
// window.open( |
|
|
|
// `${process.env.VUE_APP_API_QZURL}/acupuncture/profile/PatientTemplate.xlsx` |
|
|
|
// ); |
|
|
|
let data = JSON.parse(JSON.stringify(this.queryParams)); |
|
|
|
data.param.idList = row.id ? [row.id] : this.ids; |
|
|
|
this.download1( |
|
|
|
"/wxQrCode/exportScreen", |
|
|
|
{ |
|
|
|
...this.queryParams.params, |
|
|
|
...data, |
|
|
|
}, |
|
|
|
`筛查二维码.xlsx` |
|
|
|
); |
|
|
|