wang hou sheng 8 months ago
parent 000300b8c5
commit 216f93f5b0
  1. 12
      src/api/wholesaler.js
  2. 2
      src/views/wholesaler/Set.vue

@ -1,7 +1,7 @@
import { axios } from '@/utils/request'
const api = {
detail: '/wholesaler.set/info',
setDetail: '/wholesaler.set/info',
setData: '/wholesaler.set/setData',
applyStatus: '/wholesaler.apply/applyStatus',
list: '/wholesaler.apply/list',
@ -18,6 +18,16 @@ export function audit(data) {
data,
})
}
/**
* @param {*} data
*/
export function setDetail(data) {
return axios({
url: api.setDetail,
method: 'post',
data,
})
}
/**
* @param {*} data
*/

@ -57,7 +57,7 @@ export default {
//
getDetail() {
this.isLoading = true
Api.detail()
Api.setDetail()
.then((result) => {
//
this.record = result.data.info

Loading…
Cancel
Save