diff --git a/src/utils/dict.ts b/src/utils/dict.ts
index d8405444..70f4e0d3 100644
--- a/src/utils/dict.ts
+++ b/src/utils/dict.ts
@@ -147,9 +147,8 @@ export enum DICT_TYPE {
MP_MESSAGE_TYPE = 'mp_message_type', // 消息类型
// ========== MALL - 会员模块 ==========
- // 积分模块 TODO 芋艿:改成 member_ 前缀;包括枚举和值;
- MEMBER_POINT_BIZ_TYPE = 'member_point_biz_type',
- MEMBER_POINT_STATUS = 'member_point_status',
+ MEMBER_POINT_BIZ_TYPE = 'member_point_biz_type', // 积分的业务类型
+ MEMBER_POINT_STATUS = 'member_point_status', // 积分的状态
// ========== MALL - 商品模块 ==========
PRODUCT_UNIT = 'product_unit', // 商品单位
diff --git a/src/views/member/point/config/index.vue b/src/views/member/point/config/index.vue
index c5f947ce..0fd1484f 100644
--- a/src/views/member/point/config/index.vue
+++ b/src/views/member/point/config/index.vue
@@ -10,9 +10,11 @@
+
+
-
+
@@ -58,6 +60,7 @@ const formData = ref({
const formRules = reactive({})
const formRef = ref() // 表单 Ref
+/** 修改积分配置 */
const onSubmit = async () => {
// 校验表单
if (!formRef) return
@@ -75,6 +78,7 @@ const onSubmit = async () => {
}
}
+/** 获得积分配置 */
const getConfig = async () => {
try {
const data = await ConfigApi.getConfig()
@@ -82,6 +86,7 @@ const getConfig = async () => {
} finally {
}
}
+
onMounted(() => {
getConfig()
})
diff --git a/src/views/member/point/record/RecordForm.vue b/src/views/member/point/record/RecordForm.vue
index b22c1e77..bdbf08cc 100644
--- a/src/views/member/point/record/RecordForm.vue
+++ b/src/views/member/point/record/RecordForm.vue
@@ -157,6 +157,7 @@ const submitForm = async () => {
}
}
+// TODO @xiaqing:不需要更新操作哇?
/** 重置表单 */
const resetForm = () => {
formData.value = {
diff --git a/src/views/member/point/record/index.vue b/src/views/member/point/record/index.vue
index 082c64cb..517410f7 100644
--- a/src/views/member/point/record/index.vue
+++ b/src/views/member/point/record/index.vue
@@ -57,7 +57,7 @@
/>
-
+
-
-
-
-
-
-
-
+
+
+
+
+
+
+
-
-
+
+
+
+
+
+
-
-
+
+
导出
@@ -44,15 +46,10 @@
-
+
-
-
+
+
-