diff --git a/.env.production b/.env.production index c6adc7d..6e1379e 100644 --- a/.env.production +++ b/.env.production @@ -5,11 +5,11 @@ VUE_APP_TITLE = 产品档案管理系统 ENV = 'production' # 检查员管理系统/生产环境 -VUE_APP_BASE_API = '/prod-api' +VUE_APP_BASE_API = '/ggfw-api' #外网(部署104、105服务器) # VUE_APP_BASE_API2 = '/api/inspector/inspector' -VUE_APP_BASE_API2 = :9026/inspector +VUE_APP_BASE_API2 = '/ggfw-api' #调用外部接口 VUE_APP_BASE_API3 = '/api/admin' #本地文件下载路径 diff --git a/src/App.vue b/src/App.vue index ecb4b46..277dfb1 100644 --- a/src/App.vue +++ b/src/App.vue @@ -23,15 +23,17 @@ export default { }, }; }, - mounted(){ - setTimeout(async () => { - let Authentication = await this.$api.toLogin.frimLogin(); - localStorage.setItem( - "MSSM-LIAONING__TOKEN", - Authentication.data.result.userToken - ); - }, 10); - } + mounted() { + /* + sudo mv ggfw-dangan.zip /usr/share/nginx/html/ggfw-dangan 在 MSSM-Dev 文件夹下 移动压缩包到 ggfw文件夹下 + + cd /usr/share/nginx/html/ggfw-dangan 移动到文件夹下 + + unzip ggfw-dangan.zip -d . 解压 + + rm ./html.zip 删除当前目录下的压缩包 弹出确定删除 打 y 并回车 +*/ + }, }; diff --git a/src/views/censor/components/baseMsg.vue b/src/views/censor/components/baseMsg.vue deleted file mode 100644 index 5da1c88..0000000 --- a/src/views/censor/components/baseMsg.vue +++ /dev/null @@ -1,1347 +0,0 @@ - - - diff --git a/src/views/censor/components/deployedMsg.vue b/src/views/censor/components/deployedMsg.vue deleted file mode 100644 index 5e3b898..0000000 --- a/src/views/censor/components/deployedMsg.vue +++ /dev/null @@ -1,73 +0,0 @@ - - - diff --git a/src/views/censor/components/dispatchRecords.vue b/src/views/censor/components/dispatchRecords.vue deleted file mode 100644 index b673551..0000000 --- a/src/views/censor/components/dispatchRecords.vue +++ /dev/null @@ -1,113 +0,0 @@ - - - diff --git a/src/views/censor/components/examine.vue b/src/views/censor/components/examine.vue deleted file mode 100644 index d61a33d..0000000 --- a/src/views/censor/components/examine.vue +++ /dev/null @@ -1,421 +0,0 @@ - - - diff --git a/src/views/censor/components/examineTable.vue b/src/views/censor/components/examineTable.vue deleted file mode 100644 index 88e764d..0000000 --- a/src/views/censor/components/examineTable.vue +++ /dev/null @@ -1,30 +0,0 @@ - - - diff --git a/src/views/censor/components/incentiveMsg.vue b/src/views/censor/components/incentiveMsg.vue deleted file mode 100644 index d65c37f..0000000 --- a/src/views/censor/components/incentiveMsg.vue +++ /dev/null @@ -1,115 +0,0 @@ - - - diff --git a/src/views/censor/components/infoMsg.vue b/src/views/censor/components/infoMsg.vue deleted file mode 100644 index 12eb08f..0000000 --- a/src/views/censor/components/infoMsg.vue +++ /dev/null @@ -1,335 +0,0 @@ - - - diff --git a/src/views/censor/components/schoolMsg.vue b/src/views/censor/components/schoolMsg.vue deleted file mode 100644 index d62a140..0000000 --- a/src/views/censor/components/schoolMsg.vue +++ /dev/null @@ -1,481 +0,0 @@ - - - diff --git a/src/views/censor/components/trainingMsg.vue b/src/views/censor/components/trainingMsg.vue deleted file mode 100644 index ab70857..0000000 --- a/src/views/censor/components/trainingMsg.vue +++ /dev/null @@ -1,579 +0,0 @@ - - - diff --git a/src/views/censor/components/work.vue b/src/views/censor/components/work.vue deleted file mode 100644 index 8f68fbd..0000000 --- a/src/views/censor/components/work.vue +++ /dev/null @@ -1,393 +0,0 @@ - - - diff --git a/src/views/censor/components/yearAssess.vue b/src/views/censor/components/yearAssess.vue deleted file mode 100644 index 552f090..0000000 --- a/src/views/censor/components/yearAssess.vue +++ /dev/null @@ -1,266 +0,0 @@ - - - diff --git a/src/views/censor/index.vue b/src/views/censor/index.vue deleted file mode 100644 index 4012bb0..0000000 --- a/src/views/censor/index.vue +++ /dev/null @@ -1,858 +0,0 @@ - - - - - diff --git a/src/views/changePassword/index.vue b/src/views/changePassword/index.vue deleted file mode 100644 index bb9af27..0000000 --- a/src/views/changePassword/index.vue +++ /dev/null @@ -1,158 +0,0 @@ - - - - - diff --git a/src/views/components/home/leftEcharts/people.vue b/src/views/components/home/leftEcharts/people.vue deleted file mode 100644 index e64f037..0000000 --- a/src/views/components/home/leftEcharts/people.vue +++ /dev/null @@ -1,196 +0,0 @@ - - - - - diff --git a/src/views/components/home/leftEcharts/xueli.vue b/src/views/components/home/leftEcharts/xueli.vue deleted file mode 100644 index 08caa3a..0000000 --- a/src/views/components/home/leftEcharts/xueli.vue +++ /dev/null @@ -1,165 +0,0 @@ - - - - - diff --git a/src/views/components/home/leftEcharts/zfdb.vue b/src/views/components/home/leftEcharts/zfdb.vue deleted file mode 100644 index add4375..0000000 --- a/src/views/components/home/leftEcharts/zfdb.vue +++ /dev/null @@ -1,162 +0,0 @@ - - - - - diff --git a/src/views/components/home/map/index.vue b/src/views/components/home/map/index.vue deleted file mode 100644 index 17475c4..0000000 --- a/src/views/components/home/map/index.vue +++ /dev/null @@ -1,301 +0,0 @@ - - - - diff --git a/src/views/components/home/rightEchats/LevelPie.vue b/src/views/components/home/rightEchats/LevelPie.vue deleted file mode 100644 index 6d77521..0000000 --- a/src/views/components/home/rightEchats/LevelPie.vue +++ /dev/null @@ -1,123 +0,0 @@ - - - - - diff --git a/src/views/components/home/rightEchats/hierarchy.vue b/src/views/components/home/rightEchats/hierarchy.vue deleted file mode 100644 index bafd310..0000000 --- a/src/views/components/home/rightEchats/hierarchy.vue +++ /dev/null @@ -1,112 +0,0 @@ - - - - - diff --git a/src/views/components/home/rightEchats/typePie.vue b/src/views/components/home/rightEchats/typePie.vue deleted file mode 100644 index 96ac034..0000000 --- a/src/views/components/home/rightEchats/typePie.vue +++ /dev/null @@ -1,149 +0,0 @@ - - - - - diff --git a/src/views/drugFile/index.vue b/src/views/drugFile/index.vue deleted file mode 100644 index bcb0ba2..0000000 --- a/src/views/drugFile/index.vue +++ /dev/null @@ -1,193 +0,0 @@ - - - - - diff --git a/src/views/enterpriseMsg/index.vue b/src/views/enterpriseMsg/index.vue deleted file mode 100644 index cc21e28..0000000 --- a/src/views/enterpriseMsg/index.vue +++ /dev/null @@ -1,3 +0,0 @@ - \ No newline at end of file diff --git a/src/views/index.vue b/src/views/index.vue index 77b9629..0a1e430 100644 --- a/src/views/index.vue +++ b/src/views/index.vue @@ -37,6 +37,15 @@ export default { return { }; }, + watch:{ + $router:{ + handler(newRouter){ + console.log(newRouter,'newRouter') + }, + deep:true, + immediate:true, + } + }, computed: { //获取自定义路由 myRouter() { @@ -78,7 +87,7 @@ export default { } .tree-menu { background: #465970; - width: 220px; + width: 180px; box-sizing: border-box; padding: 14px 10px; & > div { @@ -104,7 +113,7 @@ export default { height: 100%; background: #f2f2f2; - overflow: hidden; + overflow-y: auto; } .child-views { height: calc(100% - 40px); @@ -120,6 +129,8 @@ export default { .view-child { display: flex; align-items: center; + font-size: 16px; + font-weight: 600; } } \ No newline at end of file diff --git a/src/views/logout/index.vue b/src/views/logout/index.vue deleted file mode 100644 index 444cae0..0000000 --- a/src/views/logout/index.vue +++ /dev/null @@ -1,3 +0,0 @@ - \ No newline at end of file diff --git a/src/views/personalData/index.vue b/src/views/personalData/index.vue deleted file mode 100644 index c6f1752..0000000 --- a/src/views/personalData/index.vue +++ /dev/null @@ -1,14 +0,0 @@ - - - diff --git a/src/views/portal/index.vue b/src/views/portal/index.vue new file mode 100644 index 0000000..09a6a32 --- /dev/null +++ b/src/views/portal/index.vue @@ -0,0 +1,26 @@ + + + + diff --git a/src/views/productsMsg/components/cosmeticsArchives.vue b/src/views/productsMsg/components/cosmeticsArchives.vue index cc8611f..6b69d51 100644 --- a/src/views/productsMsg/components/cosmeticsArchives.vue +++ b/src/views/productsMsg/components/cosmeticsArchives.vue @@ -4,16 +4,45 @@
查询条件
- +
- - + + - + + + + + + + + + + + + + + + + + + - - - -
-
-
+
重置 查询
+ +
+
+
-
产品列表
+
产品列表1
+
+
+ 导出
-
- - - + + + - + - +
+ + {{ src }} + + 取 消 + 确 定 + + - \ No newline at end of file +::v-deep.el-table--medium .el-table__cell { + padding: 5.3px 0; +} +::v-deep .el-table { + overflow: auto; +} + diff --git a/src/views/productsMsg/components/drugArchives.vue b/src/views/productsMsg/components/drugArchives.vue deleted file mode 100644 index 0781e12..0000000 --- a/src/views/productsMsg/components/drugArchives.vue +++ /dev/null @@ -1,3 +0,0 @@ - \ No newline at end of file diff --git a/src/views/productsMsg/components/health.vue b/src/views/productsMsg/components/health.vue index 81ad33d..93ce82d 100644 --- a/src/views/productsMsg/components/health.vue +++ b/src/views/productsMsg/components/health.vue @@ -4,93 +4,91 @@
查询条件
- +
- - - + + + - - + + - + + + + + + + + + +
+ + + +
+
+
+ 重置 + 查询 +
-
- 重置 - 查询 -
+
产品列表
- +
+ 导出 +
- - - - - - - - + + + + + + + + + + +
- +
+ + {{ src }} + + 取 消 + 确 定 + + - \ No newline at end of file + +::v-deep.el-table--medium .el-table__cell { + padding: 5.3px 0; +} + +::v-deep .el-table { + overflow: auto; +} + +::v-deep .logformitem { + .el-form-item__label { + line-height: 25px; + } +} + diff --git a/src/views/productsMsg/components/productInfo.vue b/src/views/productsMsg/components/productInfo.vue index eceaf06..33f4967 100644 --- a/src/views/productsMsg/components/productInfo.vue +++ b/src/views/productsMsg/components/productInfo.vue @@ -2,50 +2,43 @@
- +
diff --git a/src/views/productsMsg/zyzj.vue b/src/views/productsMsg/zyzj.vue new file mode 100644 index 0000000..caa0f57 --- /dev/null +++ b/src/views/productsMsg/zyzj.vue @@ -0,0 +1,363 @@ + + + + + diff --git a/src/views/statistics/index.vue b/src/views/statistics/index.vue deleted file mode 100644 index 2631444..0000000 --- a/src/views/statistics/index.vue +++ /dev/null @@ -1,375 +0,0 @@ - - - - - diff --git a/src/views/tool/build/index.vue b/src/views/tool/build/index.vue index 6e400be..aa5e91f 100644 --- a/src/views/tool/build/index.vue +++ b/src/views/tool/build/index.vue @@ -521,6 +521,7 @@ export default { .left-scrollbar .el-scrollbar__view { overflow-x: hidden; + } .el-rate { diff --git a/src/views/userMsgPage/components/fileDiaglog.vue b/src/views/userMsgPage/components/fileDiaglog.vue deleted file mode 100644 index ee680a1..0000000 --- a/src/views/userMsgPage/components/fileDiaglog.vue +++ /dev/null @@ -1,168 +0,0 @@ - - - diff --git a/src/views/userMsgPage/components/write.vue b/src/views/userMsgPage/components/write.vue deleted file mode 100644 index 07c45b2..0000000 --- a/src/views/userMsgPage/components/write.vue +++ /dev/null @@ -1,103 +0,0 @@ - - - \ No newline at end of file diff --git a/src/views/userMsgPage/index.vue b/src/views/userMsgPage/index.vue deleted file mode 100644 index 198fa8b..0000000 --- a/src/views/userMsgPage/index.vue +++ /dev/null @@ -1,777 +0,0 @@ - - - - diff --git a/src/views/userMsgPage/index2.vue b/src/views/userMsgPage/index2.vue deleted file mode 100644 index 506ffda..0000000 --- a/src/views/userMsgPage/index2.vue +++ /dev/null @@ -1,758 +0,0 @@ - - - - diff --git a/vue.config.js b/vue.config.js index eb7b903..aa17b39 100644 --- a/vue.config.js +++ b/vue.config.js @@ -26,7 +26,7 @@ module.exports = { // 默认情况下,Vue CLI 会假设你的应用是被部署在一个域名的根路径上 // 例如 https://www.ruoyi.vip/。如果应用被部署在一个子路径上,你就需要用这个选项指定这个子路径。例如,如果你的应用被部署在 https://www.ruoyi.vip/admin/,则设置 baseUrl 为 /admin/。 // publicPath: process.env.NODE_ENV === "production" ? "/demo/inspector/" : "/", - publicPath: process.env.NODE_ENV === "production" ? "/inspector/" : "/", + publicPath: process.env.NODE_ENV === "production" ? "/ggfw-dangan/" : "/", // 在npm run build 或 yarn build 时 ,生成文件的目录名称(要和baseUrl的生产环境路径一致)(默认dist) outputDir: "dist", // 用于放置生成的静态资源 (js、css、img、fonts) 的;(项目打包之后,静态资源会放在这个文件夹下)