Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
loan-manager-customer
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
zhanhai
loan-manager-customer
Commits
5b124f15
Commit
5b124f15
authored
Mar 07, 2022
by
caimeng
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改README.md文件添加项目说明
parent
4835f7ab
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
109 additions
and
36 deletions
+109
-36
README.md
README.md
+101
-23
index.html
public/index.html
+2
-2
routes.js
src/router/routes.js
+5
-5
vue.config.js
vue.config.js
+1
-6
No files found.
README.md
View file @
5b124f15
# 后台管理系统
## 客服后台管理系统
客服管理后台使用vue-cli(2.0)版本脚手架开发;前端一套代码,部署的时候需要分别部署到【鼎荣】和【金钱】;
### 环境配置
打包到不同的环境,需要发布到不同的地方,以下是两个环境相关的信息
#### 鼎荣
**阿里云账号**
> A Vue.js project
-
账号:鼎荣小贷
-
密码:dr778899
## 编译步骤
```
bash
# 安装npm依赖包
npm
install
**OSS 客户端账号**
-
账号(Key):LTAI4FtxL8QKM2uVFG9wYumD
-
密码(Secret):yiLj40FTxTADCu7t4duqnrtbA9nPUQ
# 热更新服务器,监听localhost:8080
npm run dev
`
sudo
yarn run build
`
**文件上传配置**
-
region:oss-cn-hangzhou
-
bucket:w-loan-static
-
访问域名:https://file.jqtianxia.com/
# 编译打包
npm run build
-
region:oss-cn-hangzhou
-
bucket:y-loan-resource-prod
-
~~访问域名:https://file.jqtianxia.com/~~
# 查看打包编译情况,代码分析
npm run build
--report
# 运行unit测试
npm run unit
# 运行e2e测试
npm run e2e
**生产部署**
-
bucket:dr-costomer-vue
-
访问域名:https://customer.dingrongxd.com/
-
API接口地址:https://drwater.dingrongxd.com
# 全部测试
npm
test
```
**测试部署**
-
bucket:customer-vue-test
-
访问域名:http://customertest.jqtianxia.cn/
-
API接口地址:http://47.99.245.36:8202
For a detailed explanation on how things work, check out the
[
guide
](
http://vuejs-templates.github.io/webpack/
)
and
[
docs for vue-loader
](
http://vuejs.github.io/vue-loader
)
.
**金钱**
-
账号:金钱天下小贷
-
密码:jqtx778899
## 代码结构
**OSS 客户端账号**
-
账号(Key):LTAI4Fp8aDaS8sHXV76gWPVJ
-
密码(Secret):muNvYl9ydZqCp8we6c6WO3pLa0jRt5
**文件上传配置**
-
region:oss-cn-hangzhou
-
bucket:w-loan-static
-
访问域名:https://file.jqtianxia.com/
**生产部署**
-
bucket:customer-vue
-
访问域名:https://customer.jqtianxia.com/
-
API接口地址:https://water.jqtianxia.com
**测试部署**
-
bucket:customer-vue-test
-
访问域名:http://customertest.jqtianxia.cn/
-
API接口地址:http://47.99.245.36:8202
## 业务功能模块
## 编译步骤
```
bash
# 安装npm依赖包
npm
install
# 启动热更新服务器,读取.env.development,监听localhost:9090
npm run serve
# 编译打包测试,读取.env.test环境配置
npm run build:test
# 编译打包生产,读取.env.production环境配置
npm run build:prod
```
## 代码结构
```
angular2html
|————public(静态资源,打包的时候会全部copy到dist文件夹下)
|
|————src
| |——components(组件&页面)
| |——mixins(混入
| |——router(路由
| |——store(没用到)
| |——styles(全局样式)
| |——utils(封装的JS方法)
| |——App.vue(母版)
| |——main.js(入口文件)
|————.env.*(不同环境的配置文件)
|
|————package.json
|
|————vue.config.js
|
|————其它不重要的文件
|
|
```
## 业务功能模块
-
客服管理
-
客服管理
-
客服反馈
-
客户管理
-
风险客户
-
系统配置
-
用户管理
-
资方管理
-
资方管理
-
减免单管理
-
创建减免单
public/index.html
View file @
5b124f15
...
...
@@ -16,10 +16,10 @@
// window.APIHOST = "http://47.99.245.36:8202";
//生产环境
window
.
APIHOST
=
"https://water.jqtianxia.com"
;
//
window.APIHOST = "https://water.jqtianxia.com";
//鼎荣小贷
//
window.APIHOST = "https://drwater.dingrongxd.com";
window
.
APIHOST
=
"https://drwater.dingrongxd.com"
;
</script>
</head>
...
...
src/router/routes.js
View file @
5b124f15
...
...
@@ -29,12 +29,12 @@ export const Controlswitch = resolve => require(['../components/byh/Controlswitc
export
const
DerateCreate
=
resolve
=>
require
([
'../components/byh/DerateCreate.vue'
],
resolve
)
export
default
{
Login
,
Index
,
Login
,
// 登录
Index
,
// 首页
// Default,
ByhService
,
ByhServiceDetail
,
ServiceProblem
,
ByhService
,
// 客户列表
ByhServiceDetail
,
// 客户详情
ServiceProblem
,
// 反馈记录
ClientDataUpload
,
BankCardMaintenance
,
UserManagement
,
...
...
vue.config.js
View file @
5b124f15
...
...
@@ -16,14 +16,9 @@ module.exports = {
.
set
(
'%'
,
resolve
(
'src/res'
))
},
devServer
:
{
port
:
23335
,
port
:
9090
,
proxy
:
{
'/api'
:
{
//生产环境
// target: 'http://116.62.244.103:8080/',
// target: 'http://localhost:8080/',
//测试环境
target
:
'http://47.99.245.36:8202'
,
ws
:
true
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment