| | |
| | | }, |
| | | createUser: { |
| | | select: [] |
| | | } |
| | | }, |
| | | orderType: { |
| | | select: [] |
| | | }, |
| | | processing: { |
| | | select: [{ |
| | | value: 1, |
| | | label: '实验室处理' |
| | | },{ |
| | | value: 0, |
| | | label: '委托单位取回' |
| | | }] |
| | | }, |
| | | isLeave: { |
| | | select: [{ |
| | | value: 1, |
| | | label: '留样' |
| | | },{ |
| | | value: 0, |
| | | label: '不留样' |
| | | }] |
| | | }, |
| | | send: { |
| | | select: [{ |
| | | value: 1, |
| | | label: '自取' |
| | | },{ |
| | | value: 0, |
| | | label: '其他' |
| | | }] |
| | | } |
| | | }, |
| | | selectField: {}, |
| | | requiredAdd: [], |
| | |
| | | label: '不合格', |
| | | type: 'danger' |
| | | }] |
| | | }, |
| | | inspectionValueType: {select: []} |
| | | } |
| | | }, |
| | | selectField: {}, |
| | | spanConfig:{ |
| | |
| | | this.getUserMenu() |
| | | this.getAuthorizedPerson() |
| | | this.getInsStateDicts() |
| | | this.selectEnumByCategoryForInspectionValueType() |
| | | this.selectEnumByCategoryForOrderType() |
| | | }, |
| | | methods: { |
| | | getAuthorizedPerson() { |
| | |
| | | this.dataDialogVisible = true; |
| | | }, |
| | | // 下载报告 |
| | | download(row) {}, |
| | | download(row) { |
| | | console.log(row); |
| | | }, |
| | | // 审核 |
| | | handleVerify(row) { |
| | | // this.verifyDialogVisible = true; |
| | |
| | | this.componentDataDataLook.tagField.insState.select = data |
| | | }) |
| | | }, |
| | | selectEnumByCategoryForInspectionValueType() { |
| | | this.$axios.post(this.$api.enums.selectEnumByCategory, { |
| | | category: "检验值类型" |
| | | }).then(res => { |
| | | this.componentDataDataLook.tagField.inspectionValueType.select = res.data |
| | | }) |
| | | }, |
| | | selectEnumByCategoryForOrderType() { |
| | | this.$axios.post(this.$api.enums.selectEnumByCategory, { |
| | | category: "检验类别" |
| | | }).then(res => { |
| | | this.componentData.tagField.orderType.select = res.data |
| | | }) |
| | | }, |
| | | } |
| | | } |
| | | </script> |