唐耀东
2021-12-31 285eb9dda9b594ad185c9f612c9881af6956f35b
1
2
3
4
5
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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
import request from '@/utils/request'
 
// 省份下拉列表
export function listProvince() {
  return request({
    url: '/oa/province',
    method: 'get'
  })
}
 
// 城市下拉列表
export function listCity(provinceCode) {
  return request({
    url: `/oa/city?provinceCode=${provinceCode}`,
    method: 'get'
  })
}
 
// 高校下拉列表
export function listSchool() {
  return request({
    url: '/oa/school/select',
    method: 'get'
  })
}
 
// 生产批次下拉列表
export function listBatch() {
  return request({
    url: '/oa/batch/select',
    method: 'get'
  })
}
 
// 用户下拉列表
export function listUser() {
  return request({
    url: '/system/user/select',
    method: 'get'
  })
}
 
// 通过部门id获取用户表格
export function listUserDept(p) {
  return request({
    url: `/system/user/byDept?deptId=${p.deptId}&pageNum=${p.pageNum}&pageSize=${p.pageSize}`,
    method: 'get'
  })
}
 
// 厂商下拉列表
export function listManufacturer() {
  return request({
    url: '/oa/manufacturer/findList',
    method: 'get'
  })
}