CRM:code review 客户总量统计
This commit is contained in:
parent
55856be1de
commit
c89941d435
@ -297,7 +297,7 @@ const doSocialLogin = async (type: number) => {
|
|||||||
const res = await LoginApi.getTenantIdByName(data.value)
|
const res = await LoginApi.getTenantIdByName(data.value)
|
||||||
authUtil.setTenantId(res)
|
authUtil.setTenantId(res)
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
if(error === 'cancel') return
|
if (error === 'cancel') return
|
||||||
} finally {
|
} finally {
|
||||||
loginLoading.value = false
|
loginLoading.value = false
|
||||||
}
|
}
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
<!-- 客户统计 -->
|
<!-- 客户总量统计 -->
|
||||||
<template>
|
<template>
|
||||||
<!-- Echarts图 -->
|
<!-- Echarts图 -->
|
||||||
<el-card shadow="never">
|
<el-card shadow="never">
|
||||||
@ -31,6 +31,7 @@
|
|||||||
<el-table-column label="合同总金额" align="right" prop="contractPrice" min-width="200" />
|
<el-table-column label="合同总金额" align="right" prop="contractPrice" min-width="200" />
|
||||||
<el-table-column label="回款金额" align="right" prop="receivablePrice" min-width="200" />
|
<el-table-column label="回款金额" align="right" prop="receivablePrice" min-width="200" />
|
||||||
<el-table-column label="未回款金额" align="right" min-width="200">
|
<el-table-column label="未回款金额" align="right" min-width="200">
|
||||||
|
<!-- TODO @dhb52:参考 util/index.ts 的 // ========== ERP 专属方法 ========== 部分,搞个两个方法,一个格式化百分比,一个计算百分比 -->
|
||||||
<template #default="scope">
|
<template #default="scope">
|
||||||
{{ round(scope.row.contractPrice - scope.row.receivablePrice, 2) }}
|
{{ round(scope.row.contractPrice - scope.row.receivablePrice, 2) }}
|
||||||
</template>
|
</template>
|
||||||
|
@ -24,6 +24,7 @@
|
|||||||
<el-form-item label="归属部门" prop="deptId">
|
<el-form-item label="归属部门" prop="deptId">
|
||||||
<el-tree-select
|
<el-tree-select
|
||||||
v-model="queryParams.deptId"
|
v-model="queryParams.deptId"
|
||||||
|
class="!w-240px"
|
||||||
:data="deptList"
|
:data="deptList"
|
||||||
:props="defaultProps"
|
:props="defaultProps"
|
||||||
check-strictly
|
check-strictly
|
||||||
|
Loading…
Reference in New Issue
Block a user