{"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\\FlowNodeUserRuleSelector.vue?vue&type=script&lang=js&","dependencies":[{"path":"D:\\jenkins\\workspace\\xq-web-bpm\\src\\components\\flow\\FlowNodeUserRuleSelector.vue","mtime":1675071991850},{"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//\nimport req from \"@/request.js\";\nimport { mapState, mapActions } from \"vuex\";\nimport { Message } from 'element-ui';\n\nvar eipUserDialog = function eipUserDialog() {\n return import(\"@/components/dialog/EipUserDialog.vue\");\n};\n\nimport FlowVarSelector from \"@/components/flow/FlowVarSelector.vue\";\nexport default {\n name: \"hsScript\",\n components: {\n FlowVarSelector: FlowVarSelector,\n eipUserDialog: eipUserDialog\n },\n data: function data() {\n return {\n dialogVisible: false,\n //是否显示设置节点按钮侧边栏\n curScript: '',\n defaultProps: {\n children: 'children',\n label: 'name'\n },\n data: {\n executorVar: {\n executorType: 'fixed',\n value: '',\n userValType: \"userId\"\n },\n expression: 'equals'\n }\n };\n },\n computed: mapState({\n curNode: function curNode(state) {\n return state.flow.defConfigData.curEditNode;\n }\n }),\n methods: {\n dialogOnConfirm: function dialogOnConfirm(users) {\n if (users) {\n if (this.data.executorVar.userValType == \"userId\") {\n this.data.executorVar.value = users[0].id;\n } else {\n this.data.executorVar.value = users[0].account;\n }\n\n this.data.executorVar.valueText = users[0].fullname;\n }\n },\n selectUser: function selectUser(ref) {\n this.$refs[ref].showDialog({});\n },\n nodeClick: function nodeClick(node) {\n if (node.nodeType == 'var') {\n //流程变量\n this.data.executorVar.source = \"flowVar\";\n } else {\n //表单变量\n this.data.executorVar.source = \"BO\"; //TODO 增加了其他变量就要修改\n }\n\n this.data.dataType = node.dataType;\n },\n showDialog: function showDialog(param) {\n if (param.conDesc) {\n this.data = param;\n } else {\n this.data = {\n executorVar: {\n executorType: 'fixed',\n value: '',\n userValType: \"userId\"\n },\n expression: 'equals'\n };\n }\n\n this.dialogVisible = true;\n },\n handleClose: function handleClose() {\n //组装对象\n this.data.conDesc = document.getElementById('conDesc').innerText;\n\n if (this.data.executorVar.executorType != \"user\") {\n delete this.data.executorVar.userValType;\n }\n\n this.$emit('customRuleSelectorConfirm', this.data);\n this.dialogVisible = false;\n }\n },\n mounted: function mounted() {},\n create: function create() {}\n};",null]}