yusheng пре 6 месеци
родитељ
комит
ce020049b8
1 измењених фајлова са 2 додато и 2 уклоњено
  1. 2 2
      src/views/inspectionWork/index.vue

+ 2 - 2
src/views/inspectionWork/index.vue

@@ -110,14 +110,14 @@
           <el-link
             type="primary"
             :underline="false"
-            v-if="row.status == 0 && row.recordingMethod == 1"
+            v-if="row.status == 0 && row.recordingMethod == 1&&$hasPermission('qms:quality_work_order:qualityInspectionSend')"
             @click="qualityInspectionSend(row, 1)"
             >质检项派单</el-link
           >
           <el-link
             type="primary"
             :underline="false"
-            v-if="row.status == 0 && row.recordingMethod == 1"
+            v-if="row.status == 0 && row.recordingMethod == 1&&$hasPermission('qms:quality_work_order:request')"
             @click="qualityInspectionSend(row, 2)"
             >质检项请托</el-link
           >