File tree Expand file tree Collapse file tree 5 files changed +11
-24
lines changed Expand file tree Collapse file tree 5 files changed +11
-24
lines changed Original file line number Diff line number Diff line change @@ -539,17 +539,6 @@ const remainingRouter: AppRouteRecordRaw[] = [
539
539
activeMenu : '/crm/product'
540
540
} ,
541
541
component : ( ) => import ( '@/views/crm/product/detail/index.vue' )
542
- } ,
543
- {
544
- path : 'backlog' ,
545
- name : 'CrmBacklog' ,
546
- meta : {
547
- title : '待办事项' ,
548
- noCache : true ,
549
- hidden : true
550
- } ,
551
- // TODO @db 52:后面搞,搞成菜单
552
- component : ( ) => import ( '@/views/crm/backlog/index.vue' )
553
542
}
554
543
]
555
544
}
Original file line number Diff line number Diff line change 1
- <!-- TODO @dhb52: 存在很多重复的 table 定义,如Customer: TodayCustomer,FollowCustomer,PutInPoolRemind -->
2
1
<template >
3
2
<el-row :gutter =" 20" >
4
3
<el-col :span =" 4" class =" min-w-[200px]" >
@@ -90,10 +89,8 @@ const leftSides = ref([
90
89
}
91
90
])
92
91
93
- /**
94
- * 侧边点击
95
- */
96
- const sideClick = (item ) => {
92
+ /** 侧边点击 */
93
+ const sideClick = (item : any ) => {
97
94
leftType .value = item .infoType
98
95
}
99
96
// TODO @dhb52: 侧边栏样式,在黑暗模式下,颜色会不对。是不是可以读取主题色哈;
Original file line number Diff line number Diff line change @@ -126,8 +126,6 @@ import { fenToYuanFormat } from '@/utils/formatter'
126
126
import { DICT_TYPE } from ' @/utils/dict'
127
127
import { AUDIT_STATUS } from ' ./common'
128
128
129
- const { push } = useRouter () // 路由
130
-
131
129
const loading = ref (true ) // 列表的加载中
132
130
const total = ref (0 ) // 列表的总页数
133
131
const list = ref ([]) // 列表的数据
@@ -157,6 +155,7 @@ const handleQuery = () => {
157
155
}
158
156
159
157
/** 打开客户详情 */
158
+ const { push } = useRouter () // 路由
160
159
const openCustomerDetail = (id : number ) => {
161
160
push ({ name: ' CrmCustomerDetail' , params: { id } })
162
161
}
Original file line number Diff line number Diff line change 43
43
</ContentWrap >
44
44
<ContentWrap >
45
45
<el-table v-loading =" loading" :data =" list" :show-overflow-tooltip =" true" :stripe =" true" >
46
- <el-table-column align =" center" label =" 编号" prop =" id" />
47
- <el-table-column align =" center" label =" 客户名称" prop =" name" width =" 160" >
46
+ <el-table-column align =" center" label =" 编号" fixed = " left " prop =" id" />
47
+ <el-table-column align =" center" label =" 客户名称" fixed = " left " prop =" name" width =" 160" >
48
48
<template #default =" scope " >
49
49
<el-link :underline =" false" type =" primary" @click =" openDetail(scope.row.id)" >
50
50
{{ scope.row.name }}
82
82
<dict-tag :type =" DICT_TYPE.INFRA_BOOLEAN_STRING" :value =" scope.row.dealStatus" />
83
83
</template >
84
84
</el-table-column >
85
- <el-table-column align =" center" label =" 距进入公海天数" prop =" poolDay" width =" 100px " />
85
+ <el-table-column align =" center" label =" 距进入公海天数" prop =" poolDay" width =" 130 " />
86
86
<el-table-column
87
87
:formatter =" dateFormatter"
88
88
align =" center"
@@ -124,6 +124,8 @@ import { DICT_TYPE } from '@/utils/dict'
124
124
import { dateFormatter } from ' @/utils/formatTime'
125
125
import { CONTACT_STATUS , SCENE_TYPES } from ' ./common'
126
126
127
+ // defineOptions({ name: 'TodayCustomer' }) TODO @dhb52:1)定义改成这种;2)命名要不要改成 CustomerTodayTable,就是 模块+形容词+表格(更容易识别),然后把 tables 目录改成 components 目录
128
+
127
129
const { push } = useRouter ()
128
130
129
131
const loading = ref (true ) // 列表的加载中
Original file line number Diff line number Diff line change 110
110
<el-tab-pane label =" 下属负责的" name =" 3" />
111
111
</el-tabs >
112
112
<el-table v-loading =" loading" :data =" list" :show-overflow-tooltip =" true" :stripe =" true" >
113
- <el-table-column align =" center" label =" 编号" prop =" id" />
114
- <el-table-column align =" center" label =" 客户名称" prop =" name" width =" 160" >
113
+ <el-table-column align =" center" label =" 编号" fixed = " left " prop =" id" />
114
+ <el-table-column align =" center" label =" 客户名称" fixed = " left " prop =" name" width =" 160" >
115
115
<template #default =" scope " >
116
116
<el-link :underline =" false" type =" primary" @click =" openDetail(scope.row.id)" >
117
117
{{ scope.row.name }}
149
149
<dict-tag :type =" DICT_TYPE.INFRA_BOOLEAN_STRING" :value =" scope.row.dealStatus" />
150
150
</template >
151
151
</el-table-column >
152
- <el-table-column align =" center" label =" 距离进入公海" prop =" poolDay" >
152
+ <el-table-column align =" center" label =" 距离进入公海" prop =" poolDay" width = " 120 " >
153
153
<template #default =" scope " > {{ scope.row.poolDay }} 天</template >
154
154
</el-table-column >
155
155
<el-table-column
You can’t perform that action at this time.
0 commit comments