File tree Expand file tree Collapse file tree 3 files changed +5
-3
lines changed Expand file tree Collapse file tree 3 files changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -291,13 +291,13 @@ const doSocialLogin = async (type: number) => {
291
291
await getTenantId ()
292
292
// 如果获取不到,则需要弹出提示,进行处理
293
293
if (! authUtil .getTenantId ()) {
294
- try {
294
+ try {
295
295
const data = await message .prompt (' 请输入租户名称' , t (' common.reminder' ))
296
296
if (data ?.action !== ' confirm' ) throw ' cancel'
297
297
const res = await LoginApi .getTenantIdByName (data .value )
298
298
authUtil .setTenantId (res )
299
299
} catch (error ) {
300
- if (error === ' cancel' ) return
300
+ if (error === ' cancel' ) return
301
301
} finally {
302
302
loginLoading .value = false
303
303
}
Original file line number Diff line number Diff line change 1
- <!-- 客户统计 -->
1
+ <!-- 客户总量统计 -->
2
2
<template >
3
3
<!-- Echarts图 -->
4
4
<el-card shadow =" never" >
31
31
<el-table-column label =" 合同总金额" align =" right" prop =" contractPrice" min-width =" 200" />
32
32
<el-table-column label =" 回款金额" align =" right" prop =" receivablePrice" min-width =" 200" />
33
33
<el-table-column label =" 未回款金额" align =" right" min-width =" 200" >
34
+ <!-- TODO @dhb52:参考 util/index.ts 的 // ========== ERP 专属方法 ========== 部分,搞个两个方法,一个格式化百分比,一个计算百分比 -->
34
35
<template #default =" scope " >
35
36
{{ round(scope.row.contractPrice - scope.row.receivablePrice, 2) }}
36
37
</template >
Original file line number Diff line number Diff line change 24
24
<el-form-item label =" 归属部门" prop =" deptId" >
25
25
<el-tree-select
26
26
v-model =" queryParams.deptId"
27
+ class =" !w-240px"
27
28
:data =" deptList"
28
29
:props =" defaultProps"
29
30
check-strictly
You can’t perform that action at this time.
0 commit comments