mirror of
https://gitee.com/java110/MicroCommunityWeb.git
synced 2026-02-23 13:26:39 +08:00
优化
This commit is contained in:
parent
f9988111b1
commit
37593bd524
BIN
docs/img/func.png
Normal file
BIN
docs/img/func.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 153 KiB |
BIN
docs/img/hc.png
Normal file
BIN
docs/img/hc.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 121 KiB |
BIN
docs/img/hc_en.png
Normal file
BIN
docs/img/hc_en.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 136 KiB |
BIN
docs/img/phone.png
Normal file
BIN
docs/img/phone.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 868 KiB |
40
install.md
Normal file
40
install.md
Normal file
@ -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;
|
||||
}
|
||||
}
|
||||
```
|
||||
66
readme.md
66
readme.md
@ -1,16 +1,37 @@
|
||||
# HC物业管理系统pcweb端(vue2+elementui)
|
||||
|
||||
这个项目是https://gitee.com/java110/MicroCommunityWeb 这个项目的vue2+elementui 版,方便科技公司二开,快速上手,目前基本功能开发完成,测试解决bug,科技公司可以用哪个这个版本了
|
||||
## 说明
|
||||
HC小区管理系统是一套saas物业管理的系统,包括 房产、业主、 费用 (可以线上缴费)、报修(可以线上报修)、投诉建议、采购、巡检、停车、门径、道闸、监控、工作流、问卷和公告等功能。
|
||||
|
||||
相关代码:<br/><br/>
|
||||
1、[物业系统前端](https://gitee.com/java110/MicroCommunityWeb) : 物业员工使用电脑端<br/>
|
||||
2、[物业系统后端](https://gitee.com/wuxw7/MicroCommunity): 核心业务处理端<br/>
|
||||
3、[业主手机端](https://gitee.com/java110/WechatOwnerService): 提供用户使用,包括投诉 建议,缴费、报修 等<br/>
|
||||
4、[物业手机版](https://gitee.com/java110/PropertyApp): 物业员工使用手机端<br/>
|
||||
|
||||
## 如何启动
|
||||
```
|
||||
npm run dev
|
||||
```
|
||||
首次启动时 需要执行
|
||||
```
|
||||
npm install .
|
||||
```
|
||||
安装依赖
|
||||
## 如何使用
|
||||
|
||||
[操作手册](http://www.homecommunity.cn/pages/hc/addCommunity_cn.html)
|
||||
|
||||
## 产品
|
||||
|
||||
1、手机端演示环境
|
||||
|
||||

|
||||
|
||||
2、电脑端<br/>
|
||||
地址:http://demo.homecommunity.cn <br/>
|
||||
管理员账号:admin/admin<br/>
|
||||
物业演示账号:wuxw/admin<br/>
|
||||
开发者账号: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
|
||||
vue2+elementui
|
||||
|
||||
## 安装
|
||||
|
||||
### 开发启动
|
||||
## 开发启动
|
||||
```
|
||||
npm run dev
|
||||
```
|
||||
首次启动时 需要执行
|
||||
```
|
||||
npm install .
|
||||
```
|
||||
安装依赖
|
||||
|
||||
### 生产安装
|
||||
|
||||
[快速安装](./install.md)
|
||||
|
||||
## 参与贡献
|
||||
|
||||
您可以fork 代码后,commit后 pull request合并代码
|
||||
|
||||
联系作者:17797173942(微信号)
|
||||
@ -1,4 +1,6 @@
|
||||
export default {
|
||||
version:'v1.9',// 版本号
|
||||
apiTimeout: 15000,
|
||||
lang: 'zh',// zh 中文 en 英文
|
||||
appId:'8000418004',// 应用id,不需要修改
|
||||
}
|
||||
|
||||
@ -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': '',
|
||||
|
||||
@ -31,7 +31,7 @@
|
||||
<el-dropdown-item command="logout">{{ $t('layout.logout') }}</el-dropdown-item>
|
||||
</el-dropdown-menu>
|
||||
</el-dropdown>
|
||||
<span class="margin-left">v1.9</span>
|
||||
<span class="margin-left">{{systemInfo.version}}</span>
|
||||
|
||||
</div>
|
||||
</el-header>
|
||||
@ -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()
|
||||
|
||||
Loading…
Reference in New Issue
Block a user