|
@@ -1,7 +1,9 @@
|
|
|
<template>
|
|
<template>
|
|
|
<ele-page flex-table>
|
|
<ele-page flex-table>
|
|
|
<!-- 搜索表单 -->
|
|
<!-- 搜索表单 -->
|
|
|
- <order-search @search="reload" />
|
|
|
|
|
|
|
+ <order-review-search v-if="permissionKey === 'review'" @search="reload" />
|
|
|
|
|
+ <order-search v-else @search="reload" />
|
|
|
|
|
+
|
|
|
<ele-card :body-style="{ paddingTop: '8px' }" flex-table>
|
|
<ele-card :body-style="{ paddingTop: '8px' }" flex-table>
|
|
|
<!-- 表格 -->
|
|
<!-- 表格 -->
|
|
|
<ele-pro-table ref="tableRef" row-key="orderId" :columns="propColumns.length > 0 ? propColumns : columns"
|
|
<ele-pro-table ref="tableRef" row-key="orderId" :columns="propColumns.length > 0 ? propColumns : columns"
|
|
@@ -162,6 +164,11 @@
|
|
|
[退回不良]
|
|
[退回不良]
|
|
|
</el-button>
|
|
</el-button>
|
|
|
|
|
|
|
|
|
|
+ <el-button type="success" link plain v-if="row.status == 11 && permissionKey != 'review'"
|
|
|
|
|
+ v-permission="usePermission('applyReview')" @click="handleApplyForOrderReview(row)">
|
|
|
|
|
+ [申请复审]
|
|
|
|
|
+ </el-button>
|
|
|
|
|
+
|
|
|
<template v-if="row.interceptStatus == 0">
|
|
<template v-if="row.interceptStatus == 0">
|
|
|
<el-button type="danger" link v-if="['5', '6'].includes(row.status)"
|
|
<el-button type="danger" link v-if="['5', '6'].includes(row.status)"
|
|
|
v-permission="usePermission('interception')" @click="applyForInterception(row)">
|
|
v-permission="usePermission('interception')" @click="applyForInterception(row)">
|
|
@@ -216,6 +223,7 @@ import { EleMessage } from "ele-admin-plus/es";
|
|
|
import { DownloadOutlined } from "@/components/icons";
|
|
import { DownloadOutlined } from "@/components/icons";
|
|
|
import { Flag, ChatDotSquare } from "@element-plus/icons-vue";
|
|
import { Flag, ChatDotSquare } from "@element-plus/icons-vue";
|
|
|
import OrderSearch from "../components/order-search.vue";
|
|
import OrderSearch from "../components/order-search.vue";
|
|
|
|
|
+import OrderReviewSearch from "./order-review-search.vue";
|
|
|
import TimeClock from "@/views/recycleOrder/components/time-clock.vue";
|
|
import TimeClock from "@/views/recycleOrder/components/time-clock.vue";
|
|
|
import OrderNumber from "@/views/recycleOrder/components/order-number.vue";
|
|
import OrderNumber from "@/views/recycleOrder/components/order-number.vue";
|
|
|
import OrderCustomer from "@/views/recycleOrder/components/order-customer.vue";
|
|
import OrderCustomer from "@/views/recycleOrder/components/order-customer.vue";
|
|
@@ -480,6 +488,14 @@ function handleCancelOrder(row) {
|
|
|
}),
|
|
}),
|
|
|
});
|
|
});
|
|
|
}
|
|
}
|
|
|
|
|
+//申请复审
|
|
|
|
|
+function handleApplyForOrderReview(row) {
|
|
|
|
|
+ messageBoxConfirm({
|
|
|
|
|
+ message: "确认申请复审?",
|
|
|
|
|
+ fetch: () => proxy.$http.post(`/order/recycleOrderReview/adminApplyReview?orderId=${row.orderId}`),
|
|
|
|
|
+ });
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
//申请拦截退出
|
|
//申请拦截退出
|
|
|
function applyForInterception(row) {
|
|
function applyForInterception(row) {
|
|
|
messageBoxConfirm({
|
|
messageBoxConfirm({
|