{"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\\dialog\\EipChartDialog.vue?vue&type=script&lang=js&","dependencies":[{"path":"D:\\jenkins\\workspace\\xq-web-bpm\\src\\components\\dialog\\EipChartDialog.vue","mtime":1675071991710},{"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/es6.number.constructor\";\n\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\nvar htSysTypeTree = function htSysTypeTree() {\n  return import(\"@/components/common/HtSysTypeTree.vue\");\n};\n\nimport req from \"@/request.js\";\nexport default {\n  name: \"eip-chart-dialog\",\n  components: {\n    htSysTypeTree: htSysTypeTree\n  },\n  props: {\n    chartType: {\n      type: Number\n    },\n    appendToBody: {\n      type: Boolean,\n      default: false\n    }\n  },\n  data: function data() {\n    return {\n      pageResult: {\n        page: 1,\n        pageSize: 10,\n        total: 0\n      },\n      data: [],\n      dialogVisible: false,\n      selectedNode: null\n    };\n  },\n  computed: {\n    title: function title() {\n      return this.chartType == 1 ? \"统计报表选择器\" : \"自定义图表选择器\";\n    }\n  },\n  methods: {\n    handleCurrentChange: function handleCurrentChange() {\n      alert(\"jj\");\n    },\n    //鼠标选中行改变复选框\n    rowClick: function rowClick(row, column, event) {\n      this.$refs.chartTable.$refs.htTable.toggleRowSelection(row);\n    },\n    loadData: function loadData(param, cb) {\n      var _this = this;\n\n      var url = \"\";\n\n      if (this.chartType == 2) {\n        url = window.context.form + \"/form/customChart/v1/list\";\n      } else {\n        url = window.context.bpmRunTime + \"/runtime/report/v1/listJson?isPublic=true\";\n      }\n\n      req.post(url, param).then(function (response) {\n        _this.data = response.data.rows;\n        _this.pageResult = {\n          page: response.data.page,\n          pageSize: response.data.pageSize,\n          total: response.data.total\n        };\n      }).finally(function () {\n        return cb && cb();\n      });\n    },\n    showDialog: function showDialog() {\n      var _this2 = this;\n\n      this.dialogVisible = true;\n      this.$nextTick(function () {\n        _this2.$refs.chartTable.load();\n      });\n    },\n    handleClose: function handleClose() {\n      this.dialogVisible = false;\n    },\n    handleNodeClick: function handleNodeClick(node) {\n      this.selectedNode = node;\n    },\n    onConfirm: function onConfirm() {\n      var selectedList = this.$refs.chartTable.$refs.htTable.selection;\n\n      if (selectedList.length == 0) {\n        this.$message({\n          message: \"请选择一项!\",\n          type: \"warning\"\n        });\n        return;\n      }\n\n      this.$emit(\"onConfirm\", selectedList);\n      this.dialogVisible = false;\n    }\n  }\n};",null]}