{"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\\common\\HtPageSelect.vue?vue&type=script&lang=js&","dependencies":[{"path":"D:\\jenkins\\workspace\\xq-web-bpm\\src\\components\\common\\HtPageSelect.vue","mtime":1675071991678},{"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.array.find\";\n//\n//\n//\n//\n//\n//\n//\n//\n//\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 \"@/hotent-ui-util.js\";\nexport default {\n name: \"ht-page-select\",\n props: {\n pagination: {\n type: Object,\n default: function _default() {\n return {\n page: 0,\n pageSize: 5,\n total: 0\n };\n }\n },\n options: Array,\n prop: {\n type: Object,\n default: function _default() {\n return {\n label: \"label\",\n value: \"value\"\n };\n }\n },\n value: String,\n remoteMethod: Function,\n permission: {\n type: String,\n default: \"w\",\n validator: function validator(value) {\n return [\"b\", \"w\", \"r\", \"n\"].indexOf(value) !== -1;\n }\n },\n validate: [String, Object],\n placeholder: {\n type: String,\n default: \"请输入关键词\"\n }\n },\n data: function data() {\n return {\n query: \"\",\n queryFilter: {\n pageBean: this.pagination,\n querys: []\n },\n loading: false\n };\n },\n created: function created() {\n this.$validator = this.$root.$validator;\n },\n mounted: function mounted() {\n this.init();\n },\n methods: {\n remoteFunction: function remoteFunction() {\n this.loading = true;\n var queryFilter = {\n pageBean: this.pagination,\n querys: []\n };\n this.remoteMethod(queryFilter, this.cancelLoading);\n },\n currentChange: function currentChange(page) {\n this.loading = true;\n var queryFilter = {\n pageBean: {\n page: page,\n pageSize: this.pagination.pageSize,\n total: this.pagination.total\n },\n querys: []\n };\n this.remoteMethod(queryFilter, this.cancelLoading);\n },\n change: function change(data) {\n var _this = this;\n\n if (!data) {\n return;\n }\n\n var selectObj = this.options.find(function (opt) {\n return opt[_this.prop.value] === data;\n });\n this.$emit(\"change\", data, selectObj);\n },\n init: function init() {\n this.loading = true;\n var queryFilter = {\n pageBean: {\n page: 1,\n pageSize: 5,\n total: 0\n },\n querys: []\n };\n this.remoteMethod(queryFilter, this.cancelLoading);\n },\n cancelLoading: function cancelLoading() {\n this.loading = false;\n }\n },\n computed: {\n inputVal: {\n set: function set(value) {\n this.$emit(\"input\", value);\n },\n get: function get() {\n return this.value;\n }\n },\n inputValidate: function inputValidate() {\n return utils.addRequiredOrNot(this.permission, this.validate, this);\n }\n }\n};",null]}