123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190 |
- /*********************** 【质量中心-查看质检结果】API ********************/
- import axiosApi from '../AxiosApi.js'
- const apiList = {
- getList: {
- method: 'POST',
- url: `/authority/productLinePerformance/query`
- },
- page: {
- method: 'POST',
- url: `/authority/productLinePerformance/page`
- },
- queryOperatorDetailPerformance: {
- method: 'POST',
- url: `/authority/productLinePerformance/queryOperatorDetailPerformance`
- },
- queryOperatorDetailsPerformance: {
- method: 'POST',
- url: `/authority/productLinePerformance/queryOperatorDetailsPerformance`
- },
- deviceResourceSum: {
- method: 'POST',
- url: `/authority/productLinePerformance/deviceResourceSum`
- },
- queryProductionLineOee: {
- method: 'POST',
- url: `/authority/productLinePerformance/queryProductionLineOee`
- },
- expectProduct:{
- method:'GET',
- url:`/authority/productLinePerformance/expectProduct`
- },
- expectProductInfo:{
- method:'GET',
- url:`/authority/productLinePerformance/expectProductInfo`
- },
- expectProcedure:{
- method:'GET',
- url:`/authority/productLinePerformance/expectProcedure`
- },
- expectprocedureSum:{
- method: 'GET',
- url: `/authority/productLinePerformance/expectprocedureSum`
- },
- }
- export default {
- getList (data) {
- return axiosApi({
- ...apiList.page,
- data
- })
- },
- page (data) {
- return axiosApi({
- ...apiList.page,
- data
- })
- },
- queryOperatorDetailPerformance (data) {
- return axiosApi({
- ...apiList.queryOperatorDetailPerformance,
- data
- })
- },
- queryOperatorDetailsPerformance (data) {
- return axiosApi({
- ...apiList.queryOperatorDetailsPerformance,
- data
- })
- },
- queryProductionLineOee (data) {
- return axiosApi({
- ...apiList.queryProductionLineOee,
- data
- })
- },
- getProductStatistics(page,limit,searchObj){
- return axiosApi({
- url: `/authority/productLinePerformance/getProductStatistics/${page}/${limit}`,
- method: 'post',
- data:searchObj
- })
- },
- getProductInfoStatistics(page,limit,searchObj){
- return axiosApi({
- url: `/authority/productLinePerformance/getProductInfoStatistics/${page}/${limit}`,
- method: 'post',
- data:searchObj
- })
- },
- resourceRate(searchObj){
- return axiosApi({
- url: `/authority/productLinePerformance/resourceRate`,
- method: 'post',
- data:searchObj
- })
- },
- expectProduct(data){
- return axiosApi({
- ...apiList.expectProduct,
- responseType: 'blob',
- data
- })
- },
- expectProductInfo(data){
- return axiosApi({
- ...apiList.expectProductInfo,
- responseType: 'blob',
- data
- })
- },
- queryProcedure(page,limit,searchObj){
- return axiosApi({
- url: `/authority/productLinePerformance/queryProcedure/${page}/${limit}`,
- method: 'post',
- data:searchObj
- })
- },
- expectProcedure(data){
- return axiosApi({
- ...apiList.expectProcedure,
- responseType: 'blob',
- data
- })
- },
- procedureSum(page,limit,searchObj){
- return axiosApi({
- url: `/authority/productLinePerformance/procedureSum/${page}/${limit}`,
- method: 'post',
- data:searchObj
- })
- },
- deviceResourceSum(page,limit,searchObj){
- return axiosApi({
- url: `/authority/productLinePerformance/deviceResourceSum/${page}/${limit}`,
- method: 'post',
- data:searchObj
- })
- },
- frockSearch(page,limit,searchObj){
- return axiosApi({
- url: `/authority/stockInfo/frockSearch/${page}/${limit}`,
- method: 'post',
- data:searchObj
- })
- },
- deviceResourceDetail(page,limit,searchObj){
- return axiosApi({
- url: `/authority/productLinePerformance/deviceResourceDetail/${page}/${limit}`,
- method: 'post',
- data:searchObj
- })
- },
- procedureInfo(searchObj) {
- return axiosApi({
- url: `/authority/productLinePerformance/procedureInfo`,
- method: 'post',
- data:searchObj
- })
- },
- expectprocedureSum(data){
- return axiosApi({
- ...apiList.expectprocedureSum,
- responseType: 'blob',
- data
- })
- },
- workHourReport(page,limit,searchObj){
- return axiosApi({
- url: `/authority/productLinePerformance/workHourReport/${page}/${limit}`,
- method: 'post',
- data:searchObj
- })
- },
- otherHourReport(page,limit,searchObj){
- return axiosApi({
- url: `/authority/productLinePerformance/otherHourReport/${page}/${limit}`,
- method: 'post',
- data:searchObj
- })
- },
- productionLineRate(){
- return axiosApi({
- url: `/authority/productLinePerformance/productionLineRate`,
- method: 'post'
- })
- },
- }
|