diff --git a/smart-admin-h5/.env.development b/smart-admin-h5/.env.development index 38de0149..b698907c 100644 --- a/smart-admin-h5/.env.development +++ b/smart-admin-h5/.env.development @@ -1,4 +1,3 @@ NODE_ENV = development VUE_APP_ENV = dev -VUE_APP_URL = http://127.0.0.1:10086/smart-admin-api/ - +VUE_APP_URL = http://127.0.0.1:10086/smart-admin-api diff --git a/smart-admin-h5/.env.local b/smart-admin-h5/.env.local index e1aa3c0e..6d07d04c 100644 --- a/smart-admin-h5/.env.local +++ b/smart-admin-h5/.env.local @@ -1,3 +1,3 @@ NODE_ENV = development VUE_APP_ENV = local -VUE_APP_URL=http://127.0.0.1:10086/smart-admin-api/ +VUE_APP_URL = http://127.0.0.1:10086/smart-admin-api diff --git a/smart-admin-h5/.env.pre b/smart-admin-h5/.env.pre index b22ff885..80c46b0e 100644 --- a/smart-admin-h5/.env.pre +++ b/smart-admin-h5/.env.pre @@ -1,3 +1,3 @@ NODE_ENV = production VUE_APP_ENV = pre -VUE_APP_URL = http://smartadmin.1024lab.net/api/ +VUE_APP_URL = http://smartadmin.1024lab.net/smart-admin-api diff --git a/smart-admin-h5/.env.prod b/smart-admin-h5/.env.prod index 1f390bca..0e1616d4 100644 --- a/smart-admin-h5/.env.prod +++ b/smart-admin-h5/.env.prod @@ -1,3 +1,3 @@ NODE_ENV = production VUE_APP_ENV = prod -VUE_APP_URL = http://smartadmin.1024lab.net/api/ +VUE_APP_URL = http://smartadmin.1024lab.net/smart-admin-api diff --git a/smart-admin-h5/.env.sit b/smart-admin-h5/.env.sit index f0b82667..411bc968 100644 --- a/smart-admin-h5/.env.sit +++ b/smart-admin-h5/.env.sit @@ -1,3 +1,3 @@ NODE_ENV = production VUE_APP_ENV = sit -VUE_APP_URL=http://127.0.0.1:10086/smart-admin-api/ +VUE_APP_URL = http://smartadmin.1024lab.net/smart-admin-api diff --git a/smart-admin-h5/.postcssrc.js b/smart-admin-h5/.postcssrc.js index 6483e7ba..e2783a57 100644 --- a/smart-admin-h5/.postcssrc.js +++ b/smart-admin-h5/.postcssrc.js @@ -1,4 +1,3 @@ -// 详情请看 https://github.com/michael-ciniawsky/postcss-load-config module.exports = { plugins: { autoprefixer: { diff --git a/smart-admin-h5/.sentryclirc b/smart-admin-h5/.sentryclirc index b676dbde..b6f61dbd 100644 --- a/smart-admin-h5/.sentryclirc +++ b/smart-admin-h5/.sentryclirc @@ -1,7 +1,7 @@ [defaults] url = https://sentry.1024lab.net/ -org = 1024lab +org = 1024lab-sentry project = smart-admin-h5 [auth] -token = 8bab45b9152d44b19d4e0a762a93dd34a1318ee8317f46a0a007c48da0e9888e +token = 8dflijsldjkasdo3u49230948pkjdasoia8023jl3k4jr29o81029i40534p545ke diff --git a/smart-admin-h5/README.en.md b/smart-admin-h5/README.en.md deleted file mode 100644 index 5f55837d..00000000 --- a/smart-admin-h5/README.en.md +++ /dev/null @@ -1,36 +0,0 @@ -# ren-min-yi-xue-manage-h5 - -#### Description -{**When you're done, you can delete the content in this README and update the file with details for others getting started with your repository**} - -#### Software Architecture -Software architecture description - -#### Installation - -1. xxxx -2. xxxx -3. xxxx - -#### Instructions - -1. xxxx -2. xxxx -3. xxxx - -#### Contribution - -1. Fork the repository -2. Create Feat_xxx branch -3. Commit your code -4. Create Pull Request - - -#### Gitee Feature - -1. You can use Readme\_XXX.md to support different languages, such as Readme\_en.md, Readme\_zh.md -2. Gitee blog [blog.gitee.com](https://blog.gitee.com) -3. Explore open source project [https://gitee.com/explore](https://gitee.com/explore) -4. The most valuable open source project [GVP](https://gitee.com/gvp) -5. The manual of Gitee [https://gitee.com/help](https://gitee.com/help) -6. The most popular members [https://gitee.com/gitee-stars/](https://gitee.com/gitee-stars/) diff --git a/smart-admin-h5/README.md b/smart-admin-h5/README.md index cdc9d586..c5f8fa10 100644 --- a/smart-admin-h5/README.md +++ b/smart-admin-h5/README.md @@ -1,39 +1,4 @@ -# ren-min-yi-xue-manage-h5 +# SmartAdmin-H5 #### 介绍 -{**以下是 Gitee 平台说明,您可以替换此简介** -Gitee 是 OSCHINA 推出的基于 Git 的代码托管平台(同时支持 SVN)。专为开发者提供稳定、高效、安全的云端软件开发协作平台 -无论是个人、团队、或是企业,都能够用 Gitee 实现代码托管、项目管理、协作开发。企业项目请看 [https://gitee.com/enterprises](https://gitee.com/enterprises)} - -#### 软件架构 -软件架构说明 - - -#### 安装教程 - -1. xxxx -2. xxxx -3. xxxx - -#### 使用说明 - -1. xxxx -2. xxxx -3. xxxx - -#### 参与贡献 - -1. Fork 本仓库 -2. 新建 Feat_xxx 分支 -3. 提交代码 -4. 新建 Pull Request - - -#### 特技 - -1. 使用 Readme\_XXX.md 来支持不同的语言,例如 Readme\_en.md, Readme\_zh.md -2. Gitee 官方博客 [blog.gitee.com](https://blog.gitee.com) -3. 你可以 [https://gitee.com/explore](https://gitee.com/explore) 这个地址来了解 Gitee 上的优秀开源项目 -4. [GVP](https://gitee.com/gvp) 全称是 Gitee 最有价值开源项目,是综合评定出的优秀开源项目 -5. Gitee 官方提供的使用手册 [https://gitee.com/help](https://gitee.com/help) -6. Gitee 封面人物是一档用来展示 Gitee 会员风采的栏目 [https://gitee.com/gitee-stars/](https://gitee.com/gitee-stars/) +SmartAdmin-H5 是SmartAdmin 平台的移动端web项目 diff --git a/smart-admin-h5/package.json b/smart-admin-h5/package.json index 9efbc94d..cd09ecb3 100644 --- a/smart-admin-h5/package.json +++ b/smart-admin-h5/package.json @@ -1,7 +1,7 @@ { "name": "smart-admin-h5", "version": "1.0.0", - "description": "基于Smart-H5的SmartAdmin的H5端", + "description": "基于vue和vant的h5模板", "author": "zhuoluodada@qq.com", "private": true, "scripts": { @@ -26,12 +26,12 @@ "moment": "^2.29.0", "nprogress": "^0.2.0", "regenerator-runtime": "^0.13.5", - "vant": "^2.10.2", - "vue": "^2.6.11", + "vant": "^2.11.1", + "vue": "^2.6.12", "vue-enum": "^1.0.5", "vue-loading-overlay": "^3.4.2", - "vue-router": "^3.2.0", - "vuex": "^3.4.0" + "vue-router": "^3.4.0", + "vuex": "^3.6.0" }, "devDependencies": { "@sentry/webpack-plugin": "^1.11.1", @@ -46,15 +46,13 @@ "compression-webpack-plugin": "^3.1.0", "eslint": "^6.7.2", "eslint-plugin-vue": "^6.2.2", - "less": "^3.11.2", - "less-loader": "^6.1.0", "node-sass": "^4.14.1", "postcss-pxtorem": "^5.1.1", - "sass-loader": "^8.0.2", - "script-ext-html-webpack-plugin": "^2.1.4", + "sass": "^1.3.0", + "sass-loader": "^9.0.3", + "script-ext-html-webpack-plugin": "^2.1.5", "uglifyjs-webpack-plugin": "^2.2.0", - "vconsole": "^3.3.4", - "vue-template-compiler": "^2.6.11", - "webpack-bundle-analyzer": "^3.8.0" + "vue-template-compiler": "^2.6.12", + "webpack-bundle-analyzer": "^4.2.0" } } diff --git a/smart-admin-h5/src/App.vue b/smart-admin-h5/src/App.vue index 3f407985..f3b5bda4 100644 --- a/smart-admin-h5/src/App.vue +++ b/smart-admin-h5/src/App.vue @@ -8,7 +8,7 @@ export default { name: 'App' }; - diff --git a/smart-admin-h5/src/components/employee/department-employee-selector.vue b/smart-admin-h5/src/components/employee/department-employee-selector.vue index 3affe14f..7889136a 100644 --- a/smart-admin-h5/src/components/employee/department-employee-selector.vue +++ b/smart-admin-h5/src/components/employee/department-employee-selector.vue @@ -1,6 +1,7 @@ /** * @description:department-employee-selector * @author: zhuoda +* @date: 2020/10/30 13:56 */