diff --git a/src/views/pay/demo/index.vue b/src/views/pay/demo/index.vue index f99d13c4..374464eb 100644 --- a/src/views/pay/demo/index.vue +++ b/src/views/pay/demo/index.vue @@ -121,7 +121,8 @@ const message = useMessage() // 消息弹窗 const loading = ref(true) // 列表的加载中 const total = ref(0) // 列表的总页数 const list = ref([]) // 列表的数据 -const queryParams = ref({ +// 查询条件 +const queryParams = reactive({ pageNo: 1, pageSize: 10 }) @@ -141,7 +142,7 @@ const getList = async () => { } /** 支付按钮操作 */ -const handlePay = (row) => { +const handlePay = (row: any) => { router.push({ name: 'PayCashier', query: { @@ -195,7 +196,7 @@ const spus = ref([ const dialogVisible = ref(false) // 弹窗的是否展示 const formLoading = ref(false) // 表单的加载中 -const formData = ref({}) // 表单数据 +const formData = ref({}) // 表单数据 const formRules = { spuId: [{ required: true, message: '商品编号不能为空', trigger: 'blur' }] } diff --git a/src/views/pay/notify/NotifyDetail.vue b/src/views/pay/notify/NotifyDetail.vue index 82fd8060..938a3eeb 100644 --- a/src/views/pay/notify/NotifyDetail.vue +++ b/src/views/pay/notify/NotifyDetail.vue @@ -7,32 +7,27 @@ - - + {{ detailData.appId }} {{ detailData.appName }} - - + {{ detailData.dataId }} - - + {{ detailData.notifyTimes }} {{ detailData.maxNotifyTimes }} - - + {{ formatDate(detailData.lastExecuteTime) }} {{ formatDate(detailData.nextNotifyTime) }} - - + {{ formatDate(detailData.createTime) }} @@ -40,8 +35,10 @@ {{ formatDate(detailData.updateTime) }} + +