{"remainingRequest":"/data/jenkins/workspace/badp-bcxin-web-5.x-mobile/node_modules/vue-loader/lib/index.js??vue-loader-options!/data/jenkins/workspace/badp-bcxin-web-5.x-mobile/src/components/form_review_flowpanel.vue?vue&type=script&lang=js&","dependencies":[{"path":"/data/jenkins/workspace/badp-bcxin-web-5.x-mobile/src/components/form_review_flowpanel.vue","mtime":1740130327257},{"path":"/data/jenkins/workspace/badp-bcxin-web-5.x-mobile/node_modules/cache-loader/dist/cjs.js","mtime":499162500000},{"path":"/data/jenkins/workspace/badp-bcxin-web-5.x-mobile/node_modules/thread-loader/dist/cjs.js","mtime":499162500000},{"path":"/data/jenkins/workspace/badp-bcxin-web-5.x-mobile/node_modules/babel-loader/lib/index.js","mtime":499162500000},{"path":"/data/jenkins/workspace/badp-bcxin-web-5.x-mobile/node_modules/cache-loader/dist/cjs.js","mtime":499162500000},{"path":"/data/jenkins/workspace/badp-bcxin-web-5.x-mobile/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\nimport { Toast } from 'mint-ui';\nexport default {\n props: [\"act\",\"approvers\"],\n data: function() {\n return {\n attitude: \"\",\n };\n },\n created() {\n this.getSuggest();\n },\n\n mounted() {\n \n },\n methods: {\n \n //获取返回的数据\n getSuggest() {\n this.$api.getCommonOpinions(this.$root.user.id, {\n onSucess: response => {\n this.allSuggests = response.data.data;\n }\n });\n },\n\n //提交\n onSubmit() {\n let attitude = this.attitude;\n let appId = this.$root.appid;\n let instanceId = this.approvers[0].instanceId;\n this.$api.review(appId, instanceId, attitude, {\n onSucess: response => {\n let status = \"\"\n if(response.data.errcode==0) {\n status = 'SUCCESS';\n this.$emit(\"action\",status)\n //this.$parent.$parent.$parent.$parent.$parent.closeThePopup(status);\n Toast({\n message: response.data.data,\n iconClass: 'fa fa-check fa-2x'\n });\n }else if(response.data.errcode==4001){\n status = 'ERROR';\n this.$emit(\"action\",status)\n this.$parent.$parent.$parent.$parent.$parent.closeThePopup(status);\n Toast({\n message: response.data.errmsg,\n iconClass: 'fa fa-close fa-2x'\n });\n }\n }\n });\n },\n }\n};\n",null]}