parent
6b2064d979
commit
d327d28755
@ -111,7 +111,7 @@
|
|||||||
<script lang="ts" setup>
|
<script lang="ts" setup>
|
||||||
import { DICT_TYPE, getIntDictOptions } from '@/utils/dict'
|
import { DICT_TYPE, getIntDictOptions } from '@/utils/dict'
|
||||||
import { dateFormatter } from '@/utils/formatTime'
|
import { dateFormatter } from '@/utils/formatTime'
|
||||||
import * as RecordApi from '@/api//member/point/record'
|
import * as RecordApi from '@/api/member/point/record'
|
||||||
|
|
||||||
defineOptions({ name: 'PointRecord' })
|
defineOptions({ name: 'PointRecord' })
|
||||||
|
|
||||||
|
@ -99,14 +99,14 @@
|
|||||||
<script lang="ts" setup>
|
<script lang="ts" setup>
|
||||||
import { DICT_TYPE, getIntDictOptions } from '@/utils/dict'
|
import { DICT_TYPE, getIntDictOptions } from '@/utils/dict'
|
||||||
import { dateFormatter } from '@/utils/formatTime'
|
import { dateFormatter } from '@/utils/formatTime'
|
||||||
import * as RecordApi from '@/api//member/point/record'
|
import * as RecordApi from '@/api/member/point/record'
|
||||||
|
import { RecordQueryVO } from '@/api/member/point/record'
|
||||||
|
|
||||||
defineOptions({ name: 'PointList' })
|
defineOptions({ name: 'PointList' })
|
||||||
|
|
||||||
const loading = ref(true) // 列表的加载中
|
const loading = ref(true) // 列表的加载中
|
||||||
const total = ref(0) // 列表的总页数
|
const total = ref(0) // 列表的总页数
|
||||||
const list = ref([]) // 列表的数据
|
const list = ref([]) // 列表的数据
|
||||||
const queryParams = reactive({
|
const queryParams = reactive<RecordQueryVO>({
|
||||||
pageNo: 1,
|
pageNo: 1,
|
||||||
pageSize: 10,
|
pageSize: 10,
|
||||||
bizType: undefined,
|
bizType: undefined,
|
||||||
@ -139,15 +139,12 @@ const resetQuery = () => {
|
|||||||
queryFormRef.value.resetFields()
|
queryFormRef.value.resetFields()
|
||||||
handleQuery()
|
handleQuery()
|
||||||
}
|
}
|
||||||
|
|
||||||
// TODO @梦:改成 userId 哈
|
|
||||||
const { memberId } = defineProps({
|
const { memberId } = defineProps({
|
||||||
memberId: {
|
memberId: {
|
||||||
type: Number,
|
type: Number,
|
||||||
required: true
|
required: true
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
||||||
/** 初始化 **/
|
/** 初始化 **/
|
||||||
onMounted(() => {
|
onMounted(() => {
|
||||||
queryParams.userId = memberId
|
queryParams.userId = memberId
|
||||||
|
Loading…
Reference in New Issue
Block a user