Browse Source

no message

linwenxin 4 months ago
parent
commit
c5ff8233a8
2 changed files with 28 additions and 3 deletions
  1. 22 0
      src/api/workOrderPool.js
  2. 6 3
      src/views/workOrder/workOrderPool/index.vue

+ 22 - 0
src/api/workOrderPool.js

@@ -320,3 +320,25 @@ export function orderPartsApplyItemModify(data) {
     data
   })
 }
+
+export function orderEsBaseListEs(data) {
+  return request({
+    url: `/orderEs/base/list?moduleId=${data.moduleId}`,
+    method: 'post',
+    data
+  })
+}
+export function orderEsBaseListExportEs(data, name) {
+  return postBlob({
+    url: '/orderEs/base/list/export',
+    data,
+    name
+  })
+}
+export function orderEsBaseStatusCountEs(params) {
+  return request({
+    url: `/orderEs/base/status/count`,
+    method: 'post',
+    params
+  })
+}

+ 6 - 3
src/views/workOrder/workOrderPool/index.vue

@@ -132,6 +132,9 @@ import {
   orderBaseList,
   orderBaseListExport,
   orderBaseStatusCount,
+  orderEsBaseListEs,
+  orderEsBaseListExportEs,
+  orderEsBaseStatusCountEs,
   orderBaseImport,
   orderBaseImport2,
   orderBaseImport3,
@@ -523,7 +526,7 @@ export default {
 
     // 获取统计
     getOrderBaseStatusCount(...p) {
-      orderBaseStatusCount(...p).then(res => {
+      orderEsBaseStatusCountEs(...p).then(res => {
         this.orderStatusList = [
           {
             label: '待预约',
@@ -615,7 +618,7 @@ export default {
           )
         }
         cb && cb(pam)
-        return orderBaseList(pam)
+        return orderEsBaseListEs(pam)
       } catch (err) {
       } finally {
         this.$nextTick(() => {
@@ -636,7 +639,7 @@ export default {
     },
 
     // 列表导出函数
-    exportList: orderBaseListExport,
+    exportList: orderEsBaseListExportEs,
 
     // 监听勾选变化
     selectionChange(data) {