tft-fe/dist/js/6714.804e6476.js

1 line
6.9 KiB
JavaScript
Raw Normal View History

"use strict";(self["webpackChunktft_mes"]=self["webpackChunktft_mes"]||[]).push([[6714],{6714:function(t,r,e){e.r(r),e.d(r,{default:function(){return l}});var o=function(){var t=this,r=t._self._c;return r("div",{staticClass:"reoprtManager"},[r("div",{staticClass:"report"},[r("div",{staticClass:"reportBox"},[t._m(0),r("div",{staticClass:"numBox"},[r("div",{staticClass:"reportNum"},[r("div",{staticClass:"num"},[t._v(t._s(t.totalReports))]),r("div",{staticClass:"text"},[t._m(1),r("p",{staticClass:"letter"},[t._v(" "+t._s(t.totalReports>1?"Reports":"Report")+" ")])])]),r("div",{staticClass:"detail detail1",on:{click:function(r){return t.toDetail()}}},[t._v("了解详情")])])])]),t._l(t.reportList,(function(o,a){return r("div",{key:a,staticClass:"reportDesc"},[r("div",[r("div",{staticClass:"reportNum"},[r("div",{staticClass:"num"},[t._v(t._s(o.quantity))]),r("div",{staticClass:"text"},[r("p",{staticClass:"font"},[r("img",{staticStyle:{width:"32px",height:"32px"},attrs:{src:e(6774),alt:""}}),r("span",{staticClass:"title",attrs:{title:o.name}},[t._v(t._s(o.name))])]),r("p",{staticClass:"letter"},[t._v(t._s(o.quantity>1?"Reports":"Report"))])])]),r("div",{staticClass:"detail detail2",on:{click:function(r){return t.toDetail(o.id)}}},[t._v("了解详情")])])])}))],2)},a=[function(){var t=this,r=t._self._c;return r("div",{staticClass:"imgBox"},[r("img",{attrs:{src:e(5002),alt:""}})])},function(){var t=this,r=t._self._c;return r("p",{staticClass:"font"},[r("img",{staticStyle:{width:"32px",height:"32px"},attrs:{src:e(6507),alt:""}}),r("span",[t._v("全部报表")])])}],n=e(6527),s={name:"ReportList",data(){return{totalReports:0,reportList:[]}},mounted(){this.getList()},methods:{getList(){(0,n.J_)({}).then((t=>{0===t.code&&t.data.length>0?this.reportList=t.data:this.reportList=[]})),(0,n.up)({}).then((t=>{0===t.code&&t.data.length>0?this.totalReports=t.data[0].reportNum:this.totalReports=0}))},toDetail(t){this.$router.push({name:"reportListDetail",params:{categoryId:t||""}})}}},u=s,i=e(1001),p=(0,i.Z)(u,o,a,!1,null,"a6efde02",null),l=p.exports},6527:function(t,r,e){e.d(r,{AT:function(){return G},Hg:function(){return d},J_:function(){return a},Kx:function(){return w},QL:function(){return i},V0:function(){return m},W0:function(){return f},a:function(){return A},an:function(){return Z},bu:function(){return C},fL:function(){return k},gc:function(){return y},kB:function(){return n},m3:function(){return c},oR:function(){return R},sy:function(){return s},uW:function(){return h},uj:function(){return v},up:function(){return l},wF:function(){return g},wy:function(){return u},yk:function(){return p}});var o=e(8859);function a(t){return(0,o.Z)({url:"/report/report-sheet-category/list",method:"post",data:t})}function n(t){return(0,o.Z)({url:"/report/report-sheet/page",method:"post",data:t})}function s(t){return(0,o.Z)({url:"/report/report-sheet/update",method:"post",data:t})}function u(t){return(0,o.Z)({url:"/report/report-sheet/delete",method:"post",data:t})}function i(t){return(0,o.Z)({url:"/report/report-sheet/get",method:"post",data:t})}function p(t){return(0,o.Z)({url:"/report/report-sheet-category/page",method:"post",data:t})}function l(t){return(0,o.Z)({url:"/report/GlassReport/getReportNum",method:"post",data:t})}function c(t){return(0,o.Z)({url:"/report/report-sheet-category/add",method:"post",data:t})}function A(t){return(0,o.Z)({url:"/report/report-sheet-category/update",method:"post",data:t})}function d(t){return(0,o.Z)({url:"/report/report-sheet-category/get",method:"post",data:t})}function f(t){return(0,o.Z)({url:"/report/report-sheet-category/delete",method:"post",data:t})}function g(t){return(0,o.Z)({url:"/order/proReport/getProductReportData",method:"post",data:t})}function m(t){return(0,o.Z)({url:"/order/proReport/exportProductReport",method:"post",responseType:"blob",data:t,timeout:6e4})}function h(t){return(0,o.Z)({url:"/report/GlassReport/listGlass",method:"post",data:t})}function v(t){return(0,o.Z)({url:"/report/GlassReport/qualityReport",method:"post",data:t})}function R(t){return(0,o.Z)({url:"/report/GlassReport/qualityR