{"remainingRequest":"/data/jenkins/workspace/test-v5inweb-5.x-vue/node_modules/thread-loader/dist/cjs.js!/data/jenkins/workspace/test-v5inweb-5.x-vue/node_modules/babel-loader/lib/index.js!/data/jenkins/workspace/test-v5inweb-5.x-vue/node_modules/cache-loader/dist/cjs.js??ref--0-0!/data/jenkins/workspace/test-v5inweb-5.x-vue/node_modules/vue-loader/lib/index.js??vue-loader-options!/data/jenkins/workspace/test-v5inweb-5.x-vue/src/components/form_termination_flowpanel.vue?vue&type=script&lang=js&","dependencies":[{"path":"/data/jenkins/workspace/test-v5inweb-5.x-vue/src/components/form_termination_flowpanel.vue","mtime":1739760944315},{"path":"/data/jenkins/workspace/test-v5inweb-5.x-vue/babel.config.js","mtime":1739760943855},{"path":"/data/jenkins/workspace/test-v5inweb-5.x-vue/node_modules/cache-loader/dist/cjs.js","mtime":499162500000},{"path":"/data/jenkins/workspace/test-v5inweb-5.x-vue/node_modules/thread-loader/dist/cjs.js","mtime":499162500000},{"path":"/data/jenkins/workspace/test-v5inweb-5.x-vue/node_modules/babel-loader/lib/index.js","mtime":315532800000},{"path":"/data/jenkins/workspace/test-v5inweb-5.x-vue/node_modules/cache-loader/dist/cjs.js","mtime":499162500000},{"path":"/data/jenkins/workspace/test-v5inweb-5.x-vue/node_modules/vue-loader/lib/index.js","mtime":1655715099000}],"contextDependencies":[],"result":["import API from \"@/api.js\";\nexport default {\n props: [\"stateId\", \"act\", \"openParams\", \"buildFormData\"],\n data: function data() {\n return {\n attitude: ''\n };\n },\n created: function created() {},\n mounted: function mounted() {},\n methods: {\n /**\n * 取消\n */\n handleCancel: function handleCancel() {\n var cancel = false;\n this.$emit('handleCancel', cancel);\n },\n //提交\n onSubmit: function onSubmit() {\n var _this = this;\n var workFlowType = this.act.workFlowType;\n var appId = this.openParams.appId;\n var docId = this.openParams._select;\n var attitude = this.attitude;\n if (workFlowType == 1) {\n //自由流程\n var formData = this.buildFormData;\n formData.stateId = this.stateId;\n var _docId = formData.id,\n id = formData.id;\n var formId = formData.formId;\n var document = {\n applicationId: appId,\n attitude: attitude,\n docId: _docId,\n document: formData,\n formId: formId,\n id: id,\n parentId: \"\",\n templateForm: \"\",\n viewId: \"\"\n };\n this.$api.completeFreeFlow(appId, _docId, document, {\n onSucess: function onSucess(response) {\n var act = response.data;\n _this.attitude = '';\n _this.$emit(\"action\", act);\n }\n });\n } else {\n //非自由流程\n if (!attitude) {\n this.$message({\n message: this.$t('view.notnull_ss'),\n type: 'warning'\n });\n } else {\n this.$api.terminationWorkflow(appId, docId, attitude, {\n onSucess: function onSucess(response) {\n var act = response.data;\n _this.attitude = '';\n _this.$emit(\"action\", act);\n }\n });\n }\n }\n }\n }\n};",null]}