import http from '@/http/api.js' // 列表 export function getList(data) { return http.request({ url: '/gubersail-app/corpsDesc/list', method: 'GET', data }) } // 详情 export function getDetail(data) { return http.request({ url: '/gubersail-app/corpsDesc/detail', method: 'GET', data }) } // 保存 export function submit(data) { return http.request({ url: '/gubersail-app/corpsDesc/submit', method: 'POST', data }) } // 通过/拒绝 export function review(data) { return http.request({ url: '/gubersail-app/corpsDesc/review', method: 'POST', data }) } // 门店分类下拉 export function selectType(data) { return http.request({ url: '/gubersail-app/corpsDesc/selectType', method: 'GET', data }) } // 门店标签下拉 export function selectLabel(data) { return http.request({ url: '/gubersail-app/corpsDesc/selectLabel', method: 'GET', data }) } // 业务员 export function salerList(data) { return http.request({ url: '/blade-user/salerList', method: 'GET', data }) } // 仓库 export function storageList(data) { return http.request({ url: '/gubersail-app/corpsDesc/selectStorage', method: 'GET', data }) } // 品牌 export function brandDesc(data) { return http.request({ url: '/gubersail-app/corpsDesc/selectBrand', method: 'GET', data }) } // 附件删除 export function fileRemove(ids) { return http.request({ url: '/gubersail-app/corpsDesc/removeFiles', method: 'POST', params:{ ids } }) } // 附件删除 export function remove(ids) { return http.request({ url: '/gubersail-app/corpsDesc/remove', method: 'POST', params:{ ids } }) }