|
|
@@ -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>
|