jitairibaobiao.js 24 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138
  1. import service from '@/utils/request'
  2. export const getTab = (data) => {
  3. return service({
  4. url: '/mes_server/packaging_process_output/getTab',
  5. method: 'get',
  6. data
  7. })
  8. }
  9. export const getList = (params) => {
  10. return service({
  11. url: '/mes_server/packaging_process_output/getList',
  12. method: 'get',
  13. params
  14. })
  15. }
  16. export const getInspectCount = (data) => {
  17. return service({
  18. url: '/mes_server/inspect/getInspectCount',
  19. method: 'get',
  20. data
  21. })
  22. }
  23. export const getDateList = (params) => {
  24. return service({
  25. url: '/mes_server/inspect/getDateList',
  26. method: 'get',
  27. params
  28. })
  29. }
  30. export const getMachineCount = (data) => {
  31. return service({
  32. url:'/mes_server/inspect/getMachineCount',
  33. method: 'get',
  34. data
  35. })
  36. }
  37. export const getDateMachine = (params) => {
  38. return service({
  39. url:'/mes_server/inspect/getDateMachine',
  40. method: 'get',
  41. params
  42. })
  43. }
  44. //机台生产日报表维护
  45. //新增
  46. export const productionadd = (data) => {
  47. return service({
  48. url:'/mes_server/machine_production_report/add',
  49. method: 'post',
  50. data
  51. })
  52. }
  53. export const getproductionCount = (data) => {
  54. return service({
  55. url:'/mes_server/machine_production_report/getTab',
  56. method: 'get',
  57. data
  58. })
  59. }
  60. //导出
  61. export const Export = (data) => {
  62. return service({
  63. url:'/mes_server/machine_production_report/export',
  64. method: 'get',
  65. data
  66. })
  67. }
  68. //机台生产日报表维护附加
  69. //新增
  70. export const reportadd = (data) => {
  71. return service({
  72. url:'/mes_server/machine_production_report_add/add',
  73. method: 'post',
  74. data
  75. })
  76. }
  77. export const getproductionList = (params) => {
  78. return service({
  79. url:'/mes_server/machine_production_report/getList',
  80. method: 'get',
  81. params
  82. })
  83. }
  84. export const getproductionaddCount = (data) => {
  85. return service({
  86. url:'/mes_server/machine_production_report_add/getTab',
  87. method: 'get',
  88. data
  89. })
  90. }
  91. export const getproductionaddList = (params) => {
  92. return service({
  93. url:'/mes_server/machine_production_report_add/getList',
  94. method: 'get',
  95. params
  96. })
  97. }
  98. export const locate = (params) => {
  99. return service({
  100. url:'/mes_server/packaging_process_output/locate',
  101. method: 'get',
  102. params
  103. })
  104. }
  105. export const getInfo = (params) => {
  106. return service({
  107. url:'/mes_server/packaging_process_output/getInfo',
  108. method: 'get',
  109. params
  110. })
  111. }
  112. export const getGxMc = (params) => {
  113. return service({
  114. url:'/mes_server/packaging_process_output/getGxMc',
  115. method: 'get',
  116. params
  117. })
  118. }
  119. export const edit = (params) => {
  120. return service({
  121. url:'/mes_server/packaging_process_output/edit',
  122. method: 'post',
  123. params
  124. })
  125. }
  126. export const del = (params) => {
  127. return service({
  128. url:'/mes_server/packaging_process_output/del',
  129. method: 'post',
  130. params
  131. })
  132. }
  133. export const machineLocate = (params) => {
  134. return service({
  135. url:'/mes_server/inspect/machineLocate',
  136. method: 'get',
  137. params
  138. })
  139. }
  140. export const MachineInfo = (params) => {
  141. return service({
  142. url:'/mes_server/inspect/getMachineInfo',
  143. method: 'get',
  144. params
  145. })
  146. }
  147. export const getYg = (params) => {
  148. return service({
  149. url:'/mes_server/packaging_count_document/getYg',
  150. method: 'get',
  151. params
  152. })
  153. }
  154. export const getMachineGxMc = (params) => {
  155. return service({
  156. url:'/mes_server/inspect/getMachineGxMc',
  157. method: 'get',
  158. params
  159. })
  160. }
  161. export const getMachineDedh = (params) => {
  162. return service({
  163. url:'/mes_server/inspect/getMachineDedh',
  164. method: 'get',
  165. params
  166. })
  167. }
  168. export const getMachineScrapFactor = (params) => {
  169. return service({
  170. url:'/mes_server/inspect/getMachineScrapFactor',
  171. method: 'get',
  172. params
  173. })
  174. }
  175. export const machineAdd = (data) => {
  176. return service({
  177. url:'/mes_server/inspect/machineAdd',
  178. method: 'post',
  179. data
  180. })
  181. }
  182. export const packagingAdd = (data) => {
  183. return service({
  184. url:'/mes_server/packaging_process_output/add',
  185. method: 'post',
  186. data
  187. })
  188. }
  189. export const getJtbh = (params) => {
  190. return service({
  191. url:'/mes_server/inspect/getJtbh',
  192. method: 'get',
  193. params
  194. })
  195. }
  196. export const machineEdit = (params) => {
  197. return service({
  198. url:'/mes_server/inspect/machineEdit',
  199. method: 'post',
  200. params
  201. })
  202. }
  203. export const machineDel = (params) => {
  204. return service({
  205. url:'/mes_server/inspect/machineDel',
  206. method: 'post',
  207. params
  208. })
  209. }
  210. //手工检验
  211. //定位
  212. export const shougonglocate= (params) => {
  213. return service({
  214. url:'/mes_server/inspect/locate',
  215. method: 'get',
  216. params
  217. })
  218. }
  219. //获取详细信息
  220. export const shougonggetInfo= (params) => {
  221. return service({
  222. url:'/mes_server/inspect/getInfo',
  223. method: 'get',
  224. params
  225. })
  226. }
  227. //查询印件工序及产品名称
  228. export const shougonggetGxMc= (params) => {
  229. return service({
  230. url:'/mes_server/inspect/getGxMc',
  231. method: 'get',
  232. params
  233. })
  234. }
  235. //获取定额代号
  236. export const shougonggetDedh= (params) => {
  237. return service({
  238. url:'/mes_server/inspect/getDedh',
  239. method: 'get',
  240. params
  241. })
  242. }
  243. //查询废品系数
  244. export const shougonggetScrapFactor= (params) => {
  245. return service({
  246. url:'/mes_server/inspect/getScrapFactor',
  247. method: 'get',
  248. params
  249. })
  250. }
  251. //修改
  252. export const shougongedit= (params) => {
  253. return service({
  254. url:'/mes_server/inspect/edit',
  255. method: 'post',
  256. params
  257. })
  258. }
  259. //删除
  260. export const shougongdel= (params) => {
  261. return service({
  262. url:'/mes_server/inspect/del',
  263. method: 'post',
  264. params
  265. })
  266. }
  267. //按工单显示
  268. export const getInspectCountByGdbh= (params) => {
  269. return service({
  270. url:'/mes_server/inspect/getInspectCountByGdbh',
  271. method: 'get',
  272. params
  273. })
  274. }
  275. //新增
  276. export const inspectadd= (data) => {
  277. return service({
  278. url:'/mes_server/inspect/add',
  279. method: 'post',
  280. data
  281. })
  282. }
  283. //机台生产日报表维护附加
  284. //获取详细信息
  285. export const addgetInfo= (params) => {
  286. return service({
  287. url:'/mes_server/machine_production_report_add/getInfo',
  288. method: 'get',
  289. params
  290. })
  291. }
  292. //获取机台
  293. export const addgetJtbh= (params) => {
  294. return service({
  295. url:'/mes_server/machine_production_report_add/getJtbh',
  296. method: 'get',
  297. params
  298. })
  299. }
  300. //修改
  301. export const addedit= (params) => {
  302. return service({
  303. url:'/mes_server/machine_production_report_add/edit',
  304. method: 'post',
  305. params
  306. })
  307. }
  308. //删除
  309. export const adddel= (params) => {
  310. return service({
  311. url:'/mes_server/machine_production_report_add/del',
  312. method: 'post',
  313. params
  314. })
  315. }
  316. //按工单显示
  317. export const getMachineCountByGdbh= (params) => {
  318. return service({
  319. url:'/mes_server/inspect/getMachineCountByGdbh',
  320. method: 'get',
  321. params
  322. })
  323. }
  324. //机台日报表维护
  325. //定位
  326. export const productionlocate= (params) => {
  327. return service({
  328. url:'/mes_server/machine_production_report/locate',
  329. method: 'get',
  330. params
  331. })
  332. }
  333. //按工单显示
  334. export const productionByGdbh= (params) => {
  335. return service({
  336. url:'/mes_server/machine_production_report/getTabByGdbh',
  337. method: 'get',
  338. params
  339. })
  340. }
  341. //获取详细信息
  342. export const productionInfo= (params) => {
  343. return service({
  344. url:'/mes_server/machine_production_report/getInfo',
  345. method: 'get',
  346. params
  347. })
  348. }
  349. //获取工单名称
  350. export const productionGdmc= (params) => {
  351. return service({
  352. url:'/mes_server/machine_production_report/getGdmc',
  353. method: 'get',
  354. params
  355. })
  356. }
  357. //获取印件名称
  358. export const productionYjmc= (params) => {
  359. return service({
  360. url:'/mes_server/machine_production_report/getYjmc',
  361. method: 'get',
  362. params
  363. })
  364. }
  365. //获取工序信息
  366. export const productionGx= (params) => {
  367. return service({
  368. url:'/mes_server/machine_production_report/getGx',
  369. method: 'get',
  370. params
  371. })
  372. }
  373. //获取定额代号
  374. export const productionDedh= (params) => {
  375. return service({
  376. url:'/mes_server/machine_production_report/getDedh',
  377. method: 'get',
  378. params
  379. })
  380. }
  381. //修改
  382. export const productionedit= (params) => {
  383. return service({
  384. url:'/mes_server/machine_production_report/edit',
  385. method: 'post',
  386. params
  387. })
  388. }
  389. //删除
  390. export const productiondel= (params) => {
  391. return service({
  392. url:'/mes_server/machine_production_report/del',
  393. method: 'post',
  394. params
  395. })
  396. }
  397. //同步
  398. export const ProductionData= (params) => {
  399. return service({
  400. url:'/mes_server/Synchronization/ProductionData',
  401. method: 'get',
  402. params
  403. })
  404. }
  405. //员工日工资
  406. //员工日工资查询侧边栏
  407. export const dailygetTab= () => {
  408. return service({
  409. url:'/mes_server/employee_daily_salary/getTab',
  410. method: 'get',
  411. })
  412. }
  413. //员工日工资查询上侧列表
  414. export const dailygetList= (params) => {
  415. return service({
  416. url:'/mes_server/employee_daily_salary/getList',
  417. method: 'get',
  418. params
  419. })
  420. }
  421. //员工日工资查询下侧列表
  422. export const dailygetAllList= (params) => {
  423. return service({
  424. url:'/mes_server/employee_daily_salary/getAllList',
  425. method: 'get',
  426. params
  427. })
  428. }
  429. //员工工资明细查询
  430. export const dailygetGzByYgbh= (params) => {
  431. return service({
  432. url:'/mes_server/employee_daily_salary/getGzByYgbh',
  433. method: 'get',
  434. params
  435. })
  436. }
  437. //每日工资统计
  438. export const statistics= (params) => {
  439. return service({
  440. url:'/mes_server/employee_daily_salary/statistics',
  441. method: 'get',
  442. params
  443. })
  444. }
  445. //月度计时工资调整
  446. export const wageAdjustment= (params) => {
  447. return service({
  448. url:'/mes_server/employee_daily_salary/wageAdjustment',
  449. method: 'get',
  450. params
  451. })
  452. }
  453. //员工计件明细
  454. export const getPieceDetail= (params) => {
  455. return service({
  456. url:'/mes_server/employee_daily_salary/getPieceDetail',
  457. method: 'get',
  458. params
  459. })
  460. }
  461. //员工日工资查询详情
  462. export const dailygetDetail= (params) => {
  463. return service({
  464. url:'/mes_server/employee_daily_salary/getDetail',
  465. method: 'get',
  466. params
  467. })
  468. }
  469. //员工定位
  470. export const dailysearch= (params) => {
  471. return service({
  472. url:'/mes_server/employee_daily_salary/search',
  473. method: 'get',
  474. params
  475. })
  476. }
  477. //成品入仓
  478. //侧边栏
  479. export const finishedTab= (params) => {
  480. return service({
  481. url:'/mes_server/finished_product_warehousing/getTab',
  482. method: 'get',
  483. params
  484. })
  485. }
  486. //侧边栏 根据工单
  487. export const finishedTabByGdbh= (params) => {
  488. return service({
  489. url:'/mes_server/finished_product_warehousing/getTabByGdbh',
  490. method: 'get',
  491. params
  492. })
  493. }
  494. //列表
  495. export const finishedList= (params) => {
  496. return service({
  497. url:'/mes_server/finished_product_warehousing/getList',
  498. method: 'get',
  499. params
  500. })
  501. }
  502. //定位
  503. export const finishedlocate= (params) => {
  504. return service({
  505. url:'/mes_server/finished_product_warehousing/locate',
  506. method: 'get',
  507. params
  508. })
  509. }
  510. //获取详细信息
  511. export const finishedInfo= (params) => {
  512. return service({
  513. url:'/mes_server/finished_product_warehousing/getInfo',
  514. method: 'get',
  515. params
  516. })
  517. }
  518. //获取仓库信息
  519. export const finishedgetCk= (params) => {
  520. return service({
  521. url:'/mes_server/finished_product_warehousing/getCk',
  522. method: 'get',
  523. params
  524. })
  525. }
  526. //新增
  527. export const finishedadd= (data) => {
  528. return service({
  529. url:'/mes_server/finished_product_warehousing/add',
  530. method: 'post',
  531. data
  532. })
  533. }
  534. //修改
  535. export const finishedEdit= (data) => {
  536. return service({
  537. url:'/mes_server/finished_product_warehousing/edit',
  538. method: 'post',
  539. data
  540. })
  541. }
  542. //各日统计
  543. export const getDayList= (params) => {
  544. return service({
  545. url:'/mes_server/finished_product_warehousing/getDayList',
  546. method: 'get',
  547. params
  548. })
  549. }
  550. //入仓末板数据统计
  551. export const mbList= (params) => {
  552. return service({
  553. url:'/mes_server/finished_product_warehousing/mbList',
  554. method: 'get',
  555. params
  556. })
  557. }
  558. //获取工单信息
  559. export const finishedgetGd= (params) => {
  560. return service({
  561. url:'/mes_server/finished_product_warehousing/getGd',
  562. method: 'get',
  563. params
  564. })
  565. }
  566. //查询工单数量
  567. export const finishedgetGdsl= (params) => {
  568. return service({
  569. url:'/mes_server/finished_product_warehousing/getGdsl',
  570. method: 'get',
  571. params
  572. })
  573. }
  574. //删除
  575. export const finisheddel= (params) => {
  576. return service({
  577. url:'/mes_server/finished_product_warehousing/del',
  578. method: 'post',
  579. params
  580. })
  581. }
  582. //设备运行跟踪
  583. //左侧菜单
  584. export const facilityTab= (params) => {
  585. return service({
  586. url:'/mes_server/facility/getTab',
  587. method: 'get',
  588. params
  589. })
  590. }
  591. //当日上报产量
  592. export const facilitychanLiang= (params) => {
  593. return service({
  594. url:'/mes_server/facility/chanLiang',
  595. method: 'get',
  596. params
  597. })
  598. }
  599. //当日制程检验记录
  600. export const facilityInspect= (params) => {
  601. return service({
  602. url:'/mes_server/facility/Inspect',
  603. method: 'get',
  604. params
  605. })
  606. }
  607. //设备工作清单
  608. export const facilityWorklist= (params) => {
  609. return service({
  610. url:'/mes_server/facility/EquipmentWorklist',
  611. method: 'get',
  612. params
  613. })
  614. }
  615. //印件、工序、完成数量
  616. export const facilityProcedure= (params) => {
  617. return service({
  618. url:'/mes_server/facility/Procedure',
  619. method: 'get',
  620. params
  621. })
  622. }
  623. //机台印版领用->左侧菜单
  624. export const facilityPrintGetTab= (params) => {
  625. return service({
  626. url:'/mes_server/facility/PrintGetTab',
  627. method: 'get',
  628. params
  629. })
  630. }
  631. //机台印版领用->右侧详情
  632. export const facilityPrintDetail= (params) => {
  633. return service({
  634. url:'/mes_server/facility/PrintDetail',
  635. method: 'get',
  636. params
  637. })
  638. }
  639. //当前生产订单
  640. export const facilityProduction= (params) => {
  641. return service({
  642. url:'/mes_server/facility/Production',
  643. method: 'get',
  644. params
  645. })
  646. }
  647. //管理人员现场巡检记录->展示
  648. export const fieldInspectionRecord= (params) => {
  649. return service({
  650. url:'/mes_server/facility/FieldInspectionRecord',
  651. method: 'get',
  652. params
  653. })
  654. }
  655. //班组人员及分配比例
  656. export const facilityTeam= (params) => {
  657. return service({
  658. url:'/mes_server/facility/Team',
  659. method: 'get',
  660. params
  661. })
  662. }
  663. //当班产量明细
  664. export const facilityDetail= (params) => {
  665. return service({
  666. url:'/mes_server/facility/OutputDetail',
  667. method: 'get',
  668. params
  669. })
  670. }
  671. //检验记录
  672. export const inspectionRecord= (params) => {
  673. return service({
  674. url:'/mes_server/facility/InspectionRecord',
  675. method: 'get',
  676. params
  677. })
  678. }
  679. //班组维护->机台编号下拉框
  680. export const facilityMachineList= (params) => {
  681. return service({
  682. url:'/mes_server/facility/MachineList',
  683. method: 'get',
  684. params
  685. })
  686. }
  687. //设备点检->检验项目
  688. export const facilityInspectionItem= (params) => {
  689. return service({
  690. url:'/mes_server/facility/InspectionItem',
  691. method: 'get',
  692. params
  693. })
  694. }
  695. //设备点检->左侧菜单栏
  696. export const facilitySpotCheckItem= (params) => {
  697. return service({
  698. url:'/mes_server/facility/SpotCheckItem',
  699. method: 'get',
  700. params
  701. })
  702. }
  703. //客诉记录
  704. export const ComplaintRecord= (params) => {
  705. return service({
  706. url:'/mes_server/facility/ComplaintRecord',
  707. method: 'get',
  708. params
  709. })
  710. }
  711. //当日上报产量详情
  712. export const MachineChanliangDetail= (params) => {
  713. return service({
  714. url:'/mes_server/facility/MachineChanliangDetail',
  715. method: 'get',
  716. params
  717. })
  718. }
  719. //日产量修改
  720. export const chanliangEdit = (data) => {
  721. return service({
  722. url:'/mes_server/facility/chanliangEdit',
  723. method: 'post',
  724. data
  725. })
  726. }
  727. export const MachineChanliangDetailEdit = (data) => {
  728. return service({
  729. url:'/mes_server/facility/MachineChanliangDetailEdit',
  730. method: 'post',
  731. data
  732. })
  733. }
  734. //每日上报产量工价
  735. export const CoefficientEdit = (data) => {
  736. return service({
  737. url:'/mes_server/Facility/CoefficientEdit',
  738. method: 'post',
  739. data
  740. })
  741. }
  742. //每日上报产量色度
  743. export const ChromaDataEdit = (data) => {
  744. return service({
  745. url:'/mes_server/Facility/ChromaDataEdit',
  746. method: 'post',
  747. data
  748. })
  749. }
  750. //每日上报产量凹印版距修改
  751. export const PrintingModeDataEdit = (data) => {
  752. return service({
  753. url:'/mes_server/Facility/PrintingModeDataEdit',
  754. method: 'post',
  755. data
  756. })
  757. }
  758. //关联工资核算
  759. //设备点检->左侧菜单栏
  760. export const relatedTab= (params) => {
  761. return service({
  762. url:'/mes_server/related_salary_accounting/getTab',
  763. method: 'get',
  764. params
  765. })
  766. }
  767. //关联工资核算上侧列表
  768. export const relatedList= (params) => {
  769. return service({
  770. url:'/mes_server/related_salary_accounting/getList',
  771. method: 'get',
  772. params
  773. })
  774. }
  775. //定位
  776. export const relatedsearch= (params) => {
  777. return service({
  778. url:'/mes_server/related_salary_accounting/search',
  779. method: 'get',
  780. params
  781. })
  782. }
  783. //关联工资核算下侧列表
  784. export const relatedAllList= (params) => {
  785. return service({
  786. url:'/mes_server/related_salary_accounting/getAllList',
  787. method: 'get',
  788. params
  789. })
  790. }
  791. //关联组员权重查询
  792. export const weightDetail= (params) => {
  793. return service({
  794. url:'/mes_server/related_salary_accounting/weightDetail',
  795. method: 'get',
  796. params
  797. })
  798. }
  799. //关联工资设置
  800. export const setting= (params) => {
  801. return service({
  802. url:'/mes_server/related_salary_accounting/setting',
  803. method: 'get',
  804. params
  805. })
  806. }
  807. //更新关联系数
  808. export const updateNum= (params) => {
  809. return service({
  810. url:'/mes_server/related_salary_accounting/updateNum',
  811. method: 'get',
  812. params
  813. })
  814. }
  815. //批量附加组员定位
  816. export const batchAddSearch= (params) => {
  817. return service({
  818. url:'/mes_server/related_salary_accounting/batchAddSearch',
  819. method: 'get',
  820. params
  821. })
  822. }
  823. //批量附加组员列表
  824. export const batchAddLst= (params) => {
  825. return service({
  826. url:'/mes_server/related_salary_accounting/batchAddLst',
  827. method: 'get',
  828. params
  829. })
  830. }
  831. //关联组员复制列表
  832. export const copyLst= (params) => {
  833. return service({
  834. url:'/mes_server/related_salary_accounting/copyLst',
  835. method: 'get',
  836. params
  837. })
  838. }
  839. //批量附加组员
  840. export const batchAdd= (data) => {
  841. return service({
  842. url:'/mes_server/related_salary_accounting/batchAdd',
  843. method: 'post',
  844. data
  845. })
  846. }
  847. //批量删除组员
  848. export const batchDel= (data) => {
  849. return service({
  850. url:'/mes_server/related_salary_accounting/batchDel',
  851. method: 'post',
  852. data
  853. })
  854. }
  855. //关联组员复制
  856. export const copy= (data) => {
  857. return service({
  858. url:'/mes_server/related_salary_accounting/copy',
  859. method: 'post',
  860. data
  861. })
  862. }
  863. //车间报工
  864. //获取机台生产信息
  865. export const reportProduceInfo= (params) => {
  866. return service({
  867. url:'/mes_server/reporting_work/getProduceInfo',
  868. method: 'get',
  869. params
  870. })
  871. }
  872. //获取员工姓名
  873. export const reportName= (params) => {
  874. return service({
  875. url:'/mes_server/reporting_work/getStaffName',
  876. method: 'get',
  877. params
  878. })
  879. }
  880. //获取员工姓名-优化后
  881. export const getStaffNameTwo= (params) => {
  882. return service({
  883. url:'/mes_server/reporting_work/getStaffNameTwo',
  884. method: 'get',
  885. params
  886. })
  887. }
  888. //获取报工单其他信息
  889. export const reportInfo= (params) => {
  890. return service({
  891. url:'/mes_server/reporting_work/getMachineReportInfo',
  892. method: 'get',
  893. params
  894. })
  895. }
  896. //获取机台编号
  897. export const reportMachineMac= (params) => {
  898. return service({
  899. url:'/mes_server/reporting_work/getMachineMac',
  900. method: 'get',
  901. params
  902. })
  903. }
  904. //设置工单工序完工
  905. export const setProcessStatus = (data) => {
  906. return service({
  907. url:'/mes_server/reporting_work/setProcessStatus',
  908. method: 'post',
  909. data
  910. })
  911. }
  912. //设置机台状态
  913. export const SetMachineStatus = (params) => {
  914. return service({
  915. url:'/mes_server/reporting_work/setMachineStatus',
  916. method: 'post',
  917. params
  918. })
  919. }
  920. //日产量上报
  921. export const submitDailyProduction = (data) => {
  922. return service({
  923. url:'/mes_server/reporting_work/submitDailyProduction',
  924. method: 'post',
  925. data
  926. })
  927. }
  928. //提交巡查记录
  929. export const submitPatrolRecord = (data) => {
  930. return service({
  931. url:'/mes_server/reporting_work/submitPatrolRecord',
  932. method: 'post',
  933. data
  934. })
  935. }
  936. //设置机台状态
  937. export const setMachineStatus = (data) => {
  938. return service({
  939. url:'/mes_server/reporting_work/setMachineStatus',
  940. method: 'post',
  941. data
  942. })
  943. }
  944. //获取机台编号
  945. export const getMachineMac = (params) => {
  946. return service({
  947. url:'/mes_server/reporting_work/getMachineMac',
  948. method: 'get',
  949. params
  950. })
  951. }
  952. export const InspectionItemAdd = (data) => {
  953. return service({
  954. url:'/mes_server/facility/InspectionItemAdd',
  955. method: 'post',
  956. data
  957. })
  958. }
  959. export const ProcessInspectionRecordsItem = (params) => {
  960. return service({
  961. url:'/mes_server/facility/ProcessInspectionRecordsItem',
  962. method: 'get',
  963. params
  964. })
  965. }
  966. export const MachineDetailList = (params) => {
  967. return service({
  968. url:'/mes_server/facility/MachineDetailList',
  969. method: 'get',
  970. params
  971. })
  972. }
  973. //获取机台
  974. export const reportGetJtbh= (params) => {
  975. return service({
  976. url:'/mes_server/machine_production_report/getJtbh',
  977. method: 'get',
  978. params
  979. })
  980. }
  981. //定额代号查询比例
  982. export const dedhGetRate= (params) => {
  983. return service({
  984. url:'/mes_server/machine_production_report/dedhGetRate',
  985. method: 'get',
  986. params
  987. })
  988. }
  989. //设备运行跟踪---换型清场
  990. export const remodelGetTab = (data) => {
  991. return service({
  992. url: '/mes_server/facility/remodelGetTab',
  993. method: 'get',
  994. data
  995. })
  996. }
  997. export const ChanliangDel = (params) => {
  998. return service({
  999. url: '/mes_server/facility/ChanliangDel',
  1000. method: 'get',
  1001. params
  1002. })
  1003. }
  1004. export const ModelChangeRecord = (params) => {
  1005. return service({
  1006. url: '/mes_server/facility/ModelChangeRecord',
  1007. method: 'get',
  1008. params
  1009. })
  1010. }
  1011. export const index = (params) => {
  1012. return service({
  1013. url: '/mes_server/Facility/index',
  1014. method: 'get',
  1015. params
  1016. })
  1017. }
  1018. export const ChanliangAdd = (data) => {
  1019. return service({
  1020. url:'/mes_server/facility/ChanliangAdd',
  1021. method: 'post',
  1022. data
  1023. })
  1024. }
  1025. export const AdditionalInspectionRecordAdd = (data) => {
  1026. return service({
  1027. url:'/mes_server/facility/AdditionalInspectionRecordAdd',
  1028. method: 'post',
  1029. data
  1030. })
  1031. }
  1032. export const ProcessInspectionRecordsItemAdd = (data) => {
  1033. return service({
  1034. url:'/mes_server/facility/ProcessInspectionRecordsItemAdd',
  1035. method: 'post',
  1036. data
  1037. })
  1038. }
  1039. //日产量上报添加->工单资料获取
  1040. export const ChanliangWorkorder = (params) => {
  1041. return service({
  1042. url: '/mes_server/facility/ChanliangWorkorder',
  1043. method: 'get',
  1044. params
  1045. })
  1046. }
  1047. //日产量上报->印件资料
  1048. export const ChanliangPrintDetail = (params) => {
  1049. return service({
  1050. url: '/mes_server/facility/ChanliangPrintDetail',
  1051. method: 'get',
  1052. params
  1053. })
  1054. }
  1055. //日产量上报添加->工艺资料
  1056. export const ChanliangProcessDetail = (params) => {
  1057. return service({
  1058. url: '/mes_server/facility/ChanliangProcessDetail',
  1059. method: 'get',
  1060. params
  1061. })
  1062. }
  1063. //班组维护->员工姓名获取
  1064. export const EmployeeData = (params) => {
  1065. return service({
  1066. url: '/mes_server/facility/EmployeeData',
  1067. method: 'get',
  1068. params
  1069. })
  1070. }
  1071. export const RemodelDetail = (params) => {
  1072. return service({
  1073. url: '/mes_server/Facility/RemodelDetail',
  1074. method: 'get',
  1075. params
  1076. })
  1077. }
  1078. //日产量上报添加->班组信息批量修改
  1079. export const YieldTeamEdit = (params) => {
  1080. return service({
  1081. url: '/mes_server/facility/YieldTeamEdit',
  1082. method: 'get',
  1083. params
  1084. })
  1085. }
  1086. // /reporting_work/getTime
  1087. export const getTimelist = (params) => {
  1088. return service({
  1089. url: '/mes_server/reporting_work/getTime',
  1090. method: 'get',
  1091. params
  1092. })
  1093. }
  1094. // 检品机日产量上报
  1095. export const JpUploade = (data) => {
  1096. return service({
  1097. url: '/mes_server/reporting_work/JpUploade',
  1098. method: 'post',
  1099. data
  1100. })
  1101. }