jitairibaobiao.js 17 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826
  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. export const getproductionCount = (data) => {
  45. return service({
  46. url:'/mes_server/machine_production_report/getTab',
  47. method: 'get',
  48. data
  49. })
  50. }
  51. export const getproductionList = (params) => {
  52. return service({
  53. url:'/mes_server/machine_production_report/getList',
  54. method: 'get',
  55. params
  56. })
  57. }
  58. export const getproductionaddCount = (data) => {
  59. return service({
  60. url:'/mes_server/machine_production_report_add/getTab',
  61. method: 'get',
  62. data
  63. })
  64. }
  65. export const getproductionaddList = (params) => {
  66. return service({
  67. url:'/mes_server/machine_production_report_add/getList',
  68. method: 'get',
  69. params
  70. })
  71. }
  72. export const locate = (params) => {
  73. return service({
  74. url:'/mes_server/packaging_process_output/locate',
  75. method: 'get',
  76. params
  77. })
  78. }
  79. export const getInfo = (params) => {
  80. return service({
  81. url:'/mes_server/packaging_process_output/getInfo',
  82. method: 'get',
  83. params
  84. })
  85. }
  86. export const getGxMc = (params) => {
  87. return service({
  88. url:'/mes_server/packaging_process_output/getGxMc',
  89. method: 'get',
  90. params
  91. })
  92. }
  93. export const edit = (params) => {
  94. return service({
  95. url:'/mes_server/packaging_process_output/edit',
  96. method: 'post',
  97. params
  98. })
  99. }
  100. export const del = (params) => {
  101. return service({
  102. url:'/mes_server/packaging_process_output/del',
  103. method: 'post',
  104. params
  105. })
  106. }
  107. export const machineLocate = (params) => {
  108. return service({
  109. url:'/mes_server/inspect/machineLocate',
  110. method: 'get',
  111. params
  112. })
  113. }
  114. export const MachineInfo = (params) => {
  115. return service({
  116. url:'/mes_server/inspect/getMachineInfo',
  117. method: 'get',
  118. params
  119. })
  120. }
  121. export const getYg = (params) => {
  122. return service({
  123. url:'/mes_server/packaging_count_document/getYg',
  124. method: 'get',
  125. params
  126. })
  127. }
  128. export const getMachineGxMc = (params) => {
  129. return service({
  130. url:'/mes_server/inspect/getMachineGxMc',
  131. method: 'get',
  132. params
  133. })
  134. }
  135. export const getMachineDedh = (params) => {
  136. return service({
  137. url:'/mes_server/inspect/getMachineDedh',
  138. method: 'get',
  139. params
  140. })
  141. }
  142. export const getMachineScrapFactor = (params) => {
  143. return service({
  144. url:'/mes_server/inspect/getMachineScrapFactor',
  145. method: 'get',
  146. params
  147. })
  148. }
  149. export const getJtbh = (params) => {
  150. return service({
  151. url:'/mes_server/inspect/getJtbh',
  152. method: 'get',
  153. params
  154. })
  155. }
  156. export const machineEdit = (params) => {
  157. return service({
  158. url:'/mes_server/inspect/machineEdit',
  159. method: 'post',
  160. params
  161. })
  162. }
  163. export const machineDel = (params) => {
  164. return service({
  165. url:'/mes_server/inspect/machineDel',
  166. method: 'post',
  167. params
  168. })
  169. }
  170. //手工检验
  171. //定位
  172. export const shougonglocate= (params) => {
  173. return service({
  174. url:'/mes_server/inspect/locate',
  175. method: 'get',
  176. params
  177. })
  178. }
  179. //获取详细信息
  180. export const shougonggetInfo= (params) => {
  181. return service({
  182. url:'/mes_server/inspect/getInfo',
  183. method: 'get',
  184. params
  185. })
  186. }
  187. //查询印件工序及产品名称
  188. export const shougonggetGxMc= (params) => {
  189. return service({
  190. url:'/mes_server/inspect/getGxMc',
  191. method: 'get',
  192. params
  193. })
  194. }
  195. //获取定额代号
  196. export const shougonggetDedh= (params) => {
  197. return service({
  198. url:'/mes_server/inspect/getDedh',
  199. method: 'get',
  200. params
  201. })
  202. }
  203. //查询废品系数
  204. export const shougonggetScrapFactor= (params) => {
  205. return service({
  206. url:'/mes_server/inspect/getScrapFactor',
  207. method: 'get',
  208. params
  209. })
  210. }
  211. //修改
  212. export const shougongedit= (params) => {
  213. return service({
  214. url:'/mes_server/inspect/edit',
  215. method: 'post',
  216. params
  217. })
  218. }
  219. //删除
  220. export const shougongdel= (params) => {
  221. return service({
  222. url:'/mes_server/inspect/del',
  223. method: 'post',
  224. params
  225. })
  226. }
  227. //按工单显示
  228. export const getInspectCountByGdbh= (params) => {
  229. return service({
  230. url:'/mes_server/inspect/getInspectCountByGdbh',
  231. method: 'get',
  232. params
  233. })
  234. }
  235. //机台生产日报表维护附加
  236. //获取详细信息
  237. export const addgetInfo= (params) => {
  238. return service({
  239. url:'/mes_server/machine_production_report_add/getInfo',
  240. method: 'get',
  241. params
  242. })
  243. }
  244. //获取机台
  245. export const addgetJtbh= (params) => {
  246. return service({
  247. url:'/mes_server/machine_production_report_add/getJtbh',
  248. method: 'get',
  249. params
  250. })
  251. }
  252. //修改
  253. export const addedit= (params) => {
  254. return service({
  255. url:'/mes_server/machine_production_report_add/edit',
  256. method: 'post',
  257. params
  258. })
  259. }
  260. //删除
  261. export const adddel= (params) => {
  262. return service({
  263. url:'/mes_server/machine_production_report_add/del',
  264. method: 'post',
  265. params
  266. })
  267. }
  268. //按工单显示
  269. export const getMachineCountByGdbh= (params) => {
  270. return service({
  271. url:'/mes_server/inspect/getMachineCountByGdbh',
  272. method: 'get',
  273. params
  274. })
  275. }
  276. //机台日报表维护
  277. //定位
  278. export const productionlocate= (params) => {
  279. return service({
  280. url:'/mes_server/machine_production_report/locate',
  281. method: 'get',
  282. params
  283. })
  284. }
  285. //按工单显示
  286. export const productionByGdbh= (params) => {
  287. return service({
  288. url:'/mes_server/machine_production_report/getTabByGdbh',
  289. method: 'get',
  290. params
  291. })
  292. }
  293. //获取详细信息
  294. export const productionInfo= (params) => {
  295. return service({
  296. url:'/mes_server/machine_production_report/getInfo',
  297. method: 'get',
  298. params
  299. })
  300. }
  301. //获取工单名称
  302. export const productionGdmc= (params) => {
  303. return service({
  304. url:'/mes_server/machine_production_report/getGdmc',
  305. method: 'get',
  306. params
  307. })
  308. }
  309. //获取印件名称
  310. export const productionYjmc= (params) => {
  311. return service({
  312. url:'/mes_server/machine_production_report/getYjmc',
  313. method: 'get',
  314. params
  315. })
  316. }
  317. //获取工序信息
  318. export const productionGx= (params) => {
  319. return service({
  320. url:'/mes_server/machine_production_report/getGx',
  321. method: 'get',
  322. params
  323. })
  324. }
  325. //获取定额代号
  326. export const productionDedh= (params) => {
  327. return service({
  328. url:'/mes_server/machine_production_report/getDedh',
  329. method: 'get',
  330. params
  331. })
  332. }
  333. //修改
  334. export const productionedit= (params) => {
  335. return service({
  336. url:'/mes_server/machine_production_report/edit',
  337. method: 'post',
  338. params
  339. })
  340. }
  341. //删除
  342. export const productiondel= (params) => {
  343. return service({
  344. url:'/mes_server/machine_production_report/del',
  345. method: 'post',
  346. params
  347. })
  348. }
  349. //员工日工资
  350. //员工日工资查询侧边栏
  351. export const dailygetTab= () => {
  352. return service({
  353. url:'/mes_server/employee_daily_salary/getTab',
  354. method: 'get',
  355. })
  356. }
  357. //员工日工资查询上侧列表
  358. export const dailygetList= (params) => {
  359. return service({
  360. url:'/mes_server/employee_daily_salary/getList',
  361. method: 'get',
  362. params
  363. })
  364. }
  365. //员工日工资查询下侧列表
  366. export const dailygetAllList= (params) => {
  367. return service({
  368. url:'/mes_server/employee_daily_salary/getAllList',
  369. method: 'get',
  370. params
  371. })
  372. }
  373. //每日工资统计
  374. export const statistics= (params) => {
  375. return service({
  376. url:'/mes_server/employee_daily_salary/statistics',
  377. method: 'get',
  378. params
  379. })
  380. }
  381. //月度计时工资调整
  382. export const wageAdjustment= (params) => {
  383. return service({
  384. url:'/mes_server/employee_daily_salary/wageAdjustment',
  385. method: 'get',
  386. params
  387. })
  388. }
  389. //员工计件明细
  390. export const getPieceDetail= (params) => {
  391. return service({
  392. url:'/mes_server/employee_daily_salary/getPieceDetail',
  393. method: 'get',
  394. params
  395. })
  396. }
  397. //员工日工资查询详情
  398. export const dailygetDetail= (params) => {
  399. return service({
  400. url:'/mes_server/employee_daily_salary/getDetail',
  401. method: 'get',
  402. params
  403. })
  404. }
  405. //员工定位
  406. export const dailysearch= (params) => {
  407. return service({
  408. url:'/mes_server/employee_daily_salary/search',
  409. method: 'get',
  410. params
  411. })
  412. }
  413. //成品入仓
  414. //侧边栏
  415. export const finishedTab= (params) => {
  416. return service({
  417. url:'/mes_server/finished_product_warehousing/getTab',
  418. method: 'get',
  419. params
  420. })
  421. }
  422. //侧边栏 根据工单
  423. export const finishedTabByGdbh= (params) => {
  424. return service({
  425. url:'/mes_server/finished_product_warehousing/getTabByGdbh',
  426. method: 'get',
  427. params
  428. })
  429. }
  430. //列表
  431. export const finishedList= (params) => {
  432. return service({
  433. url:'/mes_server/finished_product_warehousing/getList',
  434. method: 'get',
  435. params
  436. })
  437. }
  438. //定位
  439. export const finishedlocate= (params) => {
  440. return service({
  441. url:'/mes_server/finished_product_warehousing/locate',
  442. method: 'get',
  443. params
  444. })
  445. }
  446. //获取详细信息
  447. export const finishedInfo= (params) => {
  448. return service({
  449. url:'/mes_server/finished_product_warehousing/getInfo',
  450. method: 'get',
  451. params
  452. })
  453. }
  454. //获取仓库信息
  455. export const finishedgetCk= (params) => {
  456. return service({
  457. url:'/mes_server/finished_product_warehousing/getCk',
  458. method: 'get',
  459. params
  460. })
  461. }
  462. //获取工单信息
  463. export const finishedgetGd= (params) => {
  464. return service({
  465. url:'/mes_server/finished_product_warehousing/getGd',
  466. method: 'get',
  467. params
  468. })
  469. }
  470. //查询工单数量
  471. export const finishedgetGdsl= (params) => {
  472. return service({
  473. url:'/mes_server/finished_product_warehousing/getGdsl',
  474. method: 'get',
  475. params
  476. })
  477. }
  478. //删除
  479. export const finisheddel= (params) => {
  480. return service({
  481. url:'/mes_server/finished_product_warehousing/del',
  482. method: 'get',
  483. params
  484. })
  485. }
  486. //设备运行跟踪
  487. //左侧菜单
  488. export const facilityTab= (params) => {
  489. return service({
  490. url:'/mes_server/facility/getTab',
  491. method: 'get',
  492. params
  493. })
  494. }
  495. //当日上报产量
  496. export const facilitychanLiang= (params) => {
  497. return service({
  498. url:'/mes_server/facility/chanLiang',
  499. method: 'get',
  500. params
  501. })
  502. }
  503. //当日制程检验记录
  504. export const facilityInspect= (params) => {
  505. return service({
  506. url:'/mes_server/facility/Inspect',
  507. method: 'get',
  508. params
  509. })
  510. }
  511. //设备工作清单
  512. export const facilityWorklist= (params) => {
  513. return service({
  514. url:'/mes_server/facility/EquipmentWorklist',
  515. method: 'get',
  516. params
  517. })
  518. }
  519. //印件、工序、完成数量
  520. export const facilityProcedure= (params) => {
  521. return service({
  522. url:'/mes_server/facility/Procedure',
  523. method: 'get',
  524. params
  525. })
  526. }
  527. //机台印版领用->左侧菜单
  528. export const facilityPrintGetTab= (params) => {
  529. return service({
  530. url:'/mes_server/facility/PrintGetTab',
  531. method: 'get',
  532. params
  533. })
  534. }
  535. //机台印版领用->右侧详情
  536. export const facilityPrintDetail= (params) => {
  537. return service({
  538. url:'/mes_server/facility/PrintDetail',
  539. method: 'get',
  540. params
  541. })
  542. }
  543. //当前生产订单
  544. export const facilityProduction= (params) => {
  545. return service({
  546. url:'/mes_server/facility/Production',
  547. method: 'get',
  548. params
  549. })
  550. }
  551. //管理人员现场巡检记录->展示
  552. export const fieldInspectionRecord= (params) => {
  553. return service({
  554. url:'/mes_server/facility/FieldInspectionRecord',
  555. method: 'get',
  556. params
  557. })
  558. }
  559. //班组人员及分配比例
  560. export const facilityTeam= (params) => {
  561. return service({
  562. url:'/mes_server/facility/Team',
  563. method: 'get',
  564. params
  565. })
  566. }
  567. //当班产量明细
  568. export const facilityDetail= (params) => {
  569. return service({
  570. url:'/mes_server/facility/OutputDetail',
  571. method: 'get',
  572. params
  573. })
  574. }
  575. //检验记录
  576. export const inspectionRecord= (params) => {
  577. return service({
  578. url:'/mes_server/facility/InspectionRecord',
  579. method: 'get',
  580. params
  581. })
  582. }
  583. //班组维护->机台编号下拉框
  584. export const facilityMachineList= (params) => {
  585. return service({
  586. url:'/mes_server/facility/MachineList',
  587. method: 'get',
  588. params
  589. })
  590. }
  591. //设备点检->检验项目
  592. export const facilityInspectionItem= (params) => {
  593. return service({
  594. url:'/mes_server/facility/InspectionItem',
  595. method: 'get',
  596. params
  597. })
  598. }
  599. //设备点检->左侧菜单栏
  600. export const facilitySpotCheckItem= (params) => {
  601. return service({
  602. url:'/mes_server/facility/SpotCheckItem',
  603. method: 'get',
  604. params
  605. })
  606. }
  607. //关联工资核算
  608. //设备点检->左侧菜单栏
  609. export const relatedTab= (params) => {
  610. return service({
  611. url:'/mes_server/related_salary_accounting/getTab',
  612. method: 'get',
  613. params
  614. })
  615. }
  616. //关联工资核算上侧列表
  617. export const relatedList= (params) => {
  618. return service({
  619. url:'/mes_server/related_salary_accounting/getList',
  620. method: 'get',
  621. params
  622. })
  623. }
  624. //定位
  625. export const relatedsearch= (params) => {
  626. return service({
  627. url:'/mes_server/related_salary_accounting/search',
  628. method: 'get',
  629. params
  630. })
  631. }
  632. //关联工资核算下侧列表
  633. export const relatedAllList= (params) => {
  634. return service({
  635. url:'/mes_server/related_salary_accounting/getAllList',
  636. method: 'get',
  637. params
  638. })
  639. }
  640. //关联组员权重查询
  641. export const weightDetail= (params) => {
  642. return service({
  643. url:'/mes_server/related_salary_accounting/weightDetail',
  644. method: 'get',
  645. params
  646. })
  647. }
  648. //关联工资设置
  649. export const setting= (params) => {
  650. return service({
  651. url:'/mes_server/related_salary_accounting/setting',
  652. method: 'get',
  653. params
  654. })
  655. }
  656. //更新关联系数
  657. export const updateNum= (params) => {
  658. return service({
  659. url:'/mes_server/related_salary_accounting/updateNum',
  660. method: 'get',
  661. params
  662. })
  663. }
  664. //批量附加组员定位
  665. export const batchAddSearch= (params) => {
  666. return service({
  667. url:'/mes_server/related_salary_accounting/batchAddSearch',
  668. method: 'get',
  669. params
  670. })
  671. }
  672. //批量附加组员列表
  673. export const batchAddLst= (params) => {
  674. return service({
  675. url:'/mes_server/related_salary_accounting/batchAddLst',
  676. method: 'get',
  677. params
  678. })
  679. }
  680. //关联组员复制列表
  681. export const copyLst= (params) => {
  682. return service({
  683. url:'/mes_server/related_salary_accounting/copyLst',
  684. method: 'get',
  685. params
  686. })
  687. }
  688. //批量附加组员
  689. export const batchAdd= (data) => {
  690. return service({
  691. url:'/mes_server/related_salary_accounting/batchAdd',
  692. method: 'post',
  693. data
  694. })
  695. }
  696. //批量删除组员
  697. export const batchDel= (data) => {
  698. return service({
  699. url:'/mes_server/related_salary_accounting/batchDel',
  700. method: 'post',
  701. data
  702. })
  703. }
  704. //关联组员复制
  705. export const copy= (data) => {
  706. return service({
  707. url:'/mes_server/related_salary_accounting/copy',
  708. method: 'post',
  709. data
  710. })
  711. }
  712. //车间报工
  713. //获取机台生产信息
  714. export const reportProduceInfo= (params) => {
  715. return service({
  716. url:'/mes_server/reporting_work/getProduceInfo',
  717. method: 'get',
  718. params
  719. })
  720. }
  721. //获取员工姓名
  722. export const reportName= (params) => {
  723. return service({
  724. url:'/mes_server/reporting_work/getStaffName',
  725. method: 'get',
  726. params
  727. })
  728. }
  729. //获取报工单其他信息
  730. export const reportInfo= (params) => {
  731. return service({
  732. url:'/mes_server/reporting_work/getMachineReportInfo',
  733. method: 'get',
  734. params
  735. })
  736. }
  737. //获取机台编号
  738. export const reportMachineMac= (params) => {
  739. return service({
  740. url:'/mes_server/reporting_work/getMachineMac',
  741. method: 'get',
  742. params
  743. })
  744. }
  745. //设置工单工序完工
  746. export const setProcessStatus = (params) => {
  747. return service({
  748. url:'/mes_server/reporting_work/setProcessStatus',
  749. method: 'post',
  750. params
  751. })
  752. }
  753. //设置机台状态
  754. export const SetMachineStatus = (params) => {
  755. return service({
  756. url:'/mes_server/reporting_work/setMachineStatus',
  757. method: 'post',
  758. params
  759. })
  760. }
  761. //日产量上报
  762. export const submitDailyProduction = (params) => {
  763. return service({
  764. url:'/mes_server/reporting_work/submitDailyProduction',
  765. method: 'post',
  766. params
  767. })
  768. }
  769. //提交巡查记录
  770. export const submitPatrolRecord = (params) => {
  771. return service({
  772. url:'/mes_server/reporting_work/submitPatrolRecord',
  773. method: 'post',
  774. params
  775. })
  776. }
  777. //设置机台状态
  778. export const setMachineStatus = (params) => {
  779. return service({
  780. url:'/mes_server/reporting_work/setMachineStatus',
  781. method: 'post',
  782. params
  783. })
  784. }
  785. //获取机台编号
  786. export const getMachineMac = (params) => {
  787. return service({
  788. url:'/mes_server/reporting_work/getMachineMac',
  789. method: 'get',
  790. params
  791. })
  792. }