From c5ff4c263f1fb07e45b29bb6315d4cd23c1c13f1 Mon Sep 17 00:00:00 2001 From: shih <510524130@qq.com> Date: Wed, 25 Mar 2026 11:54:56 +0800 Subject: [PATCH] =?UTF-8?q?=E8=8E=B7=E5=8F=96=E5=AD=97=E5=85=B8=E8=A1=A8?= =?UTF-8?q?=E6=A0=BC=E9=80=89=E6=8B=A9=E5=99=A8=E5=80=BC=E5=9B=9E=E6=98=BE?= =?UTF-8?q?=E6=96=87=E6=9C=AC=E6=96=B9=E6=B3=95=20key=20=E4=BF=AE=E6=94=B9?= =?UTF-8?q?=E6=88=90=E4=B8=8E=E5=90=8E=E5=8F=B0=E4=B8=80=E8=87=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/LowTable/components/import/importHistory.vue | 2 +- src/components/LowDesign/src/utils/formUtil.ts | 2 +- src/components/LowDesign/src/utils/getName.ts | 2 +- src/components/LowDesign/src/utils/tableUtil.ts | 10 +++++----- 4 files changed, 8 insertions(+), 8 deletions(-) diff --git a/src/components/LowDesign/src/LowTable/components/import/importHistory.vue b/src/components/LowDesign/src/LowTable/components/import/importHistory.vue index a59ba67..2800566 100644 --- a/src/components/LowDesign/src/LowTable/components/import/importHistory.vue +++ b/src/components/LowDesign/src/LowTable/components/import/importHistory.vue @@ -118,7 +118,7 @@ const getTableData = async () => { }) if (userIds.length) { const dicRes = await DicApi.getDicTableText({ - lideeYunji_dictLabel: encryptAES(JSON.stringify([{ userIdList: [...new Set(userIds)] }])) + lideeYunJi_dictLabel: encryptAES(JSON.stringify([{ userIdList: [...new Set(userIds)] }])) }) if (dicRes?.userList) { dicRes.userList.forEach((item) => (userObj[item.id] = item.nickname)) diff --git a/src/components/LowDesign/src/utils/formUtil.ts b/src/components/LowDesign/src/utils/formUtil.ts index 682d060..a366913 100644 --- a/src/components/LowDesign/src/utils/formUtil.ts +++ b/src/components/LowDesign/src/utils/formUtil.ts @@ -624,7 +624,7 @@ export const formDataFormatting = (formOption, formData, formType) => { } if (dicApiData.length) { DicApi.getDicTableText({ - lideeYunji_dictLabel: encryptAES(JSON.stringify(dicApiData)) + lideeYunJi_dictLabel: encryptAES(JSON.stringify(dicApiData)) }).then(dicData => { const dictData = { userList: { dicKey: 'userSelect', label: 'nickname' }, diff --git a/src/components/LowDesign/src/utils/getName.ts b/src/components/LowDesign/src/utils/getName.ts index 1aca962..8aeb49f 100644 --- a/src/components/LowDesign/src/utils/getName.ts +++ b/src/components/LowDesign/src/utils/getName.ts @@ -24,7 +24,7 @@ export const setUserAndDeptName = (params) => { userList: { dicKey: 'userSelect', label: 'nickname' }, deptList: { dicKey: 'deptSelect', label: 'name' } } - getDicTableText({ lideeYunji_dictLabel: encryptAES(JSON.stringify(dictLabel)) }).then( + getDicTableText({ lideeYunJi_dictLabel: encryptAES(JSON.stringify(dictLabel)) }).then( (dicData) => { for (const key in dicData) { const dicObj = {} diff --git a/src/components/LowDesign/src/utils/tableUtil.ts b/src/components/LowDesign/src/utils/tableUtil.ts index 35a59fd..7b924b2 100644 --- a/src/components/LowDesign/src/utils/tableUtil.ts +++ b/src/components/LowDesign/src/utils/tableUtil.ts @@ -886,7 +886,7 @@ export const tableFormatting = (data, column, otherData: any = {}) => { }) //查询回显文本 - const dicApiData: any = { lideeYunji_dictLabel: [] } + const dicApiData: any = { lideeYunJi_dictLabel: [] } if (dicTableData.keyList.length) { const dicTableApiData: Array = [] dicTableData.keyList.forEach(key => { @@ -899,17 +899,17 @@ export const tableFormatting = (data, column, otherData: any = {}) => { dicTableData[key].dataList = [...new Set(dicTableData[key].dataList)].filter((id: string) => !lowStore.dicObj[key] ? true : !lowStore.dicObj[key][id]) if (dicTableData[key].dataList.length) dicTableApiData.push(dicTableData[key]) }) - dicApiData.lideeYunji_dictLabel.push(...dicTableApiData) + dicApiData.lideeYunJi_dictLabel.push(...dicTableApiData) } for (const key in userAndDeptControl.typeKey) { const abbr = userAndDeptControl.typeKey[key] userAndDeptControl[`${abbr}Ids`] = userAndDeptControl[`${abbr}Ids`].filter(id => { return /^(\d+)$/.test(id + '') }) - if (userAndDeptControl[`${abbr}Ids`].length) dicApiData.lideeYunji_dictLabel.push({ [`${abbr}IdList`]: [...new Set(userAndDeptControl[`${abbr}Ids`])] }) + if (userAndDeptControl[`${abbr}Ids`].length) dicApiData.lideeYunJi_dictLabel.push({ [`${abbr}IdList`]: [...new Set(userAndDeptControl[`${abbr}Ids`])] }) } - if (dicApiData.lideeYunji_dictLabel.length) { - dicApiData.lideeYunji_dictLabel = encryptAES(JSON.stringify(dicApiData.lideeYunji_dictLabel)) + if (dicApiData.lideeYunJi_dictLabel.length) { + dicApiData.lideeYunJi_dictLabel = encryptAES(JSON.stringify(dicApiData.lideeYunJi_dictLabel)) const dictData = { userList: { dicKey: 'userSelect', label: 'nickname', value: 'id' }, deptList: { dicKey: 'deptSelect', label: 'name', value: 'id' }