{"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\\detail\\detailid.vue?vue&type=script&lang=js","dependencies":[{"path":"E:\\hz-zhhq-web\\src\\views\\menuCard\\statistics\\detail\\detailid.vue","mtime":1737610069437},{"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\nimport Paging from \"@/views/Public/paging.vue\";\n// import { constants } from 'crypto';\nimport { DetailList } from \"@/api/getdata\";\nexport default {\n components: {\n Paging: Paging\n },\n data: function data() {\n return {\n loading: false,\n //初始化loading\n loadingMsg: \"\",\n tableCols: [_defineProperty({\n type: \"normal\",\n is_show: true,\n minWidth: \"150\",\n prop: \"id\",\n label: \"序号\",\n align: \"center\"\n }, \"minWidth\", \"80\"), _defineProperty({\n type: \"normal\",\n is_show: true,\n minWidth: \"120\",\n prop: \"time\",\n label: \"时间(月)\"\n }, \"minWidth\", \"110\"), {\n type: \"normal\",\n is_show: true,\n minWidth: \"120\",\n prop: \"departmentName\",\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: \"120\",\n prop: \"mealNum\",\n label: \"餐券下发总数\"\n },\n // {\n // type: \"normal\",\n // is_show: true,\n // minWidth: \"180\",\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 type: \"normal\",\n is_show: true,\n minWidth: \"120\",\n prop: \"notUseNum\",\n label: \"未使用数\"\n }, {\n type: \"normal\",\n is_show: true,\n minWidth: \"240\",\n prop: \"option\",\n label: \"操作\",\n align: \"left\"\n }],\n tableData: [],\n tableData2: [{\n Order: \"1\",\n Name: \"2019年5月\",\n bm: \"后勤工作部\",\n Month: \"250\",\n Logistics_hq: \"200\",\n Logistics_gl: \"50\",\n Logistics_jjc: \"230\",\n Logistics_cwc: \"20\",\n Logistics_hqc: \"120\",\n Average: \"0\",\n Idea: \"120\",\n Zchange: \"120\",\n Status: \"进行中\",\n Operate: \"\"\n }, {\n Order: \"2\",\n Name: \"2019年4月\",\n bm: \"营销部\",\n Month: \"360\",\n Logistics_hq: \"300\",\n Logistics_gl: \"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 bm: \"后勤工作部\",\n Month: \"140\",\n Logistics_hq: \"100\",\n Logistics_gl: \"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 bm: \"后勤工作部\",\n Month: \"280\",\n Logistics_hq: \"260\",\n Logistics_gl: \"20\",\n Logistics_jjc: \"250\",\n Logistics_cwc: \"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 mounted: function mounted() {\n this.createLoad();\n this.getDate();\n },\n created: function created() {\n /**total = tableDate 条数 */\n // this.page.total = this.tableData2.length;\n // this.getDate(1);\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 comeBack: function comeBack() {\n this.$router.push({\n path: \"/menuCard/statistics\"\n });\n },\n receiveChange: function receiveChange(row) {\n console.log(row, 235);\n this.$router.push({\n name: \"Receive\",\n params: {\n data: {\n row: row\n }\n }\n });\n window.localStorage.setItem('receive', JSON.stringify(row));\n },\n // applyChange(row) {\n // this.$router.push({ name: \"Apply\", params:{data:{row}}});\n // window.localStorage.setItem('apply',JSON.stringify(row))\n // },\n applyChange: function applyChange(row) {\n this.$router.push({\n name: \"Make\",\n params: {\n data: {\n row: row\n }\n }\n });\n window.localStorage.setItem('make', JSON.stringify(row));\n },\n /**分页功能 */currentChanges: function currentChanges(val) {\n this.createLoad();\n this.page.limit = val;\n this.getDate();\n },\n getDate: function getDate() {\n var _this = this;\n var Content = {\n currentPage: this.page.limit,\n queryObj: {\n issueDate: localStorage.getItem('date')\n }\n };\n DetailList(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 // console.log(this.page.total,888)\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 }\n};",null]}