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

1 line
5.6 KiB
JSON
Raw Normal View History

2025-02-25 13:43:48 +08:00
{"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\\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":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":["//\n//\n//\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 moment from \"moment\";\nimport Paging from \"@/views/Public/paging.vue\";\nimport { xtLog, copyLoge, reCover as _reCover, deleteLog, updateLogSet, getCreatedDate } from \"@/api/getdata\";\nexport default {\n components: {\n Paging: Paging\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 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 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 _reCover().the