|
|
@ -82,14 +82,27 @@ |
|
|
|
<el-col :span="1.5"> |
|
|
|
<el-button type="danger" plain icon="el-icon-delete" size="mini" :disabled="multiple" |
|
|
|
@click="handleDelete">删除</el-button> |
|
|
|
</el-col> |
|
|
|
<el-col :span="1.5"> |
|
|
|
<el-button type="info" plain icon="el-icon-bottom" size="mini" |
|
|
|
@click="handleDownload">下载模版</el-button> |
|
|
|
</el-col> |
|
|
|
<el-col :span="1.5"> |
|
|
|
<el-button type="warning" plain icon="el-icon-upload2" size="mini" @click="handleImport">导入</el-button> |
|
|
|
</el-col> --> |
|
|
|
<el-col :span="1.5"> |
|
|
|
<el-button |
|
|
|
type="info" |
|
|
|
plain |
|
|
|
icon="el-icon-bottom" |
|
|
|
size="mini" |
|
|
|
@click="handleDownload" |
|
|
|
>下载模版</el-button |
|
|
|
> |
|
|
|
</el-col> |
|
|
|
<el-col :span="1.5"> |
|
|
|
<el-button |
|
|
|
type="warning" |
|
|
|
plain |
|
|
|
icon="el-icon-upload2" |
|
|
|
size="mini" |
|
|
|
@click="handleImport" |
|
|
|
>导入</el-button |
|
|
|
> |
|
|
|
</el-col> |
|
|
|
<el-col :span="1.5"> |
|
|
|
<el-button |
|
|
|
type="warning" |
|
|
@ -454,7 +467,8 @@ export default { |
|
|
|
Authorization: "Bearer " + getToken(), |
|
|
|
deptId: localStorage.getItem("hospitalId"), |
|
|
|
}, |
|
|
|
uploadFileUrl1: process.env.VUE_APP_API_QZURL + "/patient/import", // 上传的图片服务器地址 |
|
|
|
uploadFileUrl1: |
|
|
|
process.env.VUE_APP_API_QZURL + "/admin/treatment/importTreatment", // 上传的图片服务器地址 |
|
|
|
fileList: [], |
|
|
|
// 通过年限对象获取学历 |
|
|
|
educationYearsValue: { |
|
|
@ -818,7 +832,7 @@ export default { |
|
|
|
/** 下载按钮操作 */ |
|
|
|
handleDownload() { |
|
|
|
window.open( |
|
|
|
`${process.env.VUE_APP_API_QZURL}/profile/PatientTemplate.xlsx` |
|
|
|
`${process.env.VUE_APP_API_QZURL}profile/PatientTemplateAdmin.xlsx` |
|
|
|
); |
|
|
|
// this.download1( |
|
|
|
// "/patient/export", {}, |
|
|
|