保存进度!
This commit is contained in:
parent
d202d976a3
commit
237cc350be
|
@ -143,11 +143,11 @@ type QueryBIDepartmentAttachingRateDataHandler = ( response: QueryBIDepartmentAt
|
|||
type QueryBIDepartmentRenewalRateDataHandler = ( response: QueryBIDepartmentRenewalRateResponse, error: any ) => void;
|
||||
|
||||
/**
|
||||
*
|
||||
* 请求导入BI报表
|
||||
* @param request 请求参数
|
||||
* @param handler 调用者提供的请求结果处理函数
|
||||
*/
|
||||
function importBIReport( request: ImportBIReportRequest, handler: any ): void
|
||||
function importBIReport( request: ImportBIReportRequest, handler: ImportBIReportResponseHandler ): void
|
||||
{
|
||||
const importResponse: ImportBIReportResponse = {
|
||||
success: false,
|
||||
|
@ -165,7 +165,7 @@ function importBIReport( request: ImportBIReportRequest, handler: any ): void
|
|||
const data: ImportBIReportResponse = response.data;
|
||||
|
||||
importResponse.success = data.success ?? false;
|
||||
importResponse.message = data.message ?? "";
|
||||
importResponse.message = data.message ?? "请求完成,但服务器未返回请求结果消息!";
|
||||
importResponse.importedCount = data.importedCount ?? 0;
|
||||
|
||||
handler( importResponse, null );
|
||||
|
@ -179,6 +179,10 @@ function importBIReport( request: ImportBIReportRequest, handler: any ): void
|
|||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* 请求BI坐席渗透率数据
|
||||
* @param handler 处理请求结果的handler函数。
|
||||
*/
|
||||
function queryBITelsalerAttachingRateData( handler: QueryBITelsalerAttachingRateDataHandler ): void
|
||||
{
|
||||
const queryResponse: QueryBITelsalerAttachingRateReportResponse = {
|
||||
|
@ -251,6 +255,10 @@ function queryBITelsalerRenewalData( handler: QueryBITelsalerRenewalRateDataHand
|
|||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* 请求机构渗透率数据
|
||||
* @param handler 调用者提供的处理请求结果的函数。
|
||||
*/
|
||||
function queryDepartmentAttachingRateData( handler: QueryBIDepartmentAttachingRateDataHandler ): void
|
||||
{
|
||||
const queryResponse: QueryBIDepartmentAttachingRateResponse = {
|
||||
|
@ -285,6 +293,10 @@ function queryDepartmentAttachingRateData( handler: QueryBIDepartmentAttachingRa
|
|||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* 请求BI机构续保率数据
|
||||
* @param handler 调用者提供的处理请求结果的函数。
|
||||
*/
|
||||
function queryDepartmentRenewalRateData( handler: QueryBIDepartmentRenewalRateDataHandler ): void
|
||||
{
|
||||
const queryResponse: QueryBIDepartmentRenewalRateResponse = {
|
||||
|
|
|
@ -16,8 +16,11 @@
|
|||
<el-tab-pane label="坐席续保率">
|
||||
<TelsalerRenewalRateView />
|
||||
</el-tab-pane>
|
||||
<el-tab-pane label="机构">
|
||||
坐席车非渗透率
|
||||
<el-tab-pane label="机构渗透率">
|
||||
<DepartmentAttachingRateView />
|
||||
</el-tab-pane>
|
||||
<el-tab-pane label="机构续保率">
|
||||
<DepartmentRenewalRateView />
|
||||
</el-tab-pane>
|
||||
</el-tabs>
|
||||
</div>
|
||||
|
@ -27,9 +30,12 @@ import { ref, reactive } from "vue";
|
|||
import { ElMessage, ElMessageBox, type UploadFile, type UploadFiles, type UploadProps, type UploadUserFile } from "element-plus";
|
||||
import TelsalerAttachingRateView from "@/views/data/bi/TelsalerAttachingRateView.vue";
|
||||
import TelsalerRenewalRateView from "@/views/data/bi/TelsalerRenewalRateView.vue";
|
||||
import DepartmentRenewalRateView from "@/views/data/bi/DepartmentRenewalRateView.vue";
|
||||
import DepartmentAttachingRateView from "@/views/data/bi/DepartmentAttachingRateView.vue";
|
||||
|
||||
export default {
|
||||
name: "DataManagement",
|
||||
components: { TelsalerAttachingRateView, TelsalerRenewalRateView, },
|
||||
components: { TelsalerAttachingRateView, TelsalerRenewalRateView, DepartmentRenewalRateView, DepartmentAttachingRateView, },
|
||||
setup()
|
||||
{
|
||||
const ui = reactive({
|
||||
|
|
|
@ -15,7 +15,7 @@
|
|||
import { reactive } from "vue";
|
||||
|
||||
export default {
|
||||
name: "DepartmentArchievementView",
|
||||
name: "DepartmentAttachingRateView",
|
||||
setup()
|
||||
{
|
||||
const ui = reactive({
|
|
@ -0,0 +1,30 @@
|
|||
<!--
|
||||
* @Author: Kane
|
||||
* @Date: 2023-11-10 17:48:01
|
||||
* @LastEditors: Kane
|
||||
* @FilePath: /task_schedule/src/views/data/bi/DepartmentAttachingRateView copy.vue
|
||||
* @Description:
|
||||
*
|
||||
* Copyright (c) ${2023} by Kane, All Rights Reserved.
|
||||
-->
|
||||
<template>
|
||||
<div class="wrapper" />
|
||||
</template>
|
||||
<script lang="ts">
|
||||
import { reactive } from "vue";
|
||||
|
||||
export default {
|
||||
name: "DepartmentRenewalRateView",
|
||||
setup()
|
||||
{
|
||||
const ui = reactive({
|
||||
showUI: true,
|
||||
});
|
||||
},
|
||||
};
|
||||
</script>
|
||||
<style lang="scss" scoped>
|
||||
.wrapper {
|
||||
margin: 10px;
|
||||
}
|
||||
</style>
|
Loading…
Reference in New Issue