11
heimawl
2023-08-07 66223fb36c73a4060b80f96b1d1596726a230f9c
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
58
59
60
61
62
63
64
65
66
67
68
69
70
71
 
    /*外围单位人员表API接口
          ID//    UserNo//人员编号    UserName//人员名称    PYM//拼音码    WBM//五笔码    IDCardNo//身份证号    UserStatus//在职状态:0否;1是,见字典 sys_0_1    Sex//性别    Telephone//联系电话    Address//联系地址    UserType//人员类别 见字典 sys_UserType    UnitNo//单位编号    UnitName//单位名称    PersonnelUnitNo//工作人员单元编号,用于捐献案列编码,红十字会人员必填    Title//职称,见字典sys_professionaltitle    DepositBank//开户银行    BranchBankName//分行名称    BankCardNo//卡号    del_flag//删除标志(0代表存在 1代表删除)    create_by//创建者    create_time//创建时间    update_by//更新者    update_time//更新时间    pid//父ID    guid//GUID    orgid//医院机构id
    */
    import request from '@/utils/request'
 
    export function slavelistbase_person(query) {
      return request({
        url: 'proc/smartor/entity/base/base_person/slavelist',
        method: 'get',
        params: query
      })
    }
 
    /*
        功能: 读取列表信息
        参数:query 指定查询参数 
    */
    export function listbase_person(query) {
      return request({
        url: 'proc/smartor/entity/base/base_person/list',
        method: 'get',
        params: query
      })
    }
 
    /*
        功能: 根据id读取指定对象信息
        参数:query 指定查询参数
    */
    export function getbase_person(ID) {
      return request({
        url: 'proc/smartor/entity/base/base_person/' + ID,
        method: 'get'
      })
    }
 
    /*
        功能: 增加对象
        参数:data 对象数据
    */
    export function addbase_person(data) {
      return request({
        url: 'proc/smartor/entity/base/base_person/add',
        method: 'post',
        data: data
      })
    }
 
    /*
        功能: 更新对象
        参数:data 对象数据
    */
    export function updatebase_person(data) {
      return request({
        url: 'proc/smartor/entity/base/base_person/update',
        method: 'put',
        data: data
      })
    }
 
    /*
        功能: 删除对象
        参数:objid 对象ID
    */
    export function delbase_person(ID) {
      return request({
        url: 'proc/smartor/entity/base/base_person/del/' +ID,
        method: 'delete'
      })
    }