完善导入导出

This commit is contained in:
WUSIJIAN
2025-12-04 16:26:26 +08:00
parent 990bbfd8fd
commit 9e62b288b2
7 changed files with 550 additions and 215 deletions

View File

@@ -73,6 +73,7 @@
@pagination="dataList"
/>
</el-card>
<expotDialog ref="expotDialogRef"></expotDialog>
</div>
</template>
@@ -80,6 +81,7 @@
import { ref, reactive, onMounted, nextTick } from 'vue';
import { ElMessageBox, ElMessage, FormInstance } from 'element-plus';
import { getDataList } from '/@/api/customerService/report';
import expotDialog from '/@/views/customerService/report/component/exportDialog.vue';
// 定义接口
interface TableDataRow {
@@ -227,10 +229,11 @@ const resetQuery = (formEl: FormInstance | undefined) => {
dataList();
});
};
const expotDialogRef = ref();
// 导出数据
const handleExport = () => {
ElMessage.info('导出功能开发中');
// ElMessage.info('导出功能开发中');
expotDialogRef.value?.openDialog(tableData.param);
};
// 初始化表格数据