diff --git a/.env.base b/.env.base
index cbfa635..1cbc08d 100644
--- a/.env.base
+++ b/.env.base
@@ -4,8 +4,8 @@ VITE_NODE_ENV=development
VITE_DEV=true
# 请求路径
-VITE_BASE_URL='http://118.31.23.45:48080'
-# VITE_BASE_URL='http://114.55.169.15:48080'
+# VITE_BASE_URL='http://118.31.23.45:48080'
+VITE_BASE_URL='http://114.55.169.15:48080'
# 上传路径
VITE_UPLOAD_URL='http://118.31.23.45:48080/admin-api/system/file/upload'
diff --git a/src/api/home/salary.js b/src/api/home/salary.js
index 7f566d5..7516502 100644
--- a/src/api/home/salary.js
+++ b/src/api/home/salary.js
@@ -49,3 +49,8 @@ export const getLinkHistorySalary = async () => {
url: '/admin-api/oa/user-salary-grant/get-import-template/history'
})
}
+
+// 查询提成明细
+export const getCommissionDetail = async (params) => {
+ return await request.get({ url: '/admin-api/oa/user-salary-grant/detail', params })
+}
diff --git a/src/views/Home/Salary/index.vue b/src/views/Home/Salary/index.vue
index b57eb8c..b72d66f 100644
--- a/src/views/Home/Salary/index.vue
+++ b/src/views/Home/Salary/index.vue
@@ -295,6 +295,9 @@
封存
已封存
+
+ 提成明细
+
@@ -423,6 +426,16 @@ async function handleSealup(row) {
console.log(err)
}
}
+
+async function handleDetail(row) {
+ try {
+ const data = await SalaryApi.getCommissionDetail({ id: row.grantId })
+ message.alert(data)
+ } catch (error) {
+ message.error(error)
+ console.log(error)
+ }
+}