diff --git a/supervise-crm-ui/.env.development b/supervise-crm-ui/.env.development index f3dde181..01c78fbe 100644 --- a/supervise-crm-ui/.env.development +++ b/supervise-crm-ui/.env.development @@ -5,5 +5,5 @@ ENV = 'development' VUE_APP_BASE_API = '/api' ## 配置测试和本地开发时的 接口地址 -VUE_APP_URL = "http://192.168.3.9:8112" -##VUE_APP_URL = "http://120.46.172.184:8111" +VUE_APP_URL = "http://192.168.3.173:8112" +##VUE_APP_URL = "http://8.130.39.13:8112" diff --git a/supervise-crm-ui/src/api/brank/brank.js b/supervise-crm-ui/src/api/brank/brank.js new file mode 100644 index 00000000..8524e8a5 --- /dev/null +++ b/supervise-crm-ui/src/api/brank/brank.js @@ -0,0 +1,50 @@ +import request from '@/utils/request' + +export default { + + addInfo: function(data) { + return request({ + baseURL: "/api/crm", + url: '/v1/loanbankinformation/save', + method: 'post', + data: data + }); + }, + + fetchBySid: function(sid) { + return request({ + baseURL: '/api/crm', + url: '/v1/loanbankinformation/getBankInfBySid/' + sid + }) + }, + + updateData: function(data) { + return request({ + baseURL: "/api/crm", + url: '/v1/loanbankinformation/update', + method: 'post', + data: data + }); + }, + + delBySids: function(sid) { + return request({ + baseURL: '/api/crm', + url: 'v1/loanbankinformation/delete/' + sid, + method: 'delete' + }) + }, + + // 查询分页列表 + listPage: function(params) { + return request({ + baseURL: '/api/crm', + url: '/v1/loanbankinformation/listPage', + method: 'post', + data: params, + headers: { + 'Content-Type': 'application/json' + } + }) + }, +} diff --git a/supervise-crm-ui/src/api/enterprise/enterprise.js b/supervise-crm-ui/src/api/enterprise/enterprise.js new file mode 100644 index 00000000..73b8edfc --- /dev/null +++ b/supervise-crm-ui/src/api/enterprise/enterprise.js @@ -0,0 +1,50 @@ +import request from '@/utils/request' + +export default { + + addInfo: function(data) { + return request({ + baseURL: "/api/crm", + url: '/v1/enterpriseinformation/save', + method: 'post', + data: data + }); + }, + + fetchBySid: function(sid) { + return request({ + baseURL: '/api/crm', + url: '/v1/enterpriseinformation/getEnterpriseBySid/' + sid + }) + }, + + updateData: function(data) { + return request({ + baseURL: "/api/crm", + url: '/v1/enterpriseinformation/update', + method: 'post', + data: data + }); + }, + + delBySids: function(sid) { + return request({ + baseURL: '/api/crm', + url: '/v1/enterpriseinformation/delete/' + sid, + method: 'delete' + }) + }, + + // 查询分页列表 + listPage: function(params) { + return request({ + baseURL: '/api/crm', + url: '/v1/enterpriseinformation/listPage', + method: 'post', + data: params, + headers: { + 'Content-Type': 'application/json' + } + }) + }, +} diff --git a/supervise-crm-ui/src/api/storehouse/storehouse.js b/supervise-crm-ui/src/api/storehouse/storehouse.js new file mode 100644 index 00000000..14410265 --- /dev/null +++ b/supervise-crm-ui/src/api/storehouse/storehouse.js @@ -0,0 +1,50 @@ +import request from '@/utils/request' + +export default { + + addInfo: function(data) { + return request({ + baseURL: "/api/crm", + url: '/v1/warehouselocation/save', + method: 'post', + data: data + }); + }, + + fetchBySid: function(sid) { + return request({ + baseURL: '/api/crm', + url: '/v1/warehouselocation/getWarehouseBySid//' + sid + }) + }, + + updateData: function(data) { + return request({ + baseURL: "/api/crm", + url: '/v1/warehouselocation/update', + method: 'post', + data: data + }); + }, + + delBySids: function(sid) { + return request({ + baseURL: '/api/crm', + url: '/v1/warehouselocation/delete/' + sid, + method: 'delete' + }) + }, + + // 查询分页列表 + listPage: function(params) { + return request({ + baseURL: '/api/crm', + url: '/v1/warehouselocation/listPage', + method: 'post', + data: params, + headers: { + 'Content-Type': 'application/json' + } + }) + }, +} diff --git a/supervise-crm-ui/src/router/modules/codemenu.js b/supervise-crm-ui/src/router/modules/codemenu.js index d86df51b..7207f736 100644 --- a/supervise-crm-ui/src/router/modules/codemenu.js +++ b/supervise-crm-ui/src/router/modules/codemenu.js @@ -13,5 +13,46 @@ const codemenu = [{ noCache: true } }] +}, +{ + path: '/brank', + component: Layout, + redirect: '/index', + children: [{ + path: '/brank/index', + component: () => import('@/views//brank/index.vue'), + name: 'index', + meta: { + title: '银行管理', + noCache: true + } + }] +}, +{ + path: '/enterprise', + component: Layout, + redirect: '/index', + children: [{ + path: '/enterprise/index', + component: () => import('@/views/enterprise/index.vue'), + name: 'index', + meta: { + title: '企业管理', + noCache: true + } + }] +},{ + path: 'storehouse', + component: Layout, + redirect: '/index', + children: [{ + path: '/storehouse/index', + component: () => import('@/views/storehouse/index.vue'), + name: 'index', + meta: { + title: '仓库管理', + noCache: true + } + }] }] export default codemenu diff --git a/supervise-crm-ui/src/views/brank/brankAdd.vue b/supervise-crm-ui/src/views/brank/brankAdd.vue new file mode 100644 index 00000000..af80f380 --- /dev/null +++ b/supervise-crm-ui/src/views/brank/brankAdd.vue @@ -0,0 +1,311 @@ + + + + + + 银行信息 + + + 保存 + 关闭 + + + + + + + + 银行名称: + + + + 银行简称: + + + + + 省-市-县: + + + + + + + + + + + + + + + + + 银行地址: + + + + 联系人员: + + + + 联系电话: + + + + + + + + + + + + + diff --git a/supervise-crm-ui/src/views/brank/brankInfo.vue b/supervise-crm-ui/src/views/brank/brankInfo.vue new file mode 100644 index 00000000..dcd08412 --- /dev/null +++ b/supervise-crm-ui/src/views/brank/brankInfo.vue @@ -0,0 +1,256 @@ + + + + + 【查看】银行信息 + + 关闭 + + + + + 银行信息 + + 主体信息 + + + + + 银行名称 + + + + + {{temp.bankName}} + + + + + 银行简称 + + + + + {{temp.bankAbbreviation}} + + + + + + + 省-市-县 + + + + + {{temp.province}} - {{temp.city}} - {{temp.county}} + + + + + 银行地址 + + + + + {{temp.address}} + + + + + + + 联系人 + + + + + {{temp.contacts}} + + + + + 联系电话 + + + + + {{temp.telephone}} + + + + + + + + + + + + + + + + + + + + + + + 下属银行添加 + + + + + + + 查看 + + 删除 + + + + + + + {{ scope.row.province }} + -{{ scope.row.city }}- + {{ scope.row.county }} + + + + + + + + + + + + + + + + + + + + diff --git a/supervise-crm-ui/src/views/brank/index.vue b/supervise-crm-ui/src/views/brank/index.vue new file mode 100644 index 00000000..de8efa03 --- /dev/null +++ b/supervise-crm-ui/src/views/brank/index.vue @@ -0,0 +1,243 @@ + + + + + + + {{ searchxianshitit }} + + + + + + + + 查询 + 重置 + + + + + 银行信息列表 + + + + + + + + + + 查看 + 编辑 + 删除 + + + + + + + {{ scope.row.province }} + -{{ scope.row.city }}- + {{ scope.row.county }} + + + + + + + + + + + + + + + + + + + diff --git a/supervise-crm-ui/src/views/enterprise/enterpriseAdd.vue b/supervise-crm-ui/src/views/enterprise/enterpriseAdd.vue new file mode 100644 index 00000000..432e0382 --- /dev/null +++ b/supervise-crm-ui/src/views/enterprise/enterpriseAdd.vue @@ -0,0 +1,343 @@ + + + + + + 企业信息 + + + 保存 + 关闭 + + + + + + + + 企业名称: + + + + 企业简称: + + + + 营业执照: + + + + 企业法人: + + + + 联系人员: + + + + 联系电话: + + + + 银行账户: + + + + 银行卡号: + + + + 开户行名称: + + + + + 省-市-县: + + + + + + + + + + + + + + + + + 企业地址: + + + + + + + + + + + + + diff --git a/supervise-crm-ui/src/views/enterprise/enterpriseInfo.vue b/supervise-crm-ui/src/views/enterprise/enterpriseInfo.vue new file mode 100644 index 00000000..f0f6e3c0 --- /dev/null +++ b/supervise-crm-ui/src/views/enterprise/enterpriseInfo.vue @@ -0,0 +1,210 @@ + + + + + 【查看】企业信息 + + 关闭 + + + + + 企业信息 + + 基本信息 + + + + + 企业名称 + + + + + {{temp.enterpriseName}} + + + + + 企业简称 + + + + + {{temp.enterpriseAbbreviation}} + + + + + + + 企业法人 + + + + + {{temp.juridicalPerson}} + + + + + 营业执照 + + + + + {{temp.businessLicenseNumber}} + + + + + + + 联系人 + + + + + {{temp.contacts}} + + + + + 联系电话 + + + + + {{temp.telephone}} + + + + + + + 银行账户 + + + + + {{temp.bankAccount}} + + + + + 银行卡号 + + + + + {{temp.accountNumber}} + + + + + + + 开户银行 + + + + + {{temp.openingBankName}} + + + + + + + + 省-市-县 + + + + + {{temp.province}} - {{temp.city}} - {{temp.county}} + + + + + 企业地址 + + + + + {{temp.address}} + + + + + + + + + + + + + diff --git a/supervise-crm-ui/src/views/enterprise/index.vue b/supervise-crm-ui/src/views/enterprise/index.vue new file mode 100644 index 00000000..b67b1509 --- /dev/null +++ b/supervise-crm-ui/src/views/enterprise/index.vue @@ -0,0 +1,243 @@ + + + + + + + {{ searchxianshitit }} + + + + + + + + 查询 + 重置 + + + + + 企业信息列表 + + + + + + + + + + 查看 + 编辑 + 删除 + + + + + + + {{ scope.row.province }} + -{{ scope.row.city }}- + {{ scope.row.county }} + + + + + + + + + + + + + + + + + + + diff --git a/supervise-crm-ui/src/views/storehouse/index.vue b/supervise-crm-ui/src/views/storehouse/index.vue new file mode 100644 index 00000000..4c296086 --- /dev/null +++ b/supervise-crm-ui/src/views/storehouse/index.vue @@ -0,0 +1,246 @@ + + + + + + + {{ searchxianshitit }} + + + + + + + + 查询 + 重置 + + + + + 库房信息列表 + + + + + + + + + + 查看 + 编辑 + 删除 + + + + + + {{ scope.row.province }} + -{{ scope.row.city }}- + {{ scope.row.county }} + + + + + + + + + + + + + + + + + + + + + + + diff --git a/supervise-crm-ui/src/views/storehouse/storehouseAdd.vue b/supervise-crm-ui/src/views/storehouse/storehouseAdd.vue new file mode 100644 index 00000000..a09c2dbd --- /dev/null +++ b/supervise-crm-ui/src/views/storehouse/storehouseAdd.vue @@ -0,0 +1,331 @@ + + + + + + 库房信息 + + + 保存 + 关闭 + + + + + + + + 库房位置: + + + + 省-市-县: + + + + + + + + + + + + + + + + 库房面积: + + + + 库房层高: + + + + 库房价格: + + + + 库房性质: + + + + 房源: + + + + + 联系人: + + + + 联系电话: + + + + 备注: + + + + + + + + + + + + + diff --git a/supervise-crm-ui/src/views/storehouse/storehouseInfo.vue b/supervise-crm-ui/src/views/storehouse/storehouseInfo.vue new file mode 100644 index 00000000..f3601c11 --- /dev/null +++ b/supervise-crm-ui/src/views/storehouse/storehouseInfo.vue @@ -0,0 +1,198 @@ + + + + + 【查看】库房信息 + + 关闭 + + + + + 库房信息 + + 基本信息 + + + + + 库房位置 + + + + + {{temp.address}} + + + + + 省-市-县 + + + + + {{temp.province}} - {{temp.city}} - {{temp.county}} + + + + + + + 库房面积 + + + + + {{temp.squareMeasure}} + + + + + 库房层高 + + + + + {{temp.floorHeight}} + + + + + + + 库房价格 + + + + + {{temp.price}} + + + + + 库房性质 + + + + + {{temp.properties}} + + + + + + + 房源 + + + + + {{temp.housingResources}} + + + + + 备注 + + + + + {{temp.remarks}} + + + + + + + 联系人 + + + + + {{temp.contacts}} + + + + + 联系电话 + + + + + {{temp.telephone}} + + + + + + + + + + + + + +