1
This commit is contained in:
parent
73d37ed733
commit
8562adbb94
@ -107,6 +107,12 @@ namespace YunDa.ISAS.DataTransferObject.GeneralInformation.EquipmentInfoDto
|
|||||||
/// 检验记录
|
/// 检验记录
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public virtual string VerificationRecords { get; set; }
|
public virtual string VerificationRecords { get; set; }
|
||||||
|
/// <summary>
|
||||||
|
/// 维修记录
|
||||||
|
/// </summary>
|
||||||
|
public virtual string MaintenanceRecord { get; set; }
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
[AutoMapFrom(typeof(EquipmentInfo))]
|
[AutoMapFrom(typeof(EquipmentInfo))]
|
||||||
public class EquipmentInfoSimpleOutput : EntityDto<Guid>
|
public class EquipmentInfoSimpleOutput : EntityDto<Guid>
|
||||||
|
@ -68,6 +68,10 @@ namespace YunDa.SOMS.DataTransferObject.GeneralInformation.ProtectionDeviceInfoD
|
|||||||
/// </summary>
|
/// </summary>
|
||||||
public virtual string VerificationRecords { get; set; }
|
public virtual string VerificationRecords { get; set; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 维修记录
|
||||||
|
/// </summary>
|
||||||
|
public virtual string MaintenanceRecord { get; set; }
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 备注
|
/// 备注
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
@ -6199,6 +6199,11 @@
|
|||||||
</summary>
|
</summary>
|
||||||
</member>
|
</member>
|
||||||
<!-- Badly formed XML comment ignored for member "P:YunDa.ISAS.DataTransferObject.GeneralInformation.EquipmentInfoDto.EquipmentInfoOutput.VerificationRecords" -->
|
<!-- Badly formed XML comment ignored for member "P:YunDa.ISAS.DataTransferObject.GeneralInformation.EquipmentInfoDto.EquipmentInfoOutput.VerificationRecords" -->
|
||||||
|
<member name="P:YunDa.ISAS.DataTransferObject.GeneralInformation.EquipmentInfoDto.EquipmentInfoOutput.MaintenanceRecord">
|
||||||
|
<summary>
|
||||||
|
维修记录
|
||||||
|
</summary>
|
||||||
|
</member>
|
||||||
<member name="P:YunDa.ISAS.DataTransferObject.GeneralInformation.EquipmentInfoDto.EquipmentInfoSimpleOutput.SeqNo">
|
<member name="P:YunDa.ISAS.DataTransferObject.GeneralInformation.EquipmentInfoDto.EquipmentInfoSimpleOutput.SeqNo">
|
||||||
<summary>
|
<summary>
|
||||||
顺序号
|
顺序号
|
||||||
@ -14482,6 +14487,11 @@
|
|||||||
检验记录
|
检验记录
|
||||||
</summary>
|
</summary>
|
||||||
</member>
|
</member>
|
||||||
|
<member name="P:YunDa.SOMS.DataTransferObject.GeneralInformation.ProtectionDeviceInfoDto.BoardCardInfoOutput.MaintenanceRecord">
|
||||||
|
<summary>
|
||||||
|
维修记录
|
||||||
|
</summary>
|
||||||
|
</member>
|
||||||
<member name="P:YunDa.SOMS.DataTransferObject.GeneralInformation.ProtectionDeviceInfoDto.BoardCardInfoOutput.Remark">
|
<member name="P:YunDa.SOMS.DataTransferObject.GeneralInformation.ProtectionDeviceInfoDto.BoardCardInfoOutput.Remark">
|
||||||
<summary>
|
<summary>
|
||||||
备注
|
备注
|
||||||
|
@ -140,6 +140,12 @@
|
|||||||
<textarea class="form-control" placeholder="请输入检验记录" v-model="verificationRecords" name="verificationRecords"></textarea>
|
<textarea class="form-control" placeholder="请输入检验记录" v-model="verificationRecords" name="verificationRecords"></textarea>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
<div class="form-group col-sm-6">
|
||||||
|
<label class="col-sm-3 control-label">维修记录:</label>
|
||||||
|
<div class="col-sm-9">
|
||||||
|
<textarea class="form-control" placeholder="请输入维修记录" v-model="maintenanceRecord" name="maintenanceRecord"></textarea>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
<!-- 是否启用 -->
|
<!-- 是否启用 -->
|
||||||
<div class="form-group col-sm-6">
|
<div class="form-group col-sm-6">
|
||||||
<label class="col-sm-3 control-label">是否启用:</label>
|
<label class="col-sm-3 control-label">是否启用:</label>
|
||||||
@ -258,6 +264,13 @@
|
|||||||
<textarea class="form-control" placeholder="检验记录" v-model="verificationRecords"></textarea>
|
<textarea class="form-control" placeholder="检验记录" v-model="verificationRecords"></textarea>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
<div class="form-group col-sm-6">
|
||||||
|
<label class="col-sm-3 control-label">维修记录:</label>
|
||||||
|
<div class="col-sm-9">
|
||||||
|
<textarea class="form-control" placeholder="维修记录" v-model="maintenanceRecord"></textarea>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
<div class="form-group col-sm-6">
|
<div class="form-group col-sm-6">
|
||||||
<label class="col-sm-3 control-label">备注:</label>
|
<label class="col-sm-3 control-label">备注:</label>
|
||||||
<div class="col-sm-9">
|
<div class="col-sm-9">
|
||||||
|
@ -220,6 +220,20 @@ var protectionDeviceList = {
|
|||||||
valign: 'middle',
|
valign: 'middle',
|
||||||
visible: true
|
visible: true
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
field: 'equipmentInfo', // 装置检验结果
|
||||||
|
title: '维修记录',
|
||||||
|
align: 'center',
|
||||||
|
valign: 'middle',
|
||||||
|
visible: true,
|
||||||
|
formatter: function (value) {
|
||||||
|
if (value) {
|
||||||
|
return value.maintenanceRecord
|
||||||
|
}
|
||||||
|
return null;
|
||||||
|
}
|
||||||
|
},
|
||||||
|
|
||||||
{
|
{
|
||||||
field: 'isActive', // 是否在用
|
field: 'isActive', // 是否在用
|
||||||
title: '状态',
|
title: '状态',
|
||||||
@ -269,6 +283,7 @@ var protectionDeviceList = {
|
|||||||
verificationPerson: '',
|
verificationPerson: '',
|
||||||
verificationDate: null,
|
verificationDate: null,
|
||||||
verificationRecords: '',
|
verificationRecords: '',
|
||||||
|
maintenanceRecord:"",
|
||||||
manufacturerValues: [], // 从 API 加载的厂商选项
|
manufacturerValues: [], // 从 API 加载的厂商选项
|
||||||
format: '',
|
format: '',
|
||||||
language: ''
|
language: ''
|
||||||
@ -299,7 +314,8 @@ var protectionDeviceList = {
|
|||||||
factorySerialNumber: this.factorySerialNumber,
|
factorySerialNumber: this.factorySerialNumber,
|
||||||
verificationPerson: this.verificationPerson,
|
verificationPerson: this.verificationPerson,
|
||||||
verificationDate: this.verificationDate ? new Date(this.verificationDate) : null,
|
verificationDate: this.verificationDate ? new Date(this.verificationDate) : null,
|
||||||
verificationRecords: this.verificationRecords
|
verificationRecords: this.verificationRecords,
|
||||||
|
maintenanceRecord: this.maintenanceRecord,
|
||||||
};
|
};
|
||||||
//console.log(data)
|
//console.log(data)
|
||||||
isas.ajax({
|
isas.ajax({
|
||||||
@ -666,6 +682,16 @@ var boardCardInfoList = {
|
|||||||
return value ? value : "-";
|
return value ? value : "-";
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
field: 'maintenanceRecord', // 检验记录
|
||||||
|
title: '维修记录',
|
||||||
|
align: 'center',
|
||||||
|
valign: 'middle',
|
||||||
|
visible: true,
|
||||||
|
formatter: function (value, row, index) {
|
||||||
|
return value ? value : "-";
|
||||||
|
}
|
||||||
|
},
|
||||||
{
|
{
|
||||||
field: 'remark', // 备注
|
field: 'remark', // 备注
|
||||||
title: '备注',
|
title: '备注',
|
||||||
@ -719,6 +745,7 @@ var boardCardInfoList = {
|
|||||||
verificationPerson: '',
|
verificationPerson: '',
|
||||||
verificationDate: null,
|
verificationDate: null,
|
||||||
verificationRecords: '',
|
verificationRecords: '',
|
||||||
|
maintenanceRecord:'',
|
||||||
remark: '',
|
remark: '',
|
||||||
isActive: true,
|
isActive: true,
|
||||||
format: '',
|
format: '',
|
||||||
@ -756,7 +783,8 @@ var boardCardInfoList = {
|
|||||||
verificationRecords: this.verificationRecords,
|
verificationRecords: this.verificationRecords,
|
||||||
remark: this.remark,
|
remark: this.remark,
|
||||||
isActive: this.isActive,
|
isActive: this.isActive,
|
||||||
protectionDeviceInfoId: boardCardInfoList.protectionDeviceInfoId
|
protectionDeviceInfoId: boardCardInfoList.protectionDeviceInfoId,
|
||||||
|
maintenanceRecord: this.maintenanceRecord,
|
||||||
};
|
};
|
||||||
|
|
||||||
isas.ajax({
|
isas.ajax({
|
||||||
|
Loading…
x
Reference in New Issue
Block a user