hz-zhhq-web/node_modules/.cache/babel-loader/023d8e3c6c43a6316f41a70d3ef...

1 line
10 KiB
JSON

{"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\\audit.vue?vue&type=script&lang=js","dependencies":[{"path":"E:\\hz-zhhq-web\\src\\views\\systemLog\\audit.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":["import _defineProperty from \"E:/hz-zhhq-web/node_modules/@babel/runtime/helpers/esm/defineProperty.js\";\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//\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, TjSjLog, deleteLog, auidDates, TjLog } 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 loading1: false,\n //初始化loading\n loadingMsg1: \"\",\n optionType: [{\n value: \"恢复\",\n label: \"恢复\"\n }, {\n value: \"删除\",\n label: \"删除\"\n }, {\n value: \"备份\",\n label: \"备份\"\n }, {\n value: \"修改\",\n label: \"修改\"\n }, {\n value: \"查询\",\n label: \"查询\"\n }],\n resultOption: [{\n value: \"成功\",\n label: \"成功\"\n }, {\n value: \"失败\",\n label: \"失败\"\n }],\n tableData2: [],\n dialogVisible: false,\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 formSearchV: {\n operatorName: \"\",\n endtTime: \"\",\n startTime: \"\",\n operationType: \"\"\n },\n tableData: [\n // {code:'1'}\n ],\n tableCols: [_defineProperty(_defineProperty({\n type: \"normal\",\n is_show: true,\n minWidth: \"150\",\n prop: \"code\",\n label: \"序号\",\n align: \"center\"\n }, \"minWidth\", \"60\"), \"sortable\", false), _defineProperty(_defineProperty({\n type: \"normal\",\n is_show: true,\n minWidth: \"60\",\n prop: \"log_type\",\n label: \"业务类型\"\n }, \"minWidth\", \"110\"), \"sortable\", true), {\n type: \"normal\",\n is_show: true,\n minWidth: \"110\",\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: \"120\",\n prop: \"operator_name\",\n label: \"操作人\",\n sortable: true\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_status\",\n label: \"操作结果\",\n align: \"left\",\n sortable: false\n }, {\n type: \"normal\",\n is_show: true,\n minWidth: \"120\",\n prop: \"operate_time\",\n label: \"操作时间\",\n sortable: true\n }, {\n type: \"normal\",\n is_show: true,\n minWidth: \"180\",\n prop: \"operator_content\",\n label: \"操作内容\",\n align: \"left\",\n sortable: false\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 this.createLoad();\n // console.log(moment,50)\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 createLoad1: function createLoad1() {\n this.loading1 = true;\n this.loadingMsg1 = '加载中...';\n },\n clearLoad1: function clearLoad1() {\n this.loading1 = false;\n this.loadingMsg1 = '';\n },\n onOut: function onOut() {},\n onSubmit: function onSubmit() {\n this.page.limit = 1;\n this.createLoad();\n this.getlist();\n },\n searchDetail: function searchDetail() {\n // this.clearLoad1();\n this.statisic();\n },\n statisic: function statisic() {\n var _this = this;\n this.dialogVisible = true;\n this.createLoad1();\n var Content = {\n queryObj: {\n logRank: \"1\",\n logType: \"1\",\n startTime: this.formSearchV.startTime,\n endtTime: this.formSearchV.endtTime,\n operatorName: this.formSearchV.operatorName,\n operateType: this.formSearchV.operationType\n }\n };\n // console.log(this.formSearchV.operationType)\n // console.log(Content,412)\n TjLog(Content).then(function (res) {\n // console.log(res);\n if (res.returnCode == \"1\") {\n _this.clearLoad1();\n // console.log(res)\n _this.tableData2 = res.returnData;\n // this.page.total = res.returnData.total;\n\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 handleClose: function handleClose() {\n this.dialogVisible = false;\n this.formSearchV = {\n operatorName: \"\",\n endtTime: \"\",\n startTime: \"\"\n };\n },\n logClear: function logClear() {\n var _this2 = this;\n deleteLog().then(function (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 });\n },\n currentChanges: function currentChanges(val) {\n this.page.limit = val;\n this.createLoad();\n this.getlist();\n },\n getlist: function getlist() {\n var _this3 = this;\n var Content = {\n currentPage: this.page.limit,\n queryObj: {\n logRank: \"1\",\n logType: 1,\n operateType: this.formInline.operationType,\n //操作类型\n operatorName: this.formInline.operator,\n // 操作人姓名\n ipAddr: this.formInline.ipAddress,\n // ip地址\n startTime: this.formInline.stateTime,\n endtTime: this.formInline.EndTime,\n operatorContent: this.formInline.operationContent,\n // 操作内容\n operateStatus: this.formInline.result,\n //操作状态\n source: +this.formInline.source\n }\n };\n XTother(Content).then(function (res) {\n console.log(res);\n if (res.returnCode == \"1\") {\n _this3.clearLoad();\n // console.log(res)\n _this3.tableData = res.returnData.data;\n _this3.page.total = res.returnData.total;\n _this3.page.limit = res.returnData.currentPage;\n if (_this3.page.total == 0) {\n _this3.$message({\n message: \"当前无数据\",\n type: \"success\"\n });\n } else {\n _this3.$message({\n message: res.returnMsg,\n type: \"success\"\n });\n setTimeout(function () {\n _this3.clearLoad();\n }, 300);\n }\n } else {\n _this3.$message({\n message: res.returnMsg,\n type: \"warning\"\n });\n setTimeout(function () {\n _this3.clearLoad();\n }, 300);\n }\n }).catch(function (err) {\n console.log(err);\n });\n }\n }\n};",null]}