1234567891011121314151617181920212223242526272829303132333435363738394041424344454647 |
- import request from '@/utils/request'
- export function add(data) {
- return request({
- 'url': '/workshop/add',
- 'method': 'post',
- 'data':data
- })
- }
- export function edit(data) {
- return request({
- 'url': '/workshop/edit',
- 'method': 'post',
- 'data':data
- })
- }
- export function deleteWorkshop(data) {
- return request({
- 'url': '/workshop/delete',
- 'method': 'post',
- 'data':data
- })
- }
- export function list() {
- return request({
- 'url': '/workshop/list',
- 'method': 'get'
- })
- }
- export function getPlanOrderData() {
- return request({
- 'url': '/workshop/getPlanOrderData',
- 'method': 'get'
- })
- }
- export function listAvailable() {
- return request({
- 'url': '/workshop/listAvailable',
- 'method': 'get'
- })
- }
- export function getFilterData() {
- return request({
- 'url': '/workshop/getFilterData',
- 'method': 'get'
- })
- }
|