diff --git a/ruoyi-ui/.env.production b/ruoyi-ui/.env.production index f345ba0..9b40086 100644 --- a/ruoyi-ui/.env.production +++ b/ruoyi-ui/.env.production @@ -6,6 +6,7 @@ ENV = 'production' # 若依管理系统/生产环境 VUE_APP_BASE_API = '/prod-api' +VUE_APP_API_TARGET_URL = 'http://47.121.27.78:8080/' # 应用访问路径 例如使用前缀 /admin/ VUE_APP_CONTEXT_PATH = '/' diff --git a/ruoyi-ui/package.json b/ruoyi-ui/package.json index 61c8a7b..d65c25f 100644 --- a/ruoyi-ui/package.json +++ b/ruoyi-ui/package.json @@ -6,6 +6,7 @@ "license": "MIT", "scripts": { "dev": "vue-cli-service serve", + "dev:prod": "vue-cli-service serve --mode=production", "build:prod": "vue-cli-service build", "preview": "node build/index.js --preview", "lint": "eslint --ext .js,.vue src" diff --git a/ruoyi-ui/src/views/official/jobInfo/index.vue b/ruoyi-ui/src/views/official/jobInfo/index.vue index eee26db..4c7ea50 100644 --- a/ruoyi-ui/src/views/official/jobInfo/index.vue +++ b/ruoyi-ui/src/views/official/jobInfo/index.vue @@ -8,10 +8,6 @@ clearable @keyup.enter.native="handleQuery"/> - - - + @@ -76,26 +72,10 @@ @keyup.enter.native="handleQuery" /> - + - - - - - - @@ -150,26 +130,50 @@ - + - - + - - - - - - + + + + + + + +