diff --git a/src/api/base/carmain/index.js b/src/api/base/carmain/index.js index cb809a3..054ef13 100644 --- a/src/api/base/carmain/index.js +++ b/src/api/base/carmain/index.js @@ -34,6 +34,14 @@ export function getCarMain(id) { }) } +export function bindCustomerCar(data) { + return request({ + url: '/base/carMain/bindCustomerCar', + method: 'post', + data: data + }) +} + // 获得车辆信息分页 export function getCarMainPage(params) { return request({ diff --git a/src/views/base/carbrand/index.vue b/src/views/base/carbrand/index.vue index 645ee3b..d5f8aac 100644 --- a/src/views/base/carbrand/index.vue +++ b/src/views/base/carbrand/index.vue @@ -57,7 +57,11 @@ }} - + + + @@ -78,11 +79,13 @@ + diff --git a/src/views/base/carmain/components/CustomerCarForm.vue b/src/views/base/carmain/components/CustomerCarForm.vue new file mode 100644 index 0000000..7a5f681 --- /dev/null +++ b/src/views/base/carmain/components/CustomerCarForm.vue @@ -0,0 +1,189 @@ + + + diff --git a/src/views/base/carmain/index.vue b/src/views/base/carmain/index.vue index bf1b9a1..0e85950 100644 --- a/src/views/base/carmain/index.vue +++ b/src/views/base/carmain/index.vue @@ -171,17 +171,17 @@ 删除 - - 更多 - - + 更多 + + 绑定客户 - 打标签 - - - + + + @@ -191,10 +191,12 @@ @pagination="getList" /> +