| 文件名从 src/components/view/5capacity-scope.vue 修改 |
| | |
| | | isIndex: false, |
| | | showSelect: true, |
| | | select: true, |
| | | row: 2, |
| | | do: [{ |
| | | id: 'update', |
| | | font: '缂栬緫', |
| | |
| | | }, |
| | | valueType: { |
| | | select: [] |
| | | }, |
| | | bsm:{ |
| | | select: [] |
| | | } |
| | | }, |
| | | selectField: { |
| | |
| | | }, |
| | | valueType: { |
| | | select: [] |
| | | }, |
| | | bsm:{ |
| | | select: [] |
| | | } |
| | | }, |
| | | requiredAdd: ['inspectionItem', 'manHour', 'inspectionItemType', 'manHourGroup'], |
| | | requiredUp: ['inspectionItem', 'manHour', 'inspectionItemType', 'manHourGroup'] |
| | | requiredAdd: ['inspectionItem', 'manHour', 'inspectionItemType','inspectionItemClassify','laboratory','unit','method','price','manDay','deviceGroup','checkoutNumber','valueType'], |
| | | requiredUp: ['inspectionItem', 'manHour', 'inspectionItemType','inspectionItemClassify','laboratory','unit','method','price','manDay','deviceGroup','checkoutNumber','valueType'] |
| | | }, |
| | | testObjectData: { |
| | | entity: { |
| | |
| | | this.testObjectDataEntityCopy = this.HaveJson(this.testObjectData.entity) |
| | | this.selectEnumByCategory() |
| | | this.selectEnumByCategoryForValue() |
| | | this.selectEnumByCategoryForSpecial() |
| | | this.getPower('0') |
| | | }, |
| | | methods: { |
| | |
| | | this.itemParameterData.tagField.valueType.select = res.data |
| | | }) |
| | | }, |
| | | selectEnumByCategoryForSpecial() { |
| | | this.$axios.post(this.$api.enums.selectEnumByCategory, { |
| | | category: "鐗规畩鏍囪瘑" |
| | | }).then(res => { |
| | | this.itemParameterData.selectField.bsm.select = res.data |
| | | this.itemParameterData.tagField.bsm.select = res.data |
| | | }) |
| | | }, |
| | | // 鏉冮檺鍒嗛厤 |
| | | getPower(radio) { |
| | | let power = JSON.parse(sessionStorage.getItem('power')) |