| | |
| | | } |
| | | }, |
| | | created() { |
| | | this.getMesOrderStepCheckSelect() |
| | | this.getMesOrderSelectUser() |
| | | this.getJYSelectArr() |
| | | this.handleRequest() |
| | | }, |
| | | mounted() { |
| | | window.addEventListener('resize', this.getHeight) |
| | |
| | | this.getFocus() |
| | | }, |
| | | methods: { |
| | | handleRequest() { |
| | | this.getMesOrderStepCheckSelect().then(res => { |
| | | if (res.code === '200') { |
| | | this.getMesOrderSelectUser() |
| | | this.getJYSelectArr() |
| | | } |
| | | }) |
| | | }, |
| | | |
| | | // 获取聚焦 |
| | | getFocus() { |
| | | this.$nextTick(() => { |
| | |
| | | }, |
| | | // 获取检验标准下拉数组 |
| | | async getMesOrderStepCheckSelect() { |
| | | const { data: res } = await MesOrderStepCheckSelect() |
| | | this.checkStandardSelect = res |
| | | const res = await MesOrderStepCheckSelect() |
| | | this.checkStandardSelect = res.data |
| | | return { code: res.code } |
| | | }, |
| | | // 获取检验人员下拉 |
| | | async getMesOrderSelectUser() { |