监测点重新发起reporter空指针异常问题修改
This commit is contained in:
@@ -512,8 +512,8 @@ const selectFormType = ref('')
|
|||||||
selectFormType.value = '0'
|
selectFormType.value = '0'
|
||||||
const resetForm = () => {
|
const resetForm = () => {
|
||||||
form.value = {
|
form.value = {
|
||||||
reporter: '', //填报人
|
// reporter: '', //填报人
|
||||||
reporterName: '', //填报人名称
|
// reporterName: '', //填报人名称
|
||||||
reportDate: '', //填报日期
|
reportDate: '', //填报日期
|
||||||
orgId: '', //填报部门id
|
orgId: '', //填报部门id
|
||||||
orgName: '', //填报部门名称
|
orgName: '', //填报部门名称
|
||||||
@@ -522,7 +522,7 @@ const resetForm = () => {
|
|||||||
userStatus: userStateList[1].id, //用户状态
|
userStatus: userStateList[1].id, //用户状态
|
||||||
monitoringTerminalCode: monitoringTerminalList.value[0]?.id, //关联设备
|
monitoringTerminalCode: monitoringTerminalList.value[0]?.id, //关联设备
|
||||||
monitoringTerminalName: monitoringTerminalList.value[0]?.monitoringTerminalName,
|
monitoringTerminalName: monitoringTerminalList.value[0]?.monitoringTerminalName,
|
||||||
userName: projectList.value[0]?.id, //用户名称
|
userName: projectList.value[0]?.id, //用户名称关联干扰源
|
||||||
userId: '', //工程id
|
userId: '', //工程id
|
||||||
//监测点信息实体
|
//监测点信息实体
|
||||||
businessType: '', // 干扰源类别
|
businessType: '', // 干扰源类别
|
||||||
|
|||||||
@@ -55,7 +55,7 @@ const tableStore = new TableStore({
|
|||||||
method: 'POST',
|
method: 'POST',
|
||||||
column: [
|
column: [
|
||||||
{ title: '序号', type: 'seq', width: 80 },
|
{ title: '序号', type: 'seq', width: 80 },
|
||||||
{ field: 'orgName', title: '填报部门名称', minWidth: 170 },
|
// { field: 'orgName', title: '填报部门名称', minWidth: 170 },
|
||||||
{
|
{
|
||||||
field: 'powerSubstationName',
|
field: 'powerSubstationName',
|
||||||
title: '电网侧电站',
|
title: '电网侧电站',
|
||||||
|
|||||||
Reference in New Issue
Block a user