wukai 4 mēneši atpakaļ
vecāks
revīzija
eabfa8a3c0
1 mainītis faili ar 2 papildinājumiem un 14 dzēšanām
  1. 2 14
      src/views/elec/price/index.vue

+ 2 - 14
src/views/elec/price/index.vue

@@ -22,7 +22,6 @@
             plain
             icon="Plus"
             @click="handleAdd"
-            v-hasPermi="['elec:price:add']"
         >新增
         </el-button>
       </el-col>
@@ -33,7 +32,6 @@
             icon="Edit"
             :disabled="single"
             @click="handleUpdate"
-            v-hasPermi="['elec:price:edit']"
         >修改
         </el-button>
       </el-col>
@@ -48,16 +46,6 @@
         >删除
         </el-button>
       </el-col>
-      <el-col :span="1.5">
-        <el-button
-            type="warning"
-            plain
-            icon="Download"
-            @click="handleExport"
-            v-hasPermi="['elec:price:export']"
-        >导出
-        </el-button>
-      </el-col>
       <right-toolbar v-model:showSearch="showSearch" @queryTable="getList"></right-toolbar>
     </el-row>
 
@@ -75,11 +63,11 @@
       <el-table-column label="尖峰电价(元/kWh)" align="center" prop="priceSuperPeak"/>
       <el-table-column label="操作" align="center" class-name="small-padding fixed-width">
         <template #default="scope">
-          <el-button link type="primary" icon="Edit" @click="handleUpdate(scope.row)" v-hasPermi="['elec:price:edit']">
+          <el-button link type="primary" icon="Edit" @click="handleUpdate(scope.row)">
             修改
           </el-button>
           <el-button link type="primary" icon="Delete" @click="handleDelete(scope.row)"
-                     v-hasPermi="['elec:price:remove']">删除
+                     >删除
           </el-button>
         </template>
       </el-table-column>