| | |
| | | <a-select |
| | | v-if="col.dataIndex == 'inspectionProjectResult' && record.testValueType == '2'" |
| | | :value="text" |
| | | :options="record.inspectionCycles" |
| | | @change="(e) => handleChange(e, record.key, col, index)" |
| | | style="width: 100%" |
| | | :disabled="record.disabled" |
| | | /> |
| | | > |
| | | <!-- :options="record.inspectionCycles" --> |
| | | <a-select-option value="1">正常</a-select-option> |
| | | <a-select-option value="2">异常</a-select-option> |
| | | </a-select> |
| | | <a-input-number |
| | | :value="text" |
| | | v-if="col.dataIndex == 'inspectionProjectResult' && record.testValueType == '1'" |
| | |
| | | target['judgmentResult'] = ""; |
| | | } |
| | | } else { |
| | | |
| | | target[column.dataIndex] = value; |
| | | if (value == "1") { |
| | | target['judgmentResult'] = "pass"; |
| | | } else { |
| | | target['judgmentResult'] = "fail"; |
| | | } |
| | | if (value == null || value == "") { |
| | | target['judgmentResult'] = ""; |
| | | } |
| | | } |
| | | } |
| | | if (column.dataIndex == 'abnormalDesc') { |