diff --git a/src/api/crm/backlog/index.ts b/src/api/crm/backlog/index.ts
index 8e70f7454770007647f9472c80b579ab0dfec1b4..e9494aa84ca957cf20cffaad9ae4e77d7d82c26d 100644
--- a/src/api/crm/backlog/index.ts
+++ b/src/api/crm/backlog/index.ts
@@ -3,7 +3,6 @@ import request from '@/config/axios'
import { type CustomerVO } from '../customer'
import { type ClueVO } from '../clue'
-
// 查询客户列表
// TODO @芋艿:看看是不是后续融合到 getCustomerPage 里;
export const getTodayCustomerPage = async (params) => {
@@ -15,4 +14,4 @@ export const getFollowLeadsPage = async (params) => {
return await request.get({ url: `/crm/backlog/page`, params })
}
-export { type CustomerVO, type ClueVO }
+export { type CustomerVO, type ClueVO }
diff --git a/src/views/crm/backlog/tables/CheckContract.vue b/src/views/crm/backlog/tables/CheckContract.vue
index 2cea0f39747b51b660b1566af3f8c4cce6698b71..87786f5be6ba521e00f87c72284ab430d1d3b9ff 100644
--- a/src/views/crm/backlog/tables/CheckContract.vue
+++ b/src/views/crm/backlog/tables/CheckContract.vue
@@ -1,15 +1,175 @@
-
-
- TODO: 待审核合同
-
+
+ 待审核合同
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ scope.row.customerName }}
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ scope.row.contactName }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+const { push } = useRouter() // 路由
+
+const loading = ref(true) // 列表的加载中
+const total = ref(0) // 列表的总页数
+const list = ref([]) // 列表的数据
+const queryParams = reactive({
+ pageNo: 1,
+ pageSize: 10,
+ auditStatus: 20
+})
+const queryFormRef = ref() // 搜索的表单
+
+/** 查询列表 */
+const getList = async () => {
+ loading.value = true
+ try {
+ const data = await ContractApi.getContractPage(queryParams)
+ list.value = data.list
+ total.value = data.total
+ } finally {
+ loading.value = false
+ }
+}
-
+
diff --git a/src/views/crm/backlog/tables/CheckReceivables.vue b/src/views/crm/backlog/tables/CheckReceivables.vue
index 2e91890524141d8412e731762fb30b38fe19dfff..7ca310a3454a00446bba7ec8d022ebab4cb17b23 100644
--- a/src/views/crm/backlog/tables/CheckReceivables.vue
+++ b/src/views/crm/backlog/tables/CheckReceivables.vue
@@ -1,15 +1,124 @@
-
-
- TODO: 待审核回款
-
+
+ 待审核回款
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+const loading = ref(true) // 列表的加载中
+const total = ref(0) // 列表的总页数
+const list = ref([]) // 列表的数据
+const queryParams = reactive({
+ pageNo: 1,
+ pageSize: 10,
+ auditStatus: 20
+})
+const queryFormRef = ref() // 搜索的表单
+
+/** 查询列表 */
+const getList = async () => {
+ loading.value = true
+ try {
+ const data = await ReceivableApi.getReceivablePage(queryParams)
+ list.value = data.list
+ total.value = data.total
+ } finally {
+ loading.value = false
+ }
+}
-
+
diff --git a/src/views/crm/backlog/tables/EndContract.vue b/src/views/crm/backlog/tables/EndContract.vue
index 1910c97072be412572123693f19287c55775fb07..f31bb52445d0386c5d2d1e193472c813a151b542 100644
--- a/src/views/crm/backlog/tables/EndContract.vue
+++ b/src/views/crm/backlog/tables/EndContract.vue
@@ -1,15 +1,175 @@
-
-
+
-
- TODO: 即将到期的合同
-
+
+ 即将到期的合同
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ scope.row.customerName }}
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ scope.row.contactName }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+const { push } = useRouter() // 路由
+
+const loading = ref(true) // 列表的加载中
+const total = ref(0) // 列表的总页数
+const list = ref([]) // 列表的数据
+const queryParams = reactive({
+ pageNo: 1,
+ pageSize: 10,
+ expiryType: 1
+})
+const queryFormRef = ref() // 搜索的表单
+
+/** 查询列表 */
+const getList = async () => {
+ loading.value = true
+ try {
+ const data = await ContractApi.getContractPage(queryParams)
+ list.value = data.list
+ total.value = data.total
+ } finally {
+ loading.value = false
+ }
+}
-
+
diff --git a/src/views/crm/backlog/tables/FollowCustomer.vue b/src/views/crm/backlog/tables/FollowCustomer.vue
index e60e3559390ca9a6fbcabf39ed766c255db0e0c3..0c768516fb84900a296d3bbe8b4089b91e943e85 100644
--- a/src/views/crm/backlog/tables/FollowCustomer.vue
+++ b/src/views/crm/backlog/tables/FollowCustomer.vue
@@ -114,7 +114,6 @@ import { DICT_TYPE } from '@/utils/dict'
import { dateFormatter } from '@/utils/formatTime'
import { FOLLOWUP_STATUS } from './common'
-
const { push } = useRouter()
const loading = ref(true) // 列表的加载中
diff --git a/src/views/crm/backlog/tables/PutInPoolRemind.vue b/src/views/crm/backlog/tables/PutInPoolRemind.vue
index bc99a885220f5c8f9dcfe1681d60657c5fa54178..5559f656f4c0400c4ff97d09d5c7d39cc2cc5903 100644
--- a/src/views/crm/backlog/tables/PutInPoolRemind.vue
+++ b/src/views/crm/backlog/tables/PutInPoolRemind.vue
@@ -119,7 +119,7 @@ const queryParams = ref({
pageNo: 1,
pageSize: 10,
sceneType: 1, // 我负责的
- pool: true, // 固定 公海参数为 true
+ pool: true // 固定 公海参数为 true
})
const queryFormRef = ref() // 搜索的表单
diff --git a/src/views/crm/backlog/tables/RemindReceivables.vue b/src/views/crm/backlog/tables/RemindReceivables.vue
index fd99b9e6a03b448d4ed4597fbd650f068e21dc59..e375a53ba1b3a19c9e0978677ae53c446ca8764d 100644
--- a/src/views/crm/backlog/tables/RemindReceivables.vue
+++ b/src/views/crm/backlog/tables/RemindReceivables.vue
@@ -1,15 +1,193 @@
-
-
- TODO: 待回款提醒
-
+
+ 待回款提醒
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ userList.find((user) => user.id === scope.row.ownerUserId)?.nickname }}
+
+
+
+
+
+
+
+
+ 编辑
+
+
+ 删除
+
+
+
+
+
+
+
+defineOptions({ name: 'ReceivablePlan' })
+
+const message = useMessage() // 消息弹窗
+const { t } = useI18n() // 国际化
+
+const loading = ref(true) // 列表的加载中
+const total = ref(0) // 列表的总页数
+const list = ref([]) // 列表的数据
+const userList = ref([]) // 用户列表
+const queryParams = reactive({
+ pageNo: 1,
+ pageSize: 10,
+ remindType: 1
+})
+const queryFormRef = ref() // 搜索的表单
+const exportLoading = ref(false) // 导出的加载中
+
+/** 查询列表 */
+const getList = async () => {
+ loading.value = true
+ try {
+ const data = await ReceivablePlanApi.getReceivablePlanPage(queryParams)
+ list.value = data.list
+ total.value = data.total
+ } finally {
+ loading.value = false
+ }
+}
+
+/** 搜索按钮操作 */
+const handleQuery = () => {
+ queryParams.pageNo = 1
+ getList()
+}
-
+
diff --git a/src/views/crm/backlog/tables/common.ts b/src/views/crm/backlog/tables/common.ts
index ec999fca12246d3e7d48af14876dc3174090b64b..fafc154f9b98326a4a456f2cbcea964a6bd82bcc 100644
--- a/src/views/crm/backlog/tables/common.ts
+++ b/src/views/crm/backlog/tables/common.ts
@@ -17,3 +17,22 @@ export const CONTACT_STATUS = [
{ label: '已逾期', value: 2 },
{ label: '已联系', value: 3 }
]
+
+/** 审批状态 */
+export const AUDIT_STATUS = [
+ { label: '已审批', value: 20 },
+ { label: '待审批', value: 10 }
+]
+
+/** 回款提醒类型 */
+export const RECEIVABLE_REMIND_TYPE = [
+ { label: '待回款', value: 1 },
+ { label: '已逾期', value: 2 },
+ { label: '已回款', value: 3 }
+]
+
+/** 合同过期状态 */
+export const CONTRACT_EXPIRY_TYPE = [
+ { label: '即将过期', value: 1 },
+ { label: '已过期', value: 2 }
+]