hz-zhhq-web/node_modules/.cache/babel-loader/01fd3e9d37829f4078b2c0cfce2...

1 line
8.2 KiB
JSON

{"remainingRequest":"E:\\hz-zhhq-web\\node_modules\\thread-loader\\dist\\cjs.js!E:\\hz-zhhq-web\\node_modules\\babel-loader\\lib\\index.js!E:\\hz-zhhq-web\\node_modules\\cache-loader\\dist\\cjs.js??ref--0-0!E:\\hz-zhhq-web\\node_modules\\vue-loader\\lib\\index.js??vue-loader-options!E:\\hz-zhhq-web\\src\\views\\menuCard\\statistics\\index.vue?vue&type=script&lang=js","dependencies":[{"path":"E:\\hz-zhhq-web\\src\\views\\menuCard\\statistics\\index.vue","mtime":1737610069438},{"path":"E:\\hz-zhhq-web\\babel.config.js","mtime":1737610069371},{"path":"E:\\hz-zhhq-web\\node_modules\\cache-loader\\dist\\cjs.js","mtime":499162500000},{"path":"E:\\hz-zhhq-web\\node_modules\\thread-loader\\dist\\cjs.js","mtime":499162500000},{"path":"E:\\hz-zhhq-web\\node_modules\\babel-loader\\lib\\index.js","mtime":456789000000},{"path":"E:\\hz-zhhq-web\\node_modules\\cache-loader\\dist\\cjs.js","mtime":499162500000},{"path":"E:\\hz-zhhq-web\\node_modules\\vue-loader\\lib\\index.js","mtime":499162500000}],"contextDependencies":[],"result":["import _defineProperty from \"E:/hz-zhhq-web/node_modules/@babel/runtime/helpers/esm/defineProperty.js\";\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n\nimport Paging from \"@/views/Public/paging.vue\";\nimport { GetList, CqexportByExcel, Own } from \"@/api/getdata\";\nimport axios from \"axios\";\nvar date = \"\";\nexport default {\n components: {\n Paging: Paging\n },\n data: function data() {\n return {\n loading: false,\n //初始化loading\n loadingMsg: \"\",\n Month: \"\" /**时间月 */,\n input: \"\" /*input */,\n tableCols: [_defineProperty({\n type: \"normal\",\n is_show: true,\n minWidth: \"150\",\n prop: \"id\",\n label: \"序号\",\n align: \"center\"\n }, \"minWidth\", \"140\"), _defineProperty({\n type: \"normal\",\n is_show: true,\n minWidth: \"120\",\n prop: \"time\",\n label: \"时间(月)\"\n }, \"minWidth\", \"110\"),\n // {\n // type: \"normal\",\n // is_show: true,\n // minWidth: \"120\",\n // prop: \"mealNum\",\n // label: \"餐券总数\"\n // },\n {\n type: \"normal\",\n is_show: true,\n minWidth: \"120\",\n prop: \"mealNum\",\n label: \"固定下发总数\"\n },\n // {\n // type: \"normal\",\n // is_show: true,\n // minWidth: \"160\",\n // prop: \"fixNum\",\n // label: \"固定餐券(总数)\"\n // },\n // {\n // type: \"normal\",\n // is_show: true,\n // minWidth: \"120\",\n // prop: \"applyNum\",\n // label: \"申请餐券数量\"\n // },\n {\n type: \"normal\",\n is_show: true,\n minWidth: \"120\",\n prop: \"useNum\",\n label: \"使用数\",\n align: \"left\"\n },\n // {\n // type: \"normal\",\n // is_show: true,\n // minWidth: \"120\",\n // prop: \"loseNum\",\n // label: \"失效数\"\n // },\n // \n {\n type: \"normal\",\n is_show: true,\n minWidth: \"120\",\n prop: \"notUseNum\",\n label: \"未使用数\"\n }, {\n type: \"normal\",\n is_show: true,\n minWidth: \"180\",\n prop: \"option\",\n label: \"操作\",\n align: \"left\"\n }],\n tableData: [],\n tableData2: [{\n Order: \"1\",\n Name: \"2019年5月\",\n Month: \"250\",\n Logistics_hq: \"200\",\n Logistics_gl: \"50\",\n time: \"230\",\n Logistics_cwc: \"20\",\n Logistics_hqc: \"20\",\n Average: \"0\",\n Idea: \"120\",\n Zchange: \"120\",\n Status: \"进行中\",\n Operate: \"\"\n }, {\n Order: \"2\",\n Name: \"2019年4月\",\n Month: \"360\",\n Logistics_hq: \"300\",\n time: \"60\",\n Logistics_jjc: \"340\",\n Logistics_cwc: \"20\",\n Logistics_hqc: \"120\",\n Average: \"0\",\n Idea: \"120\",\n Zchange: \"120\",\n Status: \"进行中\",\n Operate: \"\"\n }, {\n Order: \"3\",\n Name: \"2019年3月\",\n Month: \"140\",\n Logistics_hq: \"100\",\n time: \"40\",\n Logistics_jjc: \"110\",\n Logistics_cwc: \"30\",\n Logistics_hqc: \"120\",\n Average: \"0\",\n Idea: \"120\",\n Zchange: \"120\",\n Status: \"进行中\",\n Operate: \"\"\n }, {\n Order: \"4\",\n Name: \"2019年2月\",\n Month: \"280\",\n Logistics_hq: \"260\",\n Logistics_gl: \"20\",\n Logistics_jjc: \"250\",\n time: \"30\",\n Logistics_hqc: \"120\",\n Average: \"0\",\n Idea: \"120\",\n Zchange: \"120\",\n Status: \"进行中\",\n Operate: \"\"\n }],\n page: {\n limit: 0 /** 当前点击*/,\n sizePage: 10 /** 当前多少页*/,\n total: 0 /**总数 */\n }\n };\n },\n created: function created() {\n // this.tableData = this.tableData2;\n },\n mounted: function mounted() {\n this.getlist();\n this.createLoad();\n },\n methods: {\n createLoad: function createLoad() {\n this.loading = true;\n this.loadingMsg = \"加载中...\";\n },\n clearLoad: function clearLoad() {\n this.loading = false;\n this.loadingMsg = \"\";\n },\n getlist: function getlist() {\n var _this = this;\n // console.log(11111)\n var Content = {\n currentPage: this.page.limit,\n queryObj: {\n issueDate: this.Month\n }\n };\n GetList(Content).then(function (res) {\n // console.log(res);\n if (res.returnCode == \"1\") {\n _this.clearLoad();\n // console.log(res.returnData,888)\n _this.tableData = res.returnData.data;\n _this.page.total = res.returnData.total;\n _this.page.limit = res.returnData.currentPage;\n if (_this.page.total == 0) {\n _this.$message({\n message: \"当前无数据\",\n type: \"success\"\n });\n } else {\n _this.$message({\n message: res.returnMsg,\n type: \"success\"\n });\n }\n } else {\n _this.$message({\n message: res.returnMsg,\n type: \"warning\"\n });\n setTimeout(function () {\n _this.clearLoad();\n }, 300);\n }\n }).catch(function (err) {\n console.log(err);\n setTimeout(function () {\n _this.clearLoad();\n }, 300);\n });\n },\n detailChange: function detailChange(index, row) {\n // ${index + 1}\n var indexs = index + 1;\n this.$router.push({\n path: \"detailid\",\n query: {\n data: indexs\n }\n });\n localStorage.setItem(\"detailIndex\", indexs);\n // console.log(row,123)\n localStorage.setItem(\"date\", row.time);\n // window.localStorage.getItem(date,row.time)\n },\n /** 查询*/search: function search() {\n this.page.limit = 1;\n this.createLoad();\n this.getlist();\n },\n /**导出 */outPut: function outPut() {\n var _this2 = this;\n Own().then(function (res) {\n if (res.returnCode === \"1\") {\n var url = \"/greenH5/greenWebmodul/rest/greenMealTicketNum/exportByExcel?\" + \"issueDate=\" + _this2.Month;\n window.location.href = url;\n }\n });\n },\n currentChanges: function currentChanges(val) {\n this.createLoad();\n this.page.limit = val;\n this.getlist();\n }\n }\n};",null]}