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

1 line
6.8 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\\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\\systemLog\\debugger.vue?vue&type=script&lang=js","dependencies":[{"path":"E:\\hz-zhhq-web\\src\\views\\systemLog\\debugger.vue","mtime":1737610069451},{"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//\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 moment from \"moment\";\nimport Paging from \"@/views/Public/paging.vue\";\nimport { XTother, deleteLog } 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 page: {\n limit: 0 /** 当前点击*/,\n sizePage: 10 /** 当前多少页*/,\n total: 0 /**总数 */\n },\n formInline: {\n operationType: \"\",\n operator: \"\",\n ipAddress: \"\",\n stateTime: \"\",\n EndTime: \"\",\n operationContent: \"\",\n result: \"\",\n source: \"\"\n },\n sourceOption: [{\n value: \"1\",\n label: \"pc\"\n }, {\n value: \"2\",\n label: \"app\"\n }],\n tableData: [\n // {code:'1'}\n ],\n tableCols: [{\n type: \"normal\",\n is_show: true,\n minWidth: \"60\",\n prop: \"code\",\n label: \"序号\",\n align: \"center\"\n }, {\n type: \"normal\",\n is_show: true,\n minWidth: \"120\",\n prop: \"operator_name\",\n label: \"操作人\",\n sortable: true\n /* align:'right'*/\n }, {\n type: \"normal\",\n is_show: true,\n minWidth: \"120\",\n prop: \"ip_addr\",\n label: \"IP地址\",\n sortable: true\n }, {\n type: \"normal\",\n is_show: true,\n minWidth: \"120\",\n prop: \"operate_type\",\n label: \"操作类型\",\n sortable: true\n }, {\n type: \"normal\",\n is_show: true,\n minWidth: \"120\",\n prop: \"operate_function\",\n label: \"模块\",\n sortable: true\n }, {\n type: \"normal\",\n is_show: true,\n minWidth: \"160\",\n prop: \"run_time\",\n label: \"执行时长ms\",\n sortable: true\n }, {\n type: \"normal\",\n is_show: true,\n minWidth: \"120\",\n prop: \"operate_time\",\n label: \"调试时间\",\n align: \"left\",\n sortable: true\n }, {\n type: \"normal\",\n is_show: true,\n minWidth: \"120\",\n prop: \"operate_status\",\n sortable: true,\n label: \"调试结果\"\n }, {\n type: \"normal\",\n is_show: true,\n minWidth: \"110\",\n prop: \"operator_content\",\n label: \"调试内容\",\n sortable: true,\n align: \"left\"\n }, {\n type: \"normal\",\n is_show: true,\n minWidth: \"80\",\n prop: \"source\",\n label: \"来源\",\n align: \"left\",\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 onSubmit: function onSubmit() {\n this.page.limit = 1;\n this.createLoad();\n this.getlist();\n },\n statisic: function statisic() {},\n logClear: function logClear() {\n var _this = this;\n deleteLog().then(function (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 (err) {\n console.log(err);\n });\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 logRank: \"1\",\n logType: 2,\n operatorName: this.formInline.operator,\n // 操作人姓名\n startTime: this.formInline.stateTime,\n endtTime: this.formInline.EndTime,\n source: +this.formInline.source\n }\n };\n console.log(Content);\n XTother(Content).then(function (res) {\n // console.log(res);\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]}