123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293 |
- 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
- }
- })
- }
|