终端监测-新增字段修改
This commit is contained in:
@@ -130,7 +130,7 @@
|
|||||||
<el-row>
|
<el-row>
|
||||||
<el-col :span="12"></el-col>
|
<el-col :span="12"></el-col>
|
||||||
<el-col :span="12" class="required_position">
|
<el-col :span="12" class="required_position">
|
||||||
<span class="required_icon" style="color: #fff">*</span>
|
<span class="required_icon_white">*</span>
|
||||||
<el-form-item label="终端台账信息:">
|
<el-form-item label="终端台账信息:">
|
||||||
<el-upload
|
<el-upload
|
||||||
v-model:file-list="form.deviceFilePath"
|
v-model:file-list="form.deviceFilePath"
|
||||||
@@ -345,7 +345,8 @@
|
|||||||
</el-col>
|
</el-col>
|
||||||
</el-row>
|
</el-row>
|
||||||
<el-row>
|
<el-row>
|
||||||
<el-col :span="12">
|
<el-col :span="12" class="required_position">
|
||||||
|
<span class="required_icon_white">*</span>
|
||||||
<el-form-item label="端口:" prop="terminalPort">
|
<el-form-item label="端口:" prop="terminalPort">
|
||||||
<el-input
|
<el-input
|
||||||
v-model="form.terminalPort"
|
v-model="form.terminalPort"
|
||||||
@@ -355,7 +356,8 @@
|
|||||||
</el-form-item>
|
</el-form-item>
|
||||||
</el-col>
|
</el-col>
|
||||||
|
|
||||||
<el-col :span="12">
|
<el-col :span="12" class="required_position">
|
||||||
|
<span class="required_icon_white">*</span>
|
||||||
<el-form-item label="所属前置机:" prop="frontEndMachine">
|
<el-form-item label="所属前置机:" prop="frontEndMachine">
|
||||||
<el-select
|
<el-select
|
||||||
v-model="form.frontEndMachine"
|
v-model="form.frontEndMachine"
|
||||||
@@ -443,7 +445,8 @@
|
|||||||
</el-col>
|
</el-col>
|
||||||
</el-row>
|
</el-row>
|
||||||
<el-row>
|
<el-row>
|
||||||
<el-col :span="12">
|
<el-col :span="12" class="required_position">
|
||||||
|
<span class="required_icon_white">*</span>
|
||||||
<el-form-item label="终端模型:" prop="terminalModel">
|
<el-form-item label="终端模型:" prop="terminalModel">
|
||||||
<el-select
|
<el-select
|
||||||
v-model="form.terminalModel"
|
v-model="form.terminalModel"
|
||||||
@@ -461,7 +464,8 @@
|
|||||||
</el-form-item>
|
</el-form-item>
|
||||||
</el-col>
|
</el-col>
|
||||||
|
|
||||||
<el-col :span="12">
|
<el-col :span="12" class="required_position">
|
||||||
|
<span class="required_icon_white">*</span>
|
||||||
<el-form-item label="数据类型:" prop="dataType">
|
<el-form-item label="数据类型:" prop="dataType">
|
||||||
<el-select
|
<el-select
|
||||||
v-model="form.dataType"
|
v-model="form.dataType"
|
||||||
@@ -480,7 +484,8 @@
|
|||||||
</el-col>
|
</el-col>
|
||||||
</el-row>
|
</el-row>
|
||||||
<el-row>
|
<el-row>
|
||||||
<el-col :span="12">
|
<el-col :span="12" class="required_position">
|
||||||
|
<span class="required_icon_white">*</span>
|
||||||
<el-form-item label="通讯状态:" prop="communicationStatus">
|
<el-form-item label="通讯状态:" prop="communicationStatus">
|
||||||
<el-select
|
<el-select
|
||||||
v-model="form.communicationStatus"
|
v-model="form.communicationStatus"
|
||||||
@@ -522,7 +527,8 @@
|
|||||||
</el-form-item>
|
</el-form-item>
|
||||||
</el-col>
|
</el-col>
|
||||||
|
|
||||||
<el-col :span="12">
|
<el-col :span="12" class="required_position">
|
||||||
|
<span class="required_icon_white">*</span>
|
||||||
<el-form-item label="数据更新时间:" prop="dataUpdateTime">
|
<el-form-item label="数据更新时间:" prop="dataUpdateTime">
|
||||||
<el-date-picker
|
<el-date-picker
|
||||||
style="width: 100%"
|
style="width: 100%"
|
||||||
@@ -536,7 +542,8 @@
|
|||||||
</el-col>
|
</el-col>
|
||||||
</el-row>
|
</el-row>
|
||||||
<el-row>
|
<el-row>
|
||||||
<el-col :span="12">
|
<el-col :span="12" class="required_position">
|
||||||
|
<span class="required_icon_white">*</span>
|
||||||
<el-form-item label="对时功能:" prop="timeSyncFunction">
|
<el-form-item label="对时功能:" prop="timeSyncFunction">
|
||||||
<!-- 默认值 开启 -->
|
<!-- 默认值 开启 -->
|
||||||
<el-radio-group v-model="form.timeSyncFunction">
|
<el-radio-group v-model="form.timeSyncFunction">
|
||||||
@@ -546,7 +553,8 @@
|
|||||||
</el-form-item>
|
</el-form-item>
|
||||||
</el-col>
|
</el-col>
|
||||||
|
|
||||||
<el-col :span="12">
|
<el-col :span="12" class="required_position">
|
||||||
|
<span class="required_icon_white">*</span>
|
||||||
<el-form-item label="电镀功能:" prop="electroplatingFunction">
|
<el-form-item label="电镀功能:" prop="electroplatingFunction">
|
||||||
<!-- 默认 关闭 下拉框 -->
|
<!-- 默认 关闭 下拉框 -->
|
||||||
<el-select
|
<el-select
|
||||||
@@ -589,7 +597,8 @@
|
|||||||
</el-form-item>
|
</el-form-item>
|
||||||
</el-col>
|
</el-col>
|
||||||
|
|
||||||
<el-col :span="12">
|
<el-col :span="12" class="required_position">
|
||||||
|
<span class="required_icon_white">*</span>
|
||||||
<el-form-item label="召唤标志:" prop="summonFlag">
|
<el-form-item label="召唤标志:" prop="summonFlag">
|
||||||
<el-select
|
<el-select
|
||||||
v-model="form.summonFlag"
|
v-model="form.summonFlag"
|
||||||
@@ -608,7 +617,8 @@
|
|||||||
</el-col>
|
</el-col>
|
||||||
</el-row>
|
</el-row>
|
||||||
<el-row>
|
<el-row>
|
||||||
<el-col :span="12">
|
<el-col :span="12" class="required_position">
|
||||||
|
<span class="required_icon_white">*</span>
|
||||||
<el-form-item label="告警功能:" prop="alarmFunction">
|
<el-form-item label="告警功能:" prop="alarmFunction">
|
||||||
<el-radio-group v-model="form.alarmFunction">
|
<el-radio-group v-model="form.alarmFunction">
|
||||||
<el-radio value="1">是</el-radio>
|
<el-radio value="1">是</el-radio>
|
||||||
@@ -617,7 +627,8 @@
|
|||||||
</el-form-item>
|
</el-form-item>
|
||||||
</el-col>
|
</el-col>
|
||||||
|
|
||||||
<el-col :span="12">
|
<el-col :span="12" class="required_position">
|
||||||
|
<span class="required_icon_white">*</span>
|
||||||
<el-form-item label="合同号:" prop="contractNumber">
|
<el-form-item label="合同号:" prop="contractNumber">
|
||||||
<el-input
|
<el-input
|
||||||
v-model="form.contractNumber"
|
v-model="form.contractNumber"
|
||||||
@@ -764,7 +775,8 @@
|
|||||||
</el-row>
|
</el-row>
|
||||||
|
|
||||||
<el-row>
|
<el-row>
|
||||||
<el-col :span="12">
|
<el-col :span="12" class="required_position">
|
||||||
|
<span class="required_icon_white">*</span>
|
||||||
<el-form-item label="其他附件:" class="no_required" prop="otherAttachments">
|
<el-form-item label="其他附件:" class="no_required" prop="otherAttachments">
|
||||||
<el-upload
|
<el-upload
|
||||||
v-model:file-list="form.otherAttachments"
|
v-model:file-list="form.otherAttachments"
|
||||||
@@ -828,7 +840,7 @@ const terminalTypeList = dictData.getBasicData('Dev_Type')
|
|||||||
const frontEndMachineList = dictData.getBasicData('Front_Type')
|
const frontEndMachineList = dictData.getBasicData('Front_Type')
|
||||||
//字典获取数据类型
|
//字典获取数据类型
|
||||||
const dataTypeList = dictData.getBasicData('System_Type')
|
const dataTypeList = dictData.getBasicData('System_Type')
|
||||||
//字典获取监测点电压等级
|
//字典获取电压等级
|
||||||
const voltageLevelList = dictData.getBasicData('Dev_Voltage_Stand')
|
const voltageLevelList = dictData.getBasicData('Dev_Voltage_Stand')
|
||||||
//用户状态数组
|
//用户状态数组
|
||||||
const userStateList = reactive([
|
const userStateList = reactive([
|
||||||
@@ -920,7 +932,7 @@ const resetForm = () => {
|
|||||||
reportDate: new Date(), //填报日期
|
reportDate: new Date(), //填报日期
|
||||||
orgId: '', //填报部门
|
orgId: '', //填报部门
|
||||||
expectedProductionDate: '', //工程投产日期
|
expectedProductionDate: '', //工程投产日期
|
||||||
city: areaOptionList[0].name, //所属地市
|
city: areaOptionList[0].id, //所属地市
|
||||||
userStatus: userStateList[1].id, //用户状态
|
userStatus: userStateList[1].id, //用户状态
|
||||||
userName: '', //工程名称
|
userName: '', //工程名称
|
||||||
userId: '',
|
userId: '',
|
||||||
@@ -953,10 +965,10 @@ const resetForm = () => {
|
|||||||
monitoringTerminalName: '', //监测终端名称
|
monitoringTerminalName: '', //监测终端名称
|
||||||
neutralPointWiringMethod: neutralPointWiringMethodList[0].id, // 中性点接线方式
|
neutralPointWiringMethod: neutralPointWiringMethodList[0].id, // 中性点接线方式
|
||||||
nextTerminalInspectionTime: '', // 下次终端定检时间
|
nextTerminalInspectionTime: '', // 下次终端定检时间
|
||||||
powerCompany: '', //所属供电公司
|
powerCompany: areaOptionList[0].id, //所属供电公司
|
||||||
simCardNumber: '', //SIM卡号
|
simCardNumber: '', //SIM卡号
|
||||||
substation: '', // 所属变电站
|
substation: '', // 所属变电站
|
||||||
substationVoltageLevel: '', // 变电站电压等级
|
substationVoltageLevel: voltageLevelList[0].id, // 变电站电压等级
|
||||||
summonFlag: summonFlagList[0].id, // 召唤标志
|
summonFlag: summonFlagList[0].id, // 召唤标志
|
||||||
terminalIp: '', //终端IP
|
terminalIp: '', //终端IP
|
||||||
terminalModel: terminalModelList[0].id, //终端模型
|
terminalModel: terminalModelList[0].id, //终端模型
|
||||||
@@ -999,36 +1011,36 @@ const devReportForm = ref({
|
|||||||
supervisionTempDeviceReportParam: {
|
supervisionTempDeviceReportParam: {
|
||||||
alarmFunction: '0', //告警功能
|
alarmFunction: '0', //告警功能
|
||||||
commissioningTime: '', //投运时间
|
commissioningTime: '', //投运时间
|
||||||
communicationStatus: '', // 通讯状态
|
communicationStatus: communicationStatusList[0].id, // 通讯状态
|
||||||
contractNumber: '', //合同号
|
contractNumber: '', //合同号
|
||||||
currentTerminalDetectionTime: '', //本次终端检测时间
|
currentTerminalDetectionTime: '', //本次终端检测时间
|
||||||
dataType: '', //数据类型
|
dataType: dataTypeList[0].id, //数据类型
|
||||||
dataUpdateTime: '', // 数据更新时间
|
dataUpdateTime: '', // 数据更新时间
|
||||||
electroplatingFunction: '', //电镀功能
|
electroplatingFunction: electroplatingFunctionList[0].id, //电镀功能
|
||||||
frontEndMachine: '', //所属前置机
|
frontEndMachine: frontEndMachineList[0].id, //所属前置机
|
||||||
identificationCode: '', // 识别码
|
identificationCode: '', // 识别码
|
||||||
latitude: '0', //纬度
|
latitude: '0', //纬度
|
||||||
longitude: '0', //经度
|
longitude: '0', //经度
|
||||||
manufacturer: '', //厂家
|
manufacturer: manufacturerList[0].id, //厂家
|
||||||
manufacturerDeviceNumber: '', // 厂家设备编号
|
manufacturerDeviceNumber: '', // 厂家设备编号
|
||||||
monitoringDeviceInstallationPosition: monitoringDeviceInstallationPositionList[0].id, //监测装置安装位置
|
monitoringDeviceInstallationPosition: monitoringDeviceInstallationPositionList[0].id, //监测装置安装位置
|
||||||
monitoringTerminalCode: '', //监测终端编码
|
monitoringTerminalCode: '', //监测终端编码
|
||||||
monitoringTerminalName: '', //监测终端名称
|
monitoringTerminalName: '', //监测终端名称
|
||||||
neutralPointWiringMethod: '', // 中性点接线方式
|
neutralPointWiringMethod: neutralPointWiringMethodList[0].id, // 中性点接线方式
|
||||||
nextTerminalInspectionTime: '', // 下次终端定检时间
|
nextTerminalInspectionTime: '', // 下次终端定检时间
|
||||||
powerCompany: '', //所属供电公司
|
powerCompany: areaOptionList[0].id, //所属供电公司
|
||||||
simCardNumber: '', //SIM卡号
|
simCardNumber: '', //SIM卡号
|
||||||
substation: '', // 所属变电站
|
substation: '', // 所属变电站
|
||||||
substationVoltageLevel: '', // 变电站电压等级
|
substationVoltageLevel: voltageLevelList[0].id, // 变电站电压等级
|
||||||
// summonFlag: '', // 召唤标志
|
summonFlag: summonFlagList[0].id, // 召唤标志
|
||||||
terminalIp: '', //终端IP
|
terminalIp: '', //终端IP
|
||||||
terminalModel: terminalModelList[0].id, //终端模型
|
terminalModel: terminalModelList[0].id, //终端模型
|
||||||
terminalPort: '', //端口
|
terminalPort: '', //端口
|
||||||
terminalSecretKey: '', //终端秘钥
|
terminalSecretKey: '', //终端秘钥
|
||||||
terminalType: '', // 终端型号
|
terminalType: terminalTypeList[0].id, // 终端型号
|
||||||
terminalWiringMethodType: '', // 终端接线方式类型
|
terminalWiringMethodType: terminalWiringMethodTypeList[0].id, // 终端接线方式类型
|
||||||
timeSyncFunction: '0', // 对时功能
|
timeSyncFunction: '0', // 对时功能
|
||||||
voltageTransformerType: '' // 电压互感器类型
|
voltageTransformerType: voltageTransformerTypeList[0].id //电压互感器类型
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
||||||
@@ -1580,6 +1592,9 @@ defineExpose({ open })
|
|||||||
color: #f56c6c;
|
color: #f56c6c;
|
||||||
margin-left: 20px;
|
margin-left: 20px;
|
||||||
}
|
}
|
||||||
|
.required_icon_white{
|
||||||
|
color: #fff;
|
||||||
|
}
|
||||||
.required_text {
|
.required_text {
|
||||||
// padding-left: 20px;
|
// padding-left: 20px;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user