| | |
| | | </template> |
| | | |
| | | <script> |
| | | import {getList, getDetail, add, update, remove} from "@/api/security/security"; |
| | | import {getPage, getDetail, add, update, remove} from "@/api/security/security"; |
| | | import {mapGetters} from "vuex"; |
| | | |
| | | export default { |
| | |
| | | { |
| | | label: "活动内容", |
| | | prop: "content", |
| | | }, |
| | | { |
| | | label: "位置", |
| | | prop: "position", |
| | | type: "input", |
| | | hide:true |
| | | }, |
| | | ] |
| | | }, |
| | |
| | | }, |
| | | onLoad(page, params = {}) { |
| | | this.loading = true; |
| | | getList(page.currentPage, page.pageSize, Object.assign(params, this.query)).then(res => { |
| | | getPage(page.currentPage, page.pageSize, Object.assign(params, this.query)).then(res => { |
| | | const data = res.data.data; |
| | | this.page.total = data.total; |
| | | this.data = data.records; |