tableList.js 619 B

123456789101112131415161718192021222324252627282930313233
  1. export default {
  2. data (){
  3. return {
  4. //分页参数,最终合并提交
  5. pages:{
  6. page: 1,
  7. size: 10,
  8. total: 0,
  9. },
  10. // 遮罩层
  11. loading: false,
  12. queryParams:{},
  13. }
  14. },
  15. methods:{
  16. /** 搜索按钮操作 */
  17. handleQuery() {
  18. this.queryParams.page = 1;
  19. this.getList();
  20. },
  21. /** 重置按钮操作 */
  22. resetQuery() {
  23. this.dateRange = [];
  24. this.resetForm("queryForm");
  25. this.queryParams.orgId = undefined;
  26. this.$refs.tree.setCurrentKey(null);
  27. this.handleQuery();
  28. },
  29. getTableList(){
  30. }
  31. }
  32. }