695593266@qq.com пре 4 месеци
родитељ
комит
16e4c07ee3
1 измењених фајлова са 13 додато и 3 уклоњено
  1. 13 3
      src/views/produce/components/qualityInspection/index.vue

+ 13 - 3
src/views/produce/components/qualityInspection/index.vue

@@ -1,11 +1,19 @@
 <template>
-  <el-dialog
+  <!-- multiple
+    :resizable="true"
+    :moveOut="true"
+    :movable="true"
+        :modal="false" -->
+
+  <ele-modal
     title="首件两检报工"
     :visible.sync="dialogVisible"
     width="85%"
     :before-close="handleClose"
     append-to-body
     :maxable="true"
+    :close-on-click-modal="false"
+    :close-on-press-escape="false"
   >
     <div>
       <div class="step-list" v-loading="loading">
@@ -43,7 +51,9 @@
 
           <template
             v-slot:specialInspection="{ row }"
-            v-if="$hasPermission('mes:report:selfInspectionReporting')"
+            v-if="
+              $hasPermission('mes:firstarticledualinspectionitem:specialreport')
+            "
           >
             <el-button
               type="primary"
@@ -77,7 +87,7 @@
       ref="selfRequestRef"
       @refreshData="getData"
     ></self-inspection-request>
-  </el-dialog>
+  </ele-modal>
 </template>
 
 <script>