diff --git a/.env.development b/.env.development index c5ff07d..8d62852 100644 --- a/.env.development +++ b/.env.development @@ -10,7 +10,7 @@ VITE_PUBLIC_PATH = / # 如果接口地址匹配到,则会转发到http://localhost:3000,防止本地出现跨域问题 # 可以有多个,注意多个不能换行,否则代理将会失效 #VITE_PROXY = [["/api","http://localhost:3000"],["/upload","http://localhost:3300/upload"]] -VITE_PROXY=[["/api","http://127.0.0.1:8090"]] +VITE_PROXY=[["/api","http://47.94.165.164:9500"]] # 是否删除Console.log VITE_DROP_CONSOLE = false diff --git a/Dockerfile b/Dockerfile index d30e96b..d7f12fc 100644 --- a/Dockerfile +++ b/Dockerfile @@ -4,8 +4,10 @@ FROM docker.tanuki.vip/nginx-amd64:1.29.0 MAINTAINER fucai WORKDIR /usr/share/nginx/html -COPY ./nginx.conf /etc/nginx/nginx.conf # 拷贝 nginx 配置文件 -COPY ./dist/ /usr/share/nginx/html/ # 拷贝 dist 目录下的文件到 nginx 的 html 目录下 +# 拷贝 nginx 配置文件 +COPY ./nginx.conf /etc/nginx/nginx.conf +# 拷贝 dist 目录下的文件到 nginx 的 html 目录下 +COPY ./dist/ /usr/share/nginx/html/ EXPOSE 8080 diff --git a/src/api/mdm/Bank/index.ts b/src/api/mdm/Bank/index.ts index 856ced9..043ea9a 100644 --- a/src/api/mdm/Bank/index.ts +++ b/src/api/mdm/Bank/index.ts @@ -138,18 +138,3 @@ export async function disableLngBBank(ids: string[], mode: ErrorMessageMode = 'm ); } - /** - * @description: 获取数据日志 - */ - export async function getDataLog(id: string, mode: ErrorMessageMode = 'modal', path:string) { - return defHttp.get( - { - url: path, - params: { id }, - }, - { - errorMessageMode: mode, - }, - ); - } - diff --git a/src/components/Page/index.ts b/src/components/Page/index.ts index 9fb44dc..b100ba4 100644 --- a/src/components/Page/index.ts +++ b/src/components/Page/index.ts @@ -6,4 +6,4 @@ import pageFooter from './src/PageFooter.vue'; export const PageWrapper = withInstall(pageWrapper); export const PageFooter = withInstall(pageFooter); -export const PageWrapperFixedHeightKey = 'PageWrapperFixedHeight'; +export const PageWrapperFixedHeightKey = 'PageWrapperFixedHeight'; \ No newline at end of file diff --git a/src/components/pcitc/index.ts b/src/components/pcitc/index.ts new file mode 100644 index 0000000..0310192 --- /dev/null +++ b/src/components/pcitc/index.ts @@ -0,0 +1,5 @@ +import { withInstall } from '/@/utils'; + +import dataLog from './src/DataLog.vue'; + +export const DataLog = withInstall(dataLog); \ No newline at end of file diff --git a/src/views/mdm/Bank/components/DataLog.vue b/src/components/pcitc/src/DataLog.vue similarity index 81% rename from src/views/mdm/Bank/components/DataLog.vue rename to src/components/pcitc/src/DataLog.vue index 0b9ddf6..e29cf5b 100644 --- a/src/views/mdm/Bank/components/DataLog.vue +++ b/src/components/pcitc/src/DataLog.vue @@ -13,7 +13,8 @@