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

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

Loading…
Cancel
Save