diff --git a/docs/img/func.png b/docs/img/func.png
new file mode 100644
index 000000000..9f0624c60
Binary files /dev/null and b/docs/img/func.png differ
diff --git a/docs/img/hc.png b/docs/img/hc.png
new file mode 100644
index 000000000..9ef528742
Binary files /dev/null and b/docs/img/hc.png differ
diff --git a/docs/img/hc_en.png b/docs/img/hc_en.png
new file mode 100644
index 000000000..e60406cfe
Binary files /dev/null and b/docs/img/hc_en.png differ
diff --git a/docs/img/phone.png b/docs/img/phone.png
new file mode 100644
index 000000000..e0a1e9063
Binary files /dev/null and b/docs/img/phone.png differ
diff --git a/install.md b/install.md
new file mode 100644
index 000000000..b795aab21
--- /dev/null
+++ b/install.md
@@ -0,0 +1,40 @@
+# HC 小区管理系统前段安装教程
+## 一、项目构建
+### 1. 安装依赖
+```bash
+cd MicroCommunityWebVue
+npm install
+```
+### 2. 生产环境构建
+```bash
+npm run build
+```
+构建完成后会生成dist文件夹,里面包含所有静态文件。
+## 二、服务器准备
+### 1. 上传dist文件夹到服务器
+```bash
+scp -r dist/ user@your-server-ip:/home/data/web/propertyWeb/
+```
+## 三、Nginx配置
+properyWeb.conf
+```
+server {
+ listen 80;
+ server_name demo.homecommunity.cn;
+
+ location / {
+ root /home/data/web/propertyWeb/dist;
+ }
+ location /callComponent
+ {
+ add_header 'Access-Control-Allow-Origin' '*';
+ proxy_pass http://192.168.1.109:8008;
+ }
+ location /app
+ {
+
+ add_header 'Access-Control-Allow-Origin' '*';
+ proxy_pass http://192.168.1.109:8008;
+ }
+}
+```
\ No newline at end of file
diff --git a/readme.md b/readme.md
index 275cf2337..ad79b66d6 100644
--- a/readme.md
+++ b/readme.md
@@ -1,16 +1,37 @@
# HC物业管理系统pcweb端(vue2+elementui)
-这个项目是https://gitee.com/java110/MicroCommunityWeb 这个项目的vue2+elementui 版,方便科技公司二开,快速上手,目前基本功能开发完成,测试解决bug,科技公司可以用哪个这个版本了
+## 说明
+ HC小区管理系统是一套saas物业管理的系统,包括 房产、业主、 费用 (可以线上缴费)、报修(可以线上报修)、投诉建议、采购、巡检、停车、门径、道闸、监控、工作流、问卷和公告等功能。
+
+ 相关代码:
+ 1、[物业系统前端](https://gitee.com/java110/MicroCommunityWeb) : 物业员工使用电脑端
+ 2、[物业系统后端](https://gitee.com/wuxw7/MicroCommunity): 核心业务处理端
+ 3、[业主手机端](https://gitee.com/java110/WechatOwnerService): 提供用户使用,包括投诉 建议,缴费、报修 等
+ 4、[物业手机版](https://gitee.com/java110/PropertyApp): 物业员工使用手机端
-## 如何启动
-```
-npm run dev
-```
-首次启动时 需要执行
-```
-npm install .
-```
-安装依赖
+## 如何使用
+
+[操作手册](http://www.homecommunity.cn/pages/hc/addCommunity_cn.html)
+
+## 产品
+
+1、手机端演示环境
+
+ 
+
+2、电脑端
+地址:http://demo.homecommunity.cn
+管理员账号:admin/admin
+物业演示账号:wuxw/admin
+开发者账号:dev/密码自己修改 [如何修改](http://bbs.homecommunity.cn/pages/bbs/topic.html?topicId=102021110520080050)
+
+## 系统功能(function)
+
+ 
+
+ 主要系统功能请查看
+
+ [功能清单](http://bbs.homecommunity.cn/pages/bbs/topic.html?topicId=102022042459860343)
## 目录介绍
public 存放静态图片,src 下存放代码,这里主要介绍src 目录
@@ -26,4 +47,27 @@ src
```
## 架构
-vue2+elementui
\ No newline at end of file
+vue2+elementui
+
+## 安装
+
+### 开发启动
+## 开发启动
+```
+npm run dev
+```
+首次启动时 需要执行
+```
+npm install .
+```
+安装依赖
+
+### 生产安装
+
+[快速安装](./install.md)
+
+## 参与贡献
+
+您可以fork 代码后,commit后 pull request合并代码
+
+联系作者:17797173942(微信号)
\ No newline at end of file
diff --git a/src/conf/config.js b/src/conf/config.js
index beea4497c..980adab3d 100644
--- a/src/conf/config.js
+++ b/src/conf/config.js
@@ -1,4 +1,6 @@
export default {
+ version:'v1.9',// 版本号
apiTimeout: 15000,
lang: 'zh',// zh 中文 en 英文
+ appId:'8000418004',// 应用id,不需要修改
}
diff --git a/src/utils/header.js b/src/utils/header.js
index 376554e86..4b950151e 100644
--- a/src/utils/header.js
+++ b/src/utils/header.js
@@ -1,5 +1,6 @@
import { getUuid } from '@/utils/commonUtil'
import { getDateYYYYMMDDHHMISS } from '@/utils/dateUtil'
+import config from '@/conf/config'
export function getHeader() {
// 这里可以添加token等认证信息
@@ -10,7 +11,7 @@ export function getHeader() {
}
return {
Authorization: authorization, // Adjust as needed
- 'app-id': '8000418004',
+ 'app-id': config.appId,
'TRANSACTION-ID': getUuid(),
'REQ-TIME': getDateYYYYMMDDHHMISS(),
'SIGN': '',
diff --git a/src/views/layout/layout.vue b/src/views/layout/layout.vue
index d82b74bd9..73d14f046 100644
--- a/src/views/layout/layout.vue
+++ b/src/views/layout/layout.vue
@@ -31,7 +31,7 @@
{{ $t('layout.logout') }}
- v1.9
+ {{systemInfo.version}}
@@ -86,6 +86,7 @@ import moreCommunity from '@/components/community/moreCommunity.vue'
import viewMenuUserList from '@/components/system/viewMenuUserList.vue'
import searchCommunityDataList from '@/components/system/searchCommunityDataList.vue'
import {initSystem} from '@/api/util/vcApi'
+import config from '@/conf/config'
export default {
@@ -111,13 +112,15 @@ export default {
systemInfo: {
systemSimpleTitle: '',
companyName: '',
- logoUrl: ''
+ logoUrl: '',
+ version: ''
}
}
},
created() {
let _user = JSON.parse(localStorage.getItem('user'));
this.username = _user.name
+ this.systemInfo.version = config.version
this.getSystemInfo()
this._loadStoreInfo()
this.loadCatalogs()