{"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\\FlowNodeAttributes.vue?vue&type=script&lang=js&","dependencies":[{"path":"D:\\jenkins\\workspace\\xq-web-bpm\\src\\components\\flow\\FlowNodeAttributes.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":["//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\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 req from \"@/request.js\";\nimport { mapState, mapActions } from \"vuex\";\nimport { Message } from \"element-ui\";\n\nvar FlowNodeHelp = function FlowNodeHelp() {\n return import(\"@/components/flow/FlowNodeHelp.vue\");\n};\n\nvar EipMsgTemplateDialog = function EipMsgTemplateDialog() {\n return import(\"@/components/dialog/EipMsgTemplateDialog.vue\");\n};\n\nvar EipBoAttrSelector = function EipBoAttrSelector() {\n return import(\"@/components/selector/EipBoAttrSelector.vue\");\n};\n\nexport default {\n name: \"FlowNodeAttributes\",\n components: {\n FlowNodeHelp: FlowNodeHelp,\n EipMsgTemplateDialog: EipMsgTemplateDialog,\n EipBoAttrSelector: EipBoAttrSelector\n },\n props: {\n //任务节点信息\n node: {\n type: Object,\n required: true\n },\n //节点属性批量勾选配置\n nodeAttr: {\n type: Object,\n required: true\n },\n //流程配置信息\n defConfigData: {\n type: Object,\n required: true\n },\n //全局表单bo字段\n boDefJson: {\n type: Array,\n default: {}\n }\n },\n watch: {\n propertie: {\n handler: function handler(newValue, oldValue) {\n var path = \"nodeSetData.bpmDefSetting.nodePropertieMap.\" + this.node.nodeId;\n var obj = {};\n obj[path] = newValue; //更新vuex里面defConfigData配置数据\n\n this.$store.dispatch(\"flow/updateConfig\", obj);\n },\n deep: true\n },\n nodePropertieMap: {\n handler: function handler(newValue, oldValue) {\n //更新vuex里面defConfigData配置数据\n this.$store.dispatch(\"flow/updateConfig\", {\n \"nodeSetData.bpmDefSetting.nodePropertieMap\": newValue\n });\n },\n deep: true\n },\n nodeAttr: {\n handler: function handler(newValue, oldValue) {\n this.propertie.jumpType = newValue.jumpType; //批量勾选跳转类型\n\n this.propertie.notifyType = newValue.notify; //批量勾选通知类型\n\n if (newValue.backMode_all != \"\" && this.node.type != \"signTask\") {\n this.propertie.backMode = \"direct\"; //批量勾选驳回后返回\n } else {\n this.propertie.backMode = \"normal\";\n }\n\n if (newValue.skipExecutorEmpty_all != \"\") {\n this.propertie.skipExecutorEmpty = true; //批量勾选执行人为空时跳过\n } else {\n this.propertie.skipExecutorEmpty = false;\n }\n },\n deep: true\n }\n },\n data: function data() {\n return {\n value: \"\",\n //帮助内容\n title: \"\",\n //帮助弹框标题\n approvalArea: [// { key: \"approvalOpinion\", value: \"审批意见\" },\n // { key: \"zFile\", value: \"正文\" },\n // { key: \"file\", value: \"附件\" },\n {\n key: \"processRecord\",\n value: \"处理记录\"\n } // { key: \"imageBpm\", value: \"流程图\" }\n ],\n //审批区域显示\n propertie: {},\n //单个节点的配置信息\n selectNodeList: [],\n //可驳回的节点\n nodePropertieMap: {},\n messageVisible: false,\n checked: false\n };\n },\n methods: {\n //监听任务帮助对话框确认事件\n handleHelpSave: function handleHelpSave(data) {\n if (this.title == \"【全局任务节点】帮助提示\") {\n this.nodePropertieMap = JSON.parse(JSON.stringify(this.defConfigData.nodeSetData.bpmDefSetting.nodePropertieMap));\n\n for (var key in this.nodePropertieMap) {\n this.nodePropertieMap[key].helpGlobal = data; //获取全局任务节点任务帮助提示\n }\n } else {\n this.propertie.help = data; //获取单个任务节点任务帮助提示\n }\n },\n //点击帮助事件\n helpClick: function helpClick(nodeId, val) {\n var _this = this;\n\n var Base64 = require(\"js-base64\").Base64;\n\n var name = \"全局任务节点\";\n\n if (nodeId != \"\") {\n name = \"单个任务节点\";\n }\n\n this.title = \"【\" + name + \"】帮助提示\";\n\n if (val != \"\") {\n this.value = Base64.decode(val, \"utf-8\"); //单个任务节点帮助内容\n } else {\n this.value = Base64.decode(this.propertie.helpGlobal); //全局任务节点帮助内容\n }\n\n setTimeout(function () {\n _this.$refs.flowNodeHelp.showDialog(); //显示帮助富文本框\n\n });\n },\n //判断前置后置处理器是否存在\n checkHandler: function checkHandler(handler) {\n debugger;\n if (!handler) return;\n req.get(\"${bpmModel}/flow/node/v1/validHandler?handler=\" + handler).then(function (data) {\n data = data.data;\n\n if (data.result != \"0\") {\n Message.warning(\"接口\" + handler + \"有误,原因:\" + data.msg);\n }\n });\n },\n //设置节点消息通知\n openMessage: function openMessage() {\n this.messageVisible = true;\n },\n handleClose: function handleClose() {\n this.messageVisible = false;\n },\n templateConfirm: function templateConfirm(data) {\n this.$set(this.propertie, \"template\", data);\n },\n handleCommit: function handleCommit() {\n this.messageVisible = false;\n }\n },\n mounted: function mounted() {\n this.propertie = this.defConfigData.nodeSetData.bpmDefSetting.nodePropertieMap[this.node.nodeId]; //获取单个节点的配置信息\n //获取可驳回节点\n\n for (var i = 0; i < this.defConfigData.nodeSetData.nodes.length; i++) {\n if (this.defConfigData.nodeSetData.nodes[i].type == \"signTask\" || this.defConfigData.nodeSetData.nodes[i].type == \"userTask\" || this.defConfigData.nodeSetData.nodes[i].type == \"callActivity\") {\n this.selectNodeList.push(this.defConfigData.nodeSetData.nodes[i]);\n }\n }\n }\n};",null]}