{"remainingRequest":"D:\\jenkins\\workspace\\artfess-module\\node_modules\\thread-loader\\dist\\cjs.js!D:\\jenkins\\workspace\\artfess-module\\node_modules\\babel-loader\\lib\\index.js!D:\\jenkins\\workspace\\artfess-module\\node_modules\\cache-loader\\dist\\cjs.js??ref--0-0!D:\\jenkins\\workspace\\artfess-module\\node_modules\\vue-loader\\lib\\index.js??vue-loader-options!D:\\jenkins\\workspace\\artfess-module\\src\\components\\dialog\\HtDialog.vue?vue&type=script&lang=js&","dependencies":[{"path":"D:\\jenkins\\workspace\\artfess-module\\src\\components\\dialog\\HtDialog.vue","mtime":1675232038652},{"path":"D:\\jenkins\\workspace\\artfess-module\\node_modules\\cache-loader\\dist\\cjs.js","mtime":499162500000},{"path":"D:\\jenkins\\workspace\\artfess-module\\node_modules\\thread-loader\\dist\\cjs.js","mtime":499162500000},{"path":"D:\\jenkins\\workspace\\artfess-module\\node_modules\\babel-loader\\lib\\index.js","mtime":315532800000},{"path":"D:\\jenkins\\workspace\\artfess-module\\node_modules\\cache-loader\\dist\\cjs.js","mtime":499162500000},{"path":"D:\\jenkins\\workspace\\artfess-module\\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//\nimport utils from \"@/utils.js\";\nimport Selector from \"@/components/common/Selector.vue\";\nimport { setTimeout } from \"timers\";\nexport default {\n  name: \"ht-dialog\",\n  props: {\n    value: String,\n    single: {\n      type: Boolean,\n      default: false\n    },\n    data: {\n      type: Array,\n      default: function _default() {\n        return [];\n      }\n    },\n    tableColumns: {\n      type: Array,\n      default: function _default() {\n        return [];\n      }\n    },\n    pagination: {\n      type: Object,\n      default: function _default() {\n        return {\n          page: 1,\n          pageSize: 50,\n          total: 0\n        };\n      }\n    },\n    selectLabel: {\n      type: String,\n      default: \"name\"\n    },\n    searchPlaceholder: {\n      type: String,\n      default: \"请输入查询内容\"\n    },\n    dialogTitle: {\n      type: String,\n      default: \"对话框\"\n    },\n    appendToBody: {\n      type: Boolean,\n      default: false\n    },\n    quickSearchProps: {\n      type: String,\n      required: true\n    },\n    destroyOnClose: {\n      type: Boolean,\n      default: false\n    }\n  },\n  components: {\n    Selector: Selector\n  },\n  data: function data() {\n    return {\n      inputName: null,\n      selectors: [],\n      dialogVisible: false\n    };\n  },\n  methods: {\n    // 同步value到当前所选数据中\n    showDialog: function showDialog(selectors) {\n      var _this = this;\n\n      this.dialogVisible = true;\n\n      if (!selectors) {\n        selectors = [];\n      }\n\n      setTimeout(function () {\n        _this.$refs.selector.onShow(selectors);\n      });\n    },\n    handleClose: function handleClose(done) {\n      this.$refs.selector.onHide();\n      done && done();\n    },\n    handleDialogSure: function handleDialogSure() {\n      this.dialogVisible = false;\n      this.$refs.selector.onHide(true);\n      this.$emit(\"onConfirm\", this.selectors);\n    },\n    handleDialogCancel: function handleDialogCancel() {\n      this.dialogVisible = false;\n      this.$refs.selector.onHide();\n    },\n    handleRemove: function handleRemove(item) {\n      this.selectors.remove(item);\n    },\n    load: function load(param, cb) {\n      this.$emit(\"load\", param, cb);\n    }\n  }\n};",null]}