From 4e0e36178d82ed486d8cec2c8f52ca96d715cc12 Mon Sep 17 00:00:00 2001
From: liyaozhi <lzhflash@163.com>
Date: Thu, 30 Oct 2025 19:16:05 +0800
Subject: [PATCH] 1、活动增加促销商品(完成后端) 2、修复小程序端活动相册下载不了的问题; 3、修复小程序端活动详情定位问题; 4、修复小程序端报名时免费的也弹出支付弹窗的问题; 5、修复分会后台活动核销码下载问题。

---
 shop_vue/src/views/plus/business/grade/index.vue |   12 ++++++------
 1 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/shop_vue/src/views/plus/business/grade/index.vue b/shop_vue/src/views/plus/business/grade/index.vue
index 87df71a..75a55e0 100644
--- a/shop_vue/src/views/plus/business/grade/index.vue
+++ b/shop_vue/src/views/plus/business/grade/index.vue
@@ -87,7 +87,7 @@
 </template>
 
 <script>
-import PlusApi from '@/api/plus.js';
+import BusinessApi from '@/api/business.js';
 
 export default {
   data() {
@@ -124,7 +124,7 @@
     // 加载数据
     loadData() {
       this.loading = true;
-      PlusApi.gradeIndex().then(res => {
+      BusinessApi.gradeList().then(res => {
         this.loading = false;
         this.listData = res.data.list || [];
         console.log(this.listData);
@@ -172,7 +172,7 @@
           
           if (params.grade_id) {
             // 编辑
-            PlusApi.gradeEdit(params).then(res => {
+            BusinessApi.gradeEdit(params).then(res => {
               if (res.code === 1) {
                 this.$message.success('编辑成功');
                 this.dialogVisible = false;
@@ -185,7 +185,7 @@
             });
           } else {
             // 添加
-            PlusApi.gradeAdd(params).then(res => {
+            BusinessApi.gradeAdd(params).then(res => {
               if (res.code === 1) {
                 this.$message.success('添加成功');
                 this.dialogVisible = false;
@@ -208,7 +208,7 @@
         cancelButtonText: '取消',
         type: 'warning'
       }).then(() => {
-        PlusApi.gradeDelete({ grade_id: row.grade_id }).then(res => {
+        BusinessApi.gradeDelete({ grade_id: row.grade_id }).then(res => {
           if (res.code === 1) {
             this.$message.success('删除成功');
             this.loadData();
@@ -230,7 +230,7 @@
         price: row.price
       };
       
-      PlusApi.gradeEdit(params).then(res => {
+      BusinessApi.gradeEdit(params).then(res => { 
         if (res.code !== 1) {
           this.$message.error(res.msg || '更新权重失败');
           this.loadData(); // 重新加载数据

--
Gitblit v1.9.2