You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

180 lines
6.8 KiB

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

/**
* Created by 拱迪 on 2022/3/7.
* 工作台八大中心管理端接口文件
*/
/*
*
* (1101, '党建-品牌创建', 1 , '图文分类', 0, 0, '2022-02-25 00:00:00', '2022-02-25 00:00:00'),
(1102, '党建-团队助推', 1 , '图文分类', 0, 0, '2022-02-25 00:00:00', '2022-02-25 00:00:00'),
(1103, '党建-队建风采', 1 , '图文分类', 0, 0, '2022-02-25 00:00:00', '2022-02-25 00:00:00'),
(1201, '学生-三字经', 1 , '图文分类', 0, 0, '2022-02-25 00:00:00', '2022-02-25 00:00:00'),
(1202, '学生-行为规范', 1 , '图文分类', 0, 0, '2022-02-25 00:00:00', '2022-02-25 00:00:00'),
(1211, '班级-时事新闻', 1 , '图文分类', 0, 0, '2022-02-25 00:00:00', '2022-02-25 00:00:00'),
(1221, '班主任-队伍建设', 1 , '图文分类', 0, 0, '2022-02-25 00:00:00', '2022-02-25 00:00:00'),
(1222, '班主任-班主任培训', 1 , '图文分类', 0, 0, '2022-02-25 00:00:00', '2022-02-25 00:00:00'),
(1231, '实践-劳动教育', 1 , '图文分类', 0, 0, '2022-02-25 00:00:00', '2022-02-25 00:00:00'),
(1232, '实践-素质教育', 1 , '图文分类', 0, 0, '2022-02-25 00:00:00', '2022-02-25 00:00:00'),
(1233, '实践-爱国教育', 1 , '图文分类', 0, 0, '2022-02-25 00:00:00', '2022-02-25 00:00:00'),
(1234, '实践-道德教育', 1 , '图文分类', 0, 0, '2022-02-25 00:00:00', '2022-02-25 00:00:00'),
(1241, '艺术-艺术节', 1 , '图文分类', 0, 0, '2022-02-25 00:00:00', '2022-02-25 00:00:00'),
(1251, '卫生-传染病预防',1 , '图文分类', 0, 0, '2022-02-25 00:00:00', '2022-02-25 00:00:00'),
(1261, '体育-运动会', 1 , '图文分类', 0, 0, '2022-02-25 00:00:00', '2022-02-25 00:00:00'),
(1271, '心理-心育精选', 1 , '图文分类', 0, 0, '2022-02-25 00:00:00', '2022-02-25 00:00:00'),
(1281, '脱贫-政策福利',1 , '图文分类', 0, 0, '2022-02-25 00:00:00', '2022-02-25 00:00:00'),
(1282, '脱贫-特殊教育送课',1 , '图文分类', 0, 0, '2022-02-25 00:00:00', '2022-02-25 00:00:00'),
(1291, '家长-家庭教育', 1 , '图文分类', 0, 0, '2022-02-25 00:00:00', '2022-02-25 00:00:00'),
(1292, '家长-活动纪实', 1 , '图文分类', 0, 0, '2022-02-25 00:00:00', '2022-02-25 00:00:00'),
*
* */
const InterfaceConfig = {
/*
* 根据分类获取图文信息列表-分页
* /dsideal_yy/ypt/intellioa/center/graphic/list
* get
* "bureau_id":"必填 int 机构id"
* "category_id":"必填 int 分类id
* "info_title":"非必填 string 信息标题"
* "page_number":"非必填 number 【当前页码】"
* "page_size":"非必填 number 【每页条数】"
* */
'getGraphicList': {
url: 'intellioa/center/graphic/list',
method: 'get',
isTestLogin: true,
},
/*
* 新增、编辑保存图文信息
*
*"info_id""图文信息idnumber非必填填写代表编辑"
"category_id""分类idnumber必填"
"info_title""标题string(100),必填"
"info_content""内容longtext必填"
"cover_json":"非必填 封面对象属性需要JSON.stringify转成json字符串再传"
"attachment_json":"非必填 附件对象 对象属性需要JSON.stringify转成json字符串再传"
"person_id":"必填 int 操作人ID"
"identity_id":"必填 int 操作人身份ID"
"bureau_id":"必填 int 机构ID"
*
* */
'saveGraphic': {
url: 'intellioa/center/graphic/save',
method: 'post',
isTestLogin: true,
},
/*
* 查看图文信息
* "info_id": "必填 number【图文信息id】"
* */
'viewGraphic': {
url: 'intellioa/center/graphic/view',
method: 'get',
isTestLogin: true,
},
/*
* 删除图文信息
* "info_ids""图文信息idsstring必填批量删除时以英文逗号分隔"
* "bureau_id":"必填 int 机构ID"
* */
'deleteGraphic': {
url: 'intellioa/center/graphic/delete',
method: 'post',
isTestLogin: true,
},
/*
* 值班人员信息列表-分页
* "bureau_id":"必填 int 机构id"
"staff_name":"非必填 string 值班职工姓名(搜索条件)"
"page_number":"非必填 number 【当前页码】"
* */
'getListStaff': {
url: 'intellioa/center/duty/listStaff',
method: 'get',
isTestLogin: true,
},
/*
* 新增、修改值班人员信息
* "staff_id""职工idnumber非必填填写时为修改"
"staff_name""职工姓名string必填"
"position""职工职务string必填"
"telephone""联系电话string必填"
"id_photo_json":"必填 证件照 对象属性需要JSON.stringify转成json字符串再传"
"bureau_id":"必填 int 机构ID"
* */
'saveStaff': {
url: 'intellioa/center/duty/saveStaff',
method: 'post',
isTestLogin: true,
},
/*
* 查看值班人员信息
* "staff_id": "必填 number【职工id】"
* */
'viewStaff': {
url: 'intellioa/center/duty/viewStaff',
method: 'get',
isTestLogin: true,
},
/*
* 删除值班人员信息(存在关联关系如何处理?)
* "staff_ids""职工idsstring必填批量删除时以英文逗号分隔"
* "bureau_id":"必填 int 机构ID"
* */
'deleteStaff': {
url: 'intellioa/center/duty/deleteStaff',
method: 'post',
isTestLogin: true,
},
/*
* 值班轮值列表-分页
* "bureau_id":"必填 int 机构id"
* */
'getListRota': {
url: 'intellioa/center/duty/listRota',
method: 'get',
isTestLogin: true,
},
/*
* 值班轮值列表-不分页
* "bureau_id":"必填 int 机构id"
* "staff_name":"非必填 string 值班职工姓名(搜索条件)"
* */
'chooseStaffs': {
url: 'intellioa/center/duty/chooseStaffs',
method: 'get',
isTestLogin: true,
},
/*
* 新增、修改值班轮值信息
* "rota_id""轮值idnumber非必填填写即修改"
"rota_name""轮值名称string必填"
"staff_id_1""星期一值班职员idnumber非必填"
"staff_id_2""星期二值班职员idnumber非必填"
"staff_id_3""星期三值班职员idnumber非必填"
"staff_id_4""星期四值班职员idnumber非必填"
"staff_id_5""星期五值班职员idnumber非必填"
"staff_id_6""星期六值班职员idnumber非必填"
"staff_id_7""星期七值班职员idnumber非必填"
"person_id":"必填 int 操作人ID"
"identity_id":"必填 int 操作人身份ID"
"bureau_id":"必填 int 机构ID"
* */
'saveRota': {
url: 'intellioa/center/duty/saveRota',
method: 'post',
isTestLogin: true,
},
};
export default InterfaceConfig;