diff --git a/.env.development b/.env.development index fc5c371..c737ca5 100644 --- a/.env.development +++ b/.env.development @@ -3,12 +3,8 @@ VUE_APP_TITLE = 产品档案管理系统 # 开发环境配置 ENV = 'development' - -# 检查员管理系统/开发环境 -VUE_APP_BASE_API = 'https://vue.ruoyi.vip/prod-api' -# 自己公司 -VUE_APP_BASE_API2 = '' -VUE_APP_BASE_API3 = '/configApi/' +# 开发环境 +VUE_APP_BASE_API = '/configApi' VUE_APP_PREFIX ='' # 路由懒加载 VUE_CLI_BABEL_TRANSPILE_MODULES = true diff --git a/src/App.vue b/src/App.vue index 29de49f..615b10c 100644 --- a/src/App.vue +++ b/src/App.vue @@ -11,14 +11,28 @@ import ThemePicker from "@/components/ThemePicker"; export default { name: "App", components: { ThemePicker }, - metaInfo() { - return { - title: this.$store.state.settings.dynamicTitle && this.$store.state.settings.title, - titleTemplate: title => { - return title ? `${title} - ${process.env.VUE_APP_TITLE}` : process.env.VUE_APP_TITLE - } - } - } + metaInfo() { + return { + title: + this.$store.state.settings.dynamicTitle && + this.$store.state.settings.title, + titleTemplate: (title) => { + return title + ? `${title} - ${process.env.VUE_APP_TITLE}` + : process.env.VUE_APP_TITLE; + }, + }; + }, + mounted(){ + setTimeout(async () => { + let Authentication = await this.$api.toLogin.frimLogin(); + console.log(Authentication); + localStorage.setItem( + "Authentication", + Authentication.data.result.userToken + ); + }, 1000); + } }; \ No newline at end of file diff --git a/src/views/netWorkStat/index.vue b/src/views/netWorkStat/index.vue new file mode 100644 index 0000000..7aa204f --- /dev/null +++ b/src/views/netWorkStat/index.vue @@ -0,0 +1,331 @@ + + + + + diff --git a/src/views/productsMsg/components/cosmeticsArchives.vue b/src/views/productsMsg/components/cosmeticsArchives.vue index b79abf1..ea4e4d5 100644 --- a/src/views/productsMsg/components/cosmeticsArchives.vue +++ b/src/views/productsMsg/components/cosmeticsArchives.vue @@ -4,38 +4,50 @@
查询条件
-
-
- 产品名称: -
- -
-
-
- 备案编码: -
- -
+ +
+ + + + + + + + + + + + + + + + +
-
- 生产企业: -
- -
-
-
+ + + + + + + + +
- 重置 - 查询 + 重置 + 查询
@@ -50,30 +62,39 @@
- - - - - - + + + + + + + + - + + + + + \ No newline at end of file diff --git a/vue.config.js b/vue.config.js index 821e41d..e9f6f06 100644 --- a/vue.config.js +++ b/vue.config.js @@ -42,21 +42,12 @@ module.exports = { open: true, proxy: { "/configApi": { - target: "https://dev-mssm-liaoning.imian.org.cn/api/admin", + target: "https://dev-mssm-liaoning.imian.org.cn/ggfw-api", changeOrigin: true, pathRewrite: { "^/configApi": "", }, }, - // detail: https://cli.vuejs.org/config/#devserver-proxy - [process.env.VUE_APP_BASE_API2]: { - target: `http://192.168.0.105:9026/inspector`, - // target: `https://dev-mssm-liaoning.imian.org.cn/api/inspector/inspector`, - changeOrigin: true, - pathRewrite: { - ["^" + process.env.VUE_APP_BASE_API2]: "", - }, - }, }, disableHostCheck: true, }, @@ -142,10 +133,10 @@ module.exports = { }, }); config.optimization.runtimeChunk("single"), - { - from: path.resolve(__dirname, "./public/robots.txt"), //防爬虫文件 - to: "./", //到根目录下 - }; + { + from: path.resolve(__dirname, "./public/robots.txt"), //防爬虫文件 + to: "./", //到根目录下 + }; }); }, };