diff --git a/src/api/modules/order.js b/src/api/modules/order.js
index 1a9b1b9..6dae9d3 100644
--- a/src/api/modules/order.js
+++ b/src/api/modules/order.js
@@ -7,6 +7,13 @@ export function getOrderList(query) {
return service({
method: "get",
url: `${API_BASE_URL}/all/list`,
- data: query,
+ params: query,
});
}
+
+// 导出订单
+export function exportOrder(query) {
+
+ const urlParams = new URLSearchParams(query);
+ return `http://repair.cpolar.top/order/list/export?${urlParams.toString()}`;
+}
\ No newline at end of file
diff --git a/src/api/modules/postApply.js b/src/api/modules/postApply.js
index 39e9a4e..61266ae 100644
--- a/src/api/modules/postApply.js
+++ b/src/api/modules/postApply.js
@@ -7,7 +7,7 @@ export function getApplyList(query) {
return service({
method: "get",
url: `${API_BASE_URL}/list`,
- data: query,
+ params: query,
});
}
diff --git a/src/api/modules/user.js b/src/api/modules/user.js
index 9d17aea..bf973e1 100644
--- a/src/api/modules/user.js
+++ b/src/api/modules/user.js
@@ -3,11 +3,11 @@ import service from "../request.js";
const API_BASE_URL = '/user';
// 客户列表
-export function getUserList(query) {
+export function getUserList(roleld, query) {
return service({
method: "get",
- url: `${API_BASE_URL}/${query.roleld}`,
- data: query,
+ url: `${API_BASE_URL}/${roleld}`,
+ params: query,
});
}
diff --git a/src/views/engineer/maintain.vue b/src/views/engineer/maintain.vue
index 649662f..87e2503 100644
--- a/src/views/engineer/maintain.vue
+++ b/src/views/engineer/maintain.vue
@@ -1,29 +1,29 @@
-
+
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
+
+
@@ -50,9 +51,7 @@
搜索
-
- 导出
-
+
@@ -106,7 +105,6 @@
- 通过
- 驳回
+
+
+ 通过
+ 驳回
+
+
+ 处理完成
+
@@ -148,45 +152,39 @@
-
-
diff --git a/src/views/order/index.vue b/src/views/order/index.vue
index d8242f9..1bae733 100644
--- a/src/views/order/index.vue
+++ b/src/views/order/index.vue
@@ -13,7 +13,7 @@
-
-
+
+
+
+
@@ -37,20 +39,39 @@
/>
+
+
+
+
+
-
-
+
+
+
+
@@ -58,6 +79,10 @@
搜索
+
+ 导出
+
+
+
+
+ {{ scope.row.surveyorsName }}
+
+
+
+
+
+
+ {{ scope.row.repairerName }}
+
+
+ 未分配
+
+
+
+
- {{ formatPrice(scope.row.amount) }}元
+
+ {{ formatPrice(scope.row.amount) }}元
+
+
+ 暂未报价
+
@@ -234,7 +293,13 @@
报价费用
- {{ formatPrice(detailData.amount) }}元
+
+ {{ formatPrice(detailData.amount) }}元
+
+
+ 暂未报价
+
+
@@ -312,7 +377,7 @@