|
@@ -5,21 +5,11 @@
|
|
|
type="warning"
|
|
type="warning"
|
|
|
plain
|
|
plain
|
|
|
class="ele-btn-icon"
|
|
class="ele-btn-icon"
|
|
|
- v-permission="'recycleOrder:search:batchAudit'"
|
|
|
|
|
|
|
+ v-permission="'recycleOrder:cancelled:batchAudit'"
|
|
|
@click="handleBatchAudit"
|
|
@click="handleBatchAudit"
|
|
|
>
|
|
>
|
|
|
批量初审
|
|
批量初审
|
|
|
</el-button>
|
|
</el-button>
|
|
|
- <!-- <el-button
|
|
|
|
|
- type="success"
|
|
|
|
|
- plain
|
|
|
|
|
- class="ele-btn-icon"
|
|
|
|
|
- :icon="DownloadOutlined"
|
|
|
|
|
- v-permission="'recycleOrder:search:export'"
|
|
|
|
|
- @click="exportData"
|
|
|
|
|
- >
|
|
|
|
|
- 导出订单明细
|
|
|
|
|
- </el-button> -->
|
|
|
|
|
</template>
|
|
</template>
|
|
|
|
|
|
|
|
<template #action="{ row }">
|
|
<template #action="{ row }">
|
|
@@ -28,7 +18,7 @@
|
|
|
color="#7728f5"
|
|
color="#7728f5"
|
|
|
link
|
|
link
|
|
|
plain
|
|
plain
|
|
|
- v-permission="'recycleOrder:search:applyForOrderRestore'"
|
|
|
|
|
|
|
+ v-permission="'recycleOrder:cancelled:applyForOrderRestore'"
|
|
|
@click="handleApplyForOrderRestore(row)"
|
|
@click="handleApplyForOrderRestore(row)"
|
|
|
>
|
|
>
|
|
|
[申请恢复订单]
|
|
[申请恢复订单]
|
|
@@ -36,7 +26,7 @@
|
|
|
<el-button
|
|
<el-button
|
|
|
type="success"
|
|
type="success"
|
|
|
link
|
|
link
|
|
|
- v-permission="'recycleOrder:search:detail'"
|
|
|
|
|
|
|
+ v-permission="'recycleOrder:cancelled:detail'"
|
|
|
@click="toOrderDetail(row)"
|
|
@click="toOrderDetail(row)"
|
|
|
>
|
|
>
|
|
|
[订单详情]
|
|
[订单详情]
|
|
@@ -44,7 +34,7 @@
|
|
|
<el-button
|
|
<el-button
|
|
|
type="warning"
|
|
type="warning"
|
|
|
link
|
|
link
|
|
|
- v-permission="'recycleOrder:search:log'"
|
|
|
|
|
|
|
+ v-permission="'recycleOrder:cancelled:log'"
|
|
|
@click="openOrderLog(row)"
|
|
@click="openOrderLog(row)"
|
|
|
>
|
|
>
|
|
|
[订单日志]
|
|
[订单日志]
|
|
@@ -52,7 +42,7 @@
|
|
|
<el-button
|
|
<el-button
|
|
|
type="warning"
|
|
type="warning"
|
|
|
link
|
|
link
|
|
|
- v-permission="'recycleOrder:search:userTag'"
|
|
|
|
|
|
|
+ v-permission="'recycleOrder:cancelled:userTag'"
|
|
|
@click="openEditUserTag(row)"
|
|
@click="openEditUserTag(row)"
|
|
|
>
|
|
>
|
|
|
[用户标签]
|
|
[用户标签]
|
|
@@ -79,7 +69,7 @@
|
|
|
//用户标签
|
|
//用户标签
|
|
|
import userBindTag from '@/views/recycleOrder/components/user-bind-tag.vue';
|
|
import userBindTag from '@/views/recycleOrder/components/user-bind-tag.vue';
|
|
|
|
|
|
|
|
- defineOptions({ name: 'recycleOrderCancel' });
|
|
|
|
|
|
|
+ defineOptions({ name: 'recycleOrderCancelled' });
|
|
|
|
|
|
|
|
let router = useRouter();
|
|
let router = useRouter();
|
|
|
/** 页面组件实例 */
|
|
/** 页面组件实例 */
|
|
@@ -89,7 +79,7 @@
|
|
|
pageUrl: '',
|
|
pageUrl: '',
|
|
|
exportUrl: '',
|
|
exportUrl: '',
|
|
|
fileName: '已取消订单',
|
|
fileName: '已取消订单',
|
|
|
- cacheKey: 'recycleOrderCancelTable'
|
|
|
|
|
|
|
+ cacheKey: 'recycleOrderCancelledTable'
|
|
|
});
|
|
});
|
|
|
|
|
|
|
|
//批量初审
|
|
//批量初审
|
|
@@ -100,10 +90,6 @@
|
|
|
});
|
|
});
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
- //导出数据
|
|
|
|
|
- function exportData() {
|
|
|
|
|
- pageRef.value?.exportData('已取消订单');
|
|
|
|
|
- }
|
|
|
|
|
//订单详情
|
|
//订单详情
|
|
|
function toOrderDetail(row) {
|
|
function toOrderDetail(row) {
|
|
|
router.push({ path: '/recycleOrder/detail', query: { id: row.postId } });
|
|
router.push({ path: '/recycleOrder/detail', query: { id: row.postId } });
|