diff --git a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/customer/CustomerController.java b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/customer/CustomerController.java
index 4e9f1b3..20f3678 100644
--- a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/customer/CustomerController.java
+++ b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/customer/CustomerController.java
@@ -121,6 +121,19 @@ public class CustomerController extends BaseController
return success(customerService.selectCustomerByCusId(cusId));
}
+ /**
+ * 获取客户详细信息-错误修订
+ */
+ @PreAuthorize("@ss.hasPermi('customer:customer:returnUpdate')")
+ @GetMapping(value = "/returnUpdate/{cusId}")
+ @Log(title = "客户错误修订", businessType = BusinessType.UPDATE)
+ public AjaxResult getReturnUpdateInfo(@PathVariable("cusId") String cusId)
+ {
+ Customer customer = customerService.selectCustomerByCusId(cusId);
+ customer.setCusApprovalStatus("1");// 提交状态设置为 审核中
+ return success(customer);
+ }
+
/**
* 新增客户管理
*/
diff --git a/ruoyi-ui/src/api/customer/customer.js b/ruoyi-ui/src/api/customer/customer.js
index 54a6e57..8068c07 100644
--- a/ruoyi-ui/src/api/customer/customer.js
+++ b/ruoyi-ui/src/api/customer/customer.js
@@ -17,6 +17,14 @@ export function getCustomer(cusId) {
})
}
+// 查询客户信息-错判修订
+export function getReturnUpdateCustomer(cusId) {
+ return request({
+ url: '/customer/customer/returnUpdate/' + cusId,
+ method: 'get'
+ })
+}
+
// 客户状态修改
export function changCusStatus(cusId, cusState) {
const data = {
diff --git a/ruoyi-ui/src/views/customer/customer/index.vue b/ruoyi-ui/src/views/customer/customer/index.vue
index 62527e3..bb7eef2 100644
--- a/ruoyi-ui/src/views/customer/customer/index.vue
+++ b/ruoyi-ui/src/views/customer/customer/index.vue
@@ -94,6 +94,17 @@
v-hasPermi="['customer:customer:export']"
>导出
+
+ 错误修订
+
@@ -168,7 +179,7 @@
-
+
@@ -889,7 +900,7 @@
}