ins-survey.js
1.06 KB
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
import { createApiObj } from './common';
const PROJECT_ROOT = '/ins-survey';
/* 健康告知 */
export const API_SURVEY_MANAGE = createApiObj([
'/survey/buildSurvey', // 设计健康告知
'/survey/copySurvey', // 复制健康告知
'/survey/createSurvey', // 创建健康告知
'/survey/deleteById', // 根据id删除健康告知
'/survey/getQuestionList', // 查询健康告知列表
'/survey/updateStateById', // 根据id变更健康告知发布状态
],PROJECT_ROOT)
export const API_SURVEY_QURADIO = createApiObj([
'/quradio/save', // 保存单选题
'/quradio/deleteById', // 删除单选题
],PROJECT_ROOT)
//单选操作
export const API_SURVEY_DELETE_BY_ID = createApiObj([
'/question/deleteQuestionById', // 删除单选题
],PROJECT_ROOT)
//多选操作
export const API_SURVEY_QUCHECKBOX = createApiObj([
'/qucheckbox/deleteById', // 删除多选题
'/qucheckbox/save', // 保存多选题
],PROJECT_ROOT)
//填空
export const API_SURVEY_QUFILLBLANK = createApiObj([
'/qufillblank/save', // 保存填空
],PROJECT_ROOT)