| | |
| | | </a-col> |
| | | </a-row> |
| | | |
| | | <!-- <a-row>--> |
| | | <!-- <a-col :span="8">--> |
| | | <!-- <a-form-model-item label="鉴定周期(年)">--> |
| | | <!-- <a-input-number v-model="model.evaluationPeriod" :min="1" placeholder="请输入鉴定周期(年)" style="width: 100%"/>--> |
| | | <!-- </a-form-model-item>--> |
| | | <!-- </a-col>--> |
| | | <!-- </a-row>--> |
| | | |
| | | <a-row> |
| | | <!--<a-col :span="8">--> |
| | | <!--<a-form-model-item label="安全装置检查">--> |
| | | <!--<j-dict-select-tag @change="handleCheckListChange($event,1)" dict-code="yn " type="radio"--> |
| | | <!--:disabled="model.hasPrecisionCheck=='0'&&model.hasOtherCheck=='0'"--> |
| | | <!--v-model="model.hasSafetyEquipmentCheck"/>--> |
| | | <!--</a-form-model-item>--> |
| | | <!--</a-col>--> |
| | | |
| | | <!--<a-col :span="8">--> |
| | | <!--<a-form-model-item label="设备精度检查">--> |
| | | <!--<j-dict-select-tag @change="handleCheckListChange($event,2)" dict-code="yn " type="radio"--> |
| | | <!--:disabled="model.hasSafetyEquipmentCheck=='0'&&model.hasOtherCheck=='0'"--> |
| | | <!--v-model="model.hasPrecisionCheck"/>--> |
| | | <!--</a-form-model-item>--> |
| | | <!--</a-col>--> |
| | | |
| | | <!--<a-col :span="8">--> |
| | | <!--<a-form-model-item label="其他检查">--> |
| | | <!--<j-dict-select-tag @change="handleCheckListChange($event,3)" dict-code="yn " type="radio"--> |
| | | <!--:disabled="model.hasPrecisionCheck=='0'&&model.hasSafetyEquipmentCheck=='0'"--> |
| | | <!--v-model="model.hasOtherCheck"/>--> |
| | | <!--</a-form-model-item>--> |
| | | <!--</a-col>--> |
| | | |
| | | <a-col :span="8" v-for="item in checkList"> |
| | | <a-col :span="8" v-for="item in checkList" :key="item.key"> |
| | | <a-form-model-item :label="item.label"> |
| | | <j-dict-select-tag @change="handleCheckListChange($event,item.key)" dict-code="yn" type="radio" |
| | | :disabled="checkList.filter(i=>i.key!=item.key).every(i=>i.value=='0')" |
| | |
| | | if (tableData.length == 0) { |
| | | this.$notification.warning({ |
| | | message: '消息', |
| | | description: hasCheckedCheckList[index].label + '必填项不能为空' |
| | | description: hasCheckedCheckList[index].label + '不能为空' |
| | | }) |
| | | return |
| | | } |