Browse Source

回收催审核去除无用按钮

Alex 10 months ago
parent
commit
f0eada11ec
1 changed files with 13 additions and 36 deletions
  1. 13 36
      src/views/recycleOrder/urgentRecycleAudit/index.vue

+ 13 - 36
src/views/recycleOrder/urgentRecycleAudit/index.vue

@@ -1,48 +1,25 @@
 <template>
-    <order-page ref="pageRef" :pageConfig="pageConfig" permissionKey="urgentRecycleAudit">
-        <template #toolbar>
-            <el-button type="warning" plain v-permission="'recycleOrder:urgentRecycleAudit:batchAudit'"
-                @click="handleBatchAudit">
-                批量初审
-            </el-button>
-            <el-button type="success" plain v-permission="'recycleOrder:urgentRecycleAudit:batchReceive'"
-                @click="handleBatchReceive()">
-                批量确认收货
-            </el-button>
-        </template>
-    </order-page>
+  <order-page
+    ref="pageRef"
+    :pageConfig="pageConfig"
+    permissionKey="urgentRecycleAudit"
+  >
+  </order-page>
 </template>
 
 <script setup>
-import { ref, reactive } from 'vue';
-import OrderPage from '@/views/recycleOrder/components/order-page-all.vue';
+  import { ref, reactive } from 'vue';
+  import OrderPage from '@/views/recycleOrder/components/order-page-all.vue';
 
-defineOptions({ name: 'recycleOrderUrgentRecycleAudit' });
+  defineOptions({ name: 'recycleOrderUrgentRecycleAudit' });
 
-/** 页面组件实例 */
-const pageRef = ref(null);
+  /** 页面组件实例 */
+  const pageRef = ref(null);
 
-const pageConfig = reactive({
+  const pageConfig = reactive({
     pageUrl: '/order/orderInfo/urgeList',
     exportUrl: '/order/orderInfo/urgeList/export',
     fileName: '回收催审核',
     cacheKey: 'urgentRecycleAuditTable'
-});
-
-//批量初审
-function handleBatchAudit() {
-    pageRef.value?.operatBatch({
-        title: '确认批量审核?',
-        url: '/recycleOrder/batchAudit'
-    });
-}
-
-//确认收货
-function handleBatchReceive(row) {
-    pageRef.value?.operatBatch({
-        title: '确认收货?',
-        row,
-        url: '/recycleOrder/batchAudit'
-    });
-}
+  });
 </script>