diff --git a/src/api/point/record/index.ts b/src/api/point/record/index.ts
index 15eaff35..adbdcc56 100644
--- a/src/api/point/record/index.ts
+++ b/src/api/point/record/index.ts
@@ -4,7 +4,6 @@ export interface RecordVO {
id: number
bizId: string
bizType: string
- type: string
title: string
description: string
point: number
@@ -20,28 +19,3 @@ export interface RecordVO {
export const getRecordPage = async (params) => {
return await request.get({ url: `/point/record/page`, params })
}
-
-// 查询用户积分记录详情
-export const getRecord = async (id: number) => {
- return await request.get({ url: `/point/record/get?id=` + id })
-}
-
-// 新增用户积分记录
-export const createRecord = async (data: RecordVO) => {
- return await request.post({ url: `/point/record/create`, data })
-}
-
-// 修改用户积分记录
-export const updateRecord = async (data: RecordVO) => {
- return await request.put({ url: `/point/record/update`, data })
-}
-
-// 删除用户积分记录
-export const deleteRecord = async (id: number) => {
- return await request.delete({ url: `/point/record/delete?id=` + id })
-}
-
-// 导出用户积分记录 Excel
-export const exportRecord = async (params) => {
- return await request.download({ url: `/point/record/export-excel`, params })
-}
diff --git a/src/views/member/point/config/index.vue b/src/views/member/point/config/index.vue
index 0fd1484f..8a050491 100644
--- a/src/views/member/point/config/index.vue
+++ b/src/views/member/point/config/index.vue
@@ -10,26 +10,36 @@
-
-
-
+
+
+
+
+ 下单积分是否抵用订单金额
-
+
-
+
+ 积分抵用比例(1积分抵多少金额)单位:元
+
+
+
-
+
+ 单次下单积分使用上限,0不限制
+
+
- 提交
+ 下单支付金额按比例赠送积分(实际支付1元赠送多少积分)
+
+
+ 保存
@@ -91,3 +106,9 @@ onMounted(() => {
getConfig()
})
+
+
diff --git a/src/views/member/point/record/RecordForm.vue b/src/views/member/point/record/RecordForm.vue
deleted file mode 100644
index a75eb9a5..00000000
--- a/src/views/member/point/record/RecordForm.vue
+++ /dev/null
@@ -1,180 +0,0 @@
-
-
-
-
diff --git a/src/views/member/point/record/index.vue b/src/views/member/point/record/index.vue
index 1d002dee..1f33c3a2 100644
--- a/src/views/member/point/record/index.vue
+++ b/src/views/member/point/record/index.vue
@@ -8,10 +8,10 @@
:inline="true"
label-width="68px"
>
-
+
-
-
-
-
-
-
-
-
+
-
-
-
+
+
+
+ {{ scope.row.point }}
+
+ {{ scope.row.point }}
+
+
@@ -149,7 +138,6 @@
import { DICT_TYPE, getStrDictOptions, getIntDictOptions } from '@/utils/dict'
import { dateFormatter } from '@/utils/formatTime'
import * as RecordApi from '@/api/point/record'
-import RecordForm from './RecordForm.vue'
defineOptions({ name: 'PointRecord' })
@@ -159,7 +147,7 @@ const list = ref([]) // 列表的数据
const queryParams = reactive({
pageNo: 1,
pageSize: 10,
- bizId: null,
+ nickName: null,
bizType: null,
type: null,
title: null,
diff --git a/src/views/member/signin/record/index.vue b/src/views/member/signin/record/index.vue
index 4039e1e2..d74edcdf 100644
--- a/src/views/member/signin/record/index.vue
+++ b/src/views/member/signin/record/index.vue
@@ -8,9 +8,9 @@
:inline="true"
label-width="68px"
>
-
+
-
+