| | |
| | | sonLaboratory: {select:[]}, |
| | | unit: {select:[]}, |
| | | sample: {select:[]}, |
| | | dic: {select:[]}, |
| | | }, |
| | | selectField: { |
| | | inspectionItemType: { |
| | |
| | | deviceGroup:{select:[]}, |
| | | sample: {select:[]}, |
| | | sonLaboratory: {select:[]}, |
| | | unit: {select:[]} |
| | | unit: {select:[]}, |
| | | dic:{select:[]}, |
| | | }, |
| | | requiredAdd: ['sonLaboratory','inspectionItem', 'manHour', 'inspectionItemType','inspectionItemSubclass','inspectionValueType','laboratory','unit','method','price','manDay','deviceGroup','sample'], |
| | | requiredUp: ['sonLaboratory','inspectionItem', 'manHour', 'inspectionItemType','inspectionItemSubclass','inspectionValueType','laboratory','unit','method','price','manDay','deviceGroup','sample'] |
| | |
| | | this.selectTestObjectByName() |
| | | this.getStandardTemplate() |
| | | this.selectEnumByCategoryForSLaboratory() |
| | | this.selectDocUnit() |
| | | this.selectEnumByCategoryForUnit() |
| | | this.getPower('0') |
| | | }, |
| | |
| | | this.itemParameterData.tagField.unit.select = res.data |
| | | }) |
| | | }, |
| | | selectDocUnit() { |
| | | this.$axios.post(this.$api.enums.getDic).then(res => { |
| | | this.itemParameterData.selectField.dic.select = res.data.map(m=>{ |
| | | return { |
| | | label: m, |
| | | value:m |
| | | } |
| | | }) |
| | | this.itemParameterData.tagField.dic.select = res.data.map(m=>{ |
| | | return { |
| | | label: m, |
| | | value:m |
| | | } |
| | | }) |
| | | }) |
| | | }, |
| | | obtainItemParameterList() { |
| | | this.$axios.get(this.$api.laboratoryScope.obtainItemParameterList).then(res => { |
| | | let data = [] |