hz-zhhq-web/node_modules/.cache/babel-loader/283f91c75e7bd8cd5a92d040000...

1 line
6.0 KiB
JSON

{"remainingRequest":"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\\appStat\\dayLogStat.vue?vue&type=script&lang=js","dependencies":[{"path":"E:\\hz-zhhq-web\\src\\views\\appStat\\dayLogStat.vue","mtime":1737610069401},{"path":"E:\\hz-zhhq-web\\babel.config.js","mtime":1737610069371},{"path":"E:\\hz-zhhq-web\\node_modules\\cache-loader\\dist\\cjs.js","mtime":1740463332762},{"path":"E:\\hz-zhhq-web\\node_modules\\babel-loader\\lib\\index.js","mtime":1740463332584},{"path":"E:\\hz-zhhq-web\\node_modules\\cache-loader\\dist\\cjs.js","mtime":1740463332762},{"path":"E:\\hz-zhhq-web\\node_modules\\vue-loader\\lib\\index.js","mtime":1740463340941}],"contextDependencies":[],"result":["\"use strict\";\n\nvar _interopRequireDefault = require(\"E:/hz-zhhq-web/node_modules/@babel/runtime/helpers/interopRequireDefault.js\");\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\nvar _defineProperty2 = _interopRequireDefault(require(\"E:/hz-zhhq-web/node_modules/@babel/runtime/helpers/defineProperty.js\"));\nvar _moment = _interopRequireDefault(require(\"moment\"));\nvar _paging = _interopRequireDefault(require(\"@/views/Public/paging.vue\"));\nvar _getdata = require(\"@/api/getdata\");\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//\nvar _default = exports.default = {\n components: {\n Paging: _paging.default\n },\n data: function data() {\n return {\n loading: false,\n //初始化loading\n loadingMsg: \"\",\n page: {\n limit: 0 /** 当前点击*/,\n sizePage: 10 /** 当前多少页*/,\n total: 0 /**总数 */\n },\n formInline: {\n stateTime: \"\",\n EndTime: \"\"\n },\n tableData: [],\n tableCols: [(0, _defineProperty2.default)((0, _defineProperty2.default)({\n type: \"normal\",\n is_show: true,\n minWidth: \"150\",\n prop: \"code\",\n label: \"序号\",\n align: \"center\"\n }, \"minWidth\", \"60\"), \"sortable\", false), {\n type: \"normal\",\n is_show: true,\n prop: \"dateTime\",\n label: \"日期\",\n minWidth: \"110\"\n // sortable: true\n /* align:'right'*/\n }, {\n type: \"normal\",\n is_show: true,\n minWidth: \"120\",\n prop: \"logPerson\",\n label: \"当日登录人数\"\n // sortable: true\n }, {\n type: \"normal\",\n is_show: true,\n minWidth: \"110\",\n prop: \"logTotal\",\n label: \"当日登录总次数\"\n // sortable: true\n }\n // {\n // type: \"normal\",\n // is_show: true,\n // minWidth: \"120\",\n // prop: \"dayUseFreq\",\n // label: \"日均使用频次\"\n // // sortable: true\n // }\n ]\n };\n },\n mounted: function mounted() {\n // console.log(moment,50)\n this.createLoad();\n this.getlist();\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 onOut: function onOut() {\n var _this = this;\n (0, _getdata.Own)().then(function (res) {\n if (res.returnCode === \"1\") {\n var a = _this.formInline.stateTime ? _this.formInline.stateTime : \"\";\n var b = _this.formInline.EndTime ? _this.formInline.EndTime : \"\";\n var str = \"beginDate=\" + a + \"&endDate=\" + b;\n // let url = \"http://192.168.43.122:8080/greenH5/greenWebmodul/rest/greenAppLogStat/exportByExcelLog?\" + str;\n var url = \"/greenH5/greenWebmodul/rest/greenAppLogStat/exportByExcelLog?\" + str;\n console.log(url, 241);\n window.location.href = url;\n }\n });\n },\n onSubmit: function onSubmit() {\n this.page.limit = 1;\n this.createLoad();\n this.getlist();\n },\n currentChanges: function currentChanges(val) {\n this.page.limit = val;\n this.createLoad();\n this.getlist();\n },\n getlist: function getlist() {\n var _this2 = this;\n var Content = {\n currentPage: this.page.limit,\n queryObj: {\n startTime: this.formInline.stateTime,\n endTime: this.formInline.EndTime\n }\n };\n console.log(Content, 444);\n (0, _getdata.DayLogStat)(Content).then(function (res) {\n setTimeout(function () {\n _this2.clearLoad();\n }, 300);\n console.log(res, 888);\n if (res.returnCode == \"1\") {\n _this2.clearLoad();\n // console.log(res)\n _this2.tableData = res.returnData.data;\n _this2.page.total = res.returnData.total;\n _this2.page.limit = res.returnData.currentPage;\n if (_this2.page.total == 0) {\n _this2.$message({\n message: \"当前无数据\",\n type: \"success\"\n });\n } else {\n _this2.$message({\n message: res.returnMsg,\n type: \"success\"\n });\n }\n } else {\n _this2.$message({\n message: res.returnMsg,\n type: \"warning\"\n });\n setTimeout(function () {\n _this2.clearLoad();\n }, 300);\n }\n }).catch(function (err) {\n console.log(err);\n setTimeout(function () {\n _this2.clearLoad();\n }, 300);\n });\n }\n }\n};",null]}