From 058bc1b16d1dd8b9faef6e3a4cfc3c24fab81a41 Mon Sep 17 00:00:00 2001 From: lion <120344285@qq.com> Date: Thu, 10 Oct 2024 20:51:18 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B7=B3=E8=BD=ACoa?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .env.development | 2 +- .env.production | 2 +- src/api/oatoken/index.js | 9 ++++ src/views/task/list/articleviewoa.vue | 68 +++++++++++++++++++++++++++ vue.config.js | 2 +- 5 files changed, 80 insertions(+), 3 deletions(-) create mode 100644 src/api/oatoken/index.js create mode 100644 src/views/task/list/articleviewoa.vue diff --git a/.env.development b/.env.development index 30090c1..b27a31a 100644 --- a/.env.development +++ b/.env.development @@ -3,5 +3,5 @@ ENV = 'development' # base api VUE_APP_BASE_API = 'http://192.168.60.99:8001/' - +VUE_APP_OUT_URL = 'http://192.168.60.24' #VUE_APP_BASE_API = http://192.168.60.99:9001/ diff --git a/.env.production b/.env.production index 2b6fa3f..cc85d84 100644 --- a/.env.production +++ b/.env.production @@ -3,5 +3,5 @@ ENV = 'production' # base api VUE_APP_BASE_API = http://192.168.60.99:9001/ - +VUE_APP_OUT_URL = 'http://192.168.60.24' #VUE_APP_BASE_API = 'http://192.168.60.99:8001/' diff --git a/src/api/oatoken/index.js b/src/api/oatoken/index.js new file mode 100644 index 0000000..5b4c8bd --- /dev/null +++ b/src/api/oatoken/index.js @@ -0,0 +1,9 @@ +import request from "@/utils/request"; + +export function getOatoken(params){ + return request({ + method:'get', + url:'/api/admin/oa/get-oa-token', + params + }) +} diff --git a/src/views/task/list/articleviewoa.vue b/src/views/task/list/articleviewoa.vue new file mode 100644 index 0000000..9286954 --- /dev/null +++ b/src/views/task/list/articleviewoa.vue @@ -0,0 +1,68 @@ + + + + + diff --git a/vue.config.js b/vue.config.js index c1b0b04..8b49cd5 100644 --- a/vue.config.js +++ b/vue.config.js @@ -25,7 +25,7 @@ module.exports = { * Detail: https://cli.vuejs.org/config/#publicpath */ publicPath: process.env.ENV === 'staging' ? '/admin_test' : '/admin', - outputDir: '/Users/mac/Documents/朗业/2024/h-河道处项目/a-安全生产/safety-manage-service/public/admin', + outputDir: '/Users/mac/Documents/朗业/2024/h-河道处项目/a-安全生产/safety-manage-service/public/admin_test', assetsDir: 'static', lintOnSave: process.env.NODE_ENV === 'development', productionSourceMap: false,