{"remainingRequest":"D:\\jenkins\\workspace\\reform-fvue\\node_modules\\thread-loader\\dist\\cjs.js!D:\\jenkins\\workspace\\reform-fvue\\node_modules\\babel-loader\\lib\\index.js!D:\\jenkins\\workspace\\reform-fvue\\node_modules\\cache-loader\\dist\\cjs.js??ref--0-0!D:\\jenkins\\workspace\\reform-fvue\\node_modules\\vue-loader\\lib\\index.js??vue-loader-options!D:\\jenkins\\workspace\\reform-fvue\\src\\components\\dialog\\RecordDialog.vue?vue&type=script&lang=js&","dependencies":[{"path":"D:\\jenkins\\workspace\\reform-fvue\\src\\components\\dialog\\RecordDialog.vue","mtime":1682075301503},{"path":"D:\\jenkins\\workspace\\reform-fvue\\node_modules\\cache-loader\\dist\\cjs.js","mtime":499162500000},{"path":"D:\\jenkins\\workspace\\reform-fvue\\node_modules\\thread-loader\\dist\\cjs.js","mtime":499162500000},{"path":"D:\\jenkins\\workspace\\reform-fvue\\node_modules\\babel-loader\\lib\\index.js","mtime":315532800000},{"path":"D:\\jenkins\\workspace\\reform-fvue\\node_modules\\cache-loader\\dist\\cjs.js","mtime":499162500000},{"path":"D:\\jenkins\\workspace\\reform-fvue\\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//\nimport req from '@/request.js';\nvar portal = window.context.portal;\nexport default {\n name: 'RecordDialog',\n components: {},\n data: function data() {\n return {\n dialogVisible: false,\n markLoading: false,\n reverse: true,\n activities: [],\n reqLoading: false\n };\n },\n methods: {\n openDialog: function openDialog(id) {\n this.dialogVisible = true;\n this.reqLoading = true;\n this.getOperationLog(id);\n },\n closeDialog: function closeDialog() {\n this.dialogVisible = false;\n this.activities = [];\n },\n // 查询日志\n getOperationLog: function getOperationLog(id) {\n var _this = this;\n\n req.post(portal + \"/approvalLog/bizAchieveStatusLog/v1/process/\".concat(id)).then(function (res) {\n if (res.status == 200) {\n _this.activities = res.data;\n }\n\n _this.reqLoading = false;\n });\n },\n // 设置图标以及颜色\n geticon: function geticon(row) {\n var icon = '';\n\n if ((row.status == 2 || row.status == 4 || row.status == 7 || row.status == 9 || row.status == 11) && row.approvalResults != 2) {\n icon = 'el-icon-close';\n } else if ((row.status == 1 || row.status == 3 || row.status == 5 || row.status == 6 || row.status == 8 || row.status == 10 || row.status == 12) && row.approvalResults != 2) {\n icon = 'el-icon-check';\n } else if (row.status == 0 && row.approvalResults != 2) {\n icon = 'el-icon-more';\n } else if (row.approvalResults == 2) {\n icon = 'el-icon-bottom-left';\n }\n\n return icon;\n },\n getcolor: function getcolor(row) {\n var color = '';\n\n if (row.status == 2 || row.status == 4 || row.status == 7 || row.status == 9 || row.status == 11 || row.approvalResults == 2) {\n color = '#F56C6C';\n } else if (row.status == 0 && row.approvalResults != 2) {\n // color = '#67C23A'\n color = '#2761ff';\n } else {\n color = '#67C23A';\n }\n\n return color;\n }\n }\n};",null]}