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//主键自增    OrganizationName//组织名称    OrganizationID//组织编号    LogoUrl//logo图片路径    RegisterTime//注册时间    RegisterAddress//注册地点详细地址    OfficePlace//办公地点    LegalPerson//法人    ContactPerson//联系人    ContactNumber//联系电话    Introduction//介绍    OrganizationType//机构类型 根据字典 sys_OrganizationType    HospitalNature//医院性质 根据字典sys_HospitalNature OrganizationType=2医疗机构时需要选择    RegionalLevel//地区性质 根据字典sys_RegionalLevel  OrganizationType=2医疗机构时需要选择    MedicalCode//医疗机构编号 如0:浙江省人民医院 1:杭州市第一人民医院OrganizationType=2医疗机构时需要填写    del_flag//删除标志(0代表存在 1代表删除)    create_by//创建者    create_time//创建时间    update_by//更新者    update_time//更新时间    Province//省份编号 根据行政区划表  按注册地选择    ProvinceName//省份名称    City//市编号  根据行政区划表    CityName//市名称    Town//所属街道(镇)根据行政区划表    TownName//所属街道(镇)名称    Community//社区(村)编号 根据行政区划表    CommunityName//社区(村)名称    CountyCode//所属区域编号  根据行政区划表    CountyName//所属区域名称    bankname//银行名称    bankaccount//银行账号    pid//父ID    guid//GUID    orgid//医院机构id
    */
    import request from '@/utils/request'
 
    export function slavelistbase_organization(query) {
      return request({
        url: 'proc/smartor/entity/base/base_organization/slavelist',
        method: 'get',
        params: query
      })
    }
 
    /*
        功能: 读取列表信息
        参数:query 指定查询参数 
    */
    export function listbase_organization(query) {
      return request({
        url: 'proc/smartor/entity/base/base_organization/list',
        method: 'get',
        params: query
      })
    }
 
    /*
        功能: 根据id读取指定对象信息
        参数:query 指定查询参数
    */
    export function getbase_organization(ID) {
      return request({
        url: 'proc/smartor/entity/base/base_organization/' + ID,
        method: 'get'
      })
    }
 
    /*
        功能: 增加对象
        参数:data 对象数据
    */
    export function addbase_organization(data) {
      return request({
        url: 'proc/smartor/entity/base/base_organization/add',
        method: 'post',
        data: data
      })
    }
 
    /*
        功能: 更新对象
        参数:data 对象数据
    */
    export function updatebase_organization(data) {
      return request({
        url: 'proc/smartor/entity/base/base_organization/update',
        method: 'put',
        data: data
      })
    }
 
    /*
        功能: 删除对象
        参数:objid 对象ID
    */
    export function delbase_organization(ID) {
      return request({
        url: 'proc/smartor/entity/base/base_organization/del/' +ID,
        method: 'delete'
      })
    }