Browse Source

就诊管理添加导出功能

whszxyjhyy
lzp 2 weeks ago
parent
commit
cd10e93703
  1. 18
      web_admin/src/views/visiting/index.vue

18
web_admin/src/views/visiting/index.vue

@ -63,8 +63,8 @@
>
</el-form-item>
</el-form>
<!-- <el-row :gutter="10" class="mb8">
<el-col :span="1.5" v-hasPermi="['tms:patient:add']">
<el-row :gutter="10" class="mb8">
<!-- <el-col :span="1.5" v-hasPermi="['tms:patient:add']">
<el-button
type="primary"
plain
@ -73,7 +73,7 @@
@click="handleAdd"
>新增
</el-button>
</el-col>
</el-col> -->
<el-col :span="1.5" v-hasPermi="['tms:patient:export']">
<el-button
type="warning"
@ -84,7 +84,7 @@
>导出
</el-button>
</el-col>
</el-row> -->
</el-row>
<el-table
v-loading="loading"
:data="patientList"
@ -559,6 +559,16 @@ export default {
this.single = selection.length !== 1;
this.multiple = !selection.length;
},
/** 导出按钮操作 */
handleExport() {
this.download1(
"/pms/exportPatientJz",
{
...this.queryParams,
},
`就诊管理_${new Date().getTime()}.xlsx`
);
},
},
};
</script>

Loading…
Cancel
Save