Parcourir la source

Merge remote-tracking branch 'origin/master'

guoyujia il y a 1 an
Parent
commit
4631aca0fb
1 fichiers modifiés avec 7 ajouts et 8 suppressions
  1. 7 8
      src/views/business/equipment/category.vue

+ 7 - 8
src/views/business/equipment/category.vue

@@ -10,7 +10,7 @@
                         @keydown.enter.prevent />
                 </el-form-item>
                 <el-form-item>
-                    <el-button type="primary" icon="Plus" v-hasPermi="['business:equipment:add']"
+                    <el-button type="primary" icon="Plus" v-hasPermi="['business:equipmentCategory:add']"
                         @click="handleShowEquipmentCategoryDialog(null)">
                         新增
                     </el-button>
@@ -33,10 +33,10 @@
                                 <span>
                                     <el-button link type="warning" icon="Edit"
                                         @click="handleShowEquipmentCategoryDialog(data)"
-                                        v-hasPermi="['business:equipment:edit']">编辑
+                                        v-hasPermi="['business:equipmentCategory:edit']">编辑
                                     </el-button>
                                     <el-button link type="danger" icon="Delete" @click="handleDeleteCategory(data)"
-                                        v-hasPermi="['business:equipment:remove']">删除
+                                        v-hasPermi="['business:equipmentCategory:remove']">删除
                                     </el-button>
                                 </span>
                             </div>
@@ -54,12 +54,12 @@
         /> -->
         </section>
 
-      
+
         <!-- 设备类别表单 -->
         <equipment-category-form ref="categoryRef" @handleSaveSuccess="handleRefreshCategory" />
     </div>
 </template>
-  
+
 <script setup name="Equipment">
 import equipmentCategoryForm from "./formCategory";
 import equipmentDetailForm from "./formDetail";
@@ -115,7 +115,7 @@ const getCategoryList = () => {
         equipmentCategoryList.value = response.rows;
         equipmentCategoryTotal.value = response.total;
         console.log(equipmentCategoryList.value.length);
-        
+
         equipmentCategoryLoading.value = false;
     });
 };
@@ -193,5 +193,4 @@ const handleShowEquipmentCategoryDialog = (data) => {
     cursor: move;
     background-color: #eee;
 }
-</style>
-  
+</style>