监测点重新发起reporter空指针异常问题修改

This commit is contained in:
zhujiyan
2024-06-05 20:12:22 +08:00
parent efe72210e7
commit 36e03d1255
2 changed files with 4 additions and 4 deletions

View File

@@ -512,8 +512,8 @@ const selectFormType = ref('')
selectFormType.value = '0'
const resetForm = () => {
form.value = {
reporter: '', //填报人
reporterName: '', //填报人名称
// reporter: '', //填报人
// reporterName: '', //填报人名称
reportDate: '', //填报日期
orgId: '', //填报部门id
orgName: '', //填报部门名称
@@ -522,7 +522,7 @@ const resetForm = () => {
userStatus: userStateList[1].id, //用户状态
monitoringTerminalCode: monitoringTerminalList.value[0]?.id, //关联设备
monitoringTerminalName: monitoringTerminalList.value[0]?.monitoringTerminalName,
userName: projectList.value[0]?.id, //用户名称
userName: projectList.value[0]?.id, //用户名称关联干扰源
userId: '', //工程id
//监测点信息实体
businessType: '', // 干扰源类别

View File

@@ -55,7 +55,7 @@ const tableStore = new TableStore({
method: 'POST',
column: [
{ title: '序号', type: 'seq', width: 80 },
{ field: 'orgName', title: '填报部门名称', minWidth: 170 },
// { field: 'orgName', title: '填报部门名称', minWidth: 170 },
{
field: 'powerSubstationName',
title: '电网侧电站',