jitairibaobiao.js 23 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057
  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. //员工日工资查询侧边栏
  399. export const dailygetTab= () => {
  400. return service({
  401. url:'/mes_server/employee_daily_salary/getTab',
  402. method: 'get',
  403. })
  404. }
  405. //员工日工资查询上侧列表
  406. export const dailygetList= (params) => {
  407. return service({
  408. url:'/mes_server/employee_daily_salary/getList',
  409. method: 'get',
  410. params
  411. })
  412. }
  413. //员工日工资查询下侧列表
  414. export const dailygetAllList= (params) => {
  415. return service({
  416. url:'/mes_server/employee_daily_salary/getAllList',
  417. method: 'get',
  418. params
  419. })
  420. }
  421. //每日工资统计
  422. export const statistics= (params) => {
  423. return service({
  424. url:'/mes_server/employee_daily_salary/statistics',
  425. method: 'get',
  426. params
  427. })
  428. }
  429. //月度计时工资调整
  430. export const wageAdjustment= (params) => {
  431. return service({
  432. url:'/mes_server/employee_daily_salary/wageAdjustment',
  433. method: 'get',
  434. params
  435. })
  436. }
  437. //员工计件明细
  438. export const getPieceDetail= (params) => {
  439. return service({
  440. url:'/mes_server/employee_daily_salary/getPieceDetail',
  441. method: 'get',
  442. params
  443. })
  444. }
  445. //员工日工资查询详情
  446. export const dailygetDetail= (params) => {
  447. return service({
  448. url:'/mes_server/employee_daily_salary/getDetail',
  449. method: 'get',
  450. params
  451. })
  452. }
  453. //员工定位
  454. export const dailysearch= (params) => {
  455. return service({
  456. url:'/mes_server/employee_daily_salary/search',
  457. method: 'get',
  458. params
  459. })
  460. }
  461. //成品入仓
  462. //侧边栏
  463. export const finishedTab= (params) => {
  464. return service({
  465. url:'/mes_server/finished_product_warehousing/getTab',
  466. method: 'get',
  467. params
  468. })
  469. }
  470. //侧边栏 根据工单
  471. export const finishedTabByGdbh= (params) => {
  472. return service({
  473. url:'/mes_server/finished_product_warehousing/getTabByGdbh',
  474. method: 'get',
  475. params
  476. })
  477. }
  478. //列表
  479. export const finishedList= (params) => {
  480. return service({
  481. url:'/mes_server/finished_product_warehousing/getList',
  482. method: 'get',
  483. params
  484. })
  485. }
  486. //定位
  487. export const finishedlocate= (params) => {
  488. return service({
  489. url:'/mes_server/finished_product_warehousing/locate',
  490. method: 'get',
  491. params
  492. })
  493. }
  494. //获取详细信息
  495. export const finishedInfo= (params) => {
  496. return service({
  497. url:'/mes_server/finished_product_warehousing/getInfo',
  498. method: 'get',
  499. params
  500. })
  501. }
  502. //获取仓库信息
  503. export const finishedgetCk= (params) => {
  504. return service({
  505. url:'/mes_server/finished_product_warehousing/getCk',
  506. method: 'get',
  507. params
  508. })
  509. }
  510. //新增
  511. export const finishedadd= (data) => {
  512. return service({
  513. url:'/mes_server/finished_product_warehousing/add',
  514. method: 'post',
  515. data
  516. })
  517. }
  518. //各日统计
  519. export const getDayList= (params) => {
  520. return service({
  521. url:'/mes_server/finished_product_warehousing/getDayList',
  522. method: 'get',
  523. params
  524. })
  525. }
  526. //入仓末板数据统计
  527. export const mbList= (params) => {
  528. return service({
  529. url:'/mes_server/finished_product_warehousing/mbList',
  530. method: 'get',
  531. params
  532. })
  533. }
  534. //获取工单信息
  535. export const finishedgetGd= (params) => {
  536. return service({
  537. url:'/mes_server/finished_product_warehousing/getGd',
  538. method: 'get',
  539. params
  540. })
  541. }
  542. //查询工单数量
  543. export const finishedgetGdsl= (params) => {
  544. return service({
  545. url:'/mes_server/finished_product_warehousing/getGdsl',
  546. method: 'get',
  547. params
  548. })
  549. }
  550. //删除
  551. export const finisheddel= (params) => {
  552. return service({
  553. url:'/mes_server/finished_product_warehousing/del',
  554. method: 'post',
  555. params
  556. })
  557. }
  558. //设备运行跟踪
  559. //左侧菜单
  560. export const facilityTab= (params) => {
  561. return service({
  562. url:'/mes_server/facility/getTab',
  563. method: 'get',
  564. params
  565. })
  566. }
  567. //当日上报产量
  568. export const facilitychanLiang= (params) => {
  569. return service({
  570. url:'/mes_server/facility/chanLiang',
  571. method: 'get',
  572. params
  573. })
  574. }
  575. //当日制程检验记录
  576. export const facilityInspect= (params) => {
  577. return service({
  578. url:'/mes_server/facility/Inspect',
  579. method: 'get',
  580. params
  581. })
  582. }
  583. //设备工作清单
  584. export const facilityWorklist= (params) => {
  585. return service({
  586. url:'/mes_server/facility/EquipmentWorklist',
  587. method: 'get',
  588. params
  589. })
  590. }
  591. //印件、工序、完成数量
  592. export const facilityProcedure= (params) => {
  593. return service({
  594. url:'/mes_server/facility/Procedure',
  595. method: 'get',
  596. params
  597. })
  598. }
  599. //机台印版领用->左侧菜单
  600. export const facilityPrintGetTab= (params) => {
  601. return service({
  602. url:'/mes_server/facility/PrintGetTab',
  603. method: 'get',
  604. params
  605. })
  606. }
  607. //机台印版领用->右侧详情
  608. export const facilityPrintDetail= (params) => {
  609. return service({
  610. url:'/mes_server/facility/PrintDetail',
  611. method: 'get',
  612. params
  613. })
  614. }
  615. //当前生产订单
  616. export const facilityProduction= (params) => {
  617. return service({
  618. url:'/mes_server/facility/Production',
  619. method: 'get',
  620. params
  621. })
  622. }
  623. //管理人员现场巡检记录->展示
  624. export const fieldInspectionRecord= (params) => {
  625. return service({
  626. url:'/mes_server/facility/FieldInspectionRecord',
  627. method: 'get',
  628. params
  629. })
  630. }
  631. //班组人员及分配比例
  632. export const facilityTeam= (params) => {
  633. return service({
  634. url:'/mes_server/facility/Team',
  635. method: 'get',
  636. params
  637. })
  638. }
  639. //当班产量明细
  640. export const facilityDetail= (params) => {
  641. return service({
  642. url:'/mes_server/facility/OutputDetail',
  643. method: 'get',
  644. params
  645. })
  646. }
  647. //检验记录
  648. export const inspectionRecord= (params) => {
  649. return service({
  650. url:'/mes_server/facility/InspectionRecord',
  651. method: 'get',
  652. params
  653. })
  654. }
  655. //班组维护->机台编号下拉框
  656. export const facilityMachineList= (params) => {
  657. return service({
  658. url:'/mes_server/facility/MachineList',
  659. method: 'get',
  660. params
  661. })
  662. }
  663. //设备点检->检验项目
  664. export const facilityInspectionItem= (params) => {
  665. return service({
  666. url:'/mes_server/facility/InspectionItem',
  667. method: 'get',
  668. params
  669. })
  670. }
  671. //设备点检->左侧菜单栏
  672. export const facilitySpotCheckItem= (params) => {
  673. return service({
  674. url:'/mes_server/facility/SpotCheckItem',
  675. method: 'get',
  676. params
  677. })
  678. }
  679. //客诉记录
  680. export const ComplaintRecord= (params) => {
  681. return service({
  682. url:'/mes_server/facility/ComplaintRecord',
  683. method: 'get',
  684. params
  685. })
  686. }
  687. //当日上报产量详情
  688. export const MachineChanliangDetail= (params) => {
  689. return service({
  690. url:'/mes_server/facility/MachineChanliangDetail',
  691. method: 'get',
  692. params
  693. })
  694. }
  695. //日产量修改
  696. export const chanliangEdit = (data) => {
  697. return service({
  698. url:'/mes_server/facility/chanliangEdit',
  699. method: 'post',
  700. data
  701. })
  702. }
  703. export const MachineChanliangDetailEdit = (data) => {
  704. return service({
  705. url:'/mes_server/facility/MachineChanliangDetailEdit',
  706. method: 'post',
  707. data
  708. })
  709. }
  710. //关联工资核算
  711. //设备点检->左侧菜单栏
  712. export const relatedTab= (params) => {
  713. return service({
  714. url:'/mes_server/related_salary_accounting/getTab',
  715. method: 'get',
  716. params
  717. })
  718. }
  719. //关联工资核算上侧列表
  720. export const relatedList= (params) => {
  721. return service({
  722. url:'/mes_server/related_salary_accounting/getList',
  723. method: 'get',
  724. params
  725. })
  726. }
  727. //定位
  728. export const relatedsearch= (params) => {
  729. return service({
  730. url:'/mes_server/related_salary_accounting/search',
  731. method: 'get',
  732. params
  733. })
  734. }
  735. //关联工资核算下侧列表
  736. export const relatedAllList= (params) => {
  737. return service({
  738. url:'/mes_server/related_salary_accounting/getAllList',
  739. method: 'get',
  740. params
  741. })
  742. }
  743. //关联组员权重查询
  744. export const weightDetail= (params) => {
  745. return service({
  746. url:'/mes_server/related_salary_accounting/weightDetail',
  747. method: 'get',
  748. params
  749. })
  750. }
  751. //关联工资设置
  752. export const setting= (params) => {
  753. return service({
  754. url:'/mes_server/related_salary_accounting/setting',
  755. method: 'get',
  756. params
  757. })
  758. }
  759. //更新关联系数
  760. export const updateNum= (params) => {
  761. return service({
  762. url:'/mes_server/related_salary_accounting/updateNum',
  763. method: 'get',
  764. params
  765. })
  766. }
  767. //批量附加组员定位
  768. export const batchAddSearch= (params) => {
  769. return service({
  770. url:'/mes_server/related_salary_accounting/batchAddSearch',
  771. method: 'get',
  772. params
  773. })
  774. }
  775. //批量附加组员列表
  776. export const batchAddLst= (params) => {
  777. return service({
  778. url:'/mes_server/related_salary_accounting/batchAddLst',
  779. method: 'get',
  780. params
  781. })
  782. }
  783. //关联组员复制列表
  784. export const copyLst= (params) => {
  785. return service({
  786. url:'/mes_server/related_salary_accounting/copyLst',
  787. method: 'get',
  788. params
  789. })
  790. }
  791. //批量附加组员
  792. export const batchAdd= (data) => {
  793. return service({
  794. url:'/mes_server/related_salary_accounting/batchAdd',
  795. method: 'post',
  796. data
  797. })
  798. }
  799. //批量删除组员
  800. export const batchDel= (data) => {
  801. return service({
  802. url:'/mes_server/related_salary_accounting/batchDel',
  803. method: 'post',
  804. data
  805. })
  806. }
  807. //关联组员复制
  808. export const copy= (data) => {
  809. return service({
  810. url:'/mes_server/related_salary_accounting/copy',
  811. method: 'post',
  812. data
  813. })
  814. }
  815. //车间报工
  816. //获取机台生产信息
  817. export const reportProduceInfo= (params) => {
  818. return service({
  819. url:'/mes_server/reporting_work/getProduceInfo',
  820. method: 'get',
  821. params
  822. })
  823. }
  824. //获取员工姓名
  825. export const reportName= (params) => {
  826. return service({
  827. url:'/mes_server/reporting_work/getStaffName',
  828. method: 'get',
  829. params
  830. })
  831. }
  832. //获取报工单其他信息
  833. export const reportInfo= (params) => {
  834. return service({
  835. url:'/mes_server/reporting_work/getMachineReportInfo',
  836. method: 'get',
  837. params
  838. })
  839. }
  840. //获取机台编号
  841. export const reportMachineMac= (params) => {
  842. return service({
  843. url:'/mes_server/reporting_work/getMachineMac',
  844. method: 'get',
  845. params
  846. })
  847. }
  848. //设置工单工序完工
  849. export const setProcessStatus = (data) => {
  850. return service({
  851. url:'/mes_server/reporting_work/setProcessStatus',
  852. method: 'post',
  853. data
  854. })
  855. }
  856. //设置机台状态
  857. export const SetMachineStatus = (params) => {
  858. return service({
  859. url:'/mes_server/reporting_work/setMachineStatus',
  860. method: 'post',
  861. params
  862. })
  863. }
  864. //日产量上报
  865. export const submitDailyProduction = (data) => {
  866. return service({
  867. url:'/mes_server/reporting_work/submitDailyProduction',
  868. method: 'post',
  869. data
  870. })
  871. }
  872. //提交巡查记录
  873. export const submitPatrolRecord = (data) => {
  874. return service({
  875. url:'/mes_server/reporting_work/submitPatrolRecord',
  876. method: 'post',
  877. data
  878. })
  879. }
  880. //设置机台状态
  881. export const setMachineStatus = (data) => {
  882. return service({
  883. url:'/mes_server/reporting_work/setMachineStatus',
  884. method: 'post',
  885. data
  886. })
  887. }
  888. //获取机台编号
  889. export const getMachineMac = (params) => {
  890. return service({
  891. url:'/mes_server/reporting_work/getMachineMac',
  892. method: 'get',
  893. params
  894. })
  895. }
  896. export const InspectionItemAdd = (data) => {
  897. return service({
  898. url:'/mes_server/facility/InspectionItemAdd',
  899. method: 'post',
  900. data
  901. })
  902. }
  903. export const ProcessInspectionRecordsItem = (params) => {
  904. return service({
  905. url:'/mes_server/facility/ProcessInspectionRecordsItem',
  906. method: 'get',
  907. params
  908. })
  909. }
  910. export const MachineDetailList = (params) => {
  911. return service({
  912. url:'/mes_server/facility/MachineDetailList',
  913. method: 'get',
  914. params
  915. })
  916. }
  917. //获取机台
  918. export const reportGetJtbh= (params) => {
  919. return service({
  920. url:'/mes_server/machine_production_report/getJtbh',
  921. method: 'get',
  922. params
  923. })
  924. }
  925. //定额代号查询比例
  926. export const dedhGetRate= (params) => {
  927. return service({
  928. url:'/mes_server/machine_production_report/dedhGetRate',
  929. method: 'get',
  930. params
  931. })
  932. }
  933. //设备运行跟踪---换型清场
  934. export const remodelGetTab = (data) => {
  935. return service({
  936. url: '/mes_server/facility/remodelGetTab',
  937. method: 'get',
  938. data
  939. })
  940. }
  941. export const ChanliangDel = (params) => {
  942. return service({
  943. url: '/mes_server/facility/ChanliangDel',
  944. method: 'get',
  945. params
  946. })
  947. }
  948. export const ModelChangeRecord = (params) => {
  949. return service({
  950. url: '/mes_server/facility/ModelChangeRecord',
  951. method: 'get',
  952. params
  953. })
  954. }
  955. export const index = (params) => {
  956. return service({
  957. url: '/mes_server/Facility/index',
  958. method: 'get',
  959. params
  960. })
  961. }
  962. export const ChanliangAdd = (data) => {
  963. return service({
  964. url:'/mes_server/facility/ChanliangAdd',
  965. method: 'post',
  966. data
  967. })
  968. }
  969. export const AdditionalInspectionRecordAdd = (data) => {
  970. return service({
  971. url:'/mes_server/facility/AdditionalInspectionRecordAdd',
  972. method: 'post',
  973. data
  974. })
  975. }
  976. export const ProcessInspectionRecordsItemAdd = (data) => {
  977. return service({
  978. url:'/mes_server/facility/ProcessInspectionRecordsItemAdd',
  979. method: 'post',
  980. data
  981. })
  982. }
  983. //日产量上报添加->工单资料获取
  984. export const ChanliangWorkorder = (params) => {
  985. return service({
  986. url: '/mes_server/facility/ChanliangWorkorder',
  987. method: 'get',
  988. params
  989. })
  990. }
  991. //日产量上报->印件资料
  992. export const ChanliangPrintDetail = (params) => {
  993. return service({
  994. url: '/mes_server/facility/ChanliangPrintDetail',
  995. method: 'get',
  996. params
  997. })
  998. }
  999. //日产量上报添加->工艺资料
  1000. export const ChanliangProcessDetail = (params) => {
  1001. return service({
  1002. url: '/mes_server/facility/ChanliangProcessDetail',
  1003. method: 'get',
  1004. params
  1005. })
  1006. }
  1007. //班组维护->员工姓名获取
  1008. export const EmployeeData = (params) => {
  1009. return service({
  1010. url: '/mes_server/facility/EmployeeData',
  1011. method: 'get',
  1012. params
  1013. })
  1014. }
  1015. export const RemodelDetail = (params) => {
  1016. return service({
  1017. url: '/mes_server/Facility/RemodelDetail',
  1018. method: 'get',
  1019. params
  1020. })
  1021. }