hz-zhhq-web/node_modules/.cache/babel-loader/5e60017f817b76fd655ba8241ad...

1 line
5.7 KiB
JSON
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

{"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\\logmanagement\\configuration.vue?vue&type=script&lang=js","dependencies":[{"path":"E:\\hz-zhhq-web\\src\\views\\logmanagement\\configuration.vue","mtime":1737610069435},{"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 _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//\nvar _default = exports.default = {\n components: {\n Paging: _paging.default\n },\n data: function data() {\n return {\n value: true,\n input1: \"0\",\n page: {\n limit: 0 /** 当前点击*/,\n sizePage: 10 /** 当前多少页*/,\n total: 0 /**总数 */\n },\n openSure: true,\n formInline: {\n operationType: \"\",\n operator: \"\",\n ipAddress: \"\",\n stateTime: \"\",\n EndTime: \"\",\n operationContent: \"\",\n result: \"\"\n }\n };\n },\n mounted: function mounted() {\n this.getlist();\n },\n methods: {\n onSubmit: function onSubmit() {\n this.taggleC();\n },\n input1Value: function input1Value() {\n var reg = /^[0-9]*[1-9][0-9]*$/g;\n if (reg.test(this.input1)) {\n this.openSure = true;\n } else {\n this.openSure = false;\n }\n },\n //开关\n taggleC: function taggleC() {\n var _this = this;\n // console.log(111)\n // updateLogSet\n if (this.openSure && this.input1 >= 1024 && this.input1 <= 10240) {\n var Content = {\n logDebugSwitch: this.value == true ? \"1\" : this.value == false ? \"2\" : \"\",\n maxSize: this.input1\n };\n (0, _getdata.updateLogSet)(Content).then(function (res) {\n // console.log(res);\n if (res.returnCode == \"1\") {\n _this.$message({\n message: res.returnMsg,\n type: \"success\"\n });\n } else {\n _this.$message({\n message: res.returnMsg,\n type: \"warning\"\n });\n }\n }).catch(function () {\n _this.$message({\n message: res.returnMsg,\n type: \"warning\"\n });\n });\n } else {\n this.input1 = 0;\n // this.value = !this.value;\n this.$message({\n message: \"请输入1024-10240的区间数\",\n type: \"error\"\n });\n }\n },\n //备份\n backUps: function backUps() {\n var _this2 = this;\n (0, _getdata.copyLoge)().then(function (res) {\n // console.log(res);\n if (res.returnCode == \"1\") {\n _this2.$message({\n message: res.returnMsg,\n type: \"success\"\n });\n } else {\n _this2.$message({\n message: res.returnMsg,\n type: \"warning\"\n });\n }\n }).catch(function (err) {\n console.log(err);\n // this.$message({\n // message: err.returnMsg,\n // type: \"warning\"\n // });\n });\n },\n //恢复\n reCover: function reCover() {\n var _this3 = this;\n (0, _getdata.reCover)().then(function (res) {\n // console.log(res);\n if (res.returnCode == \"1\") {\n _this3.$message({\n message: res.returnMsg,\n type: \"success\"\n });\n } else {\n _this3.$message({\n message: res.returnMsg,\n type: \"warning\"\n });\n }\n });\n },\n onOut: function onOut() {},\n statisic: function statisic() {},\n logClear: function logClear() {\n var _this4 = this;\n (0, _getdata.deleteLog)().then(function (res) {\n if (res.returnCode == \"1\") {\n _this4.$message({\n message: res.returnMsg,\n type: \"success\"\n });\n } else {\n _this4.$message({\n message: res.returnMsg,\n type: \"warning\"\n });\n }\n }).catch(function (err) {\n console.log(err);\n });\n },\n getlist: function getlist() {\n var _this5 = this;\n (0, _getdata.getCreatedDate)().then(function (res) {\n if (res.returnCode == \"1\") {\n _this5.input1 = res.returnData[0].maxSize;\n _this5.value = res.returnData[0].logDebugSwitch == \"1\" ? true : res.returnData[0].logDebugSwitch == \"2\" ? false : \"\";\n _this5.$message({\n message: res.returnMsg,\n type: \"success\"\n });\n } else {\n _this5.$message({\n message: res.returnMsg,\n type: \"warning\"\n });\n }\n }).catch(function (err) {\n console.log(err);\n });\n }\n }\n};",null]}