From c4199118e71aac7acf70a90db7b3b435efd049ae Mon Sep 17 00:00:00 2001 From: "1378012178@qq.com" <1378012178@qq.com> Date: Tue, 3 Mar 2026 10:59:44 +0800 Subject: [PATCH] =?UTF-8?q?1=E3=80=81=E6=9C=8D=E5=8A=A1=E6=8C=87=E4=BB=A4-?= =?UTF-8?q?=E6=9C=BA=E6=9E=84=E8=AF=A6=E6=83=85-=E6=9C=8D=E5=8A=A1?= =?UTF-8?q?=E5=B1=9E=E6=80=A7=E5=9B=9E=E6=98=BE=202=E3=80=81=E6=93=8D?= =?UTF-8?q?=E4=BD=9C=E6=97=A5=E5=BF=97=EF=BC=9A=20=091=EF=BC=89=E6=96=B0?= =?UTF-8?q?=E5=A2=9E=E7=B1=BB=E5=9E=8B=EF=BC=9A=E5=A2=9E=E5=8A=A0=E6=9C=8D?= =?UTF-8?q?=E5=8A=A1=E5=B1=9E=E6=80=A7=E5=B1=95=E7=A4=BA=E3=80=81=E5=8E=BB?= =?UTF-8?q?=E9=99=A4=E8=B6=85=E6=97=B6=E6=97=B6=E9=95=BF=E3=80=81=E5=B0=86?= =?UTF-8?q?=E9=BB=98=E8=AE=A4=E6=8C=87=E4=BB=A4=E5=9B=BE=E6=A0=87=E3=80=81?= =?UTF-8?q?=E7=84=A6=E7=82=B9=E6=8C=87=E4=BB=A4=E5=9B=BE=E6=A0=87=E6=8C=AA?= =?UTF-8?q?=E5=88=B0=E6=8C=87=E4=BB=A4=E6=8F=8F=E8=BF=B0=E4=B8=8A=E6=96=B9?= =?UTF-8?q?=20=092=EF=BC=89=E5=8F=98=E6=9B=B4=E7=B1=BB=E5=9E=8B=EF=BC=9A?= =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E6=9C=8D=E5=8A=A1=E5=B1=9E=E6=80=A7=E5=9B=9E?= =?UTF-8?q?=E6=98=BE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/common/api.ts | 21 +++++- .../components/DirectiveOpeLogInfoAdd.vue | 71 +++++++++++++------ .../components/DirectiveOpeLogInfoCompare.vue | 11 +-- .../components/DirectiveOpeLogMainModal.vue | 27 +++++-- .../components/DirectiveRadioCom.vue | 3 +- .../ConfigServiceDirective.data.ts | 5 ++ 6 files changed, 107 insertions(+), 31 deletions(-) diff --git a/src/api/common/api.ts b/src/api/common/api.ts index 9a6d790..e29f904 100644 --- a/src/api/common/api.ts +++ b/src/api/common/api.ts @@ -24,6 +24,7 @@ enum Api { getETMOrgInfo = '/api/common/getETMOrgInfo', //标准标签库信息 queryUpBizPrefix = '/api/sysUtils/queryUpBizPrefix', getMediaUrlByOrgCode = '/api/baseInfo/getMediaUrlByOrgCode', + getManyDictItems = '/sys/api/getManyDictItems', } /** @@ -230,4 +231,22 @@ export const queryUpBizPrefix = () => { */ export const getMediaUrlByOrgCode = (params) => { return defHttp.get({ url: Api.getMediaUrlByOrgCode, params }); -}; \ No newline at end of file +}; + +/** + * 查询字典项 + * @param params + */ +export const getManyDictItems = (params) => { + // 处理数组参数 + if (params && params.dictCodeList && Array.isArray(params.dictCodeList)) { + const query = params.dictCodeList.map((code) => `dictCodeList=${encodeURIComponent(code)}`).join('&'); + return defHttp.get( + { + url: `${Api.getManyDictItems}?${query}`, + }, + { isTransformResponse: false } + ); + } + return defHttp.get({ url: Api.getManyDictItems, params }, { isTransformResponse: false }); +}; diff --git a/src/views/synchronization/directive/directiveopelog/components/DirectiveOpeLogInfoAdd.vue b/src/views/synchronization/directive/directiveopelog/components/DirectiveOpeLogInfoAdd.vue index bb2f639..38edd7f 100644 --- a/src/views/synchronization/directive/directiveopelog/components/DirectiveOpeLogInfoAdd.vue +++ b/src/views/synchronization/directive/directiveopelog/components/DirectiveOpeLogInfoAdd.vue @@ -42,6 +42,19 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + :maxlength="200" :rows="3" :autoSize="{ minRows: 3 }" :showCount="true" disabled /> @@ -110,14 +136,14 @@ - + - - + + @@ -14,10 +15,12 @@