{"remainingRequest":"D:\\jenkins\\workspace\\xq-web-fvue\\node_modules\\thread-loader\\dist\\cjs.js!D:\\jenkins\\workspace\\xq-web-fvue\\node_modules\\babel-loader\\lib\\index.js!D:\\jenkins\\workspace\\xq-web-fvue\\node_modules\\cache-loader\\dist\\cjs.js??ref--0-0!D:\\jenkins\\workspace\\xq-web-fvue\\node_modules\\vue-loader\\lib\\index.js??vue-loader-options!D:\\jenkins\\workspace\\xq-web-fvue\\src\\components\\flow\\task\\taskToRevoke.vue?vue&type=script&lang=js&","dependencies":[{"path":"D:\\jenkins\\workspace\\xq-web-fvue\\src\\components\\flow\\task\\taskToRevoke.vue","mtime":1667327529466},{"path":"D:\\jenkins\\workspace\\xq-web-fvue\\babel.config.js","mtime":1667327525434},{"path":"D:\\jenkins\\workspace\\xq-web-fvue\\node_modules\\cache-loader\\dist\\cjs.js","mtime":499162500000},{"path":"D:\\jenkins\\workspace\\xq-web-fvue\\node_modules\\thread-loader\\dist\\cjs.js","mtime":499162500000},{"path":"D:\\jenkins\\workspace\\xq-web-fvue\\node_modules\\babel-loader\\lib\\index.js","mtime":315532800000},{"path":"D:\\jenkins\\workspace\\xq-web-fvue\\node_modules\\cache-loader\\dist\\cjs.js","mtime":499162500000},{"path":"D:\\jenkins\\workspace\\xq-web-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//\nimport OpinionText from \"@/components/common/opinionText.vue\";\nimport flow from \"@/api/flow.js\";\nexport default {\n props: [\"instId\", \"taskId\"],\n name: \"taskToRevoke\",\n data: function data() {\n return {\n dialogVisible: false,\n text: \"\",\n data: {},\n revokeUrl: \"\"\n };\n },\n components: {\n OpinionText: OpinionText\n },\n methods: {\n showDialog: function showDialog(revokeUrl, data) {\n this.data = data;\n this.revokeUrl = revokeUrl;\n this.dialogVisible = true;\n },\n confirm: function confirm() {\n var _this = this;\n\n var opinion = this.$refs.opinionText.getOpinion();\n\n if (!opinion) {\n this.$message({\n type: \"warning\",\n message: \"请输入撤回原因\"\n });\n return;\n }\n\n this.data.cause = opinion;\n this.$store.dispatch(this.revokeUrl, this.data).then(function (value) {\n _this.dialogVisible = false;\n\n if (value) {\n _this.$router.push(\"/task/\" + value + \"/0\");\n\n setTimeout(function () {\n _this.$root.$children[0].reload();\n }, 10);\n } else {\n _this.$router.push(\"/v-flow/v-todo\");\n }\n });\n },\n cancel: function cancel() {\n this.dialogVisible = false;\n }\n }\n};",null]}