guoyujia 1 năm trước cách đây
mục cha
commit
b960707f77
1 tập tin đã thay đổi với 22 bổ sung6 xóa
  1. 22 6
      src/api/business/daywork.js

+ 22 - 6
src/api/business/daywork.js

@@ -27,26 +27,30 @@ export function getDayworkProcessList (query) {
  * @param {*} data
  * @returns
  */
-export function getDeptList(query) {
+/**
+ * 获取 计划查询 列表
+ * @param {*} data
+ * @returns
+ */
+export function getDayworkInfo(query) {
     return request({
-        url: baseUrl + '/business/productionDaywork/getDeptList',
+        url: baseUrl + '/business/productionDaywork/getDayworkInfo',
         method: 'get',
         params: query
     })
 }
 /**
- * 获取 计划查询 列表
+ * 获取 计划查询的工段列表
  * @param {*} data
  * @returns
  */
-export function getDayworkInfo(query) {
+export function getDeptInfo(query) {
     return request({
-        url: baseUrl + '/business/productionDaywork/getDayworkInfo',
+        url: baseUrl + '/business/productionDaywork/getDeptInfo',
         method: 'get',
         params: query
     })
 }
-
 /**
  * 获取 已生产批次 列表
  * @param {*} data
@@ -59,6 +63,18 @@ export function getProducedLot(query) {
         params: query
     })
 }
+/**
+ * 获取 报工记录的工段
+ * @param {*} data
+ * @returns
+ */
+export function getDeptList(query) {
+    return request({
+        url: baseUrl + '/business/productionDaywork/getDeptList',
+        method: 'get',
+        params: query
+    })
+}
 
 /** 查询批次信息 */
 export function getDayworkItemProcess(id) {