xiaweibo 2 месяцев назад
Родитель
Сommit
a0b1c66e34

+ 15 - 0
src/router/routers/production-safety-router/risk-identification-and-control.ts

@@ -608,6 +608,21 @@ const riskIdentificationAndControlRoutes: RouteComponent[] = [{
         noCache: false,
         noCache: false,
       }
       }
     },
     },
+    //劳防用品采购申请admin
+    {
+      id: 93030,
+      parentId: 90014,
+      name: 'laborProductsPurchaseApplyManage',
+      path: 'labor-products-purchase-apply-manage',
+      component: '/production-safety/risk-identification-and-control/labor-products-purchase-apply-manage/listAdmin',
+      meta: {
+        title: '劳防用品采购申请',
+        icon: 'OverviewIcon',
+        isRoot: false,
+        hidden: false,
+        noCache: false,
+      }
+    },
   ],
   ],
 }];
 }];
 
 

+ 0 - 1
src/views/production-safety/risk-identification-and-control/labor-products-purchase-apply-manage/list.vue

@@ -71,7 +71,6 @@
                 <!-- 待审核:查看、审核 -->
                 <!-- 待审核:查看、审核 -->
                 <template v-if="scope.row.status === 1 || scope.row.status === '1'">
                 <template v-if="scope.row.status === 1 || scope.row.status === '1'">
                   <ActionButton text="查看" @click="handleView(scope.row.id!, scope.row)" />
                   <ActionButton text="查看" @click="handleView(scope.row.id!, scope.row)" />
-                  <ActionButton text="审核" @click="handleAudit(scope.row.id!, scope.row)" />
                 </template>
                 </template>
                 <!-- 审核通过:查看 -->
                 <!-- 审核通过:查看 -->
                 <template v-else-if="scope.row.status === 2 || scope.row.status === '2'">
                 <template v-else-if="scope.row.status === 2 || scope.row.status === '2'">

+ 2 - 2
src/views/production-safety/risk-identification-and-control/labor-products-purchase-apply-manage/listAdmin.vue

@@ -79,12 +79,12 @@
                 </template>
                 </template>
                 <!-- 审核不通过:编辑、删除、查看 -->
                 <!-- 审核不通过:编辑、删除、查看 -->
                 <template v-else-if="scope.row.status === 3 || scope.row.status === '3'">
                 <template v-else-if="scope.row.status === 3 || scope.row.status === '3'">
-                  <ActionButton text="编辑" @click="handleEdit(scope.row.id!, scope.row)" />
+                  <!-- <ActionButton text="编辑" @click="handleEdit(scope.row.id!, scope.row)" />
                   <ActionButton
                   <ActionButton
                     text="删除"
                     text="删除"
                     :popconfirm="{ title: '确定要删除该申请吗?' }"
                     :popconfirm="{ title: '确定要删除该申请吗?' }"
                     @confirm="handleDelete(scope.row.id!)"
                     @confirm="handleDelete(scope.row.id!)"
-                  />
+                  /> -->
                   <ActionButton text="查看" @click="handleView(scope.row.id!, scope.row)" />
                   <ActionButton text="查看" @click="handleView(scope.row.id!, scope.row)" />
                 </template>
                 </template>
                 <template v-else>
                 <template v-else>