{"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/approvers.vue?vue&type=script&lang=js&","dependencies":[{"path":"/data/jenkins/workspace/badp-bcxin-web-5.x-mobile/src/components/approvers.vue","mtime":1740130327256},{"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//\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//\n//\n\nimport API from \"@/api.js\";\nexport default {\n //http://localhost:8081/obpm/contacts/contacts/getAvatar.action?id=GShxHeYbLQQ3d4Vy58b\n props: [\"flowinfo\",\"haveActivity\"],\n watch: {\n currentApproversList() {\n let isEnd = [];\n let nodes = this.currentApproversList.nodes;\n for(let i=0; i {\n let allData = response.data.data;\n for (let i = 0; i < allData.length; i++) {\n switch (allData[i].flowOperation) {\n case \"81\":\n //回退\n this.hidePendingApproval = true\n break;\n case \"85\":\n this.hidePendingApproval = true\n break;\n case \"88\":\n this.hidePendingApproval = true\n break;\n case \"89\":\n this.hidePendingApproval = true\n break;\n case \"91\":\n this.hidePendingApproval = true\n break;\n default:\n this.hidePendingApproval = true\n break;\n }\n let ymd = allData[i].processtime.split(\" \");\n let md = ymd[0].split(\"-\")[1] + \"-\" + ymd[0].split(\"-\")[2] + \" \" + ymd[1].split(\":\")[0] + \":\" + ymd[1].split(\":\")[1];\n response.data.data[i].processtime = md;\n }\n this.reverseTableData = allData;//.reverse();\n for(let i=0; i {\n this.reverseTableData[i].photo = response.data.data;\n this.$forceUpdate();\n }\n })\n }\n }\n });\n },\n mounted() {\n this.setCurrentApprovers();\n this.$nextTick(() => {\n let nodesLength = this.currentApproversList?this.currentApproversList.nodes:[];\n if(!this.finished) { //流程未完成\n if(nodesLength && nodesLength.length > 0){\n let totalHeight = 96 + (nodesLength.length-1) * 21;\n this.flowInfoHeight = 'calc(100% - ' + totalHeight + 'px' + ' )'\n }\n // if(this.haveActivity) { //底下有按钮\n // }else {\n // }\n }\n \n\n })\n },\n methods: {\n setCurrentApprovers(){\n \n if(this.flowinfo.approvers) {\n if(!this.flowinfo.approvers[0].nodes[0].nodeId) {\n this.finished = true;\n }\n for(let i=0; i