Your Name
2022-11-30 f0cd5a4fe3b366fa753b8da5e387673c30c4d0f7
1
(this.webpackJsonp=this.webpackJsonp||[]).push([["chunk-4d8e"],{"1Dvt":function(t,e,r){"use strict";r.d(e,"r",function(){return o}),r.d(e,"d",function(){return i}),r.d(e,"c",function(){return c}),r.d(e,"q",function(){return u}),r.d(e,"k",function(){return s}),r.d(e,"l",function(){return l}),r.d(e,"g",function(){return d}),r.d(e,"i",function(){return p}),r.d(e,"f",function(){return h}),r.d(e,"h",function(){return m}),r.d(e,"e",function(){return f}),r.d(e,"p",function(){return b}),r.d(e,"a",function(){return y}),r.d(e,"b",function(){return g}),r.d(e,"j",function(){return v}),r.d(e,"o",function(){return j}),r.d(e,"m",function(){return O}),r.d(e,"n",function(){return k});var n=r("X4fA"),a=r("t3Un");function o(t){return Object(a.a)({headers:{Authorization:Object(n.a)()},url:"http://39.104.85.193:4105/stock/info",method:"get",params:t||{}})}function i(t){return Object(a.a)({headers:{Authorization:Object(n.a)()},url:"http://39.104.85.193:4105/stock/enterpriseStaticStock",method:"get",params:t||{}})}function c(t){return Object(a.a)({headers:{Authorization:Object(n.a)()},url:"http://39.104.85.193:4105/stock/enterpriseSale",method:"get",params:t||{}})}function u(t){return Object(a.a)({headers:{Authorization:Object(n.a)()},url:"http://39.104.85.193:4105/stock/saleInfo",method:"get",params:t||{}})}function s(t){return Object(a.a)({headers:{Authorization:Object(n.a)()},url:"http://39.104.85.193:4105/stock/detail",method:"get",params:t||{}})}function l(t){return Object(a.a)({headers:{Authorization:Object(n.a)()},url:"http://39.104.85.193:4105/statistics/enterprise-type-delivery",method:"post",data:t})}function d(t){return Object(a.a)({headers:{Authorization:Object(n.a)()},url:"http://39.104.85.193:4105/statistics/export/enterprise-type-delivery",method:"post",data:t})}function p(t){return Object(a.a)({headers:{Authorization:Object(n.a)()},url:"http://39.104.85.193:4105/statistics/city-type-delivery",method:"post",data:t})}function h(t){return Object(a.a)({headers:{Authorization:Object(n.a)()},url:"http://39.104.85.193:4105/statistics/export/city-type-delivery",method:"post",data:t})}function m(t){return Object(a.a)({headers:{Authorization:Object(n.a)()},url:"http://39.104.85.193:4105/statistics/city-type-entry",method:"post",data:t})}function f(t){return Object(a.a)({headers:{Authorization:Object(n.a)()},url:"http://39.104.85.193:4105/statistics/export/city-type-entry",method:"post",data:t})}function b(t){return Object(a.a)({headers:{Authorization:Object(n.a)()},url:"http://39.104.85.193:4105/stock/refreshStock",method:"post",data:t})}function y(t){return Object(a.a)({headers:{Authorization:Object(n.a)()},url:"http://39.104.85.193:4105/stock/clearStock",method:"post",data:t})}function g(t){return Object(a.a)({headers:{Authorization:Object(n.a)()},url:"http://39.104.85.193:4105/stock/clearStockByItem",method:"post",data:t})}function v(t){return Object(a.a)({headers:{Authorization:Object(n.a)()},url:"http://39.104.85.193:4105/statistics/city-stock",method:"post",data:t})}function j(t){return Object(a.a)({headers:{Authorization:Object(n.a)()},url:"http://39.104.85.193:4105/statistics/stock/history",method:"post",data:t})}function O(t){return Object(a.a)({headers:{Authorization:Object(n.a)()},url:"http://39.104.85.193:4105/statistics/export/stock/history",method:"post",data:t})}function k(t){return Object(a.a)({headers:{Authorization:Object(n.a)()},url:"http://39.104.85.193:4105/statistics/history/city-stock",method:"post",data:t})}},"5W5M":function(t,e,r){"use strict";r.d(e,"g",function(){return o}),r.d(e,"b",function(){return i}),r.d(e,"d",function(){return c}),r.d(e,"i",function(){return u}),r.d(e,"f",function(){return s}),r.d(e,"e",function(){return l}),r.d(e,"a",function(){return d}),r.d(e,"c",function(){return p}),r.d(e,"h",function(){return h});var n=r("t3Un"),a=r("X4fA");function o(t){return Object(n.a)({headers:{Authorization:Object(a.a)()},url:"http://39.104.85.193:4105/dictionary-types",method:"get",params:t||{}})}function i(t){return Object(n.a)({headers:{Authorization:Object(a.a)()},url:"http://39.104.85.193:4105/adddictionary-types",method:"post",data:t})}function c(t){return Object(n.a)({headers:{Authorization:Object(a.a)()},url:"http://39.104.85.193:4105/deldictionary-types",method:"post",data:t})}function u(t){return Object(n.a)({headers:{Authorization:Object(a.a)()},url:"http://39.104.85.193:4105/putdictionary-types",method:"post",data:t})}function s(t){return Object(n.a)({headers:{Authorization:Object(a.a)()},url:"http://39.104.85.193:4105/dictionary-items",method:"get",params:t||{}})}function l(t){return Object(n.a)({headers:{Authorization:Object(a.a)()},url:"http://39.104.85.193:4105/dictionaryAllItems",method:"get",params:t||{}})}function d(t){return Object(n.a)({headers:{Authorization:Object(a.a)()},url:"http://39.104.85.193:4105/adddictionary-items",method:"post",data:t})}function p(t){return Object(n.a)({headers:{Authorization:Object(a.a)()},url:"http://39.104.85.193:4105/deldictionary-items",method:"post",data:t})}function h(t){return Object(n.a)({headers:{Authorization:Object(a.a)()},url:"http://39.104.85.193:4105/putdictionary-items",method:"post",data:t})}},h81J:function(t,e,r){},i4YE:function(t,e,r){"use strict";r.r(e);var n=r("14Xm"),a=r.n(n),o=r("D3Ub"),i=r.n(o),c=r("m1cH"),u=r.n(c),s=r("QbLZ"),l=r.n(s),d=r("xMja"),p=r("7Qib"),h=r("8fCU"),m=r("1Dvt"),f=r("jJIE"),b=r.n(f),y=r("WZwz"),g=r("5W5M"),v=r("L2JU"),j={name:"enterpriseStock",data:function(){return{pageSize:30,recordTotal:0,currentPage:1,pageTotal:0,tableKey:0,stockData:[],selectData:[],listLoading:!0,manufacturerTree:[],provinceList:[],cityList:[],districtList:[],streetList:[],committeeList:[],checkTypeList:[],dateRange:[],isSupervision:b.a.get("isSupervision"),queryForm:{name:"",beginDate:"",endDate:"",province:"",city:"",area:"",town:"",community:"",enterpriseType:""},totalRow:{enterpriseName:"总计",stockNum:0}}},mounted:function(){var t=this;Object(d.g)().then(function(e){t.manufacturerTree=e.data}),this.queryDateHandle(),this.getDictionaryCheckType(),"null"===this.isSupervision&&(this.queryForm.enterpriseType="烟花爆竹批发经营"),this.getStockList(),this.getProvince()},computed:l()({},Object(v.b)(["userType","username"]),{stockTotalData:function(){var t=this.stockData;return this.totalRow.enterpriseName=this.totalRow.name,t.length?[].concat(u()(t),[this.totalRow]):[]}}),methods:{getStockList:function(){var t=this;t.queryForm.beginDate=t.formatTime(t.dateRange[0]),t.queryForm.endDate=t.formatTime(t.dateRange[1]);var e={};for(var r in e.pageIndex=t.currentPage,e.pageSize=t.pageSize,e.sort=t.sort,e.order=t.order,e.operator=b.a.get("userName"),t.queryForm)void 0!=t.queryForm[r]&&""!==t.queryForm[r].toString()&&(e[r]=t.queryForm[r]);t.listLoading=!0,Object(m.d)(e).then(function(e){var r=e.data;if("200"===r.code){var n=r.result;t.recordTotal=n.totalCount,t.pageSize=n.pageSize,t.pageTotal=Object(p.a)(n.totalCount,n.pageSize),t.currentPage=n.pageIndex,t.stockData=n.result,t.totalRow=n.extension}else Object(h.a)({error:r.message,vm:t});t.listLoading=!1}).catch(function(e){t.listLoading=!1,Object(h.a)({error:e,vm:t})})},showDetail:function(t){this.$router.push({path:"/stockInfo/info",query:{owner:t,beginDate:this.queryForm.beginDate,endDate:this.queryForm.endDate}})},refreshHandle:function(){var t=this;Object(m.p)().then(function(e){var r=e.data;"200"===r.code?(t.dialogFormVisible=!1,t.$message({message:"刷新成功",type:"success"}),t.getStockList()):Object(h.a)({error:r.message,vm:_this})}).catch(function(t){Object(h.a)({error:t,vm:_this})})},queryHandle:function(){this.currentPage=1,this.getStockList()},handleSizeChange:function(t){this.pageSize=t,this.currentPage=1,this.getStockList()},handleCurrentChange:function(t){this.currentPage=t,this.getStockList()},sortChange:function(t){this.sort=t.prop,this.order=t.order,this.getStockList()},getProvince:function(){var t=this;return i()(a.a.mark(function e(){var r;return a.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Object(y.b)();case 2:"200"===(r=e.sent).data.code&&(t.provinceList=r.data.result.provinceList);case 4:case"end":return e.stop()}},e,t)}))()},changeArea:function(t){var e=this;return i()(a.a.mark(function r(){var n,o,i,c;return a.a.wrap(function(r){for(;;)switch(r.prev=r.next){case 0:if("province"!==t){r.next=12;break}return e.queryForm.city="",e.queryForm.area="",e.queryForm.town="",e.queryForm.community="",e.areaListQuery={type:2,parenttype:1,parentname:e.queryForm.province},r.next=8,Object(y.a)(e.areaListQuery);case 8:"200"===(n=r.sent).data.code&&(e.cityList=n.data.result),r.next=40;break;case 12:if("city"!==t){r.next=23;break}return e.queryForm.area="",e.queryForm.town="",e.queryForm.community="",e.areaListQuery={type:3,parenttype:2,parentname:e.queryForm.city},r.next=19,Object(y.a)(e.areaListQuery);case 19:"200"===(o=r.sent).data.code&&(e.districtList=o.data.result),r.next=40;break;case 23:if("area"!==t){r.next=33;break}return e.queryForm.town="",e.queryForm.community="",e.areaListQuery={type:4,parenttype:3,parentname:e.queryForm.area},r.next=29,Object(y.a)(e.areaListQuery);case 29:"200"===(i=r.sent).data.code&&(e.streetList=i.data.result),r.next=40;break;case 33:if("town"!==t){r.next=40;break}return e.queryForm.community="",e.areaListQuery={type:5,parenttype:4,parentname:e.queryForm.town},r.next=38,Object(y.a)(e.areaListQuery);case 38:"200"===(c=r.sent).data.code&&(e.committeeList=c.data.result);case 40:case"end":return r.stop()}},r,e)}))()},getDictionaryCheckType:function(){var t=this;if(!(t.checkTypeList&&t.checkTypeList.length>0)){var e={dictionaryType:"安全监管分类"};Object(g.e)(e).then(function(e){var r=e.data;"200"===r.code?t.checkTypeList=r.result:Object(h.a)({error:r.message,vm:t})}).catch(function(e){Object(h.a)({error:e,vm:t})})}},clearHandle:function(){var t=this,e=this.$refs.multipleTable.selection,r="",n=0;(null==e||e.length<1)&&Object(h.a)({error:"未选中企业信息",vm:this}),e.forEach(function(t){"总计"!==t.enterpriseName&&(r+=t.owner,r+=",",n++)}),this.$confirm("此操作将永久清除选中的 "+n+" 家企业库存, 是否继续?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then(function(){var e={};e.owners=r,Object(m.a)(e).then(function(e){var r=e.data;if("200"===r.code){r.result;t.$message({type:"success",message:"删除成功!"})}})}).catch(function(){t.$message({type:"info",message:"已取消删除"})})},handleSelectionChange:function(t){this.selectData=t},queryDateHandle:function(){var t=new Date,e=new Date;e.setTime(e.getTime()-2592e6),e.setHours(0),e.setMinutes(0),e.setSeconds(0),this.dateRange.push(e,t),this.queryForm.beginDate=e,this.queryForm.endDate=t},exportAllHandle:function(){var t=this,e=this,n={pageIndex:1,pageSize:1e5};n.sort=e.sort,n.order=e.order;var a=b.a.get("userName"),o=b.a.get("name");for(var i in n.operator=o+"("+a+")",e.queryForm)void 0!=e.queryForm[i]&&""!==e.queryForm[i].toString()&&(n[i]=e.queryForm[i]);Object(m.d)(n).then(function(n){var a=n.data;if("200"===a.code){var o=a.result.result;if(0==o.length)return void Object(h.a)({error:"当前没有数据",vm:e});o.push(t.totalRow),Promise.all([r.e("chunk-0d49"),r.e("chunk-5aa0")]).then(r.bind(null,"S/jZ")).then(function(t){var e=o.map(function(t){return[t.enterpriseName,[t.province,t.city,t.district].filter(function(t){return""!==t&null!=t}).join("-"),t.stockNum,t.firecracker,t.spray,t.rotation,t.bead,t.toy,t.combined]});t.export_json_to_excel({header:["企业名称","地区","库存总数(箱)","爆竹类(箱)","喷花类(箱)","旋转类(箱)","吐珠类(箱)","玩具类(箱)","组合烟花类(箱)"],data:e,filename:"库存汇总"})})}else Object(h.a)({error:a.message,vm:e})}).catch(function(t){Object(h.a)({error:t,vm:e})})},formatJson:function(t,e){return e.map(function(e){return t.map(function(t){return"createddate"===t?Object(p.f)(e[t],"{y}-{m}-{d}"):e[t]})})},formatTime:function(t){var e=new Date(t),r=e.getFullYear(),n=e.getMonth()+1;n=n<10?"0"+n:n;var a=e.getDate();a=a<10?"0"+a:a;var o=e.getHours();o=o<10?"0"+o:o;var i=e.getMinutes();i=i<10?"0"+i:i;var c=e.getSeconds();return r+"-"+n+"-"+a+" "+o+":"+i+":"+(c=c<10?"0"+c:c)}}},O=(r("yDlq"),r("KHd+")),k=Object(O.a)(j,function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("div",{staticClass:"container"},[r("el-breadcrumb",{staticStyle:{"padding-top":"10px","padding-bottom":"10px"}},[r("el-breadcrumb-item",{attrs:{to:{path:"/stock/enterprise"}}},[t._v("库存监管")]),t._v(" "),r("el-breadcrumb-item",[t._v("库存详情")])],1),t._v(" "),r("div",{staticClass:"filter-container"},[r("el-row",{staticStyle:{"padding-top":"10px"}},[r("div",{staticStyle:{display:"block"}},[r("div",{staticClass:"basic_search"},[r("span",[t._v("地域:  ")]),t._v(" "),r("el-select",{attrs:{placeholder:"请选择省份",clearable:"",filterable:""},on:{change:function(e){t.changeArea("province")}},model:{value:t.queryForm.province,callback:function(e){t.$set(t.queryForm,"province",e)},expression:"queryForm.province"}},t._l(t.provinceList,function(t){return r("el-option",{key:t.id,attrs:{label:t.name,value:t.name}})}))],1),t._v(" "),r("div",{staticClass:"basic_search"},[r("el-select",{attrs:{prop:"city",clearable:"",filterable:""},on:{change:function(e){t.changeArea("city")}},model:{value:t.queryForm.city,callback:function(e){t.$set(t.queryForm,"city",e)},expression:"queryForm.city"}},t._l(t.cityList,function(t){return r("el-option",{key:t.id,attrs:{label:t.name,value:t.name}})}))],1),t._v(" "),r("div",{staticClass:"basic_search"},[r("el-select",{attrs:{clearable:"",filterable:""},on:{change:function(e){t.changeArea("area")}},model:{value:t.queryForm.area,callback:function(e){t.$set(t.queryForm,"area",e)},expression:"queryForm.area"}},t._l(t.districtList,function(t){return r("el-option",{key:t.id,attrs:{label:t.name,value:t.name}})}))],1),t._v(" "),r("div",{staticClass:"basic_search"},[r("el-select",{attrs:{clearable:"",filterable:""},on:{change:function(e){t.changeArea("town")}},model:{value:t.queryForm.town,callback:function(e){t.$set(t.queryForm,"town",e)},expression:"queryForm.town"}},t._l(t.streetList,function(t){return r("el-option",{key:t.id,attrs:{label:t.name,value:t.name}})}))],1),t._v(" "),r("div",{staticClass:"basic_search"},[r("el-select",{attrs:{clearable:"",filterable:""},model:{value:t.queryForm.community,callback:function(e){t.$set(t.queryForm,"community",e)},expression:"queryForm.community"}},t._l(t.committeeList,function(t){return r("el-option",{key:t.id,attrs:{label:t.name,value:t.name}})}))],1)])]),t._v(" "),r("el-row",{staticStyle:{"padding-top":"10px"}},[t._v("\n        企业名称:\n        "),r("el-input",{staticClass:"filter-item",staticStyle:{width:"20%","padding-right":"15px"},attrs:{placeholder:"企业名称"},nativeOn:{keyup:function(e){return"button"in e||!t._k(e.keyCode,"enter",13,e.key,"Enter")?t.queryHandle(e):null}},model:{value:t.queryForm.name,callback:function(e){t.$set(t.queryForm,"name",e)},expression:"queryForm.name"}}),t._v("\n\n        企业类型:\n        "),r("el-select",{staticStyle:{width:"13%"},attrs:{placeholder:"请选择企业类型"},model:{value:t.queryForm.enterpriseType,callback:function(e){t.$set(t.queryForm,"enterpriseType","string"==typeof e?e.trim():e)},expression:"queryForm.enterpriseType"}},t._l(t.checkTypeList,function(t,e){return r("el-option",{key:e,attrs:{label:t.text,value:t.text}})})),t._v(" "),r("el-button",{staticClass:"filter-item",staticStyle:{"margin-left":"15px"},attrs:{type:"primary",icon:"el-icon-download"},on:{click:t.exportAllHandle}},[t._v("导出\n          ")]),t._v(" "),r("el-button",{staticClass:"filter-item",staticStyle:{"margin-left":"10px"},attrs:{type:"primary",icon:"el-icon-search"},on:{click:t.queryHandle}}),t._v(" "),1===t.userType?r("el-button",{staticClass:"filter-item",staticStyle:{"margin-left":"10px","background-color":"#f56c6c"},attrs:{type:"danger",icon:"el-icon-delete"},on:{click:t.clearHandle}},[t._v("清空库存\n          ")]):t._e()],1)],1),t._v(" "),r("div",{staticClass:"table_content"},[r("el-table",{directives:[{name:"loading",rawName:"v-loading",value:t.listLoading,expression:"listLoading"}],key:t.tableKey,ref:"multipleTable",staticStyle:{width:"100%"},attrs:{data:t.stockTotalData,border:"",fit:"","highlight-current-row":""},on:{"sort-change":t.sortChange,"selection-change":t.handleSelectionChange}},[r("el-table-column",{attrs:{type:"selection",width:"55"}}),t._v(" "),r("el-table-column",{attrs:{type:"index",label:"序号",align:"center",width:"80"}}),t._v(" "),r("el-table-column",{attrs:{label:"企业名称",prop:"enterpriseName",align:"center",sortable:"custom"},scopedSlots:t._u([{key:"default",fn:function(e){return["总计"!==e.row.enterpriseName?r("el-link",{attrs:{type:"primary"},on:{click:function(r){t.showDetail(e.row.owner)}}},[t._v(t._s(e.row.enterpriseName))]):t._e(),t._v(" "),"总计"===e.row.enterpriseName?r("span",[t._v("总计")]):t._e()]}}])}),t._v(" "),r("el-table-column",{attrs:{label:"地区",align:"center",sortable:"custom"},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v("\n                  "+t._s([e.row.province,e.row.city,e.row.district].filter(function(t){return""!==t&null!=t}).join("-"))+"\n              ")]}}])}),t._v(" "),r("el-table-column",{attrs:{label:"库存总数(箱)",prop:"stockNum",align:"center",sortable:"custom"},scopedSlots:t._u([{key:"default",fn:function(e){return[r("span",[t._v(t._s(e.row.stockNum))])]}}])}),t._v(" "),r("el-table-column",{attrs:{label:"爆竹类(箱)",prop:"firecracker",align:"center",sortable:"custom"},scopedSlots:t._u([{key:"default",fn:function(e){return[r("span",[t._v(t._s(e.row.firecracker))])]}}])}),t._v(" "),r("el-table-column",{attrs:{label:"喷花类(箱)",prop:"spray",align:"center",sortable:"custom"},scopedSlots:t._u([{key:"default",fn:function(e){return[r("span",[t._v(t._s(e.row.spray))])]}}])}),t._v(" "),r("el-table-column",{attrs:{label:"旋转类(箱)",prop:"rotation",align:"center",sortable:"custom"},scopedSlots:t._u([{key:"default",fn:function(e){return[r("span",[t._v(t._s(e.row.rotation))])]}}])}),t._v(" "),r("el-table-column",{attrs:{label:"吐珠类(箱)",prop:"bead",align:"center",sortable:"custom"},scopedSlots:t._u([{key:"default",fn:function(e){return[r("span",[t._v(t._s(e.row.bead))])]}}])}),t._v(" "),r("el-table-column",{attrs:{label:"玩具类(箱)",prop:"toy",align:"center",sortable:"custom"},scopedSlots:t._u([{key:"default",fn:function(e){return[r("span",[t._v(t._s(e.row.toy))])]}}])}),t._v(" "),r("el-table-column",{attrs:{label:"组合烟花类(箱)",prop:"combined",align:"center",sortable:"custom"},scopedSlots:t._u([{key:"default",fn:function(e){return[r("span",[t._v(t._s(e.row.combined))])]}}])}),t._v(" "),r("el-table-column",{attrs:{label:"更新时间",prop:"updateat",align:"center",sortable:"custom"},scopedSlots:t._u([{key:"default",fn:function(e){return[r("span",[t._v(t._s(e.row.updateat))])]}}])})],1),t._v(" "),r("br"),t._v(" "),r("el-pagination",{directives:[{name:"show",rawName:"v-show",value:t.recordTotal>0,expression:"recordTotal>0"}],staticStyle:{float:"right"},attrs:{"current-page":t.currentPage,"page-sizes":[30,50,100,200],"page-size":t.pageSize,total:t.recordTotal,layout:"total, sizes, prev, pager, next, jumper",background:""},on:{"size-change":t.handleSizeChange,"current-change":t.handleCurrentChange}})],1)],1)},[],!1,null,"cdbf3596",null);k.options.__file="enterpriseStock.vue";e.default=k.exports},xMja:function(t,e,r){"use strict";r.d(e,"n",function(){return o}),r.d(e,"c",function(){return i}),r.d(e,"b",function(){return c}),r.d(e,"q",function(){return u}),r.d(e,"d",function(){return s}),r.d(e,"g",function(){return l}),r.d(e,"p",function(){return d}),r.d(e,"k",function(){return p}),r.d(e,"j",function(){return h}),r.d(e,"a",function(){return m}),r.d(e,"r",function(){return f}),r.d(e,"e",function(){return b}),r.d(e,"f",function(){return y}),r.d(e,"m",function(){return g}),r.d(e,"h",function(){return v}),r.d(e,"o",function(){return j}),r.d(e,"i",function(){return O}),r.d(e,"l",function(){return k});var n=r("X4fA"),a=r("t3Un");function o(t){return Object(a.a)({headers:{Authorization:Object(n.a)()},url:"http://39.104.85.193:4105/product/info",method:"get",params:t||{}})}function i(t){return Object(a.a)({headers:{Authorization:Object(n.a)()},url:"http://39.104.85.193:4105/product/add",method:"post",data:t})}function c(t){return Object(a.a)({headers:{Authorization:Object(n.a)()},url:"http://39.104.85.193:4105/product/addNew",method:"post",data:t})}function u(t){return Object(a.a)({headers:{Authorization:Object(n.a)()},url:"http://39.104.85.193:4105/product/update",method:"post",data:t})}function s(t){return Object(a.a)({headers:{Authorization:Object(n.a)()},url:"http://39.104.85.193:4105/product/delete",method:"post",data:t})}function l(){return Object(a.a)({headers:{Authorization:Object(n.a)()},url:"http://39.104.85.193:4105/enterprise/manufacturerTree",method:"get"})}function d(t){return Object(a.a)({headers:{Authorization:Object(n.a)()},url:"http://39.104.85.193:4105/product/setThreshold",method:"post",data:t})}function p(){return Object(a.a)({headers:{Authorization:Object(n.a)()},url:"http://39.104.85.193:4105/product/getThreshold",method:"get"})}function h(t){return Object(a.a)({headers:{Authorization:Object(n.a)()},url:"http://39.104.85.193:4105/product/categorise?name="+t,method:"get"})}function m(t){return Object(a.a)({headers:{Authorization:Object(n.a)()},url:"http://39.104.85.193:4105/product/addCategory",method:"post",data:t})}function f(t){return Object(a.a)({headers:{Authorization:Object(n.a)()},url:"http://39.104.85.193:4105/product/editCategory",method:"post",data:t})}function b(t){return Object(a.a)({headers:{Authorization:Object(n.a)()},url:"http://39.104.85.193:4105/product/delCategory",method:"post",data:t})}function y(){return Object(a.a)({headers:{Authorization:Object(n.a)()},url:"http://39.104.85.193:4105/product/majorTree",method:"get"})}function g(t){return Object(a.a)({headers:{Authorization:Object(n.a)()},url:"http://39.104.85.193:4105/product/secondaryTree?major="+t,method:"get"})}function v(t){return Object(a.a)({headers:{Authorization:Object(n.a)()},url:"http://39.104.85.193:4105/product/permitLevelTree?secondary="+t,method:"get"})}function j(t,e,r,o){return Object(a.a)({headers:{Authorization:Object(n.a)()},url:"http://39.104.85.193:4105/product/info?name="+e+"&code="+r+"&type="+o,method:"get",params:t||{}})}function O(t){return Object(a.a)({headers:{Authorization:Object(n.a)()},url:"http://39.104.85.193:4105/product/get?directionCode="+t,method:"get"})}function k(t,e){return Object(a.a)({headers:{Authorization:Object(n.a)()},url:"http://39.104.85.193:4105/product/gets?directionCode="+t+"&endCode="+e,method:"get"})}},yDlq:function(t,e,r){"use strict";var n=r("h81J");r.n(n).a}}]);