jitairibaobiao.js 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585
  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 dailygetDetail= (params) => {
  375. return service({
  376. url:'/mes_server/employee_daily_salary/getDetail',
  377. method: 'get',
  378. params
  379. })
  380. }
  381. //员工定位
  382. export const dailysearch= (params) => {
  383. return service({
  384. url:'/mes_server/employee_daily_salary/search',
  385. method: 'get',
  386. params
  387. })
  388. }
  389. //成品入仓
  390. //侧边栏
  391. export const finishedTab= (params) => {
  392. return service({
  393. url:'/mes_server/finished_product_warehousing/getTab',
  394. method: 'get',
  395. params
  396. })
  397. }
  398. //侧边栏 根据工单
  399. export const finishedTabByGdbh= (params) => {
  400. return service({
  401. url:'/mes_server/finished_product_warehousing/getTabByGdbh',
  402. method: 'get',
  403. params
  404. })
  405. }
  406. //列表
  407. export const finishedList= (params) => {
  408. return service({
  409. url:'/mes_server/finished_product_warehousing/getList',
  410. method: 'get',
  411. params
  412. })
  413. }
  414. //定位
  415. export const finishedlocate= (params) => {
  416. return service({
  417. url:'/mes_server/finished_product_warehousing/locate',
  418. method: 'get',
  419. params
  420. })
  421. }
  422. //获取详细信息
  423. export const finishedInfo= (params) => {
  424. return service({
  425. url:'/mes_server/finished_product_warehousing/getInfo',
  426. method: 'get',
  427. params
  428. })
  429. }
  430. //获取仓库信息
  431. export const finishedgetCk= (params) => {
  432. return service({
  433. url:'/mes_server/finished_product_warehousing/getCk',
  434. method: 'get',
  435. params
  436. })
  437. }
  438. //获取工单信息
  439. export const finishedgetGd= (params) => {
  440. return service({
  441. url:'/mes_server/finished_product_warehousing/getGd',
  442. method: 'get',
  443. params
  444. })
  445. }
  446. //查询工单数量
  447. export const finishedgetGdsl= (params) => {
  448. return service({
  449. url:'/mes_server/finished_product_warehousing/getGdsl',
  450. method: 'get',
  451. params
  452. })
  453. }
  454. //删除
  455. export const finisheddel= (params) => {
  456. return service({
  457. url:'/mes_server/finished_product_warehousing/del',
  458. method: 'get',
  459. params
  460. })
  461. }
  462. //设备运行跟踪
  463. //左侧菜单
  464. export const facilityTab= (params) => {
  465. return service({
  466. url:'/mes_server/facility/getTab',
  467. method: 'get',
  468. params
  469. })
  470. }
  471. //当日上报产量
  472. export const facilitychanLiang= (params) => {
  473. return service({
  474. url:'/mes_server/facility/chanLiang',
  475. method: 'get',
  476. params
  477. })
  478. }
  479. //当日制程检验记录
  480. export const facilityInspect= (params) => {
  481. return service({
  482. url:'/mes_server/facility/Inspect',
  483. method: 'get',
  484. params
  485. })
  486. }
  487. //当前生产订单
  488. export const facilityProduction= (params) => {
  489. return service({
  490. url:'/mes_server/facility/Production',
  491. method: 'get',
  492. params
  493. })
  494. }
  495. //班组人员及分配比例
  496. export const facilityTeam= (params) => {
  497. return service({
  498. url:'/mes_server/facility/Team',
  499. method: 'get',
  500. params
  501. })
  502. }
  503. //班组维护->机台编号下拉框
  504. export const facilityMachineList= (params) => {
  505. return service({
  506. url:'/mes_server/facility/MachineList',
  507. method: 'get',
  508. params
  509. })
  510. }
  511. //设备点检->检验项目
  512. export const facilityInspectionItem= (params) => {
  513. return service({
  514. url:'/mes_server/facility/InspectionItem',
  515. method: 'get',
  516. params
  517. })
  518. }
  519. //设备点检->左侧菜单栏
  520. export const facilitySpotCheckItem= (params) => {
  521. return service({
  522. url:'/mes_server/facility/SpotCheckItem',
  523. method: 'get',
  524. params
  525. })
  526. }
  527. //关联工资核算
  528. //设备点检->左侧菜单栏
  529. export const relatedTab= (params) => {
  530. return service({
  531. url:'/mes_server/related_salary_accounting/getTab',
  532. method: 'get',
  533. params
  534. })
  535. }
  536. //关联工资核算上侧列表
  537. export const relatedList= (params) => {
  538. return service({
  539. url:'/mes_server/related_salary_accounting/getList',
  540. method: 'get',
  541. params
  542. })
  543. }
  544. //关联工资核算上侧列表
  545. export const relatedsearch= (params) => {
  546. return service({
  547. url:'/mes_server/related_salary_accounting/search',
  548. method: 'get',
  549. params
  550. })
  551. }