| | |
| | | } |
| | | }, |
| | | created() { |
| | | this.getMesOrderSearch() |
| | | this.getSelect() |
| | | this.handleRequest() |
| | | }, |
| | | mounted() { |
| | | window.addEventListener('resize', this.getHeight) |
| | |
| | | webapp_ws_autoupdate(true) |
| | | }, |
| | | methods: { |
| | | handleRequest() { |
| | | this.getMesOrderSearch().then(res => { |
| | | if (res.code === '200') { |
| | | this.getSelect() |
| | | } |
| | | }) |
| | | }, |
| | | async getMesOrderSearch() { |
| | | // let tempDate = this.form.createdate |
| | | // if (tempDate.length > 0) { |
| | |
| | | const res = await MesOrderSearch(data) |
| | | this.tableData = res.data |
| | | this.total = res.count |
| | | |
| | | return { code: res.code } |
| | | // this.form.createdate = tempDate |
| | | }, |
| | | async getSelect() { |