{"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\\views\\form\\customDialog\\CustomDialogShowTree.vue?vue&type=script&lang=js&","dependencies":[{"path":"D:\\jenkins\\workspace\\xq-web-bpm\\src\\views\\form\\customDialog\\CustomDialogShowTree.vue","mtime":1675071992928},{"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//\nvar eipTreeDialog = function eipTreeDialog() {\n return import(\"@/views/form/customDialog/EipTreeDialog.vue\");\n};\n\nexport default {\n name: \"custom-dialog-show-tree\",\n components: {\n eipTreeDialog: eipTreeDialog\n },\n props: {\n title: {\n type: String,\n required: true,\n default: \"自定义对话框树形预览\"\n },\n //自定义对话框的别名\n alias: {\n type: String,\n required: true\n },\n //自定义对话框的配置\n customDialog: {\n type: Object,\n required: true\n },\n ispreview: {\n type: Boolean,\n required: false,\n default: true\n }\n },\n data: function data() {\n return {\n dialogVisible: false,\n //是否显示对话框\n mapParam: {} //动态传入的条件参数\n\n };\n },\n methods: {\n //显示对话框\n showDialog: function showDialog() {\n this.mapParam = {};\n this.dialogVisible = true;\n\n for (var i = this.customDialog.conditionfield.length - 1; i >= 0; i--) {\n //如果条件字段为data类型,则控制器的类型为日期类型\n if (this.customDialog.conditionfield[i].dbType == \"date\") {\n this.customDialog.conditionfield[i].type = \"date\";\n } else {\n this.customDialog.conditionfield[i].type = \"text\";\n }\n }\n },\n //确认对话框\n handleSave: function handleSave() {\n var _this = this;\n\n var mapParam = this.mapParam;\n\n for (var i = 0; i < this.customDialog.conditionfield.length; i++) {\n //得到输入的条件字段值\n var val = this.customDialog.conditionfield[i].paramVal;\n\n if (!val) {\n continue;\n } //得到条件字段KEY\n\n\n var key = this.customDialog.conditionfield[i].field;\n mapParam[key] = val;\n }\n\n setTimeout(function () {\n _this.$refs.eipTreeDialog.showDialog();\n });\n },\n //关闭对话框\n handleClose: function handleClose() {\n this.dialogVisible = false;\n },\n treeDialogOnConfirm: function treeDialogOnConfirm(data) {\n this.$emit('onConfirm', data);\n }\n }\n};",null]}