diff --git a/src/views/backOfficeSystem/IntelligentControl/myControl/components/addBkdx.vue b/src/views/backOfficeSystem/IntelligentControl/myControl/components/addBkdx.vue
index 47374a9..0148b78 100644
--- a/src/views/backOfficeSystem/IntelligentControl/myControl/components/addBkdx.vue
+++ b/src/views/backOfficeSystem/IntelligentControl/myControl/components/addBkdx.vue
@@ -629,7 +629,7 @@ const submit = () => {
bklx = "02";
}
let params = { ...listQuery.value, bklx: bklx };
- params.bkfj = params.bkfj ? params.bkfj.join(",") : "";
+ params.bkfj = params.bkfj ? JSON.stringify(params.bkfj) : "";
params.bkdxList = params.bkdxList ? params.bkdxList : [];
params.bkdxList.forEach((item) => {
if (Array.isArray(item.fjZp)) {
@@ -769,7 +769,18 @@ const changeXzqh = (val) => {
// 根据id获取详情
const getDataById = (id) => {
qcckGet({}, "/mosty-gsxt/tbGsxtBk/selectVoById/" + id).then((res) => {
- res.bkfj = res.ossList || [];
+ // 兼容处理:优先使用 ossList,为空则解析 bkfj JSON 字符串
+ if (res.ossList && res.ossList.length > 0) {
+ res.bkfj = res.ossList;
+ } else if (res.bkfj) {
+ try {
+ res.bkfj = JSON.parse(res.bkfj);
+ } catch (e) {
+ res.bkfj = [];
+ }
+ } else {
+ res.bkfj = [];
+ }
listQuery.value = res || {};
dataOrge.value = res;
if (res.bkqyList) {
diff --git a/src/views/backOfficeSystem/IntelligentControl/ysMyControl/components/addBkdx.vue b/src/views/backOfficeSystem/IntelligentControl/ysMyControl/components/addBkdx.vue
index 73a8dde..a034e68 100644
--- a/src/views/backOfficeSystem/IntelligentControl/ysMyControl/components/addBkdx.vue
+++ b/src/views/backOfficeSystem/IntelligentControl/ysMyControl/components/addBkdx.vue
@@ -384,7 +384,7 @@ const submit = () => {
bklx = '02'
}
let params = { ...listQuery.value, bklx: bklx };
- params.bkfj = params.bkfj ? params.bkfj.join(',') : '';
+ params.bkfj = params.bkfj ? JSON.stringify(params.bkfj) : "";
params.bkdxList = params.bkdxList ? params.bkdxList : [];
params.bkdxList.forEach(item => {
if (Array.isArray(item.fjZp)) {
@@ -523,7 +523,18 @@ const changeXzqh = (val) => {
// 根据id获取详情
const getDataById = (id) => {
qcckGet({}, '/mosty-gsxt/tbGsxtBk/selectVoById/' + id).then(res => {
- res.bkfj = res.ossList || [];
+ // 兼容处理:优先使用 ossList,为空则解析 bkfj JSON 字符串
+ if (res.ossList && res.ossList.length > 0) {
+ res.bkfj = res.ossList;
+ } else if (res.bkfj) {
+ try {
+ res.bkfj = JSON.parse(res.bkfj);
+ } catch (e) {
+ res.bkfj = [];
+ }
+ } else {
+ res.bkfj = [];
+ }
listQuery.value = res || {}
dataOrge.value = res
if (res.bkqyList) {
diff --git a/src/views/backOfficeSystem/ResearchJudgment/InformationFlows/InstructionInformation/components/detailForm.vue b/src/views/backOfficeSystem/ResearchJudgment/InformationFlows/InstructionInformation/components/detailForm.vue
index d7f7dc1..9e89cb0 100644
--- a/src/views/backOfficeSystem/ResearchJudgment/InformationFlows/InstructionInformation/components/detailForm.vue
+++ b/src/views/backOfficeSystem/ResearchJudgment/InformationFlows/InstructionInformation/components/detailForm.vue
@@ -16,6 +16,12 @@
请选择关联线索
+
+