| | |
| | | </template> |
| | | |
| | | <script> |
| | | import {getList} from "@/api/docking/data"; |
| | | import {getDataList} from "@/api/docking/data"; |
| | | import {validatenull} from "@/util/validate"; |
| | | import {mapGetters} from "vuex"; |
| | | import website from "@/config/website"; |
| | |
| | | option: { |
| | | height:'auto', |
| | | calcHeight: 0, |
| | | columnBtn:false, |
| | | tip: false, |
| | | searchShow: false, |
| | | searchShowBtn:false, |
| | | searchMenuSpan: 6, |
| | | border: true, |
| | | index: true, |
| | |
| | | }, |
| | | methods: { |
| | | dockingGetList(val){ |
| | | this.data=val; |
| | | this.data=val.records; |
| | | this.page.pageSize=val.size; |
| | | this.page.currentPage=val.current; |
| | | this.page.total=val.total; |
| | | }, |
| | | async cellDbClick(row, column, cell, event) { |
| | | for (const key in row) { |
| | |
| | | query['conditionMap["' + key + '"]'] = this.query[key]; |
| | | } |
| | | } |
| | | getList(page.currentPage, page.pageSize, Object.assign(params,this.params, query,this.query)).then(res => { |
| | | getDataList(page.currentPage, page.pageSize, Object.assign(params,this.params, query,this.query)).then(res => { |
| | | const data = res.data.data; |
| | | this.page.total = data.total; |
| | | this.data = data.records; |