| | |
| | | |
| | | <script> |
| | | import Pagination from '@/components/Pagination' |
| | | import { DeleteOrganization } from '@/api/jcsz' |
| | | import { |
| | | AddUpdateStepCheckStaned, DeleteStepCheckStaned, |
| | | EditStepCheckStanedSearch, |
| | |
| | | } |
| | | }, |
| | | created() { |
| | | this.getStepCheckStanedSearch() |
| | | this.getStepCheckItemSelect() |
| | | this.handleRequest() |
| | | }, |
| | | mounted() { |
| | | window.addEventListener('resize', this.getHeight) |
| | | this.getHeight() |
| | | }, |
| | | methods: { |
| | | handleRequest() { |
| | | this.getStepCheckStanedSearch().then(res => { |
| | | if (res.code === '200') { |
| | | this.getStepCheckItemSelect() |
| | | } |
| | | }) |
| | | }, |
| | | async getStepCheckStanedSearch() { |
| | | const res = await StepCheckStanedSearch(this.form) |
| | | this.tableData = res.data |
| | | this.total = res.count |
| | | return { code: res.code } |
| | | }, |
| | | // 排序改变时 |
| | | sortChange({ column, prop, order }) { |