{"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\\task\\subTaskImage.vue?vue&type=script&lang=js&","dependencies":[{"path":"D:\\jenkins\\workspace\\xq-web-fvue\\src\\components\\flow\\task\\subTaskImage.vue","mtime":1667327529419},{"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":["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//\n//\n//\nimport { mapState, mapActions } from \"vuex\";\nexport default {\n  name: \"subTaskImage\",\n  data: function data() {\n    return {\n      imageDialogSub: false,\n      widthImg: \"\",\n      heightImg: \"\",\n      backGroundImg: \"\",\n      positionImg: \"relative\",\n      listLayout: \"\",\n      nodeOpinions: [],\n      instId: '',\n      defId: ''\n    };\n  },\n  methods: {\n    handleOpen: function handleOpen(defId, instId, subNodeId) {\n      var _this = this;\n\n      this.imageDialogSub = true;\n      var data = {\n        \"defId\": defId,\n        \"instId\": instId,\n        \"nodeId\": subNodeId,\n        type: 'subFlow'\n      };\n      this.$store.dispatch(\"storeProcess/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        _this.instId = res.rows.instanceId;\n        _this.defId = res.rows.defId;\n\n        _this.$store.dispatch(\"storeProcess/getNodeopinions\", {\n          instId: res.rows.instanceId,\n          nodeIds: nodeIds,\n          defId: res.rows.defId\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        });\n      });\n    },\n    handleClose: function handleClose() {\n      this.imageDialogSub = false;\n    },\n    nodeClick: function nodeClick(node) {\n      this.handleOpen(this.defId, this.instId, node.nodeId);\n    }\n  }\n};",null]}