Commit a668db84 authored by zhanglw's avatar zhanglw

添加客户信息

parent ab931088
...@@ -7,7 +7,16 @@ export const HttpReq = { ...@@ -7,7 +7,16 @@ export const HttpReq = {
uploadBusinessLicense: function(data) { uploadBusinessLicense: function(data) {
return request({ return request({
url: '/api/bsw/users/updateBusinessLicense', url: '/api/bsw/users/updateBusinessLicense',
method: 'POST', method: 'post',
data: data
}).then((res) => {
return res
})
},
deleteBusinessLicense: function(data) {
return request({
url: '/api/bsw/users/deleteBusinessLicense',
method: 'delete',
data: data data: data
}).then((res) => { }).then((res) => {
return res return res
...@@ -20,6 +29,16 @@ export const HttpReq = { ...@@ -20,6 +29,16 @@ export const HttpReq = {
method: 'get', method: 'get',
params: param params: param
}) })
},
// 获取行政区划
addCustomer: function(data) {
return request({
url: '/api/bsw/users/addCustomer',
method: 'POST',
data: data
}).then((res) => {
return res
})
} }
} }
} }
......
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
</div> </div>
<div class="card-panel-description"> <div class="card-panel-description">
<div class="card-panel-text"> <div class="card-panel-text">
今日访 今日访
</div> </div>
<count-to :start-val="0" :end-val="102400" :duration="2600" class="card-panel-num" /> <count-to :start-val="0" :end-val="102400" :duration="2600" class="card-panel-num" />
</div> </div>
......
...@@ -17,7 +17,7 @@ import LineChart from './dashboard/LineChart' ...@@ -17,7 +17,7 @@ import LineChart from './dashboard/LineChart'
const lineChartData = { const lineChartData = {
newVisitis: { newVisitis: {
dataArr: [100, 120, 161, 134, 105, 160, 165], dataArr: [100, 120, 161, 134, 105, 160, 165],
dataLable: '每日访' dataLable: '每日访'
}, },
messages: { messages: {
dataArr: [200, 192, 120, 144, 160, 130, 140], dataArr: [200, 192, 120, 144, 160, 130, 140],
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment