前端最新版本同步
This commit is contained in:
@@ -1,11 +1,3 @@
|
||||
<!--
|
||||
* @Author: X_bo v-hss@tbpartners.local
|
||||
* @Date: 2025-09-01 16:37:41
|
||||
* @LastEditTime: 2025-09-02 17:21:49
|
||||
* @LastEditors: X_bo v-hss@tbpartners.local
|
||||
* @Description:
|
||||
* @FilePath: \openhis-ui-vue3\src\views\medicationmanagement\statisticalManagement\pharmacyMonthlybalance.vue
|
||||
-->
|
||||
<template>
|
||||
<div class="app-container">
|
||||
<el-row>
|
||||
@@ -94,6 +86,14 @@
|
||||
icon="Search"
|
||||
@click="handleRightQuery"
|
||||
>查询</el-button>
|
||||
<el-button
|
||||
type="warning"
|
||||
plain
|
||||
icon="Download"
|
||||
@click="handleExport"
|
||||
:disabled="!rightQueryParams.orgId"
|
||||
>导出Excel</el-button
|
||||
>
|
||||
</el-form-item>
|
||||
</el-form>
|
||||
|
||||
@@ -108,6 +108,7 @@
|
||||
<el-table-column label="生产厂家" prop="manufacturerText" width="500" :show-overflow-tooltip="true" />
|
||||
<el-table-column label="数量" prop="totalQuantity" width="100" :show-overflow-tooltip="true" />
|
||||
<el-table-column label="单位" prop="unitCode_dictText" width="100" :show-overflow-tooltip="true" />
|
||||
<el-table-column label="单价" prop="unitPrice" width="100" :show-overflow-tooltip="true" />
|
||||
<el-table-column label="项目总价" prop="totalMoney" width="120" :show-overflow-tooltip="true" />
|
||||
<el-table-column label="所属科室" prop="orgId_dictText" width="150" :show-overflow-tooltip="true" />
|
||||
<el-table-column label="发放时间" prop="dispenseTime" width="240" :show-overflow-tooltip="true">
|
||||
@@ -204,9 +205,9 @@ function getRightList() {
|
||||
rightLoading.value = true;
|
||||
getMedDevInfo(rightQueryParams.value).then((res) => {
|
||||
console.log(res)
|
||||
rightTableData.value = res.data.data.records || [];
|
||||
rightTableData.value = res.data.records || [];
|
||||
// 设置总条数
|
||||
rightTotal.value = res.data.data.total || 0;
|
||||
rightTotal.value = res.data.total || 0;
|
||||
rightLoading.value = false;
|
||||
}).catch(() => {
|
||||
rightLoading.value = false;
|
||||
@@ -293,6 +294,12 @@ function handleCurrentChange(val) {
|
||||
rightQueryParams.value.pageNo = val;
|
||||
getRightList();
|
||||
}
|
||||
/** 导出按钮操作 */
|
||||
function handleExport() {
|
||||
proxy.$download.downloadGet("report-manage/medication-device/excel-out", {
|
||||
...rightQueryParams.value,
|
||||
}, `config_${new Date().getTime()}.xlsx`);
|
||||
}
|
||||
</script>
|
||||
|
||||
<style scoped>
|
||||
|
||||
Reference in New Issue
Block a user