heyang 2 år sedan
förälder
incheckning
dac3d12dfb

+ 4 - 0
src/views/safetyInfo/safetyInfoCategory/safetyInfoCategory.vue

@@ -32,10 +32,12 @@
         <el-form-item style="float: right;">
           <el-col :span="1.5">
             <p class="inquire-button-one"
+               v-hasPermi="['laboratory:classify:edit']"
                style="width:120px;margin-right:10px;"
                @click="handleClick('','','deploy')"
             >信息牌配置</p>
             <el-button
+              v-hasPermi="['laboratory:classify:add']"
               type="primary"
               plain
               icon="el-icon-plus"
@@ -64,9 +66,11 @@
           <template slot-scope="scope">
             <div class="button-box">
               <p class="table-min-button"
+                 v-hasPermi="['laboratory:classify:edit']"
                  @click="handleClick('',scope.row,'edit')"
               >编辑</p>
               <p class="table-min-button"
+                 v-hasPermi="['laboratory:classify:remove']"
                  @click="handleClick('',scope.row,'delete')"
               >删除</p>
             </div>

+ 3 - 0
src/views/safetyInfo/safetyInfoConfig/safetyInfoConfig.vue

@@ -10,6 +10,7 @@
         </template>
       </div>
       <el-button
+        v-hasPermi="['laboratory:classifyDet:add']"
         type="primary"
         plain
         icon="el-icon-plus"
@@ -43,9 +44,11 @@
           <template slot-scope="scope">
             <div class="button-box">
               <p class="table-min-button"
+                 v-hasPermi="['laboratory:classifyDet:edit']"
                  @click="handleClick('',scope.row,'edit')"
               >编辑</p>
               <p class="table-min-button"
+                 v-hasPermi="['laboratory:classifyDet:remove']"
                  @click="handleClick('',scope.row,'delete')"
               >删除</p>
             </div>