diff --git a/src/views/demo/payment/cashier/Cashier.api.ts b/src/views/demo/payment/cashier/Cashier.api.ts
index d9e5af977..c82ae6d69 100644
--- a/src/views/demo/payment/cashier/Cashier.api.ts
+++ b/src/views/demo/payment/cashier/Cashier.api.ts
@@ -23,6 +23,16 @@ export function createAggregatePay(obj) {
})
}
+/**
+ * 组合支付
+ */
+export function combinationPay (obj) {
+ return defHttp.post({
+ url: '/cashier/combinationPay',
+ data: obj
+ })
+}
+
/**
* 根据业务ID获取支付状态
*/
diff --git a/src/views/demo/payment/cashier/CombinationCashier.vue b/src/views/demo/payment/cashier/CombinationCashier.vue
new file mode 100644
index 000000000..4aaff3a42
--- /dev/null
+++ b/src/views/demo/payment/cashier/CombinationCashier.vue
@@ -0,0 +1,161 @@
+
+
+
+
+
+
+
+ {{ o.label }}
+
+
+
+
+
+ 生成订单号
+
+
+
+
+
+
+
+
+
+
+
+
+ 钱包余额:{{ wallet.balance }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/demo/payment/cashier/SimpleCashier.vue b/src/views/demo/payment/cashier/SimpleCashier.vue
index 0e399d5aa..41e0388ef 100644
--- a/src/views/demo/payment/cashier/SimpleCashier.vue
+++ b/src/views/demo/payment/cashier/SimpleCashier.vue
@@ -4,7 +4,7 @@
-
+
{{ o.name }}
@@ -82,16 +82,14 @@
// 二维码支付方式
amount: 0.01,
})
- const rules = computed(() => {
- return {
- payChannel: [{ required: true, message: '不可为空' }],
- businessId: [{ required: true, message: '不可为空' }],
- title: [{ required: true, message: '不可为空' }],
- payWay: [{ required: true, message: '不可为空' }],
- amount: [{ required: true, message: '不可为空' }],
- voucherNo: [{ required: true, message: '不可为空' }],
- }
- })
+ const rules = {
+ payChannel: [{ required: true, message: '不可为空' }],
+ businessId: [{ required: true, message: '不可为空' }],
+ title: [{ required: true, message: '不可为空' }],
+ payWay: [{ required: true, message: '不可为空' }],
+ amount: [{ required: true, message: '不可为空' }],
+ voucherNo: [{ required: true, message: '不可为空' }],
+ }
// 检查支付状态
const { pause, resume } = useIntervalFn(
@@ -168,7 +166,4 @@
diff --git a/src/views/demo/payment/combination/CombinationCashier.vue b/src/views/demo/payment/combination/CombinationCashier.vue
deleted file mode 100644
index 3d8d6e672..000000000
--- a/src/views/demo/payment/combination/CombinationCashier.vue
+++ /dev/null
@@ -1,197 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/src/views/modules/monitor/operate/OperateLog.api.ts b/src/views/modules/monitor/operate/OperateLog.api.ts
index 063df28eb..6b65829c0 100644
--- a/src/views/modules/monitor/operate/OperateLog.api.ts
+++ b/src/views/modules/monitor/operate/OperateLog.api.ts
@@ -27,31 +27,31 @@ export const get = (id) => {
*/
export interface OperateLog extends BaseEntity {
// 操作模块
- title: string
+ title?: string
// 操作人员id
- operateId: number
+ operateId?: number
// 操作人员账号
- username: string
+ username?: string
// 业务类型
- businessType: string
+ businessType?: string
// 请求方法
- method: string
+ method?: string
// 请求方式
- requestMethod: string
+ requestMethod?: string
// 请求url
- operateUrl: string
+ operateUrl?: string
// 操作ip
- operateIp: string
+ operateIp?: string
// 操作地点
- operateLocation: string
+ operateLocation?: string
// 请求参数
- operateParam: string
+ operateParam?: string
// 返回参数
- operateReturn: string
+ operateReturn?: string
// 是否成功
- success: boolean
+ success?: boolean
// 错误提示
- errorMsg: string
+ errorMsg?: string
// 操作时间
- operateTime: string
+ operateTime?: string
}
diff --git a/src/views/modules/monitor/operate/OperateLogInfo.vue b/src/views/modules/monitor/operate/OperateLogInfo.vue
index f960ec644..a11dc6348 100644
--- a/src/views/modules/monitor/operate/OperateLogInfo.vue
+++ b/src/views/modules/monitor/operate/OperateLogInfo.vue
@@ -1,8 +1,47 @@
-
+
+
+ {{ data.username }}
+
+
+ {{ data.title }}
+
+
+ {{ dictConvert('LogBusinessType', data.businessType) }}
+
+
+ {{ data.requestMethod }}
+
+
+ {{ data.operateUrl }}
+
+
+ {{ data.method }}
+
+
+ {{ data.operateIp }}
+
+
+ {{ data.success ? '成功' : '失败' }}
+
+
+ {{ data.errorMsg }}
+
+
+ {{ data.operateParam }}
+
+
+ {{ data.operateReturn }}
+
+
+ {{ data.operateTime }}
+
+
- 取消
+
+ 取消
+
@@ -17,7 +56,7 @@
const { dictConvert } = useDict()
- let data = $ref()
+ let data = $ref({})
let visible = $ref(false)
let confirmLoading = $ref(false)
let schema = [