{"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\\formManage.vue?vue&type=script&lang=js&","dependencies":[{"path":"D:\\jenkins\\workspace\\xq-web-fvue\\src\\components\\flow\\formManage.vue","mtime":1667327529403},{"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//\nimport FormContent from \"@/components/flow/formContent.vue\";\nimport { mapState, mapActions } from \"vuex\";\nimport utils from \"@/utils.js\";\nimport { Base64 } from \"js-base64\";\nexport default {\n name: \"formManage\",\n components: {\n FormContent: FormContent\n },\n props: [\"instId\", \"type\", \"taskId\"],\n data: function data() {\n return {\n procInstId: this.instId,\n defId: \"\",\n bpmnInstId: \"\",\n subject: \"\",\n status: \"\",\n choiceExcutor: \"\",\n jumpType: \"\"\n };\n },\n computed: {\n isPlmeformPage: function isPlmeformPage() {\n return this.$route.query.hasOwnProperty('plmeform');\n }\n },\n methods: {\n //保存数据\n saveFormData: function saveFormData() {\n var _this = this;\n\n utils.getOnlineFormData(true).then(function (formDataStr) {\n var jsonData = {};\n jsonData.proInstId = _this.instId;\n jsonData.data = Base64.encode(formDataStr);\n jsonData.expression = \"\";\n _this.disabled = true;\n\n _this.$confirm(\"确认修改表单数据?\", \"提示\", {\n cancelButtonText: \"取消\",\n confirmButtonText: \"确定\",\n type: \"warning\",\n closeOnClickModal: false\n }).then(function () {\n utils.closeAllNotification();\n\n _this.$store.dispatch(\"storeProcess/saveFormData\", jsonData).then(function (resp) {\n if (resp && resp.state) {\n _this.$message.success(\"修改成功\");\n } else {\n var message = resp && resp.message ? resp.message : \"修改失败\";\n\n _this.$message.error(message);\n }\n });\n }).finally(function () {\n _this.disabled = false;\n });\n }).catch(function (reason) {\n return utils.handleGetFormDataReject(reason);\n });\n }\n },\n created: function created() {\n var _this2 = this;\n\n this.$store.dispatch(\"storeProcess/getInstanceByInstId\", this.instId).then(function (insts) {\n _this2.defId = insts.procDefId;\n _this2.bpmnInstId = insts.bpmnInstId;\n _this2.subject = insts.subject;\n });\n }\n};",null]}