home.js 659 Bytes
Newer Older
xinzhedeai's avatar
xinzhedeai committed
1 2 3 4
import request from '@/common/request.js'

export function getExportData(data) { // 获取下拉列表数据
  return request({
xinzhedeai's avatar
xinzhedeai committed
5
    url: '/records/ryexport',
xinzhedeai's avatar
xinzhedeai committed
6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35
    method: 'get',
	data
  })
}

export function getselectList4productName(data) { // 获取下拉列表数据
  return request({
    url: '/product/getList',
    method: 'get',
	data
  })
}

export function getselectList4tester(data) { // 获取下拉列表数据
  return request({
    url: '/product/getList',
    method: 'post',
	data
  })
}

export function getDict(data) { // 获取下拉列表数据
  return request({
    url: '/system/dict/data/type/'+data.type,
    method: 'get',
  })
}