完善导入导出
This commit is contained in:
@@ -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);
|
||||
};
|
||||
|
||||
// 初始化表格数据
|
||||
|
||||
Reference in New Issue
Block a user