From 816c67fe381113bb0d917c61039cb4e0d82eddc9 Mon Sep 17 00:00:00 2001 From: Ygb <2694611394@qq.com> Date: Wed, 24 Sep 2025 17:03:16 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E5=88=86=E6=B6=A6=E9=A1=B5?= =?UTF-8?q?=E9=9D=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/modules/profitconfig.js | 4 +- src/views/profitconfig/index.vue | 201 +++++++--- src/views/profitorderlist/index.vue | 596 ++++++++++++++++++++++++++++ 3 files changed, 735 insertions(+), 66 deletions(-) diff --git a/src/api/modules/profitconfig.js b/src/api/modules/profitconfig.js index fbbea2b..993c33c 100644 --- a/src/api/modules/profitconfig.js +++ b/src/api/modules/profitconfig.js @@ -10,8 +10,8 @@ const profitconfigApi = { //删除 delProfitconfig: (ids) => { - const idStr = Array.isArray(ids) ? ids.join(',') : ids; - instance.delete(`/profitconfig/${idStr}`); + debugger; + instance.delete(`/profitconfig/${ids}`); }, // 添加 addProfitconfig: (data) => instance.post('/profitconfig/add', data), diff --git a/src/views/profitconfig/index.vue b/src/views/profitconfig/index.vue index 2bc36f0..de37677 100644 --- a/src/views/profitconfig/index.vue +++ b/src/views/profitconfig/index.vue @@ -1,19 +1,18 @@ - - + +
+ +
+ {{ getRoleLabel('self') }}: + + {{ JSON.parse(row.config).self.type === 1 ? '百分比' : '固定金额' }}: + {{ JSON.parse(row.config).self.value }}{{ JSON.parse(row.config).self.type === 1 ? '%' : '元' }} + +
+ + +
+
+ + + + + + + + + + + - +