diff --git a/frontend-sjgl/src/api/DataQueryMenuModule/index.ts b/frontend-sjgl/src/api/DataQueryMenuModule/index.ts index 4de54418..63501e8d 100644 --- a/frontend-sjgl/src/api/DataQueryMenuModule/index.ts +++ b/frontend-sjgl/src/api/DataQueryMenuModule/index.ts @@ -277,6 +277,60 @@ export function getFishReleaseMonitorList(data) { }); } +// 过鱼设施人工数据 - 新增 +export function addFpssRInfo(data) { + return request({ + url: '/data/fpssR/add', + method: 'post', + headers: { + 'Content-Type': 'multipart/form-data' + }, + data + }); +} + +// 过鱼设施人工数据 - 编辑 +export function updateFpssRInfo(data) { + return request({ + url: '/data/fpssR/update', + method: 'post', + headers: { + 'Content-Type': 'multipart/form-data' + }, + data + }); +} + +// 过鱼设施人工数据 - 删除 +export function deleteFpssRInfo(data) { + return request({ + url: '/data/fpssR/delete', + method: 'post', + data + }); +} + +// 过鱼设施自动数据 - 编辑 +export function updateFpssrlRInfo(data) { + return request({ + url: '/base/fpssrlR/update', + method: 'post', + headers: { + 'Content-Type': 'multipart/form-data' + }, + data + }); +} + +// 过鱼设施自动数据 - 删除 +export function deleteFpssrlRInfo(data) { + return request({ + url: '/base/fpssrlR/delete', + method: 'post', + data + }); +} + // 鱼类 放鱼 export function getFishReleaseList(data) { return request({ diff --git a/frontend-sjgl/src/components/OperationLogModal/index.vue b/frontend-sjgl/src/components/OperationLogModal/index.vue index 9e7f704a..f76ccf0e 100644 --- a/frontend-sjgl/src/components/OperationLogModal/index.vue +++ b/frontend-sjgl/src/components/OperationLogModal/index.vue @@ -131,21 +131,13 @@ const searchList: any = [ // 表格列配置 const columns = ref([ { - key: "recordId", + key: "recordName", title: "电站", - dataIndex: "recordId", + dataIndex: "recordName", visible: true, width: 120, ellipsis: true, }, - { - key: "tableName", - title: "数据类型/所属表名", - dataIndex: "tableName", - visible: true, - width: 160, - ellipsis: true, - }, { key: "operator", title: "修改人", diff --git a/frontend-sjgl/src/components/fishSearch/index.vue b/frontend-sjgl/src/components/fishSearch/index.vue new file mode 100644 index 00000000..84330d4f --- /dev/null +++ b/frontend-sjgl/src/components/fishSearch/index.vue @@ -0,0 +1,729 @@ + + + + + diff --git a/frontend-sjgl/src/views/conventionalHydropower/BasicData/EditPowerModal.vue b/frontend-sjgl/src/views/conventionalHydropower/BasicData/EditPowerModal.vue index 32c576f0..fbf42cb6 100644 --- a/frontend-sjgl/src/views/conventionalHydropower/BasicData/EditPowerModal.vue +++ b/frontend-sjgl/src/views/conventionalHydropower/BasicData/EditPowerModal.vue @@ -19,7 +19,7 @@
概述
- + - + - + - + - + - + - + - + - + - + - + - +
水文
- + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - +
水库
- + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - +
下泄流量及相应下游水位
- + - + - + - + - + - + - + - +
工程效益指标
- + - + - + - + - + - + - +
大坝
- + - + - + - +
其他
- + - + - + - + { stcd: formData.value.stcd }; changeOrder.value.forEach(item => { - engInfo[item.field] = formData.value[item.field]; + // select 清空后值为 undefined/null,统一转为空字符串,避免序列化时字段被省略 + let val = formData.value[item.field]; + if (val === null || val === undefined) { + val = ''; + } + engInfo[item.field] = val; }); appendSelectLabels(engInfo, changeOrder.value.map(c => c.field)); res = await updatePowerInfo({ diff --git a/frontend-sjgl/src/views/conventionalHydropower/FishResource/EditFishDictoryModal.vue b/frontend-sjgl/src/views/conventionalHydropower/FishResource/EditFishDictoryModal.vue index 39dd8f59..4947a052 100644 --- a/frontend-sjgl/src/views/conventionalHydropower/FishResource/EditFishDictoryModal.vue +++ b/frontend-sjgl/src/views/conventionalHydropower/FishResource/EditFishDictoryModal.vue @@ -718,7 +718,12 @@ const handleConfirmSubmit = async (source: string) => { // 编辑时只传修改过的字段 engInfo.id = formData.value.id; changeOrder.value.forEach(item => { - engInfo[item.field] = formData.value[item.field]; + // select 清空后值为 undefined/null,统一转为空字符串,避免序列化时字段被省略 + let val = formData.value[item.field]; + if (val === null || val === undefined) { + val = ''; + } + engInfo[item.field] = val; }); // 保留剩余的已有图片 inffile const existingIds = fileList.value diff --git a/frontend-sjgl/src/views/conventionalHydropower/aiBox/EditAiBoxModal.vue b/frontend-sjgl/src/views/conventionalHydropower/aiBox/EditAiBoxModal.vue index 454ff8da..e25979bd 100644 --- a/frontend-sjgl/src/views/conventionalHydropower/aiBox/EditAiBoxModal.vue +++ b/frontend-sjgl/src/views/conventionalHydropower/aiBox/EditAiBoxModal.vue @@ -539,7 +539,12 @@ const handleConfirmSubmit = async (source: string) => { } else { engInfo.stcd = formData.value.stcd; changeOrder.value.forEach(item => { - engInfo[item.field] = formData.value[item.field]; + // select 清空后值为 undefined/null,统一转为空字符串,避免序列化时字段被省略 + let val = formData.value[item.field]; + if (val === null || val === undefined) { + val = ''; + } + engInfo[item.field] = val; }); res = await updateAiboxInfo({ engInfo, diff --git a/frontend-sjgl/src/views/conventionalHydropower/aquaEco/EditOtweModal.vue b/frontend-sjgl/src/views/conventionalHydropower/aquaEco/EditOtweModal.vue index 74a7a98a..b976e590 100644 --- a/frontend-sjgl/src/views/conventionalHydropower/aquaEco/EditOtweModal.vue +++ b/frontend-sjgl/src/views/conventionalHydropower/aquaEco/EditOtweModal.vue @@ -527,7 +527,12 @@ const handleConfirmSubmit = async (source: string) => { } else { engInfo.stcd = formData.value.stcd; changeOrder.value.forEach(item => { - engInfo[item.field] = formData.value[item.field]; + // select 清空后值为 undefined/null,统一转为空字符串,避免序列化时字段被省略 + let val = formData.value[item.field]; + if (val === null || val === undefined) { + val = ''; + } + engInfo[item.field] = val; }); res = await updateOtweInfo({ engInfo, diff --git a/frontend-sjgl/src/views/conventionalHydropower/fishSurvey/EditFishModal.vue b/frontend-sjgl/src/views/conventionalHydropower/fishSurvey/EditFishModal.vue index 13c59770..cd70230c 100644 --- a/frontend-sjgl/src/views/conventionalHydropower/fishSurvey/EditFishModal.vue +++ b/frontend-sjgl/src/views/conventionalHydropower/fishSurvey/EditFishModal.vue @@ -572,7 +572,12 @@ const handleConfirmSubmit = async (source: string) => { } else { engInfo.stcd = formData.value.stcd; changeOrder.value.forEach(item => { - engInfo[item.field] = formData.value[item.field]; + // select 清空后值为 undefined/null,统一转为空字符串,避免序列化时字段被省略 + let val = formData.value[item.field]; + if (val === null || val === undefined) { + val = ''; + } + engInfo[item.field] = val; }); res = await updateAiInfo({ engInfo, diff --git a/frontend-sjgl/src/views/conventionalHydropower/guoYuSheShi/EditFpModal.vue b/frontend-sjgl/src/views/conventionalHydropower/guoYuSheShi/EditFpModal.vue index 496c8247..326d08af 100644 --- a/frontend-sjgl/src/views/conventionalHydropower/guoYuSheShi/EditFpModal.vue +++ b/frontend-sjgl/src/views/conventionalHydropower/guoYuSheShi/EditFpModal.vue @@ -403,7 +403,14 @@ const handleConfirmSubmit = async (source: string) => { res = await addFpInfo({ engInfo, source: source.trim() || '新增' }); } else { engInfo.stcd = formData.value.stcd; - changeOrder.value.forEach(item => { engInfo[item.field] = formData.value[item.field]; }); + changeOrder.value.forEach(item => { + // select 清空后值为 undefined/null,统一转为空字符串,避免序列化时字段被省略 + let val = formData.value[item.field]; + if (val === null || val === undefined) { + val = ''; + } + engInfo[item.field] = val; + }); // fpssmn 多选:数组 → 逗号分隔字符串 if (Array.isArray(engInfo.fpssmn)) engInfo.fpssmn = engInfo.fpssmn.join(','); res = await updateFpInfo({ engInfo, source: source.trim() || '编辑' }); diff --git a/frontend-sjgl/src/views/conventionalHydropower/luShengShengTaiDiaoCha/EditTeModal.vue b/frontend-sjgl/src/views/conventionalHydropower/luShengShengTaiDiaoCha/EditTeModal.vue index 70425fc7..ce39127c 100644 --- a/frontend-sjgl/src/views/conventionalHydropower/luShengShengTaiDiaoCha/EditTeModal.vue +++ b/frontend-sjgl/src/views/conventionalHydropower/luShengShengTaiDiaoCha/EditTeModal.vue @@ -450,7 +450,12 @@ const handleConfirmSubmit = async (source: string) => { // 编辑时只传 stcd + 修改过的字段 engInfo.stcd = formData.value.stcd; changeOrder.value.forEach(item => { - engInfo[item.field] = formData.value[item.field]; + // select 清空后值为 undefined/null,统一转为空字符串,避免序列化时字段被省略 + let val = formData.value[item.field]; + if (val === null || val === undefined) { + val = ''; + } + engInfo[item.field] = val; }); res = await updateTeInfo({ engInfo, diff --git a/frontend-sjgl/src/views/conventionalHydropower/qiXiDi/EditFhModal.vue b/frontend-sjgl/src/views/conventionalHydropower/qiXiDi/EditFhModal.vue index a399cceb..d41afe50 100644 --- a/frontend-sjgl/src/views/conventionalHydropower/qiXiDi/EditFhModal.vue +++ b/frontend-sjgl/src/views/conventionalHydropower/qiXiDi/EditFhModal.vue @@ -44,6 +44,15 @@ /> + + + + + = { stcd: '栖息地站码', stnm: '栖息地名称', stlc: '站址', + layerCode: '图层编码', baseId: '水电基地', rstcd: '所属电站', bhdx: '保护对象', @@ -518,7 +528,12 @@ const handleConfirmSubmit = async (source: string) => { } else { engInfo.stcd = formData.value.stcd; changeOrder.value.forEach(item => { - engInfo[item.field] = formData.value[item.field]; + // select 清空后值为 undefined/null,统一转为空字符串,避免序列化时字段被省略 + let val = formData.value[item.field]; + if (val === null || val === undefined) { + val = ''; + } + engInfo[item.field] = val; }); // bhdx 多选:数组 → 逗号分隔字符串 if (Array.isArray(engInfo.bhdx)) engInfo.bhdx = engInfo.bhdx.join(','); diff --git a/frontend-sjgl/src/views/conventionalHydropower/qiXiDi/index.vue b/frontend-sjgl/src/views/conventionalHydropower/qiXiDi/index.vue index 47d20df4..46154722 100644 --- a/frontend-sjgl/src/views/conventionalHydropower/qiXiDi/index.vue +++ b/frontend-sjgl/src/views/conventionalHydropower/qiXiDi/index.vue @@ -64,7 +64,7 @@ const operationLogVisible = ref(false); const columns = ref([ { key: 'stnm', title: '栖息地名称', dataIndex: 'stnm', visible: true, width: 260, ellipsis: true }, - { key: 'stcd', title: '栖息地站码', dataIndex: 'stcd', visible: true, width: 320, fixed: 'left', ellipsis: true }, + { key: 'stcd', title: '栖息地站码', dataIndex: 'stcd', visible: true, width: 320, ellipsis: true }, { key: 'baseName', title: '水电基地', dataIndex: 'baseName', visible: true, width: 120, ellipsis: true }, { key: 'ennm', title: '所属电站', dataIndex: 'ennm', visible: true, width: 150, ellipsis: true }, { key: 'bhdxName', title: '保护对象', dataIndex: 'bhdxName', visible: true, width: 240, ellipsis: true }, @@ -77,6 +77,7 @@ const columns = ref([ { key: 'bhfs', title: '保护方式', dataIndex: 'bhfs', visible: true, width: 120, ellipsis: true }, { key: 'inv', title: '投资(亿元)', dataIndex: 'inv', visible: true, width: 120 }, { key: 'stlc', title: '站址', dataIndex: 'stlc', visible: true, ellipsis: true,width: 220 }, + { key: 'layerCode', title: '图层编码', dataIndex: 'layerCode', visible: true, ellipsis: true, width: 160 }, { key: 'action', title: '操作', dataIndex: 'action', fixed: 'right', width: 120 }, ]); diff --git a/frontend-sjgl/src/views/conventionalHydropower/rescueStation/EditVaModal.vue b/frontend-sjgl/src/views/conventionalHydropower/rescueStation/EditVaModal.vue index 858819ab..dc270da7 100644 --- a/frontend-sjgl/src/views/conventionalHydropower/rescueStation/EditVaModal.vue +++ b/frontend-sjgl/src/views/conventionalHydropower/rescueStation/EditVaModal.vue @@ -486,7 +486,14 @@ const handleConfirmSubmit = async (source: string) => { res = await addVaInfo({ engInfo, source: source.trim() || '新增' }); } else { engInfo.stcd = formData.value.stcd; - changeOrder.value.forEach(item => { engInfo[item.field] = formData.value[item.field]; }); + changeOrder.value.forEach(item => { + // select 清空后值为 undefined/null,统一转为空字符串,避免序列化时字段被省略 + let val = formData.value[item.field]; + if (val === null || val === undefined) { + val = ''; + } + engInfo[item.field] = val; + }); res = await updateVaInfo({ engInfo, source: source.trim() || '编辑' }); } if (res?.code == 0 || res?.success) { diff --git a/frontend-sjgl/src/views/conventionalHydropower/shengTaiLiuLiang/EditEqModal.vue b/frontend-sjgl/src/views/conventionalHydropower/shengTaiLiuLiang/EditEqModal.vue index 2b96d1ce..2ad26852 100644 --- a/frontend-sjgl/src/views/conventionalHydropower/shengTaiLiuLiang/EditEqModal.vue +++ b/frontend-sjgl/src/views/conventionalHydropower/shengTaiLiuLiang/EditEqModal.vue @@ -344,7 +344,14 @@ const handleConfirmSubmit = async (source: string) => { res = await addEqInfo({ engInfo, source: source.trim() || '新增' }); } else { engInfo.stcd = formData.value.stcd; - changeOrder.value.forEach(item => { engInfo[item.field] = formData.value[item.field]; }); + changeOrder.value.forEach(item => { + // select 清空后值为 undefined/null,统一转为空字符串,避免序列化时字段被省略 + let val = formData.value[item.field]; + if (val === null || val === undefined) { + val = ''; + } + engInfo[item.field] = val; + }); res = await updateEqInfo({ engInfo, source: source.trim() || '编辑' }); } if (res?.code == 0 || res?.success) { diff --git a/frontend-sjgl/src/views/conventionalHydropower/shiPinJianKong/EditVdModal.vue b/frontend-sjgl/src/views/conventionalHydropower/shiPinJianKong/EditVdModal.vue index fd55471d..924a0726 100644 --- a/frontend-sjgl/src/views/conventionalHydropower/shiPinJianKong/EditVdModal.vue +++ b/frontend-sjgl/src/views/conventionalHydropower/shiPinJianKong/EditVdModal.vue @@ -265,7 +265,14 @@ const handleConfirmSubmit = async (source: string) => { res = await addVdInfo({ engInfo, source: source.trim() || '新增' }); } else { engInfo.stcd = formData.value.stcd; - changeOrder.value.forEach(item => { engInfo[item.field] = formData.value[item.field]; }); + changeOrder.value.forEach(item => { + // select 清空后值为 undefined/null,统一转为空字符串,避免序列化时字段被省略 + let val = formData.value[item.field]; + if (val === null || val === undefined) { + val = ''; + } + engInfo[item.field] = val; + }); res = await updateVdInfo({ engInfo, source: source.trim() || '编辑' }); } if (res?.code == 0 || res?.success) { diff --git a/frontend-sjgl/src/views/conventionalHydropower/shuiShengShengTaiDiaoCha/EditWeModal.vue b/frontend-sjgl/src/views/conventionalHydropower/shuiShengShengTaiDiaoCha/EditWeModal.vue index fd9f8e8e..16f8f739 100644 --- a/frontend-sjgl/src/views/conventionalHydropower/shuiShengShengTaiDiaoCha/EditWeModal.vue +++ b/frontend-sjgl/src/views/conventionalHydropower/shuiShengShengTaiDiaoCha/EditWeModal.vue @@ -461,7 +461,12 @@ const handleConfirmSubmit = async (source: string) => { // 编辑时只传 stcd + 修改过的字段 engInfo.stcd = formData.value.stcd; changeOrder.value.forEach(item => { - engInfo[item.field] = formData.value[item.field]; + // select 清空后值为 undefined/null,统一转为空字符串,避免序列化时字段被省略 + let val = formData.value[item.field]; + if (val === null || val === undefined) { + val = ''; + } + engInfo[item.field] = val; }); res = await updateWeInfo({ engInfo, diff --git a/frontend-sjgl/src/views/conventionalHydropower/shuiWenJianCe/EditWtModal.vue b/frontend-sjgl/src/views/conventionalHydropower/shuiWenJianCe/EditWtModal.vue index e921494c..9be54299 100644 --- a/frontend-sjgl/src/views/conventionalHydropower/shuiWenJianCe/EditWtModal.vue +++ b/frontend-sjgl/src/views/conventionalHydropower/shuiWenJianCe/EditWtModal.vue @@ -454,7 +454,12 @@ const handleConfirmSubmit = async (source: string) => { // 编辑时只传 stcd + 修改过的字段 engInfo.stcd = formData.value.stcd; changeOrder.value.forEach(item => { - engInfo[item.field] = formData.value[item.field]; + // select 清空后值为 undefined/null,统一转为空字符串,避免序列化时字段被省略 + let val = formData.value[item.field]; + if (val === null || val === undefined) { + val = ''; + } + engInfo[item.field] = val; }); res = await updateWtInfo({ engInfo, diff --git a/frontend-sjgl/src/views/conventionalHydropower/shuiZhiJianCe/EditWqModal.vue b/frontend-sjgl/src/views/conventionalHydropower/shuiZhiJianCe/EditWqModal.vue index 17706e90..1134facb 100644 --- a/frontend-sjgl/src/views/conventionalHydropower/shuiZhiJianCe/EditWqModal.vue +++ b/frontend-sjgl/src/views/conventionalHydropower/shuiZhiJianCe/EditWqModal.vue @@ -502,7 +502,12 @@ const handleConfirmSubmit = async (source: string) => { } else { engInfo.stcd = formData.value.stcd; changeOrder.value.forEach(item => { - engInfo[item.field] = formData.value[item.field]; + // select 清空后值为 undefined/null,统一转为空字符串,避免序列化时字段被省略 + let val = formData.value[item.field]; + if (val === null || val === undefined) { + val = ''; + } + engInfo[item.field] = val; }); res = await updateWqInfo({ engInfo, diff --git a/frontend-sjgl/src/views/conventionalHydropower/sonarCam/EditSonarModal.vue b/frontend-sjgl/src/views/conventionalHydropower/sonarCam/EditSonarModal.vue index 2fcdbca0..44b92d78 100644 --- a/frontend-sjgl/src/views/conventionalHydropower/sonarCam/EditSonarModal.vue +++ b/frontend-sjgl/src/views/conventionalHydropower/sonarCam/EditSonarModal.vue @@ -513,7 +513,12 @@ const handleConfirmSubmit = async (source: string) => { } else { engInfo.stcd = formData.value.stcd; changeOrder.value.forEach(item => { - engInfo[item.field] = formData.value[item.field]; + // select 清空后值为 undefined/null,统一转为空字符串,避免序列化时字段被省略 + let val = formData.value[item.field]; + if (val === null || val === undefined) { + val = ''; + } + engInfo[item.field] = val; }); res = await updateSonarInfo({ engInfo, diff --git a/frontend-sjgl/src/views/conventionalHydropower/tempMit/EditDwModal.vue b/frontend-sjgl/src/views/conventionalHydropower/tempMit/EditDwModal.vue index 6407c4d8..1671f1d2 100644 --- a/frontend-sjgl/src/views/conventionalHydropower/tempMit/EditDwModal.vue +++ b/frontend-sjgl/src/views/conventionalHydropower/tempMit/EditDwModal.vue @@ -525,7 +525,12 @@ const handleConfirmSubmit = async (source: string) => { } else { engInfo.stcd = formData.value.stcd; changeOrder.value.forEach(item => { - engInfo[item.field] = formData.value[item.field]; + // select 清空后值为 undefined/null,统一转为空字符串,避免序列化时字段被省略 + let val = formData.value[item.field]; + if (val === null || val === undefined) { + val = ''; + } + engInfo[item.field] = val; }); res = await updateDwInfo({ engInfo, diff --git a/frontend-sjgl/src/views/conventionalHydropower/terrEco/EditOtteModal.vue b/frontend-sjgl/src/views/conventionalHydropower/terrEco/EditOtteModal.vue index 8fabb9b0..9d2d0083 100644 --- a/frontend-sjgl/src/views/conventionalHydropower/terrEco/EditOtteModal.vue +++ b/frontend-sjgl/src/views/conventionalHydropower/terrEco/EditOtteModal.vue @@ -534,7 +534,12 @@ const handleConfirmSubmit = async (source: string) => { } else { engInfo.stcd = formData.value.stcd; changeOrder.value.forEach(item => { - engInfo[item.field] = formData.value[item.field]; + // select 清空后值为 undefined/null,统一转为空字符串,避免序列化时字段被省略 + let val = formData.value[item.field]; + if (val === null || val === undefined) { + val = ''; + } + engInfo[item.field] = val; }); res = await updateOtteInfo({ engInfo, diff --git a/frontend-sjgl/src/views/conventionalHydropower/zengZhiFangLiu/EditFbModal.vue b/frontend-sjgl/src/views/conventionalHydropower/zengZhiFangLiu/EditFbModal.vue index 327c1249..9a6d23fa 100644 --- a/frontend-sjgl/src/views/conventionalHydropower/zengZhiFangLiu/EditFbModal.vue +++ b/frontend-sjgl/src/views/conventionalHydropower/zengZhiFangLiu/EditFbModal.vue @@ -350,7 +350,14 @@ const handleConfirmSubmit = async (source: string) => { res = await addFbInfo({ engInfo, source: source.trim() || '新增' }); } else { engInfo.stcd = formData.value.stcd; - changeOrder.value.forEach(item => { engInfo[item.field] = formData.value[item.field]; }); + changeOrder.value.forEach(item => { + // select 清空后值为 undefined/null,统一转为空字符串,避免序列化时字段被省略 + let val = formData.value[item.field]; + if (val === null || val === undefined) { + val = ''; + } + engInfo[item.field] = val; + }); res = await updateFbInfo({ engInfo, source: source.trim() || '编辑' }); } if (res?.code == 0 || res?.success) { diff --git a/frontend-sjgl/src/views/conventionalHydropower/zhenXIZhiWuYuan/EditVpModal.vue b/frontend-sjgl/src/views/conventionalHydropower/zhenXIZhiWuYuan/EditVpModal.vue index 3d216ea9..557ce21a 100644 --- a/frontend-sjgl/src/views/conventionalHydropower/zhenXIZhiWuYuan/EditVpModal.vue +++ b/frontend-sjgl/src/views/conventionalHydropower/zhenXIZhiWuYuan/EditVpModal.vue @@ -305,7 +305,14 @@ const handleConfirmSubmit = async (source: string) => { res = await addVpInfo({ engInfo, source: source.trim() || '新增' }); } else { engInfo.stcd = formData.value.stcd; - changeOrder.value.forEach(item => { engInfo[item.field] = formData.value[item.field]; }); + changeOrder.value.forEach(item => { + // select 清空后值为 undefined/null,统一转为空字符串,避免序列化时字段被省略 + let val = formData.value[item.field]; + if (val === null || val === undefined) { + val = ''; + } + engInfo[item.field] = val; + }); res = await updateVpInfo({ engInfo, source: source.trim() || '编辑' }); } if (res?.code == 0 || res?.success) { diff --git a/frontend-sjgl/src/views/monitorData/FishData/EditFishDataAutoModal.vue b/frontend-sjgl/src/views/monitorData/FishData/EditFishDataAutoModal.vue new file mode 100644 index 00000000..7e1219bf --- /dev/null +++ b/frontend-sjgl/src/views/monitorData/FishData/EditFishDataAutoModal.vue @@ -0,0 +1,841 @@ + + + diff --git a/frontend-sjgl/src/views/monitorData/FishData/EditFishDataManualModal.vue b/frontend-sjgl/src/views/monitorData/FishData/EditFishDataManualModal.vue new file mode 100644 index 00000000..138355df --- /dev/null +++ b/frontend-sjgl/src/views/monitorData/FishData/EditFishDataManualModal.vue @@ -0,0 +1,823 @@ + + + diff --git a/frontend-sjgl/src/views/monitorData/FishData/FishDataAuto.vue b/frontend-sjgl/src/views/monitorData/FishData/FishDataAuto.vue index 4915db3e..32ff0de2 100644 --- a/frontend-sjgl/src/views/monitorData/FishData/FishDataAuto.vue +++ b/frontend-sjgl/src/views/monitorData/FishData/FishDataAuto.vue @@ -7,6 +7,7 @@ @export-btn="exportBtn" @search-finish="onSearchFinish" @reset="onReset" + @seeEdit="handleSeeEdit" ref="searchRef" /> @@ -20,6 +21,18 @@ sort: sort }" > + @@ -49,6 +62,24 @@ > + + + + + + + +