diff --git a/src/api/firmtable.js b/src/api/firmtable.js index b9e3b77..bc43271 100644 --- a/src/api/firmtable.js +++ b/src/api/firmtable.js @@ -2,47 +2,33 @@ import request from '@/utils/request' export function getFirmList(form) { return request({ - url: '/firm/company/firm/firmInfoList', + url: '/company/company/firm/firmInfoList', method: 'post', data:form }) } -export function delCar(firmId) { +export function delFirm(firmId) { return request({ - url: '/firm?firmId='+firmId, + url: '/company/company/firm?firmId='+firmId, method: 'post' }) } -export function updateCar(carForm) { +export function updateFirm(firmForm) { return request({ - url: '/history/car/updateCar', + url: '/company/company/firm/update', method: 'post', - data:carForm + data:firmForm }) } -export function insertCar(carInsert) { +export function insertFirm(firmInsert) { return request({ - url: '/history/car/insertCar', + url: '/company/company/firm/', method: 'post', - data:carInsert + data:firmInsert }) } -export function getList() { - return request({ - url: '/history/listHistoricalTrack', - method: 'get' - }) -} - -export function deleteRecord(recordId) { - return request({ - url: '/history/delHistoricalTrack?recordId='+recordId, - method: 'post', - data:recordId - }) -} diff --git a/src/views/company/firm.vue b/src/views/company/firm.vue index ade4173..ab28e14 100644 --- a/src/views/company/firm.vue +++ b/src/views/company/firm.vue @@ -133,7 +133,7 @@ @@ -205,7 +205,7 @@ 取 消 - 确定修改 + 确定修改 添加企业 @@ -279,7 +279,7 @@