From 6b6d4c06d3367d7685d9a9bf416d2928c305496e Mon Sep 17 00:00:00 2001 From: "1378012178@qq.com" <1378012178@qq.com> Date: Fri, 15 Aug 2025 08:55:47 +0800 Subject: [PATCH] =?UTF-8?q?1=E3=80=81=E6=9C=BA=E6=9E=84=E5=8D=A1=E7=89=87?= =?UTF-8?q?=E8=B0=83=E6=95=B4=202=E3=80=81=E9=95=BF=E8=80=85=E6=A0=87?= =?UTF-8?q?=E7=AD=BE=EF=BC=88=E6=9C=AA=E5=AE=8C=E6=88=90=EF=BC=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .env.development | 8 +- src/App.vue | 180 +++++++------- src/api/common/api.ts | 25 ++ src/components/Application/src/AppLogo.vue | 2 +- src/components/dataAsync/AsyncMain.data.ts | 51 ++++ .../dataAsync/AsyncMainList0731.vue | 6 +- src/layouts/default/header/index.vue | 10 +- .../components/CanAddDirectiveForm.vue | 19 +- .../directive/orgCom/OrgListCom.vue | 160 +++---------- .../ConfigServiceDirective.data.ts | 224 +++++++++--------- .../ConfigServiceDirectiveListModal.vue | 2 +- .../synchronization/directive/syncList.vue | 15 +- .../directive/syncStep/SyncStepList.vue | 11 +- .../depart/components/DepartFormModal.vue | 11 + .../depart/components/DepartFormTab.vue | 7 + 15 files changed, 364 insertions(+), 367 deletions(-) diff --git a/.env.development b/.env.development index f4a0253..5e3dc12 100644 --- a/.env.development +++ b/.env.development @@ -6,10 +6,10 @@ VITE_PUBLIC_PATH = /ope # 跨域代理,您可以配置多个 ,请注意,没有换行符 -VITE_PROXY = [["/opeapi","http://192.168.2.30:8081/opeapi"],["/upload","http://192.168.2.30:3300/upload"]] +VITE_PROXY = [["/opeapi","http://localhost:8081/opeapi"],["/upload","http://localhost:3300/upload"]] #后台接口全路径地址(必填) -VITE_GLOB_DOMAIN_URL=http://192.168.2.30:8081/opeapi +VITE_GLOB_DOMAIN_URL=http://localhost:8081/opeapi #后台接口父地址(必填) VITE_GLOB_API_URL=/opeapi @@ -18,7 +18,7 @@ VITE_GLOB_API_URL=/opeapi VITE_GLOB_API_URL_PREFIX= #微前端qiankun应用,命名必须以VITE_APP_SUB_开头,jeecg-app-1为子应用的项目名称,也是子应用的路由父路径 -VITE_APP_SUB_jeecg-app-1 = '//192.168.2.30:8092' +VITE_APP_SUB_jeecg-app-1 = '//localhost:8092' # 试验田机构编码 VITE_SYTJGBM = '101' @@ -29,4 +29,4 @@ VITE_DIRECTIVE_UPLOAD_PATH = '' # 填写后将作为乾坤子应用启动,主应用注册时AppName需保持一致(放开 VITE_GLOB_QIANKUN_MICRO_APP_NAME 参数表示jeecg-vue3将以乾坤子应用模式启动) #VITE_GLOB_QIANKUN_MICRO_APP_NAME=jeecg-vue3 # 作为乾坤子应用启动时必填,需与qiankun主应用注册子应用时填写的 entry 保持一致 -#VITE_GLOB_QIANKUN_MICRO_APP_ENTRY=//192.168.2.30:3001/jeecg-vue3 +#VITE_GLOB_QIANKUN_MICRO_APP_ENTRY=//localhost:3001/jeecg-vue3 diff --git a/src/App.vue b/src/App.vue index f0d8666..0f54d19 100644 --- a/src/App.vue +++ b/src/App.vue @@ -7,99 +7,103 @@ diff --git a/src/api/common/api.ts b/src/api/common/api.ts index 965f35b..bc55725 100644 --- a/src/api/common/api.ts +++ b/src/api/common/api.ts @@ -19,6 +19,9 @@ enum Api { changeDirectiveMain = '/sys/sysDepart/changeDirectiveMain', //变更指令库 getDirectiveMain = '/sys/sysDepart/getDirectiveMain', //查询当前指令库机构信息 getDMOrgInfo = '/api/common/getDMOrgInfo', //标准指令库信息 + changeElderTagMain = '/sys/sysDepart/changeElderTagMain', //变更标准标签库 + getElderTagMain = '/sys/sysDepart/getElderTagMain', //查询当前标准标签库机构信息 + getETMOrgInfo = '/api/common/getETMOrgInfo', //标准标签库信息 } /** @@ -188,3 +191,25 @@ export const changeDirectiveMain = (orgCode) => { export const getDirectiveMain = () => { return defHttp.get({ url: Api.getDirectiveMain }); }; + + +//标准标签库信息 +export const getETMOrgInfo = () => { + return defHttp.get({ url: Api.getETMOrgInfo }); +}; + +/** + * 变更标签库 + * @param params + */ +export const changeElderTagMain = (orgCode) => { + return defHttp.post({ url: `${Api.changeElderTagMain}?orgCode=${encodeURIComponent(orgCode)}` }); +}; + +/** + * 变更标签库 + * @param params + */ +export const getElderTagMain = () => { + return defHttp.get({ url: Api.getElderTagMain }); +}; diff --git a/src/components/Application/src/AppLogo.vue b/src/components/Application/src/AppLogo.vue index 06294c8..e9b29b2 100644 --- a/src/components/Application/src/AppLogo.vue +++ b/src/components/Application/src/AppLogo.vue @@ -3,7 +3,7 @@ * @Description: logo component --> - - + \ No newline at end of file diff --git a/src/views/synchronization/directive/serviceDirective/ConfigServiceDirective.data.ts b/src/views/synchronization/directive/serviceDirective/ConfigServiceDirective.data.ts index 53b97a1..f182905 100644 --- a/src/views/synchronization/directive/serviceDirective/ConfigServiceDirective.data.ts +++ b/src/views/synchronization/directive/serviceDirective/ConfigServiceDirective.data.ts @@ -36,34 +36,34 @@ export const columns: BasicColumn[] = [ align: 'center', dataIndex: 'directiveName', }, - { - title: '体型标签', - align: 'center', - dataIndex: 'bodyTagList', - ellipsis: false, - defaultHidden: false, - format(text, record, index) { - if (!!text) { - return text.map((item) => item.tagName).join('、'); - } else { - return '-'; - } - }, - }, - { - title: '情绪标签', - align: 'center', - dataIndex: 'emotionTagList', - ellipsis: false, - defaultHidden: false, - format(text, record, index) { - if (!!text) { - return text.map((item) => item.tagName).join('、'); - } else { - return '-'; - } - }, - }, + // { + // title: '体型标签', + // align: 'center', + // dataIndex: 'bodyTagList', + // ellipsis: false, + // defaultHidden: false, + // format(text, record, index) { + // if (!!text) { + // return text.map((item) => item.tagName).join('、'); + // } else { + // return '-'; + // } + // }, + // }, + // { + // title: '情绪标签', + // align: 'center', + // dataIndex: 'emotionTagList', + // ellipsis: false, + // defaultHidden: false, + // format(text, record, index) { + // if (!!text) { + // return text.map((item) => item.tagName).join('、'); + // } else { + // return '-'; + // } + // }, + // }, { title: '收费价格', align: 'center', @@ -148,34 +148,34 @@ export const sourceColumns: BasicColumn[] = [ align: 'center', dataIndex: 'directiveName', }, - { - title: '体型标签', - align: 'center', - dataIndex: 'bodyTagList', - ellipsis: false, - // defaultHidden: true, - format(text, record, index) { - if (!!text) { - return text.map((item) => item.tagName).join('、'); - } else { - return '-'; - } - }, - }, - { - title: '情绪标签', - align: 'center', - dataIndex: 'emotionTagList', - ellipsis: false, - // defaultHidden: true, - format(text, record, index) { - if (!!text) { - return text.map((item) => item.tagName).join('、'); - } else { - return '-'; - } - }, - }, + // { + // title: '体型标签', + // align: 'center', + // dataIndex: 'bodyTagList', + // ellipsis: false, + // // defaultHidden: true, + // format(text, record, index) { + // if (!!text) { + // return text.map((item) => item.tagName).join('、'); + // } else { + // return '-'; + // } + // }, + // }, + // { + // title: '情绪标签', + // align: 'center', + // dataIndex: 'emotionTagList', + // ellipsis: false, + // // defaultHidden: true, + // format(text, record, index) { + // if (!!text) { + // return text.map((item) => item.tagName).join('、'); + // } else { + // return '-'; + // } + // }, + // }, { title: '收费价格', align: 'center', @@ -248,34 +248,34 @@ export const targetSourceColumns: BasicColumn[] = [ align: 'center', dataIndex: 'directiveName', }, - { - title: '体型标签', - align: 'center', - dataIndex: 'bodyTagList', - ellipsis: false, - // defaultHidden: true, - format(text, record, index) { - if (!!text) { - return text.map((item) => item.tagName).join('、'); - } else { - return '-'; - } - }, - }, - { - title: '情绪标签', - align: 'center', - dataIndex: 'emotionTagList', - ellipsis: false, - // defaultHidden: true, - format(text, record, index) { - if (!!text) { - return text.map((item) => item.tagName).join('、'); - } else { - return '-'; - } - }, - }, + // { + // title: '体型标签', + // align: 'center', + // dataIndex: 'bodyTagList', + // ellipsis: false, + // // defaultHidden: true, + // format(text, record, index) { + // if (!!text) { + // return text.map((item) => item.tagName).join('、'); + // } else { + // return '-'; + // } + // }, + // }, + // { + // title: '情绪标签', + // align: 'center', + // dataIndex: 'emotionTagList', + // ellipsis: false, + // // defaultHidden: true, + // format(text, record, index) { + // if (!!text) { + // return text.map((item) => item.tagName).join('、'); + // } else { + // return '-'; + // } + // }, + // }, { title: '收费价格', align: 'center', @@ -348,34 +348,34 @@ export const targetColumns: BasicColumn[] = [ align: 'center', dataIndex: 'directiveName', }, - { - title: '体型标签', - align: 'center', - dataIndex: 'bodyTagList', - ellipsis: false, - // defaultHidden: true, - format(text, record, index) { - if (!!text) { - return text.map((item) => item.tagName).join('、'); - } else { - return '-'; - } - }, - }, - { - title: '情绪标签', - align: 'center', - dataIndex: 'emotionTagList', - ellipsis: false, - // defaultHidden: true, - format(text, record, index) { - if (!!text) { - return text.map((item) => item.tagName).join('、'); - } else { - return '-'; - } - }, - }, + // { + // title: '体型标签', + // align: 'center', + // dataIndex: 'bodyTagList', + // ellipsis: false, + // // defaultHidden: true, + // format(text, record, index) { + // if (!!text) { + // return text.map((item) => item.tagName).join('、'); + // } else { + // return '-'; + // } + // }, + // }, + // { + // title: '情绪标签', + // align: 'center', + // dataIndex: 'emotionTagList', + // ellipsis: false, + // // defaultHidden: true, + // format(text, record, index) { + // if (!!text) { + // return text.map((item) => item.tagName).join('、'); + // } else { + // return '-'; + // } + // }, + // }, { title: '收费价格', align: 'center', diff --git a/src/views/synchronization/directive/serviceDirective/ConfigServiceDirectiveListModal.vue b/src/views/synchronization/directive/serviceDirective/ConfigServiceDirectiveListModal.vue index c9f9c72..4a0892b 100644 --- a/src/views/synchronization/directive/serviceDirective/ConfigServiceDirectiveListModal.vue +++ b/src/views/synchronization/directive/serviceDirective/ConfigServiceDirectiveListModal.vue @@ -2,7 +2,7 @@ - + + + +