jitairibaobiao.js 23 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073
  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. export const CoefficientEdit = (data) => {
  712. return service({
  713. url:'/mes_server/Facility/CoefficientEdit',
  714. method: 'post',
  715. data
  716. })
  717. }
  718. //每日上报产量色度
  719. export const ChromaDataEdit = (data) => {
  720. return service({
  721. url:'/mes_server/Facility/ChromaDataEdit',
  722. method: 'post',
  723. data
  724. })
  725. }
  726. //关联工资核算
  727. //设备点检->左侧菜单栏
  728. export const relatedTab= (params) => {
  729. return service({
  730. url:'/mes_server/related_salary_accounting/getTab',
  731. method: 'get',
  732. params
  733. })
  734. }
  735. //关联工资核算上侧列表
  736. export const relatedList= (params) => {
  737. return service({
  738. url:'/mes_server/related_salary_accounting/getList',
  739. method: 'get',
  740. params
  741. })
  742. }
  743. //定位
  744. export const relatedsearch= (params) => {
  745. return service({
  746. url:'/mes_server/related_salary_accounting/search',
  747. method: 'get',
  748. params
  749. })
  750. }
  751. //关联工资核算下侧列表
  752. export const relatedAllList= (params) => {
  753. return service({
  754. url:'/mes_server/related_salary_accounting/getAllList',
  755. method: 'get',
  756. params
  757. })
  758. }
  759. //关联组员权重查询
  760. export const weightDetail= (params) => {
  761. return service({
  762. url:'/mes_server/related_salary_accounting/weightDetail',
  763. method: 'get',
  764. params
  765. })
  766. }
  767. //关联工资设置
  768. export const setting= (params) => {
  769. return service({
  770. url:'/mes_server/related_salary_accounting/setting',
  771. method: 'get',
  772. params
  773. })
  774. }
  775. //更新关联系数
  776. export const updateNum= (params) => {
  777. return service({
  778. url:'/mes_server/related_salary_accounting/updateNum',
  779. method: 'get',
  780. params
  781. })
  782. }
  783. //批量附加组员定位
  784. export const batchAddSearch= (params) => {
  785. return service({
  786. url:'/mes_server/related_salary_accounting/batchAddSearch',
  787. method: 'get',
  788. params
  789. })
  790. }
  791. //批量附加组员列表
  792. export const batchAddLst= (params) => {
  793. return service({
  794. url:'/mes_server/related_salary_accounting/batchAddLst',
  795. method: 'get',
  796. params
  797. })
  798. }
  799. //关联组员复制列表
  800. export const copyLst= (params) => {
  801. return service({
  802. url:'/mes_server/related_salary_accounting/copyLst',
  803. method: 'get',
  804. params
  805. })
  806. }
  807. //批量附加组员
  808. export const batchAdd= (data) => {
  809. return service({
  810. url:'/mes_server/related_salary_accounting/batchAdd',
  811. method: 'post',
  812. data
  813. })
  814. }
  815. //批量删除组员
  816. export const batchDel= (data) => {
  817. return service({
  818. url:'/mes_server/related_salary_accounting/batchDel',
  819. method: 'post',
  820. data
  821. })
  822. }
  823. //关联组员复制
  824. export const copy= (data) => {
  825. return service({
  826. url:'/mes_server/related_salary_accounting/copy',
  827. method: 'post',
  828. data
  829. })
  830. }
  831. //车间报工
  832. //获取机台生产信息
  833. export const reportProduceInfo= (params) => {
  834. return service({
  835. url:'/mes_server/reporting_work/getProduceInfo',
  836. method: 'get',
  837. params
  838. })
  839. }
  840. //获取员工姓名
  841. export const reportName= (params) => {
  842. return service({
  843. url:'/mes_server/reporting_work/getStaffName',
  844. method: 'get',
  845. params
  846. })
  847. }
  848. //获取报工单其他信息
  849. export const reportInfo= (params) => {
  850. return service({
  851. url:'/mes_server/reporting_work/getMachineReportInfo',
  852. method: 'get',
  853. params
  854. })
  855. }
  856. //获取机台编号
  857. export const reportMachineMac= (params) => {
  858. return service({
  859. url:'/mes_server/reporting_work/getMachineMac',
  860. method: 'get',
  861. params
  862. })
  863. }
  864. //设置工单工序完工
  865. export const setProcessStatus = (data) => {
  866. return service({
  867. url:'/mes_server/reporting_work/setProcessStatus',
  868. method: 'post',
  869. data
  870. })
  871. }
  872. //设置机台状态
  873. export const SetMachineStatus = (params) => {
  874. return service({
  875. url:'/mes_server/reporting_work/setMachineStatus',
  876. method: 'post',
  877. params
  878. })
  879. }
  880. //日产量上报
  881. export const submitDailyProduction = (data) => {
  882. return service({
  883. url:'/mes_server/reporting_work/submitDailyProduction',
  884. method: 'post',
  885. data
  886. })
  887. }
  888. //提交巡查记录
  889. export const submitPatrolRecord = (data) => {
  890. return service({
  891. url:'/mes_server/reporting_work/submitPatrolRecord',
  892. method: 'post',
  893. data
  894. })
  895. }
  896. //设置机台状态
  897. export const setMachineStatus = (data) => {
  898. return service({
  899. url:'/mes_server/reporting_work/setMachineStatus',
  900. method: 'post',
  901. data
  902. })
  903. }
  904. //获取机台编号
  905. export const getMachineMac = (params) => {
  906. return service({
  907. url:'/mes_server/reporting_work/getMachineMac',
  908. method: 'get',
  909. params
  910. })
  911. }
  912. export const InspectionItemAdd = (data) => {
  913. return service({
  914. url:'/mes_server/facility/InspectionItemAdd',
  915. method: 'post',
  916. data
  917. })
  918. }
  919. export const ProcessInspectionRecordsItem = (params) => {
  920. return service({
  921. url:'/mes_server/facility/ProcessInspectionRecordsItem',
  922. method: 'get',
  923. params
  924. })
  925. }
  926. export const MachineDetailList = (params) => {
  927. return service({
  928. url:'/mes_server/facility/MachineDetailList',
  929. method: 'get',
  930. params
  931. })
  932. }
  933. //获取机台
  934. export const reportGetJtbh= (params) => {
  935. return service({
  936. url:'/mes_server/machine_production_report/getJtbh',
  937. method: 'get',
  938. params
  939. })
  940. }
  941. //定额代号查询比例
  942. export const dedhGetRate= (params) => {
  943. return service({
  944. url:'/mes_server/machine_production_report/dedhGetRate',
  945. method: 'get',
  946. params
  947. })
  948. }
  949. //设备运行跟踪---换型清场
  950. export const remodelGetTab = (data) => {
  951. return service({
  952. url: '/mes_server/facility/remodelGetTab',
  953. method: 'get',
  954. data
  955. })
  956. }
  957. export const ChanliangDel = (params) => {
  958. return service({
  959. url: '/mes_server/facility/ChanliangDel',
  960. method: 'get',
  961. params
  962. })
  963. }
  964. export const ModelChangeRecord = (params) => {
  965. return service({
  966. url: '/mes_server/facility/ModelChangeRecord',
  967. method: 'get',
  968. params
  969. })
  970. }
  971. export const index = (params) => {
  972. return service({
  973. url: '/mes_server/Facility/index',
  974. method: 'get',
  975. params
  976. })
  977. }
  978. export const ChanliangAdd = (data) => {
  979. return service({
  980. url:'/mes_server/facility/ChanliangAdd',
  981. method: 'post',
  982. data
  983. })
  984. }
  985. export const AdditionalInspectionRecordAdd = (data) => {
  986. return service({
  987. url:'/mes_server/facility/AdditionalInspectionRecordAdd',
  988. method: 'post',
  989. data
  990. })
  991. }
  992. export const ProcessInspectionRecordsItemAdd = (data) => {
  993. return service({
  994. url:'/mes_server/facility/ProcessInspectionRecordsItemAdd',
  995. method: 'post',
  996. data
  997. })
  998. }
  999. //日产量上报添加->工单资料获取
  1000. export const ChanliangWorkorder = (params) => {
  1001. return service({
  1002. url: '/mes_server/facility/ChanliangWorkorder',
  1003. method: 'get',
  1004. params
  1005. })
  1006. }
  1007. //日产量上报->印件资料
  1008. export const ChanliangPrintDetail = (params) => {
  1009. return service({
  1010. url: '/mes_server/facility/ChanliangPrintDetail',
  1011. method: 'get',
  1012. params
  1013. })
  1014. }
  1015. //日产量上报添加->工艺资料
  1016. export const ChanliangProcessDetail = (params) => {
  1017. return service({
  1018. url: '/mes_server/facility/ChanliangProcessDetail',
  1019. method: 'get',
  1020. params
  1021. })
  1022. }
  1023. //班组维护->员工姓名获取
  1024. export const EmployeeData = (params) => {
  1025. return service({
  1026. url: '/mes_server/facility/EmployeeData',
  1027. method: 'get',
  1028. params
  1029. })
  1030. }
  1031. export const RemodelDetail = (params) => {
  1032. return service({
  1033. url: '/mes_server/Facility/RemodelDetail',
  1034. method: 'get',
  1035. params
  1036. })
  1037. }