jwyu 2 years ago
parent
commit
7d5a74894c
1 changed files with 2 additions and 3 deletions
  1. 2 3
      src/views/report/reportForVariety/List.vue

+ 2 - 3
src/views/report/reportForVariety/List.vue

@@ -1,6 +1,5 @@
 <script setup>
-import {apiReportListForVariety} from '@/api/report'
-import {apiUserBindPermission} from '@/api/common'
+import {apiReportListForVariety,apiGoodsPermissionList} from '@/api/report'
 import SelfList from '@/components/SelfList.vue'
 import moment from 'moment';
 import { reactive,onMounted,onActivated,computed,ref } from 'vue'
@@ -23,7 +22,7 @@ let permissionList=reactive({
     secPerId:0,
 })
 const getPermissionList=async ()=>{
-    const res=await apiUserBindPermission({
+    const res=await apiGoodsPermissionList({
         classify_id:Number(classifyId.value),
     })
     if(res.code===200){