File tree Expand file tree Collapse file tree 4 files changed +7
-2
lines changed Expand file tree Collapse file tree 4 files changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -34,6 +34,7 @@ export interface CustomerVO {
34
34
}
35
35
36
36
// 查询客户列表
37
+ // TODO @芋艿:看看是不是后续融合到 getCustomerPage 里;
37
38
export const getTodayCustomerPage = async ( params ) => {
38
39
return await request . get ( { url : `/crm/message/todayCustomer` , params } )
39
40
}
Original file line number Diff line number Diff line change @@ -537,6 +537,7 @@ const remainingRouter: AppRouteRecordRaw[] = [
537
537
noCache : true ,
538
538
hidden : true
539
539
} ,
540
+ // TODO @db 52:后面搞,搞成菜单
540
541
component : ( ) => import ( '@/views/crm/message/index.vue' )
541
542
}
542
543
]
Original file line number Diff line number Diff line change 20
20
</el-col >
21
21
</el-row >
22
22
</template >
23
-
23
+ <!-- @dbh52:模块改成 backlog 会更合适,待办事项 -->
24
24
<script lang="ts" setup>
25
25
import TodayCustomer from ' ./tables/TodayCustomer.vue'
26
26
import FollowLeads from ' ./tables/FollowLeads.vue'
Original file line number Diff line number Diff line change @@ -125,11 +125,12 @@ import { DICT_TYPE } from '@/utils/dict'
125
125
import { dateFormatter } from ' @/utils/formatTime'
126
126
import * as MessageApi from ' @/api/crm/message'
127
127
128
- const title = ref (' 今日需联系客户' )
128
+ const title = ref (' 今日需联系客户' ) // TODO @dbh52:这个不用枚举一个变量哈;
129
129
const loading = ref (true ) // 列表的加载中
130
130
const total = ref (0 ) // 列表的总页数
131
131
const list = ref ([]) // 列表的数据
132
132
const queryParams = ref <{
133
+ // TODO @dbh52:这个 ref 类型定义可以去掉哈。之前定义的原因,是因为 idea 报错了;默认 idea 可以推导出类型
133
134
pageNo: number
134
135
pageSize: number
135
136
contactStatus: number | undefined
@@ -149,6 +150,7 @@ const CONTACT_STATUS = [
149
150
]
150
151
151
152
const SCENE_TYPES = [
153
+ // TODO 芋艿:貌似可以搞成全局枚举
152
154
{ label: ' 我负责的' , value: 1 },
153
155
{ label: ' 我跟进的' , value: 2 },
154
156
{ label: ' 我参与的' , value: 3 },
@@ -182,6 +184,7 @@ const resetQuery = (func: Function | undefined = undefined) => {
182
184
contactStatus: 1 ,
183
185
sceneType: 1
184
186
}
187
+ // TODO @dbh52:这里的 func 是不是可以去掉哈;
185
188
func && func ()
186
189
handleQuery ()
187
190
}
You can’t perform that action at this time.
0 commit comments