{"remainingRequest":"D:\\jenkins\\workspace\\xq-web-bpm\\node_modules\\thread-loader\\dist\\cjs.js!D:\\jenkins\\workspace\\xq-web-bpm\\node_modules\\babel-loader\\lib\\index.js!D:\\jenkins\\workspace\\xq-web-bpm\\node_modules\\cache-loader\\dist\\cjs.js??ref--0-0!D:\\jenkins\\workspace\\xq-web-bpm\\node_modules\\vue-loader\\lib\\index.js??vue-loader-options!D:\\jenkins\\workspace\\xq-web-bpm\\src\\components\\flow\\FlowImage.vue?vue&type=script&lang=js&","dependencies":[{"path":"D:\\jenkins\\workspace\\xq-web-bpm\\src\\components\\flow\\FlowImage.vue","mtime":1675071991803},{"path":"D:\\jenkins\\workspace\\xq-web-bpm\\node_modules\\cache-loader\\dist\\cjs.js","mtime":499162500000},{"path":"D:\\jenkins\\workspace\\xq-web-bpm\\node_modules\\thread-loader\\dist\\cjs.js","mtime":499162500000},{"path":"D:\\jenkins\\workspace\\xq-web-bpm\\node_modules\\babel-loader\\lib\\index.js","mtime":315532800000},{"path":"D:\\jenkins\\workspace\\xq-web-bpm\\node_modules\\cache-loader\\dist\\cjs.js","mtime":499162500000},{"path":"D:\\jenkins\\workspace\\xq-web-bpm\\node_modules\\vue-loader\\lib\\index.js","mtime":499162500000}],"contextDependencies":[],"result":["import \"core-js/modules/web.dom.iterable\";\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//\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 { mapState, mapActions } from \"vuex\";\nimport SubFlowImage from \"@/components/flow/SubFlowImage.vue\";\nexport default {\n name: \"taskImage\",\n props: [\"bpmnInstId\", \"instId\", \"defId\"],\n components: {\n SubFlowImage: SubFlowImage\n },\n data: function data() {\n return {\n imageDialog: false,\n proInst: this.instId,\n widthImg: \"\",\n heightImg: \"\",\n backGroundImg: \"\",\n positionImg: \"relative\",\n listLayout: \"\",\n nodeOpinions: [],\n maxHeightImg: ''\n };\n },\n methods: {\n handleOpen: function handleOpen() {},\n handleClose: function handleClose() {\n this.imageDialog = false;\n },\n nodeClick: function nodeClick(node) {\n this.$refs.subTaskImage.handleOpen(this.defId, this.instId, node.nodeId);\n }\n },\n created: function created() {\n var _this = this;\n\n this.imageDialog = true;\n this.maxHeightImg = document.body.clientHeight - 100;\n var data = {\n \"bpmnInstId\": this.bpmnInstId,\n \"instId\": this.instId,\n \"defId\": this.defId\n };\n this.$store.dispatch(\"flow/getBpmImage\", data).then(function (res) {\n _this.widthImg = res.rows.bpmDefLayout.width;\n _this.heightImg = res.rows.bpmDefLayout.height;\n _this.backGroundImg = res.img;\n res.rows.bpmDefLayout.listLayout.forEach(function (element) {\n var styleStr = \"position: 'absolute', left:\" + element.x + \"px, top:\" + element.y + \"px, width:\" + element.width + \"px, height:\" + element.height + \"px\";\n element.style = styleStr;\n });\n _this.listLayout = res.rows.bpmDefLayout.listLayout;\n var nodeIds = [];\n\n _this.listLayout.forEach(function (layout) {\n if (layout.nodeType == 'USERTASK' || layout.nodeType == 'SIGNTASK') {\n nodeIds.push(layout.nodeId);\n }\n });\n\n nodeIds = nodeIds.join(',');\n\n _this.$store.dispatch(\"flow/getNodeopinions\", {\n instId: _this.instId,\n nodeIds: nodeIds\n }).then(function (resp) {\n if (resp) {\n for (var key in resp) {\n if (resp[key].data && resp[key].hasOpinion) {\n resp[key].data.forEach(function (element) {\n if (element.qualfieds) {\n element.qualfieds = eval('(' + element.qualfieds + ')');\n }\n });\n }\n }\n }\n\n _this.nodeOpinions = resp;\n console.info(_this.nodeOpinions);\n });\n });\n }\n};",null]}