hz-zhhq-web/node_modules/.cache/babel-loader/dc6af73d431c917ee75b572cff3...

1 line
5.4 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\\depUseStat.vue?vue&type=script&lang=js","dependencies":[{"path":"E:\\hz-zhhq-web\\src\\views\\appStat\\depUseStat.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":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":["\"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 _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//\nvar _default = exports.default = {\n components: {},\n data: function data() {\n return {\n loading: false,\n //初始化loading\n loadingMsg: \"\",\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: \"name\",\n label: \"部门\",\n minWidth: \"110\"\n // sortable: true\n /* align:'right'*/\n }, {\n type: \"normal\",\n is_show: true,\n minWidth: \"120\",\n prop: \"bnum\",\n label: \"部门人数\"\n // sortable: true\n }, {\n type: \"normal\",\n is_show: true,\n minWidth: \"110\",\n prop: \"anum\",\n label: \"APP使用人数\"\n // sortable: true\n }, {\n type: \"normal\",\n is_show: true,\n minWidth: \"120\",\n prop: \"zb\",\n label: \"使用人数占比(%)\"\n // sortable: true\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/exportByExcelFb?\" + str;\n var url = \"/greenH5/greenWebmodul/rest/greenAppLogStat/exportByExcelFb?\" + str;\n console.log(url, 241);\n window.location.href = url;\n }\n });\n },\n onSubmit: function onSubmit() {\n this.createLoad();\n this.getlist();\n },\n currentChanges: function currentChanges(val) {\n this.createLoad();\n this.getlist();\n },\n getlist: function getlist() {\n var _this2 = this;\n var Content = {\n queryObj: {\n beginDate: this.formInline.stateTime,\n endDate: this.formInline.endTime\n }\n };\n console.log(Content, 444);\n (0, _getdata.DepUseStat)(Content).then(function (res) {\n setTimeout(function () {\n _this2.clearLoad();\n }, 300);\n console.log(res, 666);\n if (res.returnCode == \"1\") {\n _this2.clearLoad();\n // console.log(res)\n _this2.tableData = res.returnData;\n if (_this2.tableData.length == 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]}