{"remainingRequest":"/data/jenkins/workspace/badp-bcxin-web-5.x-vue/node_modules/vue-loader/lib/index.js??vue-loader-options!/data/jenkins/workspace/badp-bcxin-web-5.x-vue/src/expandedComponents/view_table.vue?vue&type=script&lang=js&","dependencies":[{"path":"/data/jenkins/workspace/badp-bcxin-web-5.x-vue/src/expandedComponents/view_table.vue","mtime":1725957645733},{"path":"/data/jenkins/workspace/badp-bcxin-web-5.x-vue/node_modules/cache-loader/dist/cjs.js","mtime":499162500000},{"path":"/data/jenkins/workspace/badp-bcxin-web-5.x-vue/node_modules/thread-loader/dist/cjs.js","mtime":499162500000},{"path":"/data/jenkins/workspace/badp-bcxin-web-5.x-vue/node_modules/babel-loader/lib/index.js","mtime":315532800000},{"path":"/data/jenkins/workspace/badp-bcxin-web-5.x-vue/node_modules/cache-loader/dist/cjs.js","mtime":499162500000},{"path":"/data/jenkins/workspace/badp-bcxin-web-5.x-vue/node_modules/vue-loader/lib/index.js","mtime":1655715099000}],"contextDependencies":[],"result":["\nexport default {\n name: 'publictable',\n props: {\n mainData: {\n type: Object,\n default: function() {\n return {\n datas: [],\n columns: [],\n tableHeight: 300,\n pageNo: 1,\n rowCount: 10\n };\n },\n },\n showCheckBox: {\n // 是否显示可选择的checkbox\n type: Boolean,\n default: false,\n },\n showPagination: {\n // 是否显示页码值\n type: Boolean,\n default: false,\n },\n },\n mounted() {},\n\n methods: {\n resetField() {\n let obj = {}\n this.mainData.params.forEach((elm) => {\n elm.value = ''\n obj[elm.name] = elm.value\n })\n this.$emit('updataParams', obj)\n this.$emit('getData')\n },\n //查询\n getData() {\n let obj = {}\n this.mainData.params.forEach((elm) => {\n obj[elm.name] = elm.value\n })\n this.$emit('updataParams', obj)\n this.$emit('getData')\n },\n //当前页改变事件\n handleCurrentChange(val) {\n this.$emit('handleCurrentChange', val)\n // this.$emit('getData');\n },\n //页码大小改变事件\n handleSizeChange(val) {\n this.$emit('handleSizeChange', val)\n this.$emit('getData')\n },\n //表格点击\n onRowClick(row) {\n this.$emit('onRowClick', row)\n },\n //选中的表格数据\n handleSelectionChange(val) {\n this.$emit('handleSelectionChange', val)\n },\n //初始化数据\n init(tableData) {\n this.initVisible = true\n this.mainData = tableData\n this.$forceUpdate()\n },\n },\n}\n",null]}