|
@@ -43,8 +43,8 @@
|
|
</ContentWrap>
|
|
</ContentWrap>
|
|
<ContentWrap>
|
|
<ContentWrap>
|
|
<el-table v-loading="loading" :data="list" :show-overflow-tooltip="true" :stripe="true">
|
|
<el-table v-loading="loading" :data="list" :show-overflow-tooltip="true" :stripe="true">
|
|
- <el-table-column align="center" label="编号" prop="id" />
|
|
|
|
- <el-table-column align="center" label="客户名称" prop="name" width="160">
|
|
|
|
|
|
+ <el-table-column align="center" label="编号" fixed="left" prop="id" />
|
|
|
|
+ <el-table-column align="center" label="客户名称" fixed="left" prop="name" width="160">
|
|
<template #default="scope">
|
|
<template #default="scope">
|
|
<el-link :underline="false" type="primary" @click="openDetail(scope.row.id)">
|
|
<el-link :underline="false" type="primary" @click="openDetail(scope.row.id)">
|
|
{{ scope.row.name }}
|
|
{{ scope.row.name }}
|
|
@@ -82,7 +82,7 @@
|
|
<dict-tag :type="DICT_TYPE.INFRA_BOOLEAN_STRING" :value="scope.row.dealStatus" />
|
|
<dict-tag :type="DICT_TYPE.INFRA_BOOLEAN_STRING" :value="scope.row.dealStatus" />
|
|
</template>
|
|
</template>
|
|
</el-table-column>
|
|
</el-table-column>
|
|
- <el-table-column align="center" label="距进入公海天数" prop="poolDay" width="100px" />
|
|
|
|
|
|
+ <el-table-column align="center" label="距进入公海天数" prop="poolDay" width="130" />
|
|
<el-table-column
|
|
<el-table-column
|
|
:formatter="dateFormatter"
|
|
:formatter="dateFormatter"
|
|
align="center"
|
|
align="center"
|
|
@@ -124,6 +124,8 @@ import { DICT_TYPE } from '@/utils/dict'
|
|
import { dateFormatter } from '@/utils/formatTime'
|
|
import { dateFormatter } from '@/utils/formatTime'
|
|
import { CONTACT_STATUS, SCENE_TYPES } from './common'
|
|
import { CONTACT_STATUS, SCENE_TYPES } from './common'
|
|
|
|
|
|
|
|
+// defineOptions({ name: 'TodayCustomer' }) TODO @dhb52:1)定义改成这种;2)命名要不要改成 CustomerTodayTable,就是 模块+形容词+表格(更容易识别),然后把 tables 目录改成 components 目录
|
|
|
|
+
|
|
const { push } = useRouter()
|
|
const { push } = useRouter()
|
|
|
|
|
|
const loading = ref(true) // 列表的加载中
|
|
const loading = ref(true) // 列表的加载中
|