1 regel
6.9 KiB
JavaScript
1 regel
6.9 KiB
JavaScript
"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/qualityReportexport",method:"post",responseType:"blob",data:t})}function C(t){return(0,o.Z)({url:"/report/GlassReport/thickReport",method:"post",data:t})}function Z(t){return(0,o.Z)({url:"/report/GlassReport/thickReportexport",method:"post",responseType:"blob",data:t})}function G(t){return(0,o.Z)({url:"/quality/finalpackaging/queryGlassData",method:"post",data:t})}function k(t){return(0,o.Z)({url:"/quality/finalpackaging/claGlassData",method:"post",data:t})}function w(t){return(0,o.Z)({url:"/report/GlassReport/getGlassVoid",method:"post",data:t})}function y(t){return(0,o.Z)({url:"/report/GlassReport/getUnitVoid",method:"post",data:t})}},5002:function(t,r,e){t.exports=e.p+"img/report.b2b3c253.png"},6507:function(t){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAABmJLR0QA/wD/AP+gvaeTAAACUUlEQVRYhe2UzUsVYRTGf2dmrheuSZgFRUEGSS5a9GW66HtVi1pF0iraBK38A5JatYywVgVJ/gFtioh2kmIRViCBkkpZm8gkUBHGue85LTQTnXfuHbBV94GzmXPe53nOnPe8UEMN/zvEl7CpYhfGbaA+JZ0Aj6U5vmaGMFV8CFwBCim18wg3ZHd8L5+BL8U5jE2Z9o1WxARkNLNOmJfmuCEtFXkPuQriAGgDtqRQAV4uvwG1yvpBjtrcBqrhTNYY2VADmoMlT+2GGlgZwb8wYJQz8wCOcpU63jr/9FSfoYY3zD5Rl4xSSsZQG8+sVX3qk/F3+LN8iaboFASN63LOLRC7AdlPDGBvkiMUw+OEYSmlk1/MlPvzGyixGSf7EF2/wxIsUh+NQTwLIB3Mgntu5gJGCgcw24qFn+VgPO7l/0PlS9j7wmugI+PsDKVkj7QyB2DvojOIPAD2rmIfRIOrcjie8JFk3AFrz56rNTFfaAGw4egYxgvMfmB2FgtacHoZp7sw98qG2eGTydqCiu8rutyA0QOMMFc+KacpL1/6CXtLPxJ9hPAmuOs5/0AVAdgQO1EO4ezOkvhfyFG+o/RhcsEnswEPUd0WVAH5llpj8hW1pkyK9INVRAIEi1MYCSZtqTxKO4Z3G7IuYeVgeQWdPUG124ZWbQBgg+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