From a74dbc59300848c232af719d297d9d86d3b570c9 Mon Sep 17 00:00:00 2001 From: zhujiyan <17812234322@163.com> Date: Fri, 7 Jun 2024 11:05:00 +0800 Subject: [PATCH] =?UTF-8?q?=E7=BB=88=E7=AB=AF=E4=BF=A1=E6=81=AFcustomSubst?= =?UTF-8?q?ationFlag=E5=AD=97=E6=AE=B5=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../components/terminainal/addForm.vue | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/src/views/pqs/supervise/terminalNetworkDetection/components/terminainal/addForm.vue b/src/views/pqs/supervise/terminalNetworkDetection/components/terminainal/addForm.vue index feea166a..741a48a6 100644 --- a/src/views/pqs/supervise/terminalNetworkDetection/components/terminainal/addForm.vue +++ b/src/views/pqs/supervise/terminalNetworkDetection/components/terminainal/addForm.vue @@ -118,9 +118,9 @@ - + - + @@ -141,7 +141,7 @@ > - + - + @@ -758,7 +758,7 @@ const getFrontEndMachineList = () => { } const changeSubstationFlag = () => { //处理所属变电站手都输入/下拉数据 - if (form.value.customSubstaionFlag == 0) { + if (form.value.customSubstationFlag == 0) { form.value.substationName = substationList.value.find((item: any) => { return form.value.substation == item.id })?.name @@ -818,7 +818,7 @@ const resetForm: any = async () => { userStatus: userStateList[1].id, //用户状态 userName: '', //用户名称 userId: '', - customSubstaionFlag: 0, //电站类型 + customSubstationFlag: 0, //电站类型 acceptanceInspectionReport: [], //验收检验报告 // acceptanceInspectionReportSingle: [], //验收检验报告单 deviceFilePath: [], //终端台账信息 @@ -887,7 +887,7 @@ const devReportForm: any = ref({ typeExperimentReport: [], //型式实验报告 //终端信息实体 supervisionTempDeviceReportParam: { - customSubstaionFlag: 0, //电站类型 + customSubstationFlag: 0, //电站类型 substationName: '', //所属变电站名称 alarmFunction: '0', //告警功能 commissioningTime: '', //投运时间 @@ -977,7 +977,7 @@ const rules = ref({ } ], //终端信息 - customSubstaionFlag: [ + customSubstationFlag: [ { required: true, message: '请选择电站类型', @@ -1378,7 +1378,7 @@ const open = async (row: any) => { if (row.row) { resendId.value = row.row.id await getTerminalDetailsById({ id: row.row.id }).then((res: any) => { - form.value = { customSubstaionFlag: 0, ...res.data, ...res.data.supervisionTempDeviceReport } + form.value = { customSubstationFlag: 0, ...res.data, ...res.data.supervisionTempDeviceReport } let list = [ 'deviceFilePath', // 'acceptanceInspectionReportSingle',