| | |
| | | <basic-container> |
| | | <avue-crud :option="option" |
| | | :table-loading="loading" |
| | | :data="data" |
| | | :data="data || getList" |
| | | :page.sync="page" |
| | | :permission="permissionList" |
| | | ref="crud" |
| | |
| | | @refresh-change="refreshChange" |
| | | @on-load="onLoad"> |
| | | <template slot-scope="scope" slot="menuLeft"> |
| | | <vci-docking-search :SearchObject="SearchObject" :page="page" :formInline="formInline" :status="status"></vci-docking-search> |
| | | <vci-docking-search :SearchObject="SearchObject" :page="page" :formInline="formInline" :status="status" @getList="dockingGetList"></vci-docking-search> |
| | | </template> |
| | | </avue-crud> |
| | | </basic-container> |
| | | </template> |
| | | |
| | | <script> |
| | | import {getList} from "@/api/docking/loge"; |
| | | import {getLogoList} from "@/api/docking/loge"; |
| | | import {validatenull} from "@/util/validate"; |
| | | import {mapGetters} from "vuex"; |
| | | |
| | |
| | | } |
| | | }, |
| | | methods: { |
| | | dockingGetList(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) { |
| | | if (key === column.property) { |
| | |
| | | query['conditionMap["' + key + '"]'] = this.query[key]; |
| | | } |
| | | } |
| | | getList(page.currentPage, page.pageSize, Object.assign(params,this.params, query,this.query)).then(res => { |
| | | getLogoList(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; |