1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859 |
- import request from '@/utils/request'
- export function add(data) {
- return request({
- 'url': '/team/add',
- 'method': 'post',
- 'data':data
- })
- }
- export function edit(data) {
- return request({
- 'url': '/team/edit',
- 'method': 'post',
- 'data':data
- })
- }
- export function deleteTeam(data) {
- return request({
- 'url': '/team/delete',
- 'method': 'post',
- 'data':data
- })
- }
- export function list() {
- return request({
- 'url': '/team/list',
- 'method': 'get'
- })
- }
- export function teamData(data) {
- return request({
- 'url': '/team/list2/'+data,
- 'method': 'get'
- })
- }
- export function workshopData() {
- 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'
- })
- }
|